armnetwork

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 16 Imported by: 66

README

Azure Network Module for Go

PkgGoDev

The armnetwork module provides operations for working with Azure Network.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Network module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Network. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Connecting to Azure Network

Once you have a credential, create a connection to the desired ARM endpoint. The github.com/Azure/azure-sdk-for-go/sdk/azcore/arm package provides facilities for connecting with ARM endpoints including public and sovereign clouds as well as Azure Stack.

con := arm.NewDefaultConnection(cred, nil)

For more information on ARM connections, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

Clients

Azure Network modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your arm.Connection.

client := armnetwork.NewVirtualHubBgpConnectionsClient(con, "<subscription ID>")

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Network label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AADAuthenticationParameters

type AADAuthenticationParameters struct {
	// AAD Vpn authentication parameter AAD audience.
	AADAudience *string `json:"aadAudience,omitempty"`

	// AAD Vpn authentication parameter AAD issuer.
	AADIssuer *string `json:"aadIssuer,omitempty"`

	// AAD Vpn authentication parameter AAD tenant.
	AADTenant *string `json:"aadTenant,omitempty"`
}

AADAuthenticationParameters - AAD Vpn authentication type related parameters.

type Access

type Access string

Access - Access to be allowed or denied.

const (
	AccessAllow Access = "Allow"
	AccessDeny  Access = "Deny"
)

func PossibleAccessValues

func PossibleAccessValues() []Access

PossibleAccessValues returns the possible values for the Access const type.

func (Access) ToPtr

func (c Access) ToPtr() *Access

ToPtr returns a *Access pointing to the current value.

type AddressSpace

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

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

func (AddressSpace) MarshalJSON

func (a AddressSpace) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AddressSpace.

type ApplicationGateway

type ApplicationGateway struct {
	Resource
	// The identity of the application gateway, if configured.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Properties of the application gateway.
	Properties *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"`

	// A list of availability zones denoting where the resource needs to come from.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ApplicationGateway - Application gateway resource.

func (ApplicationGateway) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGateway.

type ApplicationGatewayAuthenticationCertificate

type ApplicationGatewayAuthenticationCertificate struct {
	SubResource
	// Name of the authentication certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway authentication certificate.
	Properties *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayAuthenticationCertificate - Authentication certificates of an application gateway.

func (ApplicationGatewayAuthenticationCertificate) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayAuthenticationCertificate.

type ApplicationGatewayAuthenticationCertificatePropertiesFormat

type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct {
	// Certificate public data.
	Data *string `json:"data,omitempty"`

	// READ-ONLY; The provisioning state of the authentication certificate resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayAuthenticationCertificatePropertiesFormat - Authentication certificates properties of an application gateway.

type ApplicationGatewayAutoscaleConfiguration

type ApplicationGatewayAutoscaleConfiguration struct {
	// REQUIRED; Lower bound on number of Application Gateway capacity.
	MinCapacity *int32 `json:"minCapacity,omitempty"`

	// Upper bound on number of Application Gateway capacity.
	MaxCapacity *int32 `json:"maxCapacity,omitempty"`
}

ApplicationGatewayAutoscaleConfiguration - Application Gateway autoscale configuration.

type ApplicationGatewayAvailableSSLOptions

type ApplicationGatewayAvailableSSLOptions struct {
	Resource
	// Properties of the application gateway available SSL options.
	Properties *ApplicationGatewayAvailableSSLOptionsPropertiesFormat `json:"properties,omitempty"`
}

ApplicationGatewayAvailableSSLOptions - Response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSSLOptions) MarshalJSON

func (a ApplicationGatewayAvailableSSLOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayAvailableSSLOptions.

type ApplicationGatewayAvailableSSLOptionsPropertiesFormat

type ApplicationGatewayAvailableSSLOptionsPropertiesFormat struct {
	// List of available Ssl cipher suites.
	AvailableCipherSuites []*ApplicationGatewaySSLCipherSuite `json:"availableCipherSuites,omitempty"`

	// List of available Ssl protocols.
	AvailableProtocols []*ApplicationGatewaySSLProtocol `json:"availableProtocols,omitempty"`

	// Name of the Ssl predefined policy applied by default to application gateway.
	DefaultPolicy *ApplicationGatewaySSLPolicyName `json:"defaultPolicy,omitempty"`

	// List of available Ssl predefined policy.
	PredefinedPolicies []*SubResource `json:"predefinedPolicies,omitempty"`
}

ApplicationGatewayAvailableSSLOptionsPropertiesFormat - Properties of ApplicationGatewayAvailableSslOptions.

func (ApplicationGatewayAvailableSSLOptionsPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayAvailableSSLOptionsPropertiesFormat.

type ApplicationGatewayAvailableSSLPredefinedPolicies

type ApplicationGatewayAvailableSSLPredefinedPolicies struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of available Ssl predefined policy.
	Value []*ApplicationGatewaySSLPredefinedPolicy `json:"value,omitempty"`
}

ApplicationGatewayAvailableSSLPredefinedPolicies - Response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSSLPredefinedPolicies) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayAvailableSSLPredefinedPolicies.

type ApplicationGatewayAvailableWafRuleSetsResult

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

ApplicationGatewayAvailableWafRuleSetsResult - Response for ApplicationGatewayAvailableWafRuleSets API service call.

func (ApplicationGatewayAvailableWafRuleSetsResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayAvailableWafRuleSetsResult.

type ApplicationGatewayBackendAddress

type ApplicationGatewayBackendAddress struct {
	// Fully qualified domain name (FQDN).
	Fqdn *string `json:"fqdn,omitempty"`

	// IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
}

ApplicationGatewayBackendAddress - Backend address of an application gateway.

type ApplicationGatewayBackendAddressPool

type ApplicationGatewayBackendAddressPool struct {
	SubResource
	// Name of the backend address pool that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway backend address pool.
	Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayBackendAddressPool - Backend Address Pool of an application gateway.

func (ApplicationGatewayBackendAddressPool) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendAddressPool.

type ApplicationGatewayBackendAddressPoolPropertiesFormat

type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
	// Backend addresses.
	BackendAddresses []*ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`

	// READ-ONLY; Collection of references to IPs defined in network interfaces.
	BackendIPConfigurations []*NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the backend address pool resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat - Properties of Backend Address Pool of an application gateway.

func (ApplicationGatewayBackendAddressPoolPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendAddressPoolPropertiesFormat.

type ApplicationGatewayBackendHTTPSettings

type ApplicationGatewayBackendHTTPSettings struct {
	SubResource
	// Name of the backend http settings that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway backend HTTP settings.
	Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayBackendHTTPSettings - Backend address pool settings of an application gateway.

func (ApplicationGatewayBackendHTTPSettings) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendHTTPSettings.

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
	// Cookie name to use for the affinity cookie.
	AffinityCookieName *string `json:"affinityCookieName,omitempty"`

	// Array of references to application gateway authentication certificates.
	AuthenticationCertificates []*SubResource `json:"authenticationCertificates,omitempty"`

	// Connection draining of the backend http settings resource.
	ConnectionDraining *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"`

	// Cookie based affinity.
	CookieBasedAffinity *ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`

	// Host header to be sent to the backend servers.
	HostName *string `json:"hostName,omitempty"`

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

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

	// The destination port on the backend.
	Port *int32 `json:"port,omitempty"`

	// Probe resource of an application gateway.
	Probe *SubResource `json:"probe,omitempty"`

	// Whether the probe is enabled. Default value is false.
	ProbeEnabled *bool `json:"probeEnabled,omitempty"`

	// The protocol used to communicate with the backend.
	Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"`

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

	// Array of references to application gateway trusted root certificates.
	TrustedRootCertificates []*SubResource `json:"trustedRootCertificates,omitempty"`

	// READ-ONLY; The provisioning state of the backend HTTP settings resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayBackendHTTPSettingsPropertiesFormat - Properties of Backend address pool settings of an application gateway.

func (ApplicationGatewayBackendHTTPSettingsPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendHTTPSettingsPropertiesFormat.

type ApplicationGatewayBackendHealth

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

ApplicationGatewayBackendHealth - Response for ApplicationGatewayBackendHealth API service call.

func (ApplicationGatewayBackendHealth) MarshalJSON

func (a ApplicationGatewayBackendHealth) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendHealth.

type ApplicationGatewayBackendHealthHTTPSettings

type ApplicationGatewayBackendHealthHTTPSettings struct {
	// Reference to an ApplicationGatewayBackendHttpSettings resource.
	BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettings,omitempty"`

	// List of ApplicationGatewayBackendHealthServer resources.
	Servers []*ApplicationGatewayBackendHealthServer `json:"servers,omitempty"`
}

ApplicationGatewayBackendHealthHTTPSettings - Application gateway BackendHealthHttp settings.

func (ApplicationGatewayBackendHealthHTTPSettings) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendHealthHTTPSettings.

type ApplicationGatewayBackendHealthOnDemand

type ApplicationGatewayBackendHealthOnDemand struct {
	// Reference to an ApplicationGatewayBackendAddressPool resource.
	BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"`

	// Application gateway BackendHealthHttp settings.
	BackendHealthHTTPSettings *ApplicationGatewayBackendHealthHTTPSettings `json:"backendHealthHttpSettings,omitempty"`
}

ApplicationGatewayBackendHealthOnDemand - Result of on demand test probe.

type ApplicationGatewayBackendHealthPool

type ApplicationGatewayBackendHealthPool struct {
	// Reference to an ApplicationGatewayBackendAddressPool resource.
	BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"`

	// List of ApplicationGatewayBackendHealthHttpSettings resources.
	BackendHTTPSettingsCollection []*ApplicationGatewayBackendHealthHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
}

ApplicationGatewayBackendHealthPool - Application gateway BackendHealth pool.

func (ApplicationGatewayBackendHealthPool) MarshalJSON

func (a ApplicationGatewayBackendHealthPool) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayBackendHealthPool.

type ApplicationGatewayBackendHealthServer

type ApplicationGatewayBackendHealthServer struct {
	// IP address or FQDN of backend server.
	Address *string `json:"address,omitempty"`

	// Health of backend server.
	Health *ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"`

	// Health Probe Log.
	HealthProbeLog *string `json:"healthProbeLog,omitempty"`

	// Reference to IP configuration of backend server.
	IPConfiguration *NetworkInterfaceIPConfiguration `json:"ipConfiguration,omitempty"`
}

ApplicationGatewayBackendHealthServer - Application gateway backendhealth http settings.

type ApplicationGatewayBackendHealthServerHealth

type ApplicationGatewayBackendHealthServerHealth string

ApplicationGatewayBackendHealthServerHealth - Health of backend server.

const (
	ApplicationGatewayBackendHealthServerHealthDown     ApplicationGatewayBackendHealthServerHealth = "Down"
	ApplicationGatewayBackendHealthServerHealthDraining ApplicationGatewayBackendHealthServerHealth = "Draining"
	ApplicationGatewayBackendHealthServerHealthPartial  ApplicationGatewayBackendHealthServerHealth = "Partial"
	ApplicationGatewayBackendHealthServerHealthUnknown  ApplicationGatewayBackendHealthServerHealth = "Unknown"
	ApplicationGatewayBackendHealthServerHealthUp       ApplicationGatewayBackendHealthServerHealth = "Up"
)

func PossibleApplicationGatewayBackendHealthServerHealthValues

func PossibleApplicationGatewayBackendHealthServerHealthValues() []ApplicationGatewayBackendHealthServerHealth

PossibleApplicationGatewayBackendHealthServerHealthValues returns the possible values for the ApplicationGatewayBackendHealthServerHealth const type.

func (ApplicationGatewayBackendHealthServerHealth) ToPtr

ToPtr returns a *ApplicationGatewayBackendHealthServerHealth pointing to the current value.

type ApplicationGatewayClientAuthConfiguration

type ApplicationGatewayClientAuthConfiguration struct {
	// 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 {
	// REQUIRED; The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.
	DrainTimeoutInSec *int32 `json:"drainTimeoutInSec,omitempty"`

	// REQUIRED; Whether connection draining is enabled or not.
	Enabled *bool `json:"enabled,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 - Cookie based affinity.

const (
	ApplicationGatewayCookieBasedAffinityDisabled ApplicationGatewayCookieBasedAffinity = "Disabled"
	ApplicationGatewayCookieBasedAffinityEnabled  ApplicationGatewayCookieBasedAffinity = "Enabled"
)

func PossibleApplicationGatewayCookieBasedAffinityValues

func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity

PossibleApplicationGatewayCookieBasedAffinityValues returns the possible values for the ApplicationGatewayCookieBasedAffinity const type.

func (ApplicationGatewayCookieBasedAffinity) ToPtr

ToPtr returns a *ApplicationGatewayCookieBasedAffinity pointing to the current value.

type ApplicationGatewayCustomError

type ApplicationGatewayCustomError struct {
	// Error page URL of the application gateway customer error.
	CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"`

	// Status code of the application gateway customer error.
	StatusCode *ApplicationGatewayCustomErrorStatusCode `json:"statusCode,omitempty"`
}

ApplicationGatewayCustomError - Customer error of an application gateway.

type ApplicationGatewayCustomErrorStatusCode

type ApplicationGatewayCustomErrorStatusCode string

ApplicationGatewayCustomErrorStatusCode - Status code of the application gateway customer error.

const (
	ApplicationGatewayCustomErrorStatusCodeHTTPStatus403 ApplicationGatewayCustomErrorStatusCode = "HttpStatus403"
	ApplicationGatewayCustomErrorStatusCodeHTTPStatus502 ApplicationGatewayCustomErrorStatusCode = "HttpStatus502"
)

func PossibleApplicationGatewayCustomErrorStatusCodeValues

func PossibleApplicationGatewayCustomErrorStatusCodeValues() []ApplicationGatewayCustomErrorStatusCode

PossibleApplicationGatewayCustomErrorStatusCodeValues returns the possible values for the ApplicationGatewayCustomErrorStatusCode const type.

func (ApplicationGatewayCustomErrorStatusCode) ToPtr

ToPtr returns a *ApplicationGatewayCustomErrorStatusCode pointing to the current value.

type ApplicationGatewayFirewallDisabledRuleGroup

type ApplicationGatewayFirewallDisabledRuleGroup struct {
	// REQUIRED; The name of the rule group that will be disabled.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`

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

func (ApplicationGatewayFirewallDisabledRuleGroup) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayFirewallDisabledRuleGroup.

type ApplicationGatewayFirewallExclusion

type ApplicationGatewayFirewallExclusion struct {
	// REQUIRED; The variable to be excluded.
	MatchVariable *string `json:"matchVariable,omitempty"`

	// REQUIRED; When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
	Selector *string `json:"selector,omitempty"`

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

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

type ApplicationGatewayFirewallMode

type ApplicationGatewayFirewallMode string

ApplicationGatewayFirewallMode - Web application firewall mode.

const (
	ApplicationGatewayFirewallModeDetection  ApplicationGatewayFirewallMode = "Detection"
	ApplicationGatewayFirewallModePrevention ApplicationGatewayFirewallMode = "Prevention"
)

func PossibleApplicationGatewayFirewallModeValues

func PossibleApplicationGatewayFirewallModeValues() []ApplicationGatewayFirewallMode

PossibleApplicationGatewayFirewallModeValues returns the possible values for the ApplicationGatewayFirewallMode const type.

func (ApplicationGatewayFirewallMode) ToPtr

ToPtr returns a *ApplicationGatewayFirewallMode pointing to the current value.

type ApplicationGatewayFirewallRule

type ApplicationGatewayFirewallRule struct {
	// REQUIRED; The identifier of the web application firewall rule.
	RuleID *int32 `json:"ruleId,omitempty"`

	// The description of the web application firewall rule.
	Description *string `json:"description,omitempty"`
}

ApplicationGatewayFirewallRule - A web application firewall rule.

type ApplicationGatewayFirewallRuleGroup

type ApplicationGatewayFirewallRuleGroup struct {
	// REQUIRED; The name of the web application firewall rule group.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`

	// REQUIRED; The rules of the web application firewall rule group.
	Rules []*ApplicationGatewayFirewallRule `json:"rules,omitempty"`

	// The description of the web application firewall rule group.
	Description *string `json:"description,omitempty"`
}

ApplicationGatewayFirewallRuleGroup - A web application firewall rule group.

func (ApplicationGatewayFirewallRuleGroup) MarshalJSON

func (a ApplicationGatewayFirewallRuleGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayFirewallRuleGroup.

type ApplicationGatewayFirewallRuleSet

type ApplicationGatewayFirewallRuleSet struct {
	Resource
	// Properties of the application gateway firewall rule set.
	Properties *ApplicationGatewayFirewallRuleSetPropertiesFormat `json:"properties,omitempty"`
}

ApplicationGatewayFirewallRuleSet - A web application firewall rule set.

func (ApplicationGatewayFirewallRuleSet) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayFirewallRuleSet.

type ApplicationGatewayFirewallRuleSetPropertiesFormat

type ApplicationGatewayFirewallRuleSetPropertiesFormat struct {
	// REQUIRED; The rule groups of the web application firewall rule set.
	RuleGroups []*ApplicationGatewayFirewallRuleGroup `json:"ruleGroups,omitempty"`

	// REQUIRED; The type of the web application firewall rule set.
	RuleSetType *string `json:"ruleSetType,omitempty"`

	// REQUIRED; The version of the web application firewall rule set type.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`

	// READ-ONLY; The provisioning state of the web application firewall rule set.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayFirewallRuleSetPropertiesFormat - Properties of the web application firewall rule set.

func (ApplicationGatewayFirewallRuleSetPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayFirewallRuleSetPropertiesFormat.

type ApplicationGatewayFrontendIPConfiguration

type ApplicationGatewayFrontendIPConfiguration struct {
	SubResource
	// Name of the frontend IP configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway frontend IP configuration.
	Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayFrontendIPConfiguration - Frontend IP configuration of an application gateway.

func (ApplicationGatewayFrontendIPConfiguration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayFrontendIPConfiguration.

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct {
	// PrivateIPAddress of the network interface IP Configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// Reference to the application gateway private link configuration.
	PrivateLinkConfiguration *SubResource `json:"privateLinkConfiguration,omitempty"`

	// Reference to the PublicIP resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`

	// Reference to the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the frontend IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayFrontendIPConfigurationPropertiesFormat - Properties of Frontend IP configuration of an application gateway.

type ApplicationGatewayFrontendPort

type ApplicationGatewayFrontendPort struct {
	SubResource
	// Name of the frontend port that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway frontend port.
	Properties *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayFrontendPort - Frontend port of an application gateway.

func (ApplicationGatewayFrontendPort) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayFrontendPort.

type ApplicationGatewayFrontendPortPropertiesFormat

type ApplicationGatewayFrontendPortPropertiesFormat struct {
	// Frontend port.
	Port *int32 `json:"port,omitempty"`

	// READ-ONLY; The provisioning state of the frontend port resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayFrontendPortPropertiesFormat - Properties of Frontend port of an application gateway.

type ApplicationGatewayGlobalConfiguration

type ApplicationGatewayGlobalConfiguration struct {
	// Enable request buffering.
	EnableRequestBuffering *bool `json:"enableRequestBuffering,omitempty"`

	// Enable response buffering.
	EnableResponseBuffering *bool `json:"enableResponseBuffering,omitempty"`
}

ApplicationGatewayGlobalConfiguration - Application Gateway global configuration.

type ApplicationGatewayHTTPListener

type ApplicationGatewayHTTPListener struct {
	SubResource
	// Name of the HTTP listener that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway HTTP listener.
	Properties *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayHTTPListener - Http listener of an application gateway.

func (ApplicationGatewayHTTPListener) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayHTTPListener.

type ApplicationGatewayHTTPListenerPropertiesFormat

type ApplicationGatewayHTTPListenerPropertiesFormat struct {
	// Custom error configurations of the HTTP listener.
	CustomErrorConfigurations []*ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"`

	// Reference to the FirewallPolicy resource.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`

	// Frontend IP configuration resource of an application gateway.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`

	// Frontend port resource of an application gateway.
	FrontendPort *SubResource `json:"frontendPort,omitempty"`

	// Host name of HTTP listener.
	HostName *string `json:"hostName,omitempty"`

	// List of Host names for HTTP Listener that allows special wildcard characters as well.
	HostNames []*string `json:"hostNames,omitempty"`

	// Protocol of the HTTP listener.
	Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"`

	// Applicable only if protocol is https. Enables SNI for multi-hosting.
	RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"`

	// SSL certificate resource of an application gateway.
	SSLCertificate *SubResource `json:"sslCertificate,omitempty"`

	// SSL profile resource of the application gateway.
	SSLProfile *SubResource `json:"sslProfile,omitempty"`

	// READ-ONLY; The provisioning state of the HTTP listener resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayHTTPListenerPropertiesFormat - Properties of HTTP listener of an application gateway.

func (ApplicationGatewayHTTPListenerPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayHTTPListenerPropertiesFormat.

type ApplicationGatewayHeaderConfiguration

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

	// 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 {
	SubResource
	// Name of the IP configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway IP configuration.
	Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

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

func (ApplicationGatewayIPConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayIPConfiguration.

type ApplicationGatewayIPConfigurationPropertiesFormat

type ApplicationGatewayIPConfigurationPropertiesFormat struct {
	// Reference to the subnet resource. A subnet from where application gateway gets its private address.
	Subnet *SubResource `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the application gateway IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayIPConfigurationPropertiesFormat - Properties of IP configuration of an application gateway.

type ApplicationGatewayListResult

type ApplicationGatewayListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of an application gateways in a resource group.
	Value []*ApplicationGateway `json:"value,omitempty"`
}

ApplicationGatewayListResult - Response for ListApplicationGateways API service call.

func (ApplicationGatewayListResult) MarshalJSON

func (a ApplicationGatewayListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayListResult.

type ApplicationGatewayLoadDistributionAlgorithm

type ApplicationGatewayLoadDistributionAlgorithm string

ApplicationGatewayLoadDistributionAlgorithm - Load Distribution Algorithm enums.

const (
	ApplicationGatewayLoadDistributionAlgorithmIPHash           ApplicationGatewayLoadDistributionAlgorithm = "IpHash"
	ApplicationGatewayLoadDistributionAlgorithmLeastConnections ApplicationGatewayLoadDistributionAlgorithm = "LeastConnections"
	ApplicationGatewayLoadDistributionAlgorithmRoundRobin       ApplicationGatewayLoadDistributionAlgorithm = "RoundRobin"
)

func PossibleApplicationGatewayLoadDistributionAlgorithmValues

func PossibleApplicationGatewayLoadDistributionAlgorithmValues() []ApplicationGatewayLoadDistributionAlgorithm

PossibleApplicationGatewayLoadDistributionAlgorithmValues returns the possible values for the ApplicationGatewayLoadDistributionAlgorithm const type.

func (ApplicationGatewayLoadDistributionAlgorithm) ToPtr

ToPtr returns a *ApplicationGatewayLoadDistributionAlgorithm pointing to the current value.

type ApplicationGatewayLoadDistributionPolicy

type ApplicationGatewayLoadDistributionPolicy struct {
	SubResource
	// Name of the load distribution policy that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway load distribution policy.
	Properties *ApplicationGatewayLoadDistributionPolicyPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayLoadDistributionPolicy - Load Distribution Policy of an application gateway.

func (ApplicationGatewayLoadDistributionPolicy) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayLoadDistributionPolicy.

type ApplicationGatewayLoadDistributionPolicyPropertiesFormat

type ApplicationGatewayLoadDistributionPolicyPropertiesFormat struct {
	// Load Distribution Targets resource of an application gateway.
	LoadDistributionAlgorithm *ApplicationGatewayLoadDistributionAlgorithm `json:"loadDistributionAlgorithm,omitempty"`

	// Load Distribution Targets resource of an application gateway.
	LoadDistributionTargets []*ApplicationGatewayLoadDistributionTarget `json:"loadDistributionTargets,omitempty"`

	// READ-ONLY; The provisioning state of the Load Distribution Policy resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayLoadDistributionPolicyPropertiesFormat - Properties of Load Distribution Policy of an application gateway.

func (ApplicationGatewayLoadDistributionPolicyPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayLoadDistributionPolicyPropertiesFormat.

type ApplicationGatewayLoadDistributionTarget

type ApplicationGatewayLoadDistributionTarget struct {
	SubResource
	// Name of the load distribution policy that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway load distribution target.
	Properties *ApplicationGatewayLoadDistributionTargetPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayLoadDistributionTarget - Load Distribution Target of an application gateway.

func (ApplicationGatewayLoadDistributionTarget) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayLoadDistributionTarget.

type ApplicationGatewayLoadDistributionTargetPropertiesFormat

type ApplicationGatewayLoadDistributionTargetPropertiesFormat struct {
	// Backend address pool resource of the application gateway.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// Weight per server. Range between 1 and 100.
	WeightPerServer *int32 `json:"weightPerServer,omitempty"`
}

type ApplicationGatewayOnDemandProbe

type ApplicationGatewayOnDemandProbe struct {
	// Reference to backend pool of application gateway to which probe request will be sent.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// Reference to backend http setting of application gateway to be used for test probe.
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`

	// Host name to send the probe to.
	Host *string `json:"host,omitempty"`

	// Criterion for classifying a healthy probe response.
	Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"`

	// Relative path of probe. Valid path starts from '/'. Probe is sent to ://:.
	Path *string `json:"path,omitempty"`

	// Whether the host header should be picked from the backend http settings. Default value is false.
	PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"`

	// The protocol used for the probe.
	Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"`

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

ApplicationGatewayOnDemandProbe - Details of on demand test probe request.

type ApplicationGatewayOperationalState

type ApplicationGatewayOperationalState string

ApplicationGatewayOperationalState - Operational state of the application gateway resource.

const (
	ApplicationGatewayOperationalStateRunning  ApplicationGatewayOperationalState = "Running"
	ApplicationGatewayOperationalStateStarting ApplicationGatewayOperationalState = "Starting"
	ApplicationGatewayOperationalStateStopped  ApplicationGatewayOperationalState = "Stopped"
	ApplicationGatewayOperationalStateStopping ApplicationGatewayOperationalState = "Stopping"
)

func PossibleApplicationGatewayOperationalStateValues

func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState

PossibleApplicationGatewayOperationalStateValues returns the possible values for the ApplicationGatewayOperationalState const type.

func (ApplicationGatewayOperationalState) ToPtr

ToPtr returns a *ApplicationGatewayOperationalState pointing to the current value.

type ApplicationGatewayPathRule

type ApplicationGatewayPathRule struct {
	SubResource
	// Name of the path rule that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway path rule.
	Properties *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

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

func (ApplicationGatewayPathRule) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPathRule.

type ApplicationGatewayPathRulePropertiesFormat

type ApplicationGatewayPathRulePropertiesFormat struct {
	// Backend address pool resource of URL path map path rule.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// Backend http settings resource of URL path map path rule.
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`

	// Reference to the FirewallPolicy resource.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`

	// Load Distribution Policy resource of URL path map path rule.
	LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"`

	// Path rules of URL path map.
	Paths []*string `json:"paths,omitempty"`

	// Redirect configuration resource of URL path map path rule.
	RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"`

	// Rewrite rule set resource of URL path map path rule.
	RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"`

	// READ-ONLY; The provisioning state of the path rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayPathRulePropertiesFormat - Properties of path rule of an application gateway.

func (ApplicationGatewayPathRulePropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPathRulePropertiesFormat.

type ApplicationGatewayPrivateEndpointConnection

type ApplicationGatewayPrivateEndpointConnection struct {
	SubResource
	// Name of the private endpoint connection on an application gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway private endpoint connection.
	Properties *ApplicationGatewayPrivateEndpointConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateEndpointConnection - Private Endpoint connection on an application gateway.

func (ApplicationGatewayPrivateEndpointConnection) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateEndpointConnection.

type ApplicationGatewayPrivateEndpointConnectionListResult

type ApplicationGatewayPrivateEndpointConnectionListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of private endpoint connections on an application gateway.
	Value []*ApplicationGatewayPrivateEndpointConnection `json:"value,omitempty"`
}

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

func (ApplicationGatewayPrivateEndpointConnectionListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateEndpointConnectionListResult.

type ApplicationGatewayPrivateEndpointConnectionProperties

type ApplicationGatewayPrivateEndpointConnectionProperties struct {
	// A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`

	// READ-ONLY; The consumer link id.
	LinkIdentifier *string `json:"linkIdentifier,omitempty" azure:"ro"`

	// READ-ONLY; The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the application gateway private endpoint connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateEndpointConnectionProperties - Properties of Private Link Resource of an application gateway.

type ApplicationGatewayPrivateEndpointConnectionsBeginDeleteOptions

type ApplicationGatewayPrivateEndpointConnectionsBeginDeleteOptions struct {
}

ApplicationGatewayPrivateEndpointConnectionsBeginDeleteOptions contains the optional parameters for the ApplicationGatewayPrivateEndpointConnections.BeginDelete method.

type ApplicationGatewayPrivateEndpointConnectionsBeginUpdateOptions

type ApplicationGatewayPrivateEndpointConnectionsBeginUpdateOptions struct {
}

ApplicationGatewayPrivateEndpointConnectionsBeginUpdateOptions contains the optional parameters for the ApplicationGatewayPrivateEndpointConnections.BeginUpdate method.

type ApplicationGatewayPrivateEndpointConnectionsClient

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

ApplicationGatewayPrivateEndpointConnectionsClient contains the methods for the ApplicationGatewayPrivateEndpointConnections group. Don't use this type directly, use NewApplicationGatewayPrivateEndpointConnectionsClient() instead.

func NewApplicationGatewayPrivateEndpointConnectionsClient

func NewApplicationGatewayPrivateEndpointConnectionsClient(con *arm.Connection, subscriptionID string) *ApplicationGatewayPrivateEndpointConnectionsClient

NewApplicationGatewayPrivateEndpointConnectionsClient creates a new instance of ApplicationGatewayPrivateEndpointConnectionsClient with the specified values.

func (*ApplicationGatewayPrivateEndpointConnectionsClient) BeginDelete

BeginDelete - Deletes the specified private endpoint connection on application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewayPrivateEndpointConnectionsClient) BeginUpdate

BeginUpdate - Updates the specified private endpoint connection on application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewayPrivateEndpointConnectionsClient) Get

Get - Gets the specified private endpoint connection on application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewayPrivateEndpointConnectionsClient) List

List - Lists all private endpoint connections on an application gateway. If the operation fails it returns the *CloudError error type.

type ApplicationGatewayPrivateEndpointConnectionsDeletePoller

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

ApplicationGatewayPrivateEndpointConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewayPrivateEndpointConnectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewayPrivateEndpointConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewayPrivateEndpointConnectionsDeleteResponse will be returned.

func (*ApplicationGatewayPrivateEndpointConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewayPrivateEndpointConnectionsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewayPrivateEndpointConnectionsDeletePollerResponse

type ApplicationGatewayPrivateEndpointConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewayPrivateEndpointConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateEndpointConnectionsDeletePollerResponse contains the response from method ApplicationGatewayPrivateEndpointConnections.Delete.

func (ApplicationGatewayPrivateEndpointConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewayPrivateEndpointConnectionsDeletePollerResponse) Resume

Resume rehydrates a ApplicationGatewayPrivateEndpointConnectionsDeletePollerResponse from the provided client and resume token.

type ApplicationGatewayPrivateEndpointConnectionsDeleteResponse

type ApplicationGatewayPrivateEndpointConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateEndpointConnectionsDeleteResponse contains the response from method ApplicationGatewayPrivateEndpointConnections.Delete.

type ApplicationGatewayPrivateEndpointConnectionsGetOptions

type ApplicationGatewayPrivateEndpointConnectionsGetOptions struct {
}

ApplicationGatewayPrivateEndpointConnectionsGetOptions contains the optional parameters for the ApplicationGatewayPrivateEndpointConnections.Get method.

type ApplicationGatewayPrivateEndpointConnectionsGetResponse

type ApplicationGatewayPrivateEndpointConnectionsGetResponse struct {
	ApplicationGatewayPrivateEndpointConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateEndpointConnectionsGetResponse contains the response from method ApplicationGatewayPrivateEndpointConnections.Get.

type ApplicationGatewayPrivateEndpointConnectionsGetResult

type ApplicationGatewayPrivateEndpointConnectionsGetResult struct {
	ApplicationGatewayPrivateEndpointConnection
}

ApplicationGatewayPrivateEndpointConnectionsGetResult contains the result from method ApplicationGatewayPrivateEndpointConnections.Get.

type ApplicationGatewayPrivateEndpointConnectionsListOptions

type ApplicationGatewayPrivateEndpointConnectionsListOptions struct {
}

ApplicationGatewayPrivateEndpointConnectionsListOptions contains the optional parameters for the ApplicationGatewayPrivateEndpointConnections.List method.

type ApplicationGatewayPrivateEndpointConnectionsListPager

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

ApplicationGatewayPrivateEndpointConnectionsListPager provides operations for iterating over paged responses.

func (*ApplicationGatewayPrivateEndpointConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*ApplicationGatewayPrivateEndpointConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationGatewayPrivateEndpointConnectionsListPager) PageResponse

PageResponse returns the current ApplicationGatewayPrivateEndpointConnectionsListResponse page.

type ApplicationGatewayPrivateEndpointConnectionsListResponse

type ApplicationGatewayPrivateEndpointConnectionsListResponse struct {
	ApplicationGatewayPrivateEndpointConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateEndpointConnectionsListResponse contains the response from method ApplicationGatewayPrivateEndpointConnections.List.

type ApplicationGatewayPrivateEndpointConnectionsListResult

type ApplicationGatewayPrivateEndpointConnectionsListResult struct {
	ApplicationGatewayPrivateEndpointConnectionListResult
}

ApplicationGatewayPrivateEndpointConnectionsListResult contains the result from method ApplicationGatewayPrivateEndpointConnections.List.

type ApplicationGatewayPrivateEndpointConnectionsUpdatePoller

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

ApplicationGatewayPrivateEndpointConnectionsUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewayPrivateEndpointConnectionsUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewayPrivateEndpointConnectionsUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewayPrivateEndpointConnectionsUpdateResponse will be returned.

func (*ApplicationGatewayPrivateEndpointConnectionsUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewayPrivateEndpointConnectionsUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewayPrivateEndpointConnectionsUpdatePollerResponse

type ApplicationGatewayPrivateEndpointConnectionsUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewayPrivateEndpointConnectionsUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateEndpointConnectionsUpdatePollerResponse contains the response from method ApplicationGatewayPrivateEndpointConnections.Update.

func (ApplicationGatewayPrivateEndpointConnectionsUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewayPrivateEndpointConnectionsUpdatePollerResponse) Resume

Resume rehydrates a ApplicationGatewayPrivateEndpointConnectionsUpdatePollerResponse from the provided client and resume token.

type ApplicationGatewayPrivateEndpointConnectionsUpdateResponse

type ApplicationGatewayPrivateEndpointConnectionsUpdateResponse struct {
	ApplicationGatewayPrivateEndpointConnectionsUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateEndpointConnectionsUpdateResponse contains the response from method ApplicationGatewayPrivateEndpointConnections.Update.

type ApplicationGatewayPrivateEndpointConnectionsUpdateResult

type ApplicationGatewayPrivateEndpointConnectionsUpdateResult struct {
	ApplicationGatewayPrivateEndpointConnection
}

ApplicationGatewayPrivateEndpointConnectionsUpdateResult contains the result from method ApplicationGatewayPrivateEndpointConnections.Update.

type ApplicationGatewayPrivateLinkConfiguration

type ApplicationGatewayPrivateLinkConfiguration struct {
	SubResource
	// Name of the private link configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway private link configuration.
	Properties *ApplicationGatewayPrivateLinkConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateLinkConfiguration - Private Link Configuration on an application gateway.

func (ApplicationGatewayPrivateLinkConfiguration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateLinkConfiguration.

type ApplicationGatewayPrivateLinkConfigurationProperties

type ApplicationGatewayPrivateLinkConfigurationProperties struct {
	// An array of application gateway private link ip configurations.
	IPConfigurations []*ApplicationGatewayPrivateLinkIPConfiguration `json:"ipConfigurations,omitempty"`

	// READ-ONLY; The provisioning state of the application gateway private link configuration.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateLinkConfigurationProperties - Properties of private link configuration on an application gateway.

func (ApplicationGatewayPrivateLinkConfigurationProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateLinkConfigurationProperties.

type ApplicationGatewayPrivateLinkIPConfiguration

type ApplicationGatewayPrivateLinkIPConfiguration struct {
	SubResource
	// The name of application gateway private link ip configuration.
	Name *string `json:"name,omitempty"`

	// Properties of an application gateway private link ip configuration.
	Properties *ApplicationGatewayPrivateLinkIPConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateLinkIPConfiguration - The application gateway private link ip configuration.

func (ApplicationGatewayPrivateLinkIPConfiguration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateLinkIPConfiguration.

type ApplicationGatewayPrivateLinkIPConfigurationProperties

type ApplicationGatewayPrivateLinkIPConfigurationProperties struct {
	// Whether the ip configuration is primary or not.
	Primary *bool `json:"primary,omitempty"`

	// The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// Reference to the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the application gateway private link IP configuration.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateLinkIPConfigurationProperties - Properties of an application gateway private link IP configuration.

type ApplicationGatewayPrivateLinkResource

type ApplicationGatewayPrivateLinkResource struct {
	SubResource
	// Name of the private link resource that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway private link resource.
	Properties *ApplicationGatewayPrivateLinkResourceProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateLinkResource - PrivateLink Resource of an application gateway.

func (ApplicationGatewayPrivateLinkResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateLinkResource.

type ApplicationGatewayPrivateLinkResourceListResult

type ApplicationGatewayPrivateLinkResourceListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of private link resources of an application gateway.
	Value []*ApplicationGatewayPrivateLinkResource `json:"value,omitempty"`
}

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

func (ApplicationGatewayPrivateLinkResourceListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateLinkResourceListResult.

type ApplicationGatewayPrivateLinkResourceProperties

type ApplicationGatewayPrivateLinkResourceProperties struct {
	// Required DNS zone names of the the private link resource.
	RequiredZoneNames []*string `json:"requiredZoneNames,omitempty"`

	// READ-ONLY; Group identifier of private link resource.
	GroupID *string `json:"groupId,omitempty" azure:"ro"`

	// READ-ONLY; Required member names of private link resource.
	RequiredMembers []*string `json:"requiredMembers,omitempty" azure:"ro"`
}

ApplicationGatewayPrivateLinkResourceProperties - Properties of a private link resource.

func (ApplicationGatewayPrivateLinkResourceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPrivateLinkResourceProperties.

type ApplicationGatewayPrivateLinkResourcesClient

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

ApplicationGatewayPrivateLinkResourcesClient contains the methods for the ApplicationGatewayPrivateLinkResources group. Don't use this type directly, use NewApplicationGatewayPrivateLinkResourcesClient() instead.

func NewApplicationGatewayPrivateLinkResourcesClient

func NewApplicationGatewayPrivateLinkResourcesClient(con *arm.Connection, subscriptionID string) *ApplicationGatewayPrivateLinkResourcesClient

NewApplicationGatewayPrivateLinkResourcesClient creates a new instance of ApplicationGatewayPrivateLinkResourcesClient with the specified values.

func (*ApplicationGatewayPrivateLinkResourcesClient) List

List - Lists all private link resources on an application gateway. If the operation fails it returns the *CloudError error type.

type ApplicationGatewayPrivateLinkResourcesListOptions

type ApplicationGatewayPrivateLinkResourcesListOptions struct {
}

ApplicationGatewayPrivateLinkResourcesListOptions contains the optional parameters for the ApplicationGatewayPrivateLinkResources.List method.

type ApplicationGatewayPrivateLinkResourcesListPager

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

ApplicationGatewayPrivateLinkResourcesListPager provides operations for iterating over paged responses.

func (*ApplicationGatewayPrivateLinkResourcesListPager) Err

Err returns the last error encountered while paging.

func (*ApplicationGatewayPrivateLinkResourcesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationGatewayPrivateLinkResourcesListPager) PageResponse

PageResponse returns the current ApplicationGatewayPrivateLinkResourcesListResponse page.

type ApplicationGatewayPrivateLinkResourcesListResponse

type ApplicationGatewayPrivateLinkResourcesListResponse struct {
	ApplicationGatewayPrivateLinkResourcesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewayPrivateLinkResourcesListResponse contains the response from method ApplicationGatewayPrivateLinkResources.List.

type ApplicationGatewayPrivateLinkResourcesListResult

type ApplicationGatewayPrivateLinkResourcesListResult struct {
	ApplicationGatewayPrivateLinkResourceListResult
}

ApplicationGatewayPrivateLinkResourcesListResult contains the result from method ApplicationGatewayPrivateLinkResources.List.

type ApplicationGatewayProbe

type ApplicationGatewayProbe struct {
	SubResource
	// Name of the probe that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway probe.
	Properties *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayProbe - Probe of the application gateway.

func (ApplicationGatewayProbe) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayProbe.

type ApplicationGatewayProbeHealthResponseMatch

type ApplicationGatewayProbeHealthResponseMatch struct {
	// Body that must be contained in the health response. Default value is empty.
	Body *string `json:"body,omitempty"`

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

func (ApplicationGatewayProbeHealthResponseMatch) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayProbeHealthResponseMatch.

type ApplicationGatewayProbePropertiesFormat

type ApplicationGatewayProbePropertiesFormat struct {
	// Host name to send the probe to.
	Host *string `json:"host,omitempty"`

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

	// Criterion for classifying a healthy probe response.
	Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"`

	// Minimum number of servers that are always marked healthy. Default value is 0.
	MinServers *int32 `json:"minServers,omitempty"`

	// Relative path of probe. Valid path starts from '/'. Probe is sent to ://:.
	Path *string `json:"path,omitempty"`

	// Whether the host header should be picked from the backend http settings. Default value is false.
	PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"`

	// 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 Standardv2 and
	// WAFv2 only.
	Port *int32 `json:"port,omitempty"`

	// The protocol used for the probe.
	Protocol *ApplicationGatewayProtocol `json:"protocol,omitempty"`

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

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

	// READ-ONLY; The provisioning state of the probe resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayProbePropertiesFormat - Properties of probe of an application gateway.

type ApplicationGatewayPropertiesFormat

type ApplicationGatewayPropertiesFormat struct {
	// 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"`

	// Autoscale Configuration.
	AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"`

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

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

	// Custom error configurations of the application gateway resource.
	CustomErrorConfigurations []*ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"`

	// Whether FIPS is enabled on the application gateway resource.
	EnableFips *bool `json:"enableFips,omitempty"`

	// Whether HTTP2 is enabled on the application gateway resource.
	EnableHTTP2 *bool `json:"enableHttp2,omitempty"`

	// Reference to the FirewallPolicy resource.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`

	// If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.
	ForceFirewallPolicyAssociation *bool `json:"forceFirewallPolicyAssociation,omitempty"`

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

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

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

	// Global Configuration.
	GlobalConfiguration *ApplicationGatewayGlobalConfiguration `json:"globalConfiguration,omitempty"`

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

	// Load distribution policies of the application gateway resource.
	LoadDistributionPolicies []*ApplicationGatewayLoadDistributionPolicy `json:"loadDistributionPolicies,omitempty"`

	// PrivateLink configurations on application gateway.
	PrivateLinkConfigurations []*ApplicationGatewayPrivateLinkConfiguration `json:"privateLinkConfigurations,omitempty"`

	// Probes of the application gateway resource.
	Probes []*ApplicationGatewayProbe `json:"probes,omitempty"`

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

	// Request routing rules of the application gateway resource.
	RequestRoutingRules []*ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"`

	// Rewrite rules for the application gateway resource.
	RewriteRuleSets []*ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"`

	// SKU of the application gateway resource.
	SKU *ApplicationGatewaySKU `json:"sku,omitempty"`

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

	// SSL policy of the application gateway resource.
	SSLPolicy *ApplicationGatewaySSLPolicy `json:"sslPolicy,omitempty"`

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

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

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

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

	// Web application firewall configuration.
	WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"`

	// READ-ONLY; Operational state of the application gateway resource.
	OperationalState *ApplicationGatewayOperationalState `json:"operationalState,omitempty" azure:"ro"`

	// READ-ONLY; Private Endpoint connections on application gateway.
	PrivateEndpointConnections []*ApplicationGatewayPrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the application gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the application gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

ApplicationGatewayPropertiesFormat - Properties of the application gateway.

func (ApplicationGatewayPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayPropertiesFormat.

type ApplicationGatewayProtocol

type ApplicationGatewayProtocol string

ApplicationGatewayProtocol - Application Gateway protocol.

const (
	ApplicationGatewayProtocolHTTP  ApplicationGatewayProtocol = "Http"
	ApplicationGatewayProtocolHTTPS ApplicationGatewayProtocol = "Https"
)

func PossibleApplicationGatewayProtocolValues

func PossibleApplicationGatewayProtocolValues() []ApplicationGatewayProtocol

PossibleApplicationGatewayProtocolValues returns the possible values for the ApplicationGatewayProtocol const type.

func (ApplicationGatewayProtocol) ToPtr

ToPtr returns a *ApplicationGatewayProtocol pointing to the current value.

type ApplicationGatewayRedirectConfiguration

type ApplicationGatewayRedirectConfiguration struct {
	SubResource
	// Name of the redirect configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway redirect configuration.
	Properties *ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayRedirectConfiguration - Redirect configuration of an application gateway.

func (ApplicationGatewayRedirectConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRedirectConfiguration.

type ApplicationGatewayRedirectConfigurationPropertiesFormat

type ApplicationGatewayRedirectConfigurationPropertiesFormat struct {
	// Include path in the redirected url.
	IncludePath *bool `json:"includePath,omitempty"`

	// Include query string in the redirected url.
	IncludeQueryString *bool `json:"includeQueryString,omitempty"`

	// Path rules specifying redirect configuration.
	PathRules []*SubResource `json:"pathRules,omitempty"`

	// HTTP redirection type.
	RedirectType *ApplicationGatewayRedirectType `json:"redirectType,omitempty"`

	// Request routing specifying redirect configuration.
	RequestRoutingRules []*SubResource `json:"requestRoutingRules,omitempty"`

	// Reference to a listener to redirect the request to.
	TargetListener *SubResource `json:"targetListener,omitempty"`

	// Url to redirect the request to.
	TargetURL *string `json:"targetUrl,omitempty"`

	// Url path maps specifying default redirect configuration.
	URLPathMaps []*SubResource `json:"urlPathMaps,omitempty"`
}

ApplicationGatewayRedirectConfigurationPropertiesFormat - Properties of redirect configuration of the application gateway.

func (ApplicationGatewayRedirectConfigurationPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRedirectConfigurationPropertiesFormat.

type ApplicationGatewayRedirectType

type ApplicationGatewayRedirectType string

ApplicationGatewayRedirectType - Redirect type enum.

const (
	ApplicationGatewayRedirectTypeFound     ApplicationGatewayRedirectType = "Found"
	ApplicationGatewayRedirectTypePermanent ApplicationGatewayRedirectType = "Permanent"
	ApplicationGatewayRedirectTypeSeeOther  ApplicationGatewayRedirectType = "SeeOther"
	ApplicationGatewayRedirectTypeTemporary ApplicationGatewayRedirectType = "Temporary"
)

func PossibleApplicationGatewayRedirectTypeValues

func PossibleApplicationGatewayRedirectTypeValues() []ApplicationGatewayRedirectType

PossibleApplicationGatewayRedirectTypeValues returns the possible values for the ApplicationGatewayRedirectType const type.

func (ApplicationGatewayRedirectType) ToPtr

ToPtr returns a *ApplicationGatewayRedirectType pointing to the current value.

type ApplicationGatewayRequestRoutingRule

type ApplicationGatewayRequestRoutingRule struct {
	SubResource
	// Name of the request routing rule that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway request routing rule.
	Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayRequestRoutingRule - Request routing rule of an application gateway.

func (ApplicationGatewayRequestRoutingRule) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRequestRoutingRule.

type ApplicationGatewayRequestRoutingRulePropertiesFormat

type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
	// Backend address pool resource of the application gateway.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// Backend http settings resource of the application gateway.
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`

	// Http listener resource of the application gateway.
	HTTPListener *SubResource `json:"httpListener,omitempty"`

	// Load Distribution Policy resource of the application gateway.
	LoadDistributionPolicy *SubResource `json:"loadDistributionPolicy,omitempty"`

	// Priority of the request routing rule.
	Priority *int32 `json:"priority,omitempty"`

	// Redirect configuration resource of the application gateway.
	RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"`

	// Rewrite Rule Set resource in Basic rule of the application gateway.
	RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"`

	// Rule type.
	RuleType *ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`

	// URL path map resource of the application gateway.
	URLPathMap *SubResource `json:"urlPathMap,omitempty"`

	// READ-ONLY; The provisioning state of the request routing rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayRequestRoutingRulePropertiesFormat - Properties of request routing rule of the application gateway.

type ApplicationGatewayRequestRoutingRuleType

type ApplicationGatewayRequestRoutingRuleType string

ApplicationGatewayRequestRoutingRuleType - Rule type.

const (
	ApplicationGatewayRequestRoutingRuleTypeBasic            ApplicationGatewayRequestRoutingRuleType = "Basic"
	ApplicationGatewayRequestRoutingRuleTypePathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting"
)

func PossibleApplicationGatewayRequestRoutingRuleTypeValues

func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType

PossibleApplicationGatewayRequestRoutingRuleTypeValues returns the possible values for the ApplicationGatewayRequestRoutingRuleType const type.

func (ApplicationGatewayRequestRoutingRuleType) ToPtr

ToPtr returns a *ApplicationGatewayRequestRoutingRuleType pointing to the current value.

type ApplicationGatewayRewriteRule

type ApplicationGatewayRewriteRule struct {
	// Set of actions to be done as part of the rewrite Rule.
	ActionSet *ApplicationGatewayRewriteRuleActionSet `json:"actionSet,omitempty"`

	// Conditions based on which the action set execution will be evaluated.
	Conditions []*ApplicationGatewayRewriteRuleCondition `json:"conditions,omitempty"`

	// Name of the rewrite rule that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.
	RuleSequence *int32 `json:"ruleSequence,omitempty"`
}

ApplicationGatewayRewriteRule - Rewrite rule of an application gateway.

func (ApplicationGatewayRewriteRule) MarshalJSON

func (a ApplicationGatewayRewriteRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRewriteRule.

type ApplicationGatewayRewriteRuleActionSet

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

	// Response Header Actions in the Action Set.
	ResponseHeaderConfigurations []*ApplicationGatewayHeaderConfiguration `json:"responseHeaderConfigurations,omitempty"`

	// Url Configuration Action in the Action Set.
	URLConfiguration *ApplicationGatewayURLConfiguration `json:"urlConfiguration,omitempty"`
}

ApplicationGatewayRewriteRuleActionSet - Set of actions in the Rewrite Rule in Application Gateway.

func (ApplicationGatewayRewriteRuleActionSet) MarshalJSON

func (a ApplicationGatewayRewriteRuleActionSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRewriteRuleActionSet.

type ApplicationGatewayRewriteRuleCondition

type ApplicationGatewayRewriteRuleCondition struct {
	// Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
	IgnoreCase *bool `json:"ignoreCase,omitempty"`

	// Setting this value as truth will force to check the negation of the condition given by the user.
	Negate *bool `json:"negate,omitempty"`

	// The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
	Pattern *string `json:"pattern,omitempty"`

	// The condition parameter of the RewriteRuleCondition.
	Variable *string `json:"variable,omitempty"`
}

ApplicationGatewayRewriteRuleCondition - Set of conditions in the Rewrite Rule in Application Gateway.

type ApplicationGatewayRewriteRuleSet

type ApplicationGatewayRewriteRuleSet struct {
	SubResource
	// Name of the rewrite rule set that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway rewrite rule set.
	Properties *ApplicationGatewayRewriteRuleSetPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ApplicationGatewayRewriteRuleSet - Rewrite rule set of an application gateway.

func (ApplicationGatewayRewriteRuleSet) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRewriteRuleSet.

type ApplicationGatewayRewriteRuleSetPropertiesFormat

type ApplicationGatewayRewriteRuleSetPropertiesFormat struct {
	// Rewrite rules in the rewrite rule set.
	RewriteRules []*ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"`

	// READ-ONLY; The provisioning state of the rewrite rule set resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayRewriteRuleSetPropertiesFormat - Properties of rewrite rule set of the application gateway.

func (ApplicationGatewayRewriteRuleSetPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayRewriteRuleSetPropertiesFormat.

type ApplicationGatewaySKU

type ApplicationGatewaySKU struct {
	// Capacity (instance count) of an application gateway.
	Capacity *int32 `json:"capacity,omitempty"`

	// Name of an application gateway SKU.
	Name *ApplicationGatewaySKUName `json:"name,omitempty"`

	// Tier of an application gateway.
	Tier *ApplicationGatewayTier `json:"tier,omitempty"`
}

ApplicationGatewaySKU - SKU of an application gateway.

type ApplicationGatewaySKUName

type ApplicationGatewaySKUName string

ApplicationGatewaySKUName - Name of an application gateway SKU.

const (
	ApplicationGatewaySKUNameStandardLarge  ApplicationGatewaySKUName = "Standard_Large"
	ApplicationGatewaySKUNameStandardMedium ApplicationGatewaySKUName = "Standard_Medium"
	ApplicationGatewaySKUNameStandardSmall  ApplicationGatewaySKUName = "Standard_Small"
	ApplicationGatewaySKUNameStandardV2     ApplicationGatewaySKUName = "Standard_v2"
	ApplicationGatewaySKUNameWAFLarge       ApplicationGatewaySKUName = "WAF_Large"
	ApplicationGatewaySKUNameWAFMedium      ApplicationGatewaySKUName = "WAF_Medium"
	ApplicationGatewaySKUNameWAFV2          ApplicationGatewaySKUName = "WAF_v2"
)

func PossibleApplicationGatewaySKUNameValues

func PossibleApplicationGatewaySKUNameValues() []ApplicationGatewaySKUName

PossibleApplicationGatewaySKUNameValues returns the possible values for the ApplicationGatewaySKUName const type.

func (ApplicationGatewaySKUName) ToPtr

ToPtr returns a *ApplicationGatewaySKUName pointing to the current value.

type ApplicationGatewaySSLCertificate

type ApplicationGatewaySSLCertificate struct {
	SubResource
	// Name of the SSL certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway SSL certificate.
	Properties *ApplicationGatewaySSLCertificatePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewaySSLCertificate - SSL certificates of an application gateway.

func (ApplicationGatewaySSLCertificate) MarshalJSON

func (a ApplicationGatewaySSLCertificate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewaySSLCertificate.

type ApplicationGatewaySSLCertificatePropertiesFormat

type ApplicationGatewaySSLCertificatePropertiesFormat struct {
	// Base-64 encoded pfx certificate. Only applicable in PUT Request.
	Data *string `json:"data,omitempty"`

	// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
	KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"`

	// Password for the pfx file specified in data. Only applicable in PUT request.
	Password *string `json:"password,omitempty"`

	// READ-ONLY; The provisioning state of the SSL certificate resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request.
	PublicCertData *string `json:"publicCertData,omitempty" azure:"ro"`
}

ApplicationGatewaySSLCertificatePropertiesFormat - Properties of SSL certificates of an application gateway.

type ApplicationGatewaySSLCipherSuite

type ApplicationGatewaySSLCipherSuite string

ApplicationGatewaySSLCipherSuite - Ssl cipher suites enums.

const (
	ApplicationGatewaySSLCipherSuiteTLSDHEDSSWITH3DESEDECBCSHA       ApplicationGatewaySSLCipherSuite = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSDHEDSSWITHAES128CBCSHA        ApplicationGatewaySSLCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSDHEDSSWITHAES128CBCSHA256     ApplicationGatewaySSLCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSDHEDSSWITHAES256CBCSHA        ApplicationGatewaySSLCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSDHEDSSWITHAES256CBCSHA256     ApplicationGatewaySSLCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSDHERSAWITHAES128CBCSHA        ApplicationGatewaySSLCipherSuite = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSDHERSAWITHAES128GCMSHA256     ApplicationGatewaySSLCipherSuite = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSDHERSAWITHAES256CBCSHA        ApplicationGatewaySSLCipherSuite = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSDHERSAWITHAES256GCMSHA384     ApplicationGatewaySSLCipherSuite = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
	ApplicationGatewaySSLCipherSuiteTLSECDHEECDSAWITHAES128CBCSHA    ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSECDHEECDSAWITHAES128CBCSHA256 ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSECDHEECDSAWITHAES128GCMSHA256 ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSECDHEECDSAWITHAES256CBCSHA    ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSECDHEECDSAWITHAES256CBCSHA384 ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
	ApplicationGatewaySSLCipherSuiteTLSECDHEECDSAWITHAES256GCMSHA384 ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
	ApplicationGatewaySSLCipherSuiteTLSECDHERSAWITHAES128CBCSHA      ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSECDHERSAWITHAES128CBCSHA256   ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSECDHERSAWITHAES128GCMSHA256   ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSECDHERSAWITHAES256CBCSHA      ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSECDHERSAWITHAES256CBCSHA384   ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
	ApplicationGatewaySSLCipherSuiteTLSECDHERSAWITHAES256GCMSHA384   ApplicationGatewaySSLCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITH3DESEDECBCSHA          ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITHAES128CBCSHA           ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITHAES128CBCSHA256        ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITHAES128GCMSHA256        ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_AES_128_GCM_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITHAES256CBCSHA           ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITHAES256CBCSHA256        ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA256"
	ApplicationGatewaySSLCipherSuiteTLSRSAWITHAES256GCMSHA384        ApplicationGatewaySSLCipherSuite = "TLS_RSA_WITH_AES_256_GCM_SHA384"
)

func PossibleApplicationGatewaySSLCipherSuiteValues

func PossibleApplicationGatewaySSLCipherSuiteValues() []ApplicationGatewaySSLCipherSuite

PossibleApplicationGatewaySSLCipherSuiteValues returns the possible values for the ApplicationGatewaySSLCipherSuite const type.

func (ApplicationGatewaySSLCipherSuite) ToPtr

ToPtr returns a *ApplicationGatewaySSLCipherSuite pointing to the current value.

type ApplicationGatewaySSLPolicy

type ApplicationGatewaySSLPolicy struct {
	// Ssl cipher suites to be enabled in the specified order to application gateway.
	CipherSuites []*ApplicationGatewaySSLCipherSuite `json:"cipherSuites,omitempty"`

	// Ssl protocols to be disabled on application gateway.
	DisabledSSLProtocols []*ApplicationGatewaySSLProtocol `json:"disabledSslProtocols,omitempty"`

	// Minimum version of Ssl protocol to be supported on application gateway.
	MinProtocolVersion *ApplicationGatewaySSLProtocol `json:"minProtocolVersion,omitempty"`

	// Name of Ssl predefined policy.
	PolicyName *ApplicationGatewaySSLPolicyName `json:"policyName,omitempty"`

	// Type of Ssl Policy.
	PolicyType *ApplicationGatewaySSLPolicyType `json:"policyType,omitempty"`
}

ApplicationGatewaySSLPolicy - Application Gateway Ssl policy.

func (ApplicationGatewaySSLPolicy) MarshalJSON

func (a ApplicationGatewaySSLPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewaySSLPolicy.

type ApplicationGatewaySSLPolicyName

type ApplicationGatewaySSLPolicyName string

ApplicationGatewaySSLPolicyName - Ssl predefined policy name enums.

const (
	ApplicationGatewaySSLPolicyNameAppGwSSLPolicy20150501  ApplicationGatewaySSLPolicyName = "AppGwSslPolicy20150501"
	ApplicationGatewaySSLPolicyNameAppGwSSLPolicy20170401  ApplicationGatewaySSLPolicyName = "AppGwSslPolicy20170401"
	ApplicationGatewaySSLPolicyNameAppGwSSLPolicy20170401S ApplicationGatewaySSLPolicyName = "AppGwSslPolicy20170401S"
)

func PossibleApplicationGatewaySSLPolicyNameValues

func PossibleApplicationGatewaySSLPolicyNameValues() []ApplicationGatewaySSLPolicyName

PossibleApplicationGatewaySSLPolicyNameValues returns the possible values for the ApplicationGatewaySSLPolicyName const type.

func (ApplicationGatewaySSLPolicyName) ToPtr

ToPtr returns a *ApplicationGatewaySSLPolicyName pointing to the current value.

type ApplicationGatewaySSLPolicyType

type ApplicationGatewaySSLPolicyType string

ApplicationGatewaySSLPolicyType - Type of Ssl Policy.

const (
	ApplicationGatewaySSLPolicyTypeCustom     ApplicationGatewaySSLPolicyType = "Custom"
	ApplicationGatewaySSLPolicyTypePredefined ApplicationGatewaySSLPolicyType = "Predefined"
)

func PossibleApplicationGatewaySSLPolicyTypeValues

func PossibleApplicationGatewaySSLPolicyTypeValues() []ApplicationGatewaySSLPolicyType

PossibleApplicationGatewaySSLPolicyTypeValues returns the possible values for the ApplicationGatewaySSLPolicyType const type.

func (ApplicationGatewaySSLPolicyType) ToPtr

ToPtr returns a *ApplicationGatewaySSLPolicyType pointing to the current value.

type ApplicationGatewaySSLPredefinedPolicy

type ApplicationGatewaySSLPredefinedPolicy struct {
	SubResource
	// Name of the Ssl predefined policy.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway SSL predefined policy.
	Properties *ApplicationGatewaySSLPredefinedPolicyPropertiesFormat `json:"properties,omitempty"`
}

ApplicationGatewaySSLPredefinedPolicy - An Ssl predefined policy.

func (ApplicationGatewaySSLPredefinedPolicy) MarshalJSON

func (a ApplicationGatewaySSLPredefinedPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewaySSLPredefinedPolicy.

type ApplicationGatewaySSLPredefinedPolicyPropertiesFormat

type ApplicationGatewaySSLPredefinedPolicyPropertiesFormat struct {
	// Ssl cipher suites to be enabled in the specified order for application gateway.
	CipherSuites []*ApplicationGatewaySSLCipherSuite `json:"cipherSuites,omitempty"`

	// Minimum version of Ssl protocol to be supported on application gateway.
	MinProtocolVersion *ApplicationGatewaySSLProtocol `json:"minProtocolVersion,omitempty"`
}

ApplicationGatewaySSLPredefinedPolicyPropertiesFormat - Properties of ApplicationGatewaySslPredefinedPolicy.

func (ApplicationGatewaySSLPredefinedPolicyPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewaySSLPredefinedPolicyPropertiesFormat.

type ApplicationGatewaySSLProfile

type ApplicationGatewaySSLProfile struct {
	SubResource
	// Name of the SSL profile that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway SSL profile.
	Properties *ApplicationGatewaySSLProfilePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewaySSLProfile - SSL profile of an application gateway.

func (ApplicationGatewaySSLProfile) MarshalJSON

func (a ApplicationGatewaySSLProfile) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewaySSLProfile.

type ApplicationGatewaySSLProfilePropertiesFormat

type ApplicationGatewaySSLProfilePropertiesFormat struct {
	// Client authentication configuration of the application gateway resource.
	ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration `json:"clientAuthConfiguration,omitempty"`

	// SSL policy of the application gateway resource.
	SSLPolicy *ApplicationGatewaySSLPolicy `json:"sslPolicy,omitempty"`

	// Array of references to application gateway trusted client certificates.
	TrustedClientCertificates []*SubResource `json:"trustedClientCertificates,omitempty"`

	// READ-ONLY; The provisioning state of the HTTP listener resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewaySSLProfilePropertiesFormat - Properties of SSL profile of an application gateway.

func (ApplicationGatewaySSLProfilePropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewaySSLProfilePropertiesFormat.

type ApplicationGatewaySSLProtocol

type ApplicationGatewaySSLProtocol string

ApplicationGatewaySSLProtocol - Ssl protocol enums.

const (
	ApplicationGatewaySSLProtocolTLSv10 ApplicationGatewaySSLProtocol = "TLSv1_0"
	ApplicationGatewaySSLProtocolTLSv11 ApplicationGatewaySSLProtocol = "TLSv1_1"
	ApplicationGatewaySSLProtocolTLSv12 ApplicationGatewaySSLProtocol = "TLSv1_2"
)

func PossibleApplicationGatewaySSLProtocolValues

func PossibleApplicationGatewaySSLProtocolValues() []ApplicationGatewaySSLProtocol

PossibleApplicationGatewaySSLProtocolValues returns the possible values for the ApplicationGatewaySSLProtocol const type.

func (ApplicationGatewaySSLProtocol) ToPtr

ToPtr returns a *ApplicationGatewaySSLProtocol pointing to the current value.

type ApplicationGatewayTier

type ApplicationGatewayTier string

ApplicationGatewayTier - Tier of an application gateway.

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

func PossibleApplicationGatewayTierValues

func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier

PossibleApplicationGatewayTierValues returns the possible values for the ApplicationGatewayTier const type.

func (ApplicationGatewayTier) ToPtr

ToPtr returns a *ApplicationGatewayTier pointing to the current value.

type ApplicationGatewayTrustedClientCertificate

type ApplicationGatewayTrustedClientCertificate struct {
	SubResource
	// Name of the trusted client certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway trusted client certificate.
	Properties *ApplicationGatewayTrustedClientCertificatePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayTrustedClientCertificate - Trusted client certificates of an application gateway.

func (ApplicationGatewayTrustedClientCertificate) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayTrustedClientCertificate.

type ApplicationGatewayTrustedClientCertificatePropertiesFormat

type ApplicationGatewayTrustedClientCertificatePropertiesFormat struct {
	// Certificate public data.
	Data *string `json:"data,omitempty"`

	// READ-ONLY; Distinguished name of client certificate issuer.
	ClientCertIssuerDN *string `json:"clientCertIssuerDN,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the trusted client certificate resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Validated certificate data.
	ValidatedCertData *string `json:"validatedCertData,omitempty" azure:"ro"`
}

ApplicationGatewayTrustedClientCertificatePropertiesFormat - Trusted client certificates properties of an application gateway.

type ApplicationGatewayTrustedRootCertificate

type ApplicationGatewayTrustedRootCertificate struct {
	SubResource
	// Name of the trusted root certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway trusted root certificate.
	Properties *ApplicationGatewayTrustedRootCertificatePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ApplicationGatewayTrustedRootCertificate - Trusted Root certificates of an application gateway.

func (ApplicationGatewayTrustedRootCertificate) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayTrustedRootCertificate.

type ApplicationGatewayTrustedRootCertificatePropertiesFormat

type ApplicationGatewayTrustedRootCertificatePropertiesFormat struct {
	// Certificate public data.
	Data *string `json:"data,omitempty"`

	// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
	KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"`

	// READ-ONLY; The provisioning state of the trusted root certificate resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayTrustedRootCertificatePropertiesFormat - Trusted Root certificates properties of an application gateway.

type ApplicationGatewayURLConfiguration

type ApplicationGatewayURLConfiguration struct {
	// 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"`

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

	// 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 {
	SubResource
	// Name of the URL path map that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`

	// Properties of the application gateway URL path map.
	Properties *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

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

func (ApplicationGatewayURLPathMap) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayURLPathMap.

type ApplicationGatewayURLPathMapPropertiesFormat

type ApplicationGatewayURLPathMapPropertiesFormat struct {
	// Default backend address pool resource of URL path map.
	DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"`

	// Default backend http settings resource of URL path map.
	DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"`

	// Default Load Distribution Policy resource of URL path map.
	DefaultLoadDistributionPolicy *SubResource `json:"defaultLoadDistributionPolicy,omitempty"`

	// Default redirect configuration resource of URL path map.
	DefaultRedirectConfiguration *SubResource `json:"defaultRedirectConfiguration,omitempty"`

	// Default Rewrite rule set resource of URL path map.
	DefaultRewriteRuleSet *SubResource `json:"defaultRewriteRuleSet,omitempty"`

	// Path rule of URL path map resource.
	PathRules []*ApplicationGatewayPathRule `json:"pathRules,omitempty"`

	// READ-ONLY; The provisioning state of the URL path map resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ApplicationGatewayURLPathMapPropertiesFormat - Properties of UrlPathMap of the application gateway.

func (ApplicationGatewayURLPathMapPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayURLPathMapPropertiesFormat.

type ApplicationGatewayWebApplicationFirewallConfiguration

type ApplicationGatewayWebApplicationFirewallConfiguration struct {
	// REQUIRED; Whether the web application firewall is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`

	// REQUIRED; Web application firewall mode.
	FirewallMode *ApplicationGatewayFirewallMode `json:"firewallMode,omitempty"`

	// REQUIRED; The type of the web application firewall rule set. Possible values are: 'OWASP'.
	RuleSetType *string `json:"ruleSetType,omitempty"`

	// REQUIRED; The version of the rule set type.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`

	// The disabled rule groups.
	DisabledRuleGroups []*ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"`

	// The exclusion list.
	Exclusions []*ApplicationGatewayFirewallExclusion `json:"exclusions,omitempty"`

	// Maximum file upload size in Mb for WAF.
	FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"`

	// Maximum request body size for WAF.
	MaxRequestBodySize *int32 `json:"maxRequestBodySize,omitempty"`

	// Maximum request body size in Kb for WAF.
	MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"`

	// Whether allow WAF to check request Body.
	RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"`
}

ApplicationGatewayWebApplicationFirewallConfiguration - Application gateway web application firewall configuration.

func (ApplicationGatewayWebApplicationFirewallConfiguration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ApplicationGatewayWebApplicationFirewallConfiguration.

type ApplicationGatewaysBackendHealthOnDemandPoller

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

ApplicationGatewaysBackendHealthOnDemandPoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewaysBackendHealthOnDemandPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewaysBackendHealthOnDemandPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewaysBackendHealthOnDemandResponse will be returned.

func (*ApplicationGatewaysBackendHealthOnDemandPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewaysBackendHealthOnDemandPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewaysBackendHealthOnDemandPollerResponse

type ApplicationGatewaysBackendHealthOnDemandPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewaysBackendHealthOnDemandPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysBackendHealthOnDemandPollerResponse contains the response from method ApplicationGateways.BackendHealthOnDemand.

func (ApplicationGatewaysBackendHealthOnDemandPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewaysBackendHealthOnDemandPollerResponse) Resume

Resume rehydrates a ApplicationGatewaysBackendHealthOnDemandPollerResponse from the provided client and resume token.

type ApplicationGatewaysBackendHealthOnDemandResponse

type ApplicationGatewaysBackendHealthOnDemandResponse struct {
	ApplicationGatewaysBackendHealthOnDemandResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysBackendHealthOnDemandResponse contains the response from method ApplicationGateways.BackendHealthOnDemand.

type ApplicationGatewaysBackendHealthOnDemandResult

type ApplicationGatewaysBackendHealthOnDemandResult struct {
	ApplicationGatewayBackendHealthOnDemand
}

ApplicationGatewaysBackendHealthOnDemandResult contains the result from method ApplicationGateways.BackendHealthOnDemand.

type ApplicationGatewaysBackendHealthPoller

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

ApplicationGatewaysBackendHealthPoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewaysBackendHealthPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewaysBackendHealthPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewaysBackendHealthResponse will be returned.

func (*ApplicationGatewaysBackendHealthPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewaysBackendHealthPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewaysBackendHealthPollerResponse

type ApplicationGatewaysBackendHealthPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewaysBackendHealthPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysBackendHealthPollerResponse contains the response from method ApplicationGateways.BackendHealth.

func (ApplicationGatewaysBackendHealthPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewaysBackendHealthPollerResponse) Resume

Resume rehydrates a ApplicationGatewaysBackendHealthPollerResponse from the provided client and resume token.

type ApplicationGatewaysBackendHealthResponse

type ApplicationGatewaysBackendHealthResponse struct {
	ApplicationGatewaysBackendHealthResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysBackendHealthResponse contains the response from method ApplicationGateways.BackendHealth.

type ApplicationGatewaysBackendHealthResult

type ApplicationGatewaysBackendHealthResult struct {
	ApplicationGatewayBackendHealth
}

ApplicationGatewaysBackendHealthResult contains the result from method ApplicationGateways.BackendHealth.

type ApplicationGatewaysBeginBackendHealthOnDemandOptions

type ApplicationGatewaysBeginBackendHealthOnDemandOptions struct {
	// Expands BackendAddressPool and BackendHttpSettings referenced in backend health.
	Expand *string
}

ApplicationGatewaysBeginBackendHealthOnDemandOptions contains the optional parameters for the ApplicationGateways.BeginBackendHealthOnDemand method.

type ApplicationGatewaysBeginBackendHealthOptions

type ApplicationGatewaysBeginBackendHealthOptions struct {
	// Expands BackendAddressPool and BackendHttpSettings referenced in backend health.
	Expand *string
}

ApplicationGatewaysBeginBackendHealthOptions contains the optional parameters for the ApplicationGateways.BeginBackendHealth method.

type ApplicationGatewaysBeginCreateOrUpdateOptions

type ApplicationGatewaysBeginCreateOrUpdateOptions struct {
}

ApplicationGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the ApplicationGateways.BeginCreateOrUpdate method.

type ApplicationGatewaysBeginDeleteOptions

type ApplicationGatewaysBeginDeleteOptions struct {
}

ApplicationGatewaysBeginDeleteOptions contains the optional parameters for the ApplicationGateways.BeginDelete method.

type ApplicationGatewaysBeginStartOptions

type ApplicationGatewaysBeginStartOptions struct {
}

ApplicationGatewaysBeginStartOptions contains the optional parameters for the ApplicationGateways.BeginStart method.

type ApplicationGatewaysBeginStopOptions

type ApplicationGatewaysBeginStopOptions struct {
}

ApplicationGatewaysBeginStopOptions contains the optional parameters for the ApplicationGateways.BeginStop method.

type ApplicationGatewaysClient

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

ApplicationGatewaysClient contains the methods for the ApplicationGateways group. Don't use this type directly, use NewApplicationGatewaysClient() instead.

func NewApplicationGatewaysClient

func NewApplicationGatewaysClient(con *arm.Connection, subscriptionID string) *ApplicationGatewaysClient

NewApplicationGatewaysClient creates a new instance of ApplicationGatewaysClient with the specified values.

func (*ApplicationGatewaysClient) BeginBackendHealth

func (client *ApplicationGatewaysClient) BeginBackendHealth(ctx context.Context, resourceGroupName string, applicationGatewayName string, options *ApplicationGatewaysBeginBackendHealthOptions) (ApplicationGatewaysBackendHealthPollerResponse, error)

BeginBackendHealth - Gets the backend health of the specified application gateway in a resource group. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) BeginBackendHealthOnDemand

BeginBackendHealthOnDemand - Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) BeginCreateOrUpdate

func (client *ApplicationGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, options *ApplicationGatewaysBeginCreateOrUpdateOptions) (ApplicationGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) BeginDelete

func (client *ApplicationGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, applicationGatewayName string, options *ApplicationGatewaysBeginDeleteOptions) (ApplicationGatewaysDeletePollerResponse, error)

BeginDelete - Deletes the specified application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) BeginStart

func (client *ApplicationGatewaysClient) BeginStart(ctx context.Context, resourceGroupName string, applicationGatewayName string, options *ApplicationGatewaysBeginStartOptions) (ApplicationGatewaysStartPollerResponse, error)

BeginStart - Starts the specified application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) BeginStop

func (client *ApplicationGatewaysClient) BeginStop(ctx context.Context, resourceGroupName string, applicationGatewayName string, options *ApplicationGatewaysBeginStopOptions) (ApplicationGatewaysStopPollerResponse, error)

BeginStop - Stops the specified application gateway in a resource group. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) Get

func (client *ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string, options *ApplicationGatewaysGetOptions) (ApplicationGatewaysGetResponse, error)

Get - Gets the specified application gateway. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) GetSSLPredefinedPolicy

GetSSLPredefinedPolicy - Gets Ssl predefined policy with the specified policy name. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) List

List - Lists all application gateways in a resource group. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) ListAll

ListAll - Gets all the application gateways in a subscription. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) ListAvailableRequestHeaders

ListAvailableRequestHeaders - Lists all available request headers. If the operation fails it returns the *Error error type.

func (*ApplicationGatewaysClient) ListAvailableResponseHeaders

ListAvailableResponseHeaders - Lists all available response headers. If the operation fails it returns the *Error error type.

func (*ApplicationGatewaysClient) ListAvailableSSLOptions

ListAvailableSSLOptions - Lists available Ssl options for configuring Ssl policy. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) ListAvailableSSLPredefinedPolicies

ListAvailableSSLPredefinedPolicies - Lists all SSL predefined policies for configuring Ssl policy. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) ListAvailableServerVariables

ListAvailableServerVariables - Lists all available server variables. If the operation fails it returns the *Error error type.

func (*ApplicationGatewaysClient) ListAvailableWafRuleSets

ListAvailableWafRuleSets - Lists all available web application firewall rule sets. If the operation fails it returns the *CloudError error type.

func (*ApplicationGatewaysClient) UpdateTags

func (client *ApplicationGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters TagsObject, options *ApplicationGatewaysUpdateTagsOptions) (ApplicationGatewaysUpdateTagsResponse, error)

UpdateTags - Updates the specified application gateway tags. If the operation fails it returns the *CloudError error type.

type ApplicationGatewaysCreateOrUpdatePoller

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

ApplicationGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewaysCreateOrUpdateResponse will be returned.

func (*ApplicationGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewaysCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewaysCreateOrUpdatePollerResponse

type ApplicationGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysCreateOrUpdatePollerResponse contains the response from method ApplicationGateways.CreateOrUpdate.

func (ApplicationGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ApplicationGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type ApplicationGatewaysCreateOrUpdateResponse

type ApplicationGatewaysCreateOrUpdateResponse struct {
	ApplicationGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysCreateOrUpdateResponse contains the response from method ApplicationGateways.CreateOrUpdate.

type ApplicationGatewaysCreateOrUpdateResult

type ApplicationGatewaysCreateOrUpdateResult struct {
	ApplicationGateway
}

ApplicationGatewaysCreateOrUpdateResult contains the result from method ApplicationGateways.CreateOrUpdate.

type ApplicationGatewaysDeletePoller

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

ApplicationGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewaysDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewaysDeleteResponse will be returned.

func (*ApplicationGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewaysDeletePoller) ResumeToken

func (p *ApplicationGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewaysDeletePollerResponse

type ApplicationGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysDeletePollerResponse contains the response from method ApplicationGateways.Delete.

func (ApplicationGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewaysDeletePollerResponse) Resume

Resume rehydrates a ApplicationGatewaysDeletePollerResponse from the provided client and resume token.

type ApplicationGatewaysDeleteResponse

type ApplicationGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysDeleteResponse contains the response from method ApplicationGateways.Delete.

type ApplicationGatewaysGetOptions

type ApplicationGatewaysGetOptions struct {
}

ApplicationGatewaysGetOptions contains the optional parameters for the ApplicationGateways.Get method.

type ApplicationGatewaysGetResponse

type ApplicationGatewaysGetResponse struct {
	ApplicationGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysGetResponse contains the response from method ApplicationGateways.Get.

type ApplicationGatewaysGetResult

type ApplicationGatewaysGetResult struct {
	ApplicationGateway
}

ApplicationGatewaysGetResult contains the result from method ApplicationGateways.Get.

type ApplicationGatewaysGetSSLPredefinedPolicyOptions

type ApplicationGatewaysGetSSLPredefinedPolicyOptions struct {
}

ApplicationGatewaysGetSSLPredefinedPolicyOptions contains the optional parameters for the ApplicationGateways.GetSSLPredefinedPolicy method.

type ApplicationGatewaysGetSSLPredefinedPolicyResponse

type ApplicationGatewaysGetSSLPredefinedPolicyResponse struct {
	ApplicationGatewaysGetSSLPredefinedPolicyResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysGetSSLPredefinedPolicyResponse contains the response from method ApplicationGateways.GetSSLPredefinedPolicy.

type ApplicationGatewaysGetSSLPredefinedPolicyResult

type ApplicationGatewaysGetSSLPredefinedPolicyResult struct {
	ApplicationGatewaySSLPredefinedPolicy
}

ApplicationGatewaysGetSSLPredefinedPolicyResult contains the result from method ApplicationGateways.GetSSLPredefinedPolicy.

type ApplicationGatewaysListAllOptions

type ApplicationGatewaysListAllOptions struct {
}

ApplicationGatewaysListAllOptions contains the optional parameters for the ApplicationGateways.ListAll method.

type ApplicationGatewaysListAllPager

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

ApplicationGatewaysListAllPager provides operations for iterating over paged responses.

func (*ApplicationGatewaysListAllPager) Err

Err returns the last error encountered while paging.

func (*ApplicationGatewaysListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationGatewaysListAllPager) PageResponse

PageResponse returns the current ApplicationGatewaysListAllResponse page.

type ApplicationGatewaysListAllResponse

type ApplicationGatewaysListAllResponse struct {
	ApplicationGatewaysListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAllResponse contains the response from method ApplicationGateways.ListAll.

type ApplicationGatewaysListAllResult

type ApplicationGatewaysListAllResult struct {
	ApplicationGatewayListResult
}

ApplicationGatewaysListAllResult contains the result from method ApplicationGateways.ListAll.

type ApplicationGatewaysListAvailableRequestHeadersOptions

type ApplicationGatewaysListAvailableRequestHeadersOptions struct {
}

ApplicationGatewaysListAvailableRequestHeadersOptions contains the optional parameters for the ApplicationGateways.ListAvailableRequestHeaders method.

type ApplicationGatewaysListAvailableRequestHeadersResponse

type ApplicationGatewaysListAvailableRequestHeadersResponse struct {
	ApplicationGatewaysListAvailableRequestHeadersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAvailableRequestHeadersResponse contains the response from method ApplicationGateways.ListAvailableRequestHeaders.

type ApplicationGatewaysListAvailableRequestHeadersResult

type ApplicationGatewaysListAvailableRequestHeadersResult struct {
	// Response for ApplicationGatewayAvailableRequestHeaders API service call.
	StringArray []*string
}

ApplicationGatewaysListAvailableRequestHeadersResult contains the result from method ApplicationGateways.ListAvailableRequestHeaders.

type ApplicationGatewaysListAvailableResponseHeadersOptions

type ApplicationGatewaysListAvailableResponseHeadersOptions struct {
}

ApplicationGatewaysListAvailableResponseHeadersOptions contains the optional parameters for the ApplicationGateways.ListAvailableResponseHeaders method.

type ApplicationGatewaysListAvailableResponseHeadersResponse

type ApplicationGatewaysListAvailableResponseHeadersResponse struct {
	ApplicationGatewaysListAvailableResponseHeadersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAvailableResponseHeadersResponse contains the response from method ApplicationGateways.ListAvailableResponseHeaders.

type ApplicationGatewaysListAvailableResponseHeadersResult

type ApplicationGatewaysListAvailableResponseHeadersResult struct {
	// Response for ApplicationGatewayAvailableResponseHeaders API service call.
	StringArray []*string
}

ApplicationGatewaysListAvailableResponseHeadersResult contains the result from method ApplicationGateways.ListAvailableResponseHeaders.

type ApplicationGatewaysListAvailableSSLOptionsOptions

type ApplicationGatewaysListAvailableSSLOptionsOptions struct {
}

ApplicationGatewaysListAvailableSSLOptionsOptions contains the optional parameters for the ApplicationGateways.ListAvailableSSLOptions method.

type ApplicationGatewaysListAvailableSSLOptionsResponse

type ApplicationGatewaysListAvailableSSLOptionsResponse struct {
	ApplicationGatewaysListAvailableSSLOptionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAvailableSSLOptionsResponse contains the response from method ApplicationGateways.ListAvailableSSLOptions.

type ApplicationGatewaysListAvailableSSLOptionsResult

type ApplicationGatewaysListAvailableSSLOptionsResult struct {
	ApplicationGatewayAvailableSSLOptions
}

ApplicationGatewaysListAvailableSSLOptionsResult contains the result from method ApplicationGateways.ListAvailableSSLOptions.

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesOptions

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesOptions struct {
}

ApplicationGatewaysListAvailableSSLPredefinedPoliciesOptions contains the optional parameters for the ApplicationGateways.ListAvailableSSLPredefinedPolicies method.

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesPager

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

ApplicationGatewaysListAvailableSSLPredefinedPoliciesPager provides operations for iterating over paged responses.

func (*ApplicationGatewaysListAvailableSSLPredefinedPoliciesPager) Err

Err returns the last error encountered while paging.

func (*ApplicationGatewaysListAvailableSSLPredefinedPoliciesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationGatewaysListAvailableSSLPredefinedPoliciesPager) PageResponse

PageResponse returns the current ApplicationGatewaysListAvailableSSLPredefinedPoliciesResponse page.

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesResponse

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesResponse struct {
	ApplicationGatewaysListAvailableSSLPredefinedPoliciesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAvailableSSLPredefinedPoliciesResponse contains the response from method ApplicationGateways.ListAvailableSSLPredefinedPolicies.

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesResult

type ApplicationGatewaysListAvailableSSLPredefinedPoliciesResult struct {
	ApplicationGatewayAvailableSSLPredefinedPolicies
}

ApplicationGatewaysListAvailableSSLPredefinedPoliciesResult contains the result from method ApplicationGateways.ListAvailableSSLPredefinedPolicies.

type ApplicationGatewaysListAvailableServerVariablesOptions

type ApplicationGatewaysListAvailableServerVariablesOptions struct {
}

ApplicationGatewaysListAvailableServerVariablesOptions contains the optional parameters for the ApplicationGateways.ListAvailableServerVariables method.

type ApplicationGatewaysListAvailableServerVariablesResponse

type ApplicationGatewaysListAvailableServerVariablesResponse struct {
	ApplicationGatewaysListAvailableServerVariablesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAvailableServerVariablesResponse contains the response from method ApplicationGateways.ListAvailableServerVariables.

type ApplicationGatewaysListAvailableServerVariablesResult

type ApplicationGatewaysListAvailableServerVariablesResult struct {
	// Response for ApplicationGatewayAvailableServerVariables API service call.
	StringArray []*string
}

ApplicationGatewaysListAvailableServerVariablesResult contains the result from method ApplicationGateways.ListAvailableServerVariables.

type ApplicationGatewaysListAvailableWafRuleSetsOptions

type ApplicationGatewaysListAvailableWafRuleSetsOptions struct {
}

ApplicationGatewaysListAvailableWafRuleSetsOptions contains the optional parameters for the ApplicationGateways.ListAvailableWafRuleSets method.

type ApplicationGatewaysListAvailableWafRuleSetsResponse

type ApplicationGatewaysListAvailableWafRuleSetsResponse struct {
	ApplicationGatewaysListAvailableWafRuleSetsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListAvailableWafRuleSetsResponse contains the response from method ApplicationGateways.ListAvailableWafRuleSets.

type ApplicationGatewaysListAvailableWafRuleSetsResult

type ApplicationGatewaysListAvailableWafRuleSetsResult struct {
	ApplicationGatewayAvailableWafRuleSetsResult
}

ApplicationGatewaysListAvailableWafRuleSetsResult contains the result from method ApplicationGateways.ListAvailableWafRuleSets.

type ApplicationGatewaysListOptions

type ApplicationGatewaysListOptions struct {
}

ApplicationGatewaysListOptions contains the optional parameters for the ApplicationGateways.List method.

type ApplicationGatewaysListPager

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

ApplicationGatewaysListPager provides operations for iterating over paged responses.

func (*ApplicationGatewaysListPager) Err

Err returns the last error encountered while paging.

func (*ApplicationGatewaysListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationGatewaysListPager) PageResponse

PageResponse returns the current ApplicationGatewaysListResponse page.

type ApplicationGatewaysListResponse

type ApplicationGatewaysListResponse struct {
	ApplicationGatewaysListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysListResponse contains the response from method ApplicationGateways.List.

type ApplicationGatewaysListResult

type ApplicationGatewaysListResult struct {
	ApplicationGatewayListResult
}

ApplicationGatewaysListResult contains the result from method ApplicationGateways.List.

type ApplicationGatewaysStartPoller

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

ApplicationGatewaysStartPoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewaysStartPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewaysStartPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewaysStartResponse will be returned.

func (*ApplicationGatewaysStartPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewaysStartPoller) ResumeToken

func (p *ApplicationGatewaysStartPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewaysStartPollerResponse

type ApplicationGatewaysStartPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewaysStartPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysStartPollerResponse contains the response from method ApplicationGateways.Start.

func (ApplicationGatewaysStartPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewaysStartPollerResponse) Resume

Resume rehydrates a ApplicationGatewaysStartPollerResponse from the provided client and resume token.

type ApplicationGatewaysStartResponse

type ApplicationGatewaysStartResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysStartResponse contains the response from method ApplicationGateways.Start.

type ApplicationGatewaysStopPoller

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

ApplicationGatewaysStopPoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationGatewaysStopPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationGatewaysStopPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationGatewaysStopResponse will be returned.

func (*ApplicationGatewaysStopPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationGatewaysStopPoller) ResumeToken

func (p *ApplicationGatewaysStopPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationGatewaysStopPollerResponse

type ApplicationGatewaysStopPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationGatewaysStopPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysStopPollerResponse contains the response from method ApplicationGateways.Stop.

func (ApplicationGatewaysStopPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationGatewaysStopPollerResponse) Resume

Resume rehydrates a ApplicationGatewaysStopPollerResponse from the provided client and resume token.

type ApplicationGatewaysStopResponse

type ApplicationGatewaysStopResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysStopResponse contains the response from method ApplicationGateways.Stop.

type ApplicationGatewaysUpdateTagsOptions

type ApplicationGatewaysUpdateTagsOptions struct {
}

ApplicationGatewaysUpdateTagsOptions contains the optional parameters for the ApplicationGateways.UpdateTags method.

type ApplicationGatewaysUpdateTagsResponse

type ApplicationGatewaysUpdateTagsResponse struct {
	ApplicationGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationGatewaysUpdateTagsResponse contains the response from method ApplicationGateways.UpdateTags.

type ApplicationGatewaysUpdateTagsResult

type ApplicationGatewaysUpdateTagsResult struct {
	ApplicationGateway
}

ApplicationGatewaysUpdateTagsResult contains the result from method ApplicationGateways.UpdateTags.

type ApplicationRule

type ApplicationRule struct {
	FirewallPolicyRule
	// List of destination IP addresses or Service Tags.
	DestinationAddresses []*string `json:"destinationAddresses,omitempty"`

	// List of FQDN Tags for this rule.
	FqdnTags []*string `json:"fqdnTags,omitempty"`

	// Array of Application Protocols.
	Protocols []*FirewallPolicyRuleApplicationProtocol `json:"protocols,omitempty"`

	// List of source IP addresses for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`

	// List of FQDNs for this rule.
	TargetFqdns []*string `json:"targetFqdns,omitempty"`

	// List of Urls for this rule condition.
	TargetUrls []*string `json:"targetUrls,omitempty"`

	// Terminate TLS connections for this rule.
	TerminateTLS *bool `json:"terminateTLS,omitempty"`

	// List of destination azure web categories.
	WebCategories []*string `json:"webCategories,omitempty"`
}

ApplicationRule - Rule of type application.

func (ApplicationRule) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationRule.

func (*ApplicationRule) UnmarshalJSON

func (a *ApplicationRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ApplicationRule.

type ApplicationSecurityGroup

type ApplicationSecurityGroup struct {
	Resource
	// Properties of the application security group.
	Properties *ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ApplicationSecurityGroup - An application security group in a resource group.

func (ApplicationSecurityGroup) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationSecurityGroup.

type ApplicationSecurityGroupListResult

type ApplicationSecurityGroupListResult struct {
	// A list of application security groups.
	Value []*ApplicationSecurityGroup `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ApplicationSecurityGroupListResult - A list of application security groups.

func (ApplicationSecurityGroupListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ApplicationSecurityGroupListResult.

type ApplicationSecurityGroupPropertiesFormat

type ApplicationSecurityGroupPropertiesFormat struct {
	// READ-ONLY; The provisioning state of the application security group resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

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

ApplicationSecurityGroupPropertiesFormat - Application security group properties.

type ApplicationSecurityGroupsBeginCreateOrUpdateOptions

type ApplicationSecurityGroupsBeginCreateOrUpdateOptions struct {
}

ApplicationSecurityGroupsBeginCreateOrUpdateOptions contains the optional parameters for the ApplicationSecurityGroups.BeginCreateOrUpdate method.

type ApplicationSecurityGroupsBeginDeleteOptions

type ApplicationSecurityGroupsBeginDeleteOptions struct {
}

ApplicationSecurityGroupsBeginDeleteOptions contains the optional parameters for the ApplicationSecurityGroups.BeginDelete method.

type ApplicationSecurityGroupsClient

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

ApplicationSecurityGroupsClient contains the methods for the ApplicationSecurityGroups group. Don't use this type directly, use NewApplicationSecurityGroupsClient() instead.

func NewApplicationSecurityGroupsClient

func NewApplicationSecurityGroupsClient(con *arm.Connection, subscriptionID string) *ApplicationSecurityGroupsClient

NewApplicationSecurityGroupsClient creates a new instance of ApplicationSecurityGroupsClient with the specified values.

func (*ApplicationSecurityGroupsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates an application security group. If the operation fails it returns the *CloudError error type.

func (*ApplicationSecurityGroupsClient) BeginDelete

func (client *ApplicationSecurityGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, options *ApplicationSecurityGroupsBeginDeleteOptions) (ApplicationSecurityGroupsDeletePollerResponse, error)

BeginDelete - Deletes the specified application security group. If the operation fails it returns the *CloudError error type.

func (*ApplicationSecurityGroupsClient) Get

func (client *ApplicationSecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, options *ApplicationSecurityGroupsGetOptions) (ApplicationSecurityGroupsGetResponse, error)

Get - Gets information about the specified application security group. If the operation fails it returns the *CloudError error type.

func (*ApplicationSecurityGroupsClient) List

List - Gets all the application security groups in a resource group. If the operation fails it returns the *CloudError error type.

func (*ApplicationSecurityGroupsClient) ListAll

ListAll - Gets all application security groups in a subscription. If the operation fails it returns the *CloudError error type.

func (*ApplicationSecurityGroupsClient) UpdateTags

func (client *ApplicationSecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters TagsObject, options *ApplicationSecurityGroupsUpdateTagsOptions) (ApplicationSecurityGroupsUpdateTagsResponse, error)

UpdateTags - Updates an application security group's tags. If the operation fails it returns the *CloudError error type.

type ApplicationSecurityGroupsCreateOrUpdatePoller

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

ApplicationSecurityGroupsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationSecurityGroupsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationSecurityGroupsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationSecurityGroupsCreateOrUpdateResponse will be returned.

func (*ApplicationSecurityGroupsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationSecurityGroupsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationSecurityGroupsCreateOrUpdatePollerResponse

type ApplicationSecurityGroupsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationSecurityGroupsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsCreateOrUpdatePollerResponse contains the response from method ApplicationSecurityGroups.CreateOrUpdate.

func (ApplicationSecurityGroupsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationSecurityGroupsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ApplicationSecurityGroupsCreateOrUpdatePollerResponse from the provided client and resume token.

type ApplicationSecurityGroupsCreateOrUpdateResponse

type ApplicationSecurityGroupsCreateOrUpdateResponse struct {
	ApplicationSecurityGroupsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsCreateOrUpdateResponse contains the response from method ApplicationSecurityGroups.CreateOrUpdate.

type ApplicationSecurityGroupsCreateOrUpdateResult

type ApplicationSecurityGroupsCreateOrUpdateResult struct {
	ApplicationSecurityGroup
}

ApplicationSecurityGroupsCreateOrUpdateResult contains the result from method ApplicationSecurityGroups.CreateOrUpdate.

type ApplicationSecurityGroupsDeletePoller

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

ApplicationSecurityGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ApplicationSecurityGroupsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ApplicationSecurityGroupsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ApplicationSecurityGroupsDeleteResponse will be returned.

func (*ApplicationSecurityGroupsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ApplicationSecurityGroupsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ApplicationSecurityGroupsDeletePollerResponse

type ApplicationSecurityGroupsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ApplicationSecurityGroupsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsDeletePollerResponse contains the response from method ApplicationSecurityGroups.Delete.

func (ApplicationSecurityGroupsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ApplicationSecurityGroupsDeletePollerResponse) Resume

Resume rehydrates a ApplicationSecurityGroupsDeletePollerResponse from the provided client and resume token.

type ApplicationSecurityGroupsDeleteResponse

type ApplicationSecurityGroupsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsDeleteResponse contains the response from method ApplicationSecurityGroups.Delete.

type ApplicationSecurityGroupsGetOptions

type ApplicationSecurityGroupsGetOptions struct {
}

ApplicationSecurityGroupsGetOptions contains the optional parameters for the ApplicationSecurityGroups.Get method.

type ApplicationSecurityGroupsGetResponse

type ApplicationSecurityGroupsGetResponse struct {
	ApplicationSecurityGroupsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsGetResponse contains the response from method ApplicationSecurityGroups.Get.

type ApplicationSecurityGroupsGetResult

type ApplicationSecurityGroupsGetResult struct {
	ApplicationSecurityGroup
}

ApplicationSecurityGroupsGetResult contains the result from method ApplicationSecurityGroups.Get.

type ApplicationSecurityGroupsListAllOptions

type ApplicationSecurityGroupsListAllOptions struct {
}

ApplicationSecurityGroupsListAllOptions contains the optional parameters for the ApplicationSecurityGroups.ListAll method.

type ApplicationSecurityGroupsListAllPager

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

ApplicationSecurityGroupsListAllPager provides operations for iterating over paged responses.

func (*ApplicationSecurityGroupsListAllPager) Err

Err returns the last error encountered while paging.

func (*ApplicationSecurityGroupsListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationSecurityGroupsListAllPager) PageResponse

PageResponse returns the current ApplicationSecurityGroupsListAllResponse page.

type ApplicationSecurityGroupsListAllResponse

type ApplicationSecurityGroupsListAllResponse struct {
	ApplicationSecurityGroupsListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsListAllResponse contains the response from method ApplicationSecurityGroups.ListAll.

type ApplicationSecurityGroupsListAllResult

type ApplicationSecurityGroupsListAllResult struct {
	ApplicationSecurityGroupListResult
}

ApplicationSecurityGroupsListAllResult contains the result from method ApplicationSecurityGroups.ListAll.

type ApplicationSecurityGroupsListOptions

type ApplicationSecurityGroupsListOptions struct {
}

ApplicationSecurityGroupsListOptions contains the optional parameters for the ApplicationSecurityGroups.List method.

type ApplicationSecurityGroupsListPager

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

ApplicationSecurityGroupsListPager provides operations for iterating over paged responses.

func (*ApplicationSecurityGroupsListPager) Err

Err returns the last error encountered while paging.

func (*ApplicationSecurityGroupsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ApplicationSecurityGroupsListPager) PageResponse

PageResponse returns the current ApplicationSecurityGroupsListResponse page.

type ApplicationSecurityGroupsListResponse

type ApplicationSecurityGroupsListResponse struct {
	ApplicationSecurityGroupsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsListResponse contains the response from method ApplicationSecurityGroups.List.

type ApplicationSecurityGroupsListResult

type ApplicationSecurityGroupsListResult struct {
	ApplicationSecurityGroupListResult
}

ApplicationSecurityGroupsListResult contains the result from method ApplicationSecurityGroups.List.

type ApplicationSecurityGroupsUpdateTagsOptions

type ApplicationSecurityGroupsUpdateTagsOptions struct {
}

ApplicationSecurityGroupsUpdateTagsOptions contains the optional parameters for the ApplicationSecurityGroups.UpdateTags method.

type ApplicationSecurityGroupsUpdateTagsResponse

type ApplicationSecurityGroupsUpdateTagsResponse struct {
	ApplicationSecurityGroupsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ApplicationSecurityGroupsUpdateTagsResponse contains the response from method ApplicationSecurityGroups.UpdateTags.

type ApplicationSecurityGroupsUpdateTagsResult

type ApplicationSecurityGroupsUpdateTagsResult struct {
	ApplicationSecurityGroup
}

ApplicationSecurityGroupsUpdateTagsResult contains the result from method ApplicationSecurityGroups.UpdateTags.

type AssociationType

type AssociationType string

AssociationType - The association type of the child resource to the parent resource.

const (
	AssociationTypeAssociated AssociationType = "Associated"
	AssociationTypeContains   AssociationType = "Contains"
)

func PossibleAssociationTypeValues

func PossibleAssociationTypeValues() []AssociationType

PossibleAssociationTypeValues returns the possible values for the AssociationType const type.

func (AssociationType) ToPtr

func (c AssociationType) ToPtr() *AssociationType

ToPtr returns a *AssociationType pointing to the current value.

type AuthenticationMethod

type AuthenticationMethod string

AuthenticationMethod - VPN client authentication method.

const (
	AuthenticationMethodEAPMSCHAPv2 AuthenticationMethod = "EAPMSCHAPv2"
	AuthenticationMethodEAPTLS      AuthenticationMethod = "EAPTLS"
)

func PossibleAuthenticationMethodValues

func PossibleAuthenticationMethodValues() []AuthenticationMethod

PossibleAuthenticationMethodValues returns the possible values for the AuthenticationMethod const type.

func (AuthenticationMethod) ToPtr

ToPtr returns a *AuthenticationMethod pointing to the current value.

type AuthorizationListResult

type AuthorizationListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The authorizations in an ExpressRoute Circuit.
	Value []*ExpressRouteCircuitAuthorization `json:"value,omitempty"`
}

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

func (AuthorizationListResult) MarshalJSON

func (a AuthorizationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AuthorizationListResult.

type AuthorizationPropertiesFormat

type AuthorizationPropertiesFormat struct {
	// The authorization key.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`

	// The authorization use status.
	AuthorizationUseStatus *AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`

	// READ-ONLY; The provisioning state of the authorization resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AuthorizationPropertiesFormat - Properties of ExpressRouteCircuitAuthorization.

type AuthorizationUseStatus

type AuthorizationUseStatus string

AuthorizationUseStatus - The authorization use status.

const (
	AuthorizationUseStatusAvailable AuthorizationUseStatus = "Available"
	AuthorizationUseStatusInUse     AuthorizationUseStatus = "InUse"
)

func PossibleAuthorizationUseStatusValues

func PossibleAuthorizationUseStatusValues() []AuthorizationUseStatus

PossibleAuthorizationUseStatusValues returns the possible values for the AuthorizationUseStatus const type.

func (AuthorizationUseStatus) ToPtr

ToPtr returns a *AuthorizationUseStatus pointing to the current value.

type AutoApprovedPrivateLinkService

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

AutoApprovedPrivateLinkService - The information of an AutoApprovedPrivateLinkService.

type AutoApprovedPrivateLinkServicesResult

type AutoApprovedPrivateLinkServicesResult struct {
	// An array of auto approved private link service.
	Value []*AutoApprovedPrivateLinkService `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

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

func (AutoApprovedPrivateLinkServicesResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AutoApprovedPrivateLinkServicesResult.

type Availability

type Availability struct {
	// Duration of the availability blob.
	BlobDuration *string `json:"blobDuration,omitempty"`

	// The retention of the availability.
	Retention *string `json:"retention,omitempty"`

	// The time grain of the availability.
	TimeGrain *string `json:"timeGrain,omitempty"`
}

Availability of the metric.

type AvailableDelegation

type AvailableDelegation struct {
	// The actions permitted to the service upon delegation.
	Actions []*string `json:"actions,omitempty"`

	// A unique identifier of the AvailableDelegation resource.
	ID *string `json:"id,omitempty"`

	// The name of the AvailableDelegation resource.
	Name *string `json:"name,omitempty"`

	// The name of the service and resource.
	ServiceName *string `json:"serviceName,omitempty"`

	// Resource type.
	Type *string `json:"type,omitempty"`
}

AvailableDelegation - The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.

func (AvailableDelegation) MarshalJSON

func (a AvailableDelegation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvailableDelegation.

type AvailableDelegationsClient

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

AvailableDelegationsClient contains the methods for the AvailableDelegations group. Don't use this type directly, use NewAvailableDelegationsClient() instead.

func NewAvailableDelegationsClient

func NewAvailableDelegationsClient(con *arm.Connection, subscriptionID string) *AvailableDelegationsClient

NewAvailableDelegationsClient creates a new instance of AvailableDelegationsClient with the specified values.

func (*AvailableDelegationsClient) List

List - Gets all of the available subnet delegations for this subscription in this region. If the operation fails it returns the *CloudError error type.

type AvailableDelegationsListOptions

type AvailableDelegationsListOptions struct {
}

AvailableDelegationsListOptions contains the optional parameters for the AvailableDelegations.List method.

type AvailableDelegationsListPager

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

AvailableDelegationsListPager provides operations for iterating over paged responses.

func (*AvailableDelegationsListPager) Err

Err returns the last error encountered while paging.

func (*AvailableDelegationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailableDelegationsListPager) PageResponse

PageResponse returns the current AvailableDelegationsListResponse page.

type AvailableDelegationsListResponse

type AvailableDelegationsListResponse struct {
	AvailableDelegationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailableDelegationsListResponse contains the response from method AvailableDelegations.List.

type AvailableDelegationsListResult

type AvailableDelegationsListResult struct {
	AvailableDelegationsResult
}

AvailableDelegationsListResult contains the result from method AvailableDelegations.List.

type AvailableDelegationsResult

type AvailableDelegationsResult struct {
	// An array of available delegations.
	Value []*AvailableDelegation `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

AvailableDelegationsResult - An array of available delegations.

func (AvailableDelegationsResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AvailableDelegationsResult.

type AvailableEndpointServicesClient

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

AvailableEndpointServicesClient contains the methods for the AvailableEndpointServices group. Don't use this type directly, use NewAvailableEndpointServicesClient() instead.

func NewAvailableEndpointServicesClient

func NewAvailableEndpointServicesClient(con *arm.Connection, subscriptionID string) *AvailableEndpointServicesClient

NewAvailableEndpointServicesClient creates a new instance of AvailableEndpointServicesClient with the specified values.

func (*AvailableEndpointServicesClient) List

List - List what values of endpoint services are available for use. If the operation fails it returns the *CloudError error type.

type AvailableEndpointServicesListOptions

type AvailableEndpointServicesListOptions struct {
}

AvailableEndpointServicesListOptions contains the optional parameters for the AvailableEndpointServices.List method.

type AvailableEndpointServicesListPager

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

AvailableEndpointServicesListPager provides operations for iterating over paged responses.

func (*AvailableEndpointServicesListPager) Err

Err returns the last error encountered while paging.

func (*AvailableEndpointServicesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailableEndpointServicesListPager) PageResponse

PageResponse returns the current AvailableEndpointServicesListResponse page.

type AvailableEndpointServicesListResponse

type AvailableEndpointServicesListResponse struct {
	AvailableEndpointServicesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailableEndpointServicesListResponse contains the response from method AvailableEndpointServices.List.

type AvailableEndpointServicesListResult

type AvailableEndpointServicesListResult struct {
	EndpointServicesListResult
}

AvailableEndpointServicesListResult contains the result from method AvailableEndpointServices.List.

type AvailablePrivateEndpointType

type AvailablePrivateEndpointType struct {
	// Display name of the resource.
	DisplayName *string `json:"displayName,omitempty"`

	// A unique identifier of the AvailablePrivateEndpoint Type resource.
	ID *string `json:"id,omitempty"`

	// The name of the service and resource.
	Name *string `json:"name,omitempty"`

	// The name of the service and resource.
	ResourceName *string `json:"resourceName,omitempty"`

	// Resource type.
	Type *string `json:"type,omitempty"`
}

AvailablePrivateEndpointType - The information of an AvailablePrivateEndpointType.

type AvailablePrivateEndpointTypesClient

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

AvailablePrivateEndpointTypesClient contains the methods for the AvailablePrivateEndpointTypes group. Don't use this type directly, use NewAvailablePrivateEndpointTypesClient() instead.

func NewAvailablePrivateEndpointTypesClient

func NewAvailablePrivateEndpointTypesClient(con *arm.Connection, subscriptionID string) *AvailablePrivateEndpointTypesClient

NewAvailablePrivateEndpointTypesClient creates a new instance of AvailablePrivateEndpointTypesClient with the specified values.

func (*AvailablePrivateEndpointTypesClient) List

List - Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. If the operation fails it returns the *CloudError error type.

func (*AvailablePrivateEndpointTypesClient) ListByResourceGroup

ListByResourceGroup - Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. If the operation fails it returns the *CloudError error type.

type AvailablePrivateEndpointTypesListByResourceGroupOptions

type AvailablePrivateEndpointTypesListByResourceGroupOptions struct {
}

AvailablePrivateEndpointTypesListByResourceGroupOptions contains the optional parameters for the AvailablePrivateEndpointTypes.ListByResourceGroup method.

type AvailablePrivateEndpointTypesListByResourceGroupPager

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

AvailablePrivateEndpointTypesListByResourceGroupPager provides operations for iterating over paged responses.

func (*AvailablePrivateEndpointTypesListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*AvailablePrivateEndpointTypesListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailablePrivateEndpointTypesListByResourceGroupPager) PageResponse

PageResponse returns the current AvailablePrivateEndpointTypesListByResourceGroupResponse page.

type AvailablePrivateEndpointTypesListByResourceGroupResponse

type AvailablePrivateEndpointTypesListByResourceGroupResponse struct {
	AvailablePrivateEndpointTypesListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailablePrivateEndpointTypesListByResourceGroupResponse contains the response from method AvailablePrivateEndpointTypes.ListByResourceGroup.

type AvailablePrivateEndpointTypesListByResourceGroupResult

type AvailablePrivateEndpointTypesListByResourceGroupResult struct {
	AvailablePrivateEndpointTypesResult
}

AvailablePrivateEndpointTypesListByResourceGroupResult contains the result from method AvailablePrivateEndpointTypes.ListByResourceGroup.

type AvailablePrivateEndpointTypesListOptions

type AvailablePrivateEndpointTypesListOptions struct {
}

AvailablePrivateEndpointTypesListOptions contains the optional parameters for the AvailablePrivateEndpointTypes.List method.

type AvailablePrivateEndpointTypesListPager

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

AvailablePrivateEndpointTypesListPager provides operations for iterating over paged responses.

func (*AvailablePrivateEndpointTypesListPager) Err

Err returns the last error encountered while paging.

func (*AvailablePrivateEndpointTypesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailablePrivateEndpointTypesListPager) PageResponse

PageResponse returns the current AvailablePrivateEndpointTypesListResponse page.

type AvailablePrivateEndpointTypesListResponse

type AvailablePrivateEndpointTypesListResponse struct {
	AvailablePrivateEndpointTypesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailablePrivateEndpointTypesListResponse contains the response from method AvailablePrivateEndpointTypes.List.

type AvailablePrivateEndpointTypesListResult

type AvailablePrivateEndpointTypesListResult struct {
	AvailablePrivateEndpointTypesResult
}

AvailablePrivateEndpointTypesListResult contains the result from method AvailablePrivateEndpointTypes.List.

type AvailablePrivateEndpointTypesResult

type AvailablePrivateEndpointTypesResult struct {
	// An array of available privateEndpoint type.
	Value []*AvailablePrivateEndpointType `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

AvailablePrivateEndpointTypesResult - An array of available PrivateEndpoint types.

func (AvailablePrivateEndpointTypesResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AvailablePrivateEndpointTypesResult.

type AvailableProvidersList

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

AvailableProvidersList - List of available countries with details.

func (AvailableProvidersList) MarshalJSON

func (a AvailableProvidersList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvailableProvidersList.

type AvailableProvidersListCity

type AvailableProvidersListCity struct {
	// The city or town name.
	CityName *string `json:"cityName,omitempty"`

	// A list of Internet service providers.
	Providers []*string `json:"providers,omitempty"`
}

AvailableProvidersListCity - City or town details.

func (AvailableProvidersListCity) MarshalJSON

func (a AvailableProvidersListCity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvailableProvidersListCity.

type AvailableProvidersListCountry

type AvailableProvidersListCountry struct {
	// The country name.
	CountryName *string `json:"countryName,omitempty"`

	// A list of Internet service providers.
	Providers []*string `json:"providers,omitempty"`

	// List of available states in the country.
	States []*AvailableProvidersListState `json:"states,omitempty"`
}

AvailableProvidersListCountry - Country details.

func (AvailableProvidersListCountry) MarshalJSON

func (a AvailableProvidersListCountry) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvailableProvidersListCountry.

type AvailableProvidersListParameters

type AvailableProvidersListParameters struct {
	// A list of Azure regions.
	AzureLocations []*string `json:"azureLocations,omitempty"`

	// The city or town for available providers list.
	City *string `json:"city,omitempty"`

	// The country for available providers list.
	Country *string `json:"country,omitempty"`

	// The state for available providers list.
	State *string `json:"state,omitempty"`
}

AvailableProvidersListParameters - Constraints that determine the list of available Internet service providers.

func (AvailableProvidersListParameters) MarshalJSON

func (a AvailableProvidersListParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvailableProvidersListParameters.

type AvailableProvidersListState

type AvailableProvidersListState struct {
	// List of available cities or towns in the state.
	Cities []*AvailableProvidersListCity `json:"cities,omitempty"`

	// A list of Internet service providers.
	Providers []*string `json:"providers,omitempty"`

	// The state name.
	StateName *string `json:"stateName,omitempty"`
}

AvailableProvidersListState - State details.

func (AvailableProvidersListState) MarshalJSON

func (a AvailableProvidersListState) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvailableProvidersListState.

type AvailableResourceGroupDelegationsClient

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

AvailableResourceGroupDelegationsClient contains the methods for the AvailableResourceGroupDelegations group. Don't use this type directly, use NewAvailableResourceGroupDelegationsClient() instead.

func NewAvailableResourceGroupDelegationsClient

func NewAvailableResourceGroupDelegationsClient(con *arm.Connection, subscriptionID string) *AvailableResourceGroupDelegationsClient

NewAvailableResourceGroupDelegationsClient creates a new instance of AvailableResourceGroupDelegationsClient with the specified values.

func (*AvailableResourceGroupDelegationsClient) List

List - Gets all of the available subnet delegations for this resource group in this region. If the operation fails it returns the *CloudError error type.

type AvailableResourceGroupDelegationsListOptions

type AvailableResourceGroupDelegationsListOptions struct {
}

AvailableResourceGroupDelegationsListOptions contains the optional parameters for the AvailableResourceGroupDelegations.List method.

type AvailableResourceGroupDelegationsListPager

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

AvailableResourceGroupDelegationsListPager provides operations for iterating over paged responses.

func (*AvailableResourceGroupDelegationsListPager) Err

Err returns the last error encountered while paging.

func (*AvailableResourceGroupDelegationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailableResourceGroupDelegationsListPager) PageResponse

PageResponse returns the current AvailableResourceGroupDelegationsListResponse page.

type AvailableResourceGroupDelegationsListResponse

type AvailableResourceGroupDelegationsListResponse struct {
	AvailableResourceGroupDelegationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailableResourceGroupDelegationsListResponse contains the response from method AvailableResourceGroupDelegations.List.

type AvailableResourceGroupDelegationsListResult

type AvailableResourceGroupDelegationsListResult struct {
	AvailableDelegationsResult
}

AvailableResourceGroupDelegationsListResult contains the result from method AvailableResourceGroupDelegations.List.

type AvailableServiceAlias

type AvailableServiceAlias struct {
	// The ID of the service alias.
	ID *string `json:"id,omitempty"`

	// The name of the service alias.
	Name *string `json:"name,omitempty"`

	// The resource name of the service alias.
	ResourceName *string `json:"resourceName,omitempty"`

	// The type of the resource.
	Type *string `json:"type,omitempty"`
}

AvailableServiceAlias - The available service alias.

type AvailableServiceAliasesClient

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

AvailableServiceAliasesClient contains the methods for the AvailableServiceAliases group. Don't use this type directly, use NewAvailableServiceAliasesClient() instead.

func NewAvailableServiceAliasesClient

func NewAvailableServiceAliasesClient(con *arm.Connection, subscriptionID string) *AvailableServiceAliasesClient

NewAvailableServiceAliasesClient creates a new instance of AvailableServiceAliasesClient with the specified values.

func (*AvailableServiceAliasesClient) List

List - Gets all available service aliases for this subscription in this region. If the operation fails it returns the *CloudError error type.

func (*AvailableServiceAliasesClient) ListByResourceGroup

ListByResourceGroup - Gets all available service aliases for this resource group in this region. If the operation fails it returns the *CloudError error type.

type AvailableServiceAliasesListByResourceGroupOptions

type AvailableServiceAliasesListByResourceGroupOptions struct {
}

AvailableServiceAliasesListByResourceGroupOptions contains the optional parameters for the AvailableServiceAliases.ListByResourceGroup method.

type AvailableServiceAliasesListByResourceGroupPager

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

AvailableServiceAliasesListByResourceGroupPager provides operations for iterating over paged responses.

func (*AvailableServiceAliasesListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*AvailableServiceAliasesListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailableServiceAliasesListByResourceGroupPager) PageResponse

PageResponse returns the current AvailableServiceAliasesListByResourceGroupResponse page.

type AvailableServiceAliasesListByResourceGroupResponse

type AvailableServiceAliasesListByResourceGroupResponse struct {
	AvailableServiceAliasesListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailableServiceAliasesListByResourceGroupResponse contains the response from method AvailableServiceAliases.ListByResourceGroup.

type AvailableServiceAliasesListByResourceGroupResult

type AvailableServiceAliasesListByResourceGroupResult struct {
	AvailableServiceAliasesResult
}

AvailableServiceAliasesListByResourceGroupResult contains the result from method AvailableServiceAliases.ListByResourceGroup.

type AvailableServiceAliasesListOptions

type AvailableServiceAliasesListOptions struct {
}

AvailableServiceAliasesListOptions contains the optional parameters for the AvailableServiceAliases.List method.

type AvailableServiceAliasesListPager

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

AvailableServiceAliasesListPager provides operations for iterating over paged responses.

func (*AvailableServiceAliasesListPager) Err

Err returns the last error encountered while paging.

func (*AvailableServiceAliasesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AvailableServiceAliasesListPager) PageResponse

PageResponse returns the current AvailableServiceAliasesListResponse page.

type AvailableServiceAliasesListResponse

type AvailableServiceAliasesListResponse struct {
	AvailableServiceAliasesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AvailableServiceAliasesListResponse contains the response from method AvailableServiceAliases.List.

type AvailableServiceAliasesListResult

type AvailableServiceAliasesListResult struct {
	AvailableServiceAliasesResult
}

AvailableServiceAliasesListResult contains the result from method AvailableServiceAliases.List.

type AvailableServiceAliasesResult

type AvailableServiceAliasesResult struct {
	// An array of available service aliases.
	Value []*AvailableServiceAlias `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

AvailableServiceAliasesResult - An array of available service aliases.

func (AvailableServiceAliasesResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AvailableServiceAliasesResult.

type AzureAsyncOperationResult

type AzureAsyncOperationResult struct {
	// Details of the error occurred during specified asynchronous operation.
	Error *Error `json:"error,omitempty"`

	// Status of the Azure async operation.
	Status *NetworkOperationStatus `json:"status,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 {
	Resource
	// Properties of the azure firewall.
	Properties *AzureFirewallPropertiesFormat `json:"properties,omitempty"`

	// A list of availability zones denoting where the resource needs to come from.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

AzureFirewall - Azure Firewall resource.

func (AzureFirewall) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewall.

type AzureFirewallApplicationRule

type AzureFirewallApplicationRule struct {
	// Description of the rule.
	Description *string `json:"description,omitempty"`

	// List of FQDN Tags for this rule.
	FqdnTags []*string `json:"fqdnTags,omitempty"`

	// Name of the application rule.
	Name *string `json:"name,omitempty"`

	// Array of ApplicationRuleProtocols.
	Protocols []*AzureFirewallApplicationRuleProtocol `json:"protocols,omitempty"`

	// List of source IP addresses for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`

	// List of FQDNs for this rule.
	TargetFqdns []*string `json:"targetFqdns,omitempty"`
}

AzureFirewallApplicationRule - Properties of an application rule.

func (AzureFirewallApplicationRule) MarshalJSON

func (a AzureFirewallApplicationRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureFirewallApplicationRule.

type AzureFirewallApplicationRuleCollection

type AzureFirewallApplicationRuleCollection struct {
	SubResource
	// 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"`

	// Properties of the azure firewall application rule collection.
	Properties *AzureFirewallApplicationRuleCollectionPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

AzureFirewallApplicationRuleCollection - Application rule collection resource.

func (AzureFirewallApplicationRuleCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewallApplicationRuleCollection.

type AzureFirewallApplicationRuleCollectionPropertiesFormat

type AzureFirewallApplicationRuleCollectionPropertiesFormat struct {
	// The action type of a rule collection.
	Action *AzureFirewallRCAction `json:"action,omitempty"`

	// Priority of the application rule collection resource.
	Priority *int32 `json:"priority,omitempty"`

	// Collection of rules used by a application rule collection.
	Rules []*AzureFirewallApplicationRule `json:"rules,omitempty"`

	// READ-ONLY; The provisioning state of the application rule collection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AzureFirewallApplicationRuleCollectionPropertiesFormat - Properties of the application rule collection.

func (AzureFirewallApplicationRuleCollectionPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AzureFirewallApplicationRuleCollectionPropertiesFormat.

type AzureFirewallApplicationRuleProtocol

type AzureFirewallApplicationRuleProtocol struct {
	// Port number for the protocol, cannot be greater than 64000. This field is optional.
	Port *int32 `json:"port,omitempty"`

	// Protocol type.
	ProtocolType *AzureFirewallApplicationRuleProtocolType `json:"protocolType,omitempty"`
}

AzureFirewallApplicationRuleProtocol - Properties of the application rule protocol.

type AzureFirewallApplicationRuleProtocolType

type AzureFirewallApplicationRuleProtocolType string

AzureFirewallApplicationRuleProtocolType - The protocol type of a Application Rule resource.

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

func PossibleAzureFirewallApplicationRuleProtocolTypeValues

func PossibleAzureFirewallApplicationRuleProtocolTypeValues() []AzureFirewallApplicationRuleProtocolType

PossibleAzureFirewallApplicationRuleProtocolTypeValues returns the possible values for the AzureFirewallApplicationRuleProtocolType const type.

func (AzureFirewallApplicationRuleProtocolType) ToPtr

ToPtr returns a *AzureFirewallApplicationRuleProtocolType pointing to the current value.

type AzureFirewallFqdnTag

type AzureFirewallFqdnTag struct {
	Resource
	// Properties of the azure firewall FQDN tag.
	Properties *AzureFirewallFqdnTagPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

AzureFirewallFqdnTag - Azure Firewall FQDN Tag Resource.

func (AzureFirewallFqdnTag) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewallFqdnTag.

type AzureFirewallFqdnTagListResult

type AzureFirewallFqdnTagListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Azure Firewall FQDN Tags in a resource group.
	Value []*AzureFirewallFqdnTag `json:"value,omitempty"`
}

AzureFirewallFqdnTagListResult - Response for ListAzureFirewallFqdnTags API service call.

func (AzureFirewallFqdnTagListResult) MarshalJSON

func (a AzureFirewallFqdnTagListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureFirewallFqdnTagListResult.

type AzureFirewallFqdnTagPropertiesFormat

type AzureFirewallFqdnTagPropertiesFormat struct {
	// READ-ONLY; The name of this FQDN Tag.
	FqdnTagName *string `json:"fqdnTagName,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the Azure firewall FQDN tag resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AzureFirewallFqdnTagPropertiesFormat - Azure Firewall FQDN Tag Properties.

type AzureFirewallFqdnTagsClient

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

AzureFirewallFqdnTagsClient contains the methods for the AzureFirewallFqdnTags group. Don't use this type directly, use NewAzureFirewallFqdnTagsClient() instead.

func NewAzureFirewallFqdnTagsClient

func NewAzureFirewallFqdnTagsClient(con *arm.Connection, subscriptionID string) *AzureFirewallFqdnTagsClient

NewAzureFirewallFqdnTagsClient creates a new instance of AzureFirewallFqdnTagsClient with the specified values.

func (*AzureFirewallFqdnTagsClient) ListAll

ListAll - Gets all the Azure Firewall FQDN Tags in a subscription. If the operation fails it returns the *CloudError error type.

type AzureFirewallFqdnTagsListAllOptions

type AzureFirewallFqdnTagsListAllOptions struct {
}

AzureFirewallFqdnTagsListAllOptions contains the optional parameters for the AzureFirewallFqdnTags.ListAll method.

type AzureFirewallFqdnTagsListAllPager

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

AzureFirewallFqdnTagsListAllPager provides operations for iterating over paged responses.

func (*AzureFirewallFqdnTagsListAllPager) Err

Err returns the last error encountered while paging.

func (*AzureFirewallFqdnTagsListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AzureFirewallFqdnTagsListAllPager) PageResponse

PageResponse returns the current AzureFirewallFqdnTagsListAllResponse page.

type AzureFirewallFqdnTagsListAllResponse

type AzureFirewallFqdnTagsListAllResponse struct {
	AzureFirewallFqdnTagsListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallFqdnTagsListAllResponse contains the response from method AzureFirewallFqdnTags.ListAll.

type AzureFirewallFqdnTagsListAllResult

type AzureFirewallFqdnTagsListAllResult struct {
	AzureFirewallFqdnTagListResult
}

AzureFirewallFqdnTagsListAllResult contains the result from method AzureFirewallFqdnTags.ListAll.

type AzureFirewallIPConfiguration

type AzureFirewallIPConfiguration struct {
	SubResource
	// 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"`

	// Properties of the azure firewall IP configuration.
	Properties *AzureFirewallIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AzureFirewallIPConfiguration - IP configuration of an Azure Firewall.

func (AzureFirewallIPConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewallIPConfiguration.

type AzureFirewallIPConfigurationPropertiesFormat

type AzureFirewallIPConfigurationPropertiesFormat struct {
	// Reference to the PublicIP resource. This field is a mandatory input if subnet is not null.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`

	// Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'.
	Subnet *SubResource `json:"subnet,omitempty"`

	// READ-ONLY; The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the Azure firewall IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AzureFirewallIPConfigurationPropertiesFormat - Properties of IP configuration of an Azure Firewall.

type AzureFirewallIPGroups

type AzureFirewallIPGroups struct {
	// READ-ONLY; The iteration number.
	ChangeNumber *string `json:"changeNumber,omitempty" azure:"ro"`

	// READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty" azure:"ro"`
}

AzureFirewallIPGroups - IpGroups associated with azure firewall.

type AzureFirewallListResult

type AzureFirewallListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Azure Firewalls in a resource group.
	Value []*AzureFirewall `json:"value,omitempty"`
}

AzureFirewallListResult - Response for ListAzureFirewalls API service call.

func (AzureFirewallListResult) MarshalJSON

func (a AzureFirewallListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureFirewallListResult.

type AzureFirewallNatRCAction

type AzureFirewallNatRCAction struct {
	// The type of action.
	Type *AzureFirewallNatRCActionType `json:"type,omitempty"`
}

AzureFirewallNatRCAction - AzureFirewall NAT Rule Collection Action.

type AzureFirewallNatRCActionType

type AzureFirewallNatRCActionType string

AzureFirewallNatRCActionType - The action type of a NAT rule collection.

const (
	AzureFirewallNatRCActionTypeDnat AzureFirewallNatRCActionType = "Dnat"
	AzureFirewallNatRCActionTypeSnat AzureFirewallNatRCActionType = "Snat"
)

func PossibleAzureFirewallNatRCActionTypeValues

func PossibleAzureFirewallNatRCActionTypeValues() []AzureFirewallNatRCActionType

PossibleAzureFirewallNatRCActionTypeValues returns the possible values for the AzureFirewallNatRCActionType const type.

func (AzureFirewallNatRCActionType) ToPtr

ToPtr returns a *AzureFirewallNatRCActionType pointing to the current value.

type AzureFirewallNatRule

type AzureFirewallNatRule struct {
	// Description of the rule.
	Description *string `json:"description,omitempty"`

	// List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.
	DestinationAddresses []*string `json:"destinationAddresses,omitempty"`

	// List of destination ports.
	DestinationPorts []*string `json:"destinationPorts,omitempty"`

	// Name of the NAT rule.
	Name *string `json:"name,omitempty"`

	// Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
	Protocols []*AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"`

	// List of source IP addresses for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`

	// The translated address for this NAT rule.
	TranslatedAddress *string `json:"translatedAddress,omitempty"`

	// The translated FQDN for this NAT rule.
	TranslatedFqdn *string `json:"translatedFqdn,omitempty"`

	// The translated port for this NAT rule.
	TranslatedPort *string `json:"translatedPort,omitempty"`
}

AzureFirewallNatRule - Properties of a NAT rule.

func (AzureFirewallNatRule) MarshalJSON

func (a AzureFirewallNatRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureFirewallNatRule.

type AzureFirewallNatRuleCollection

type AzureFirewallNatRuleCollection struct {
	SubResource
	// 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"`

	// Properties of the azure firewall NAT rule collection.
	Properties *AzureFirewallNatRuleCollectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

AzureFirewallNatRuleCollection - NAT rule collection resource.

func (AzureFirewallNatRuleCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewallNatRuleCollection.

type AzureFirewallNatRuleCollectionProperties

type AzureFirewallNatRuleCollectionProperties struct {
	// The action type of a NAT rule collection.
	Action *AzureFirewallNatRCAction `json:"action,omitempty"`

	// Priority of the NAT rule collection resource.
	Priority *int32 `json:"priority,omitempty"`

	// Collection of rules used by a NAT rule collection.
	Rules []*AzureFirewallNatRule `json:"rules,omitempty"`

	// READ-ONLY; The provisioning state of the NAT rule collection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AzureFirewallNatRuleCollectionProperties - Properties of the NAT rule collection.

func (AzureFirewallNatRuleCollectionProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AzureFirewallNatRuleCollectionProperties.

type AzureFirewallNetworkRule

type AzureFirewallNetworkRule struct {
	// Description of the rule.
	Description *string `json:"description,omitempty"`

	// List of destination IP addresses.
	DestinationAddresses []*string `json:"destinationAddresses,omitempty"`

	// List of destination FQDNs.
	DestinationFqdns []*string `json:"destinationFqdns,omitempty"`

	// List of destination IpGroups for this rule.
	DestinationIPGroups []*string `json:"destinationIpGroups,omitempty"`

	// List of destination ports.
	DestinationPorts []*string `json:"destinationPorts,omitempty"`

	// Name of the network rule.
	Name *string `json:"name,omitempty"`

	// Array of AzureFirewallNetworkRuleProtocols.
	Protocols []*AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"`

	// List of source IP addresses for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`
}

AzureFirewallNetworkRule - Properties of the network rule.

func (AzureFirewallNetworkRule) MarshalJSON

func (a AzureFirewallNetworkRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureFirewallNetworkRule.

type AzureFirewallNetworkRuleCollection

type AzureFirewallNetworkRuleCollection struct {
	SubResource
	// 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"`

	// Properties of the azure firewall network rule collection.
	Properties *AzureFirewallNetworkRuleCollectionPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

AzureFirewallNetworkRuleCollection - Network rule collection resource.

func (AzureFirewallNetworkRuleCollection) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewallNetworkRuleCollection.

type AzureFirewallNetworkRuleCollectionPropertiesFormat

type AzureFirewallNetworkRuleCollectionPropertiesFormat struct {
	// The action type of a rule collection.
	Action *AzureFirewallRCAction `json:"action,omitempty"`

	// Priority of the network rule collection resource.
	Priority *int32 `json:"priority,omitempty"`

	// Collection of rules used by a network rule collection.
	Rules []*AzureFirewallNetworkRule `json:"rules,omitempty"`

	// READ-ONLY; The provisioning state of the network rule collection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AzureFirewallNetworkRuleCollectionPropertiesFormat - Properties of the network rule collection.

func (AzureFirewallNetworkRuleCollectionPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AzureFirewallNetworkRuleCollectionPropertiesFormat.

type AzureFirewallNetworkRuleProtocol

type AzureFirewallNetworkRuleProtocol string

AzureFirewallNetworkRuleProtocol - The protocol of a Network Rule resource.

const (
	AzureFirewallNetworkRuleProtocolAny  AzureFirewallNetworkRuleProtocol = "Any"
	AzureFirewallNetworkRuleProtocolICMP AzureFirewallNetworkRuleProtocol = "ICMP"
	AzureFirewallNetworkRuleProtocolTCP  AzureFirewallNetworkRuleProtocol = "TCP"
	AzureFirewallNetworkRuleProtocolUDP  AzureFirewallNetworkRuleProtocol = "UDP"
)

func PossibleAzureFirewallNetworkRuleProtocolValues

func PossibleAzureFirewallNetworkRuleProtocolValues() []AzureFirewallNetworkRuleProtocol

PossibleAzureFirewallNetworkRuleProtocolValues returns the possible values for the AzureFirewallNetworkRuleProtocol const type.

func (AzureFirewallNetworkRuleProtocol) ToPtr

ToPtr returns a *AzureFirewallNetworkRuleProtocol pointing to the current value.

type AzureFirewallPropertiesFormat

type AzureFirewallPropertiesFormat struct {
	// The additional properties used to further config this azure firewall.
	AdditionalProperties map[string]*string `json:"additionalProperties,omitempty"`

	// Collection of application rule collections used by Azure Firewall.
	ApplicationRuleCollections []*AzureFirewallApplicationRuleCollection `json:"applicationRuleCollections,omitempty"`

	// The firewallPolicy associated with this azure firewall.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`

	// IP addresses associated with AzureFirewall.
	HubIPAddresses *HubIPAddresses `json:"hubIPAddresses,omitempty"`

	// IP configuration of the Azure Firewall resource.
	IPConfigurations []*AzureFirewallIPConfiguration `json:"ipConfigurations,omitempty"`

	// IP configuration of the Azure Firewall used for management traffic.
	ManagementIPConfiguration *AzureFirewallIPConfiguration `json:"managementIpConfiguration,omitempty"`

	// Collection of NAT rule collections used by Azure Firewall.
	NatRuleCollections []*AzureFirewallNatRuleCollection `json:"natRuleCollections,omitempty"`

	// Collection of network rule collections used by Azure Firewall.
	NetworkRuleCollections []*AzureFirewallNetworkRuleCollection `json:"networkRuleCollections,omitempty"`

	// The Azure Firewall Resource SKU.
	SKU *AzureFirewallSKU `json:"sku,omitempty"`

	// The operation mode for Threat Intelligence.
	ThreatIntelMode *AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"`

	// The virtualHub to which the firewall belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`

	// READ-ONLY; IpGroups associated with AzureFirewall.
	IPGroups []*AzureFirewallIPGroups `json:"ipGroups,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the Azure firewall resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

AzureFirewallPropertiesFormat - Properties of the Azure Firewall.

func (AzureFirewallPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type AzureFirewallPropertiesFormat.

type AzureFirewallPublicIPAddress

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

AzureFirewallPublicIPAddress - Public IP Address associated with azure firewall.

type AzureFirewallRCAction

type AzureFirewallRCAction struct {
	// The type of action.
	Type *AzureFirewallRCActionType `json:"type,omitempty"`
}

AzureFirewallRCAction - Properties of the AzureFirewallRCAction.

type AzureFirewallRCActionType

type AzureFirewallRCActionType string

AzureFirewallRCActionType - The action type of a rule collection.

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

func PossibleAzureFirewallRCActionTypeValues

func PossibleAzureFirewallRCActionTypeValues() []AzureFirewallRCActionType

PossibleAzureFirewallRCActionTypeValues returns the possible values for the AzureFirewallRCActionType const type.

func (AzureFirewallRCActionType) ToPtr

ToPtr returns a *AzureFirewallRCActionType pointing to the current value.

type AzureFirewallSKU

type AzureFirewallSKU struct {
	// Name of an Azure Firewall SKU.
	Name *AzureFirewallSKUName `json:"name,omitempty"`

	// Tier of an Azure Firewall.
	Tier *AzureFirewallSKUTier `json:"tier,omitempty"`
}

AzureFirewallSKU - SKU of an Azure Firewall.

type AzureFirewallSKUName

type AzureFirewallSKUName string

AzureFirewallSKUName - Name of an Azure Firewall SKU.

const (
	AzureFirewallSKUNameAZFWHub  AzureFirewallSKUName = "AZFW_Hub"
	AzureFirewallSKUNameAZFWVnet AzureFirewallSKUName = "AZFW_VNet"
)

func PossibleAzureFirewallSKUNameValues

func PossibleAzureFirewallSKUNameValues() []AzureFirewallSKUName

PossibleAzureFirewallSKUNameValues returns the possible values for the AzureFirewallSKUName const type.

func (AzureFirewallSKUName) ToPtr

ToPtr returns a *AzureFirewallSKUName pointing to the current value.

type AzureFirewallSKUTier

type AzureFirewallSKUTier string

AzureFirewallSKUTier - Tier of an Azure Firewall.

const (
	AzureFirewallSKUTierPremium  AzureFirewallSKUTier = "Premium"
	AzureFirewallSKUTierStandard AzureFirewallSKUTier = "Standard"
)

func PossibleAzureFirewallSKUTierValues

func PossibleAzureFirewallSKUTierValues() []AzureFirewallSKUTier

PossibleAzureFirewallSKUTierValues returns the possible values for the AzureFirewallSKUTier const type.

func (AzureFirewallSKUTier) ToPtr

ToPtr returns a *AzureFirewallSKUTier pointing to the current value.

type AzureFirewallThreatIntelMode

type AzureFirewallThreatIntelMode string

AzureFirewallThreatIntelMode - The operation mode for Threat Intel.

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

func PossibleAzureFirewallThreatIntelModeValues

func PossibleAzureFirewallThreatIntelModeValues() []AzureFirewallThreatIntelMode

PossibleAzureFirewallThreatIntelModeValues returns the possible values for the AzureFirewallThreatIntelMode const type.

func (AzureFirewallThreatIntelMode) ToPtr

ToPtr returns a *AzureFirewallThreatIntelMode pointing to the current value.

type AzureFirewallsBeginCreateOrUpdateOptions

type AzureFirewallsBeginCreateOrUpdateOptions struct {
}

AzureFirewallsBeginCreateOrUpdateOptions contains the optional parameters for the AzureFirewalls.BeginCreateOrUpdate method.

type AzureFirewallsBeginDeleteOptions

type AzureFirewallsBeginDeleteOptions struct {
}

AzureFirewallsBeginDeleteOptions contains the optional parameters for the AzureFirewalls.BeginDelete method.

type AzureFirewallsBeginUpdateTagsOptions

type AzureFirewallsBeginUpdateTagsOptions struct {
}

AzureFirewallsBeginUpdateTagsOptions contains the optional parameters for the AzureFirewalls.BeginUpdateTags method.

type AzureFirewallsClient

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

AzureFirewallsClient contains the methods for the AzureFirewalls group. Don't use this type directly, use NewAzureFirewallsClient() instead.

func NewAzureFirewallsClient

func NewAzureFirewallsClient(con *arm.Connection, subscriptionID string) *AzureFirewallsClient

NewAzureFirewallsClient creates a new instance of AzureFirewallsClient with the specified values.

func (*AzureFirewallsClient) BeginCreateOrUpdate

func (client *AzureFirewallsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall, options *AzureFirewallsBeginCreateOrUpdateOptions) (AzureFirewallsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Azure Firewall. If the operation fails it returns the *CloudError error type.

func (*AzureFirewallsClient) BeginDelete

func (client *AzureFirewallsClient) BeginDelete(ctx context.Context, resourceGroupName string, azureFirewallName string, options *AzureFirewallsBeginDeleteOptions) (AzureFirewallsDeletePollerResponse, error)

BeginDelete - Deletes the specified Azure Firewall. If the operation fails it returns the *CloudError error type.

func (*AzureFirewallsClient) BeginUpdateTags

func (client *AzureFirewallsClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters TagsObject, options *AzureFirewallsBeginUpdateTagsOptions) (AzureFirewallsUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates tags of an Azure Firewall resource. If the operation fails it returns the *CloudError error type.

func (*AzureFirewallsClient) Get

func (client *AzureFirewallsClient) Get(ctx context.Context, resourceGroupName string, azureFirewallName string, options *AzureFirewallsGetOptions) (AzureFirewallsGetResponse, error)

Get - Gets the specified Azure Firewall. If the operation fails it returns the *CloudError error type.

func (*AzureFirewallsClient) List

func (client *AzureFirewallsClient) List(resourceGroupName string, options *AzureFirewallsListOptions) *AzureFirewallsListPager

List - Lists all Azure Firewalls in a resource group. If the operation fails it returns the *CloudError error type.

func (*AzureFirewallsClient) ListAll

ListAll - Gets all the Azure Firewalls in a subscription. If the operation fails it returns the *CloudError error type.

type AzureFirewallsCreateOrUpdatePoller

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

AzureFirewallsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*AzureFirewallsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*AzureFirewallsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AzureFirewallsCreateOrUpdateResponse will be returned.

func (*AzureFirewallsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*AzureFirewallsCreateOrUpdatePoller) ResumeToken

func (p *AzureFirewallsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type AzureFirewallsCreateOrUpdatePollerResponse

type AzureFirewallsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *AzureFirewallsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsCreateOrUpdatePollerResponse contains the response from method AzureFirewalls.CreateOrUpdate.

func (AzureFirewallsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*AzureFirewallsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a AzureFirewallsCreateOrUpdatePollerResponse from the provided client and resume token.

type AzureFirewallsCreateOrUpdateResponse

type AzureFirewallsCreateOrUpdateResponse struct {
	AzureFirewallsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsCreateOrUpdateResponse contains the response from method AzureFirewalls.CreateOrUpdate.

type AzureFirewallsCreateOrUpdateResult

type AzureFirewallsCreateOrUpdateResult struct {
	AzureFirewall
}

AzureFirewallsCreateOrUpdateResult contains the result from method AzureFirewalls.CreateOrUpdate.

type AzureFirewallsDeletePoller

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

AzureFirewallsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*AzureFirewallsDeletePoller) Done

func (p *AzureFirewallsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*AzureFirewallsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AzureFirewallsDeleteResponse will be returned.

func (*AzureFirewallsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*AzureFirewallsDeletePoller) ResumeToken

func (p *AzureFirewallsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type AzureFirewallsDeletePollerResponse

type AzureFirewallsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *AzureFirewallsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsDeletePollerResponse contains the response from method AzureFirewalls.Delete.

func (AzureFirewallsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*AzureFirewallsDeletePollerResponse) Resume

Resume rehydrates a AzureFirewallsDeletePollerResponse from the provided client and resume token.

type AzureFirewallsDeleteResponse

type AzureFirewallsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsDeleteResponse contains the response from method AzureFirewalls.Delete.

type AzureFirewallsGetOptions

type AzureFirewallsGetOptions struct {
}

AzureFirewallsGetOptions contains the optional parameters for the AzureFirewalls.Get method.

type AzureFirewallsGetResponse

type AzureFirewallsGetResponse struct {
	AzureFirewallsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsGetResponse contains the response from method AzureFirewalls.Get.

type AzureFirewallsGetResult

type AzureFirewallsGetResult struct {
	AzureFirewall
}

AzureFirewallsGetResult contains the result from method AzureFirewalls.Get.

type AzureFirewallsListAllOptions

type AzureFirewallsListAllOptions struct {
}

AzureFirewallsListAllOptions contains the optional parameters for the AzureFirewalls.ListAll method.

type AzureFirewallsListAllPager

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

AzureFirewallsListAllPager provides operations for iterating over paged responses.

func (*AzureFirewallsListAllPager) Err

Err returns the last error encountered while paging.

func (*AzureFirewallsListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AzureFirewallsListAllPager) PageResponse

PageResponse returns the current AzureFirewallsListAllResponse page.

type AzureFirewallsListAllResponse

type AzureFirewallsListAllResponse struct {
	AzureFirewallsListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsListAllResponse contains the response from method AzureFirewalls.ListAll.

type AzureFirewallsListAllResult

type AzureFirewallsListAllResult struct {
	AzureFirewallListResult
}

AzureFirewallsListAllResult contains the result from method AzureFirewalls.ListAll.

type AzureFirewallsListOptions

type AzureFirewallsListOptions struct {
}

AzureFirewallsListOptions contains the optional parameters for the AzureFirewalls.List method.

type AzureFirewallsListPager

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

AzureFirewallsListPager provides operations for iterating over paged responses.

func (*AzureFirewallsListPager) Err

func (p *AzureFirewallsListPager) Err() error

Err returns the last error encountered while paging.

func (*AzureFirewallsListPager) NextPage

func (p *AzureFirewallsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AzureFirewallsListPager) PageResponse

PageResponse returns the current AzureFirewallsListResponse page.

type AzureFirewallsListResponse

type AzureFirewallsListResponse struct {
	AzureFirewallsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsListResponse contains the response from method AzureFirewalls.List.

type AzureFirewallsListResult

type AzureFirewallsListResult struct {
	AzureFirewallListResult
}

AzureFirewallsListResult contains the result from method AzureFirewalls.List.

type AzureFirewallsUpdateTagsPoller

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

AzureFirewallsUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*AzureFirewallsUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*AzureFirewallsUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AzureFirewallsUpdateTagsResponse will be returned.

func (*AzureFirewallsUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*AzureFirewallsUpdateTagsPoller) ResumeToken

func (p *AzureFirewallsUpdateTagsPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type AzureFirewallsUpdateTagsPollerResponse

type AzureFirewallsUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *AzureFirewallsUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsUpdateTagsPollerResponse contains the response from method AzureFirewalls.UpdateTags.

func (AzureFirewallsUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*AzureFirewallsUpdateTagsPollerResponse) Resume

Resume rehydrates a AzureFirewallsUpdateTagsPollerResponse from the provided client and resume token.

type AzureFirewallsUpdateTagsResponse

type AzureFirewallsUpdateTagsResponse struct {
	AzureFirewallsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AzureFirewallsUpdateTagsResponse contains the response from method AzureFirewalls.UpdateTags.

type AzureFirewallsUpdateTagsResult

type AzureFirewallsUpdateTagsResult struct {
	AzureFirewall
}

AzureFirewallsUpdateTagsResult contains the result from method AzureFirewalls.UpdateTags.

type AzureReachabilityReport

type AzureReachabilityReport struct {
	// REQUIRED; The aggregation level of Azure reachability report. Can be Country, State or City.
	AggregationLevel *string `json:"aggregationLevel,omitempty"`

	// REQUIRED; Parameters that define a geographic location.
	ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"`

	// REQUIRED; List of Azure reachability report items.
	ReachabilityReport []*AzureReachabilityReportItem `json:"reachabilityReport,omitempty"`
}

AzureReachabilityReport - Azure reachability report details.

func (AzureReachabilityReport) MarshalJSON

func (a AzureReachabilityReport) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureReachabilityReport.

type AzureReachabilityReportItem

type AzureReachabilityReportItem struct {
	// The Azure region.
	AzureLocation *string `json:"azureLocation,omitempty"`

	// List of latency details for each of the time series.
	Latencies []*AzureReachabilityReportLatencyInfo `json:"latencies,omitempty"`

	// The Internet service provider.
	Provider *string `json:"provider,omitempty"`
}

AzureReachabilityReportItem - Azure reachability report details for a given provider location.

func (AzureReachabilityReportItem) MarshalJSON

func (a AzureReachabilityReportItem) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureReachabilityReportItem.

type AzureReachabilityReportLatencyInfo

type AzureReachabilityReportLatencyInfo struct {
	// The relative latency score between 1 and 100, higher values indicating a faster connection.
	Score *int32 `json:"score,omitempty"`

	// The time stamp.
	TimeStamp *time.Time `json:"timeStamp,omitempty"`
}

AzureReachabilityReportLatencyInfo - Details on latency for a time series.

func (AzureReachabilityReportLatencyInfo) MarshalJSON

func (a AzureReachabilityReportLatencyInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureReachabilityReportLatencyInfo.

func (*AzureReachabilityReportLatencyInfo) UnmarshalJSON

func (a *AzureReachabilityReportLatencyInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureReachabilityReportLatencyInfo.

type AzureReachabilityReportLocation

type AzureReachabilityReportLocation struct {
	// REQUIRED; The name of the country.
	Country *string `json:"country,omitempty"`

	// The name of the city or town.
	City *string `json:"city,omitempty"`

	// The name of the state.
	State *string `json:"state,omitempty"`
}

AzureReachabilityReportLocation - Parameters that define a geographic location.

type AzureReachabilityReportParameters

type AzureReachabilityReportParameters struct {
	// REQUIRED; The end time for the Azure reachability report.
	EndTime *time.Time `json:"endTime,omitempty"`

	// REQUIRED; Parameters that define a geographic location.
	ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"`

	// REQUIRED; The start time for the Azure reachability report.
	StartTime *time.Time `json:"startTime,omitempty"`

	// Optional Azure regions to scope the query to.
	AzureLocations []*string `json:"azureLocations,omitempty"`

	// List of Internet service providers.
	Providers []*string `json:"providers,omitempty"`
}

AzureReachabilityReportParameters - Geographic and time constraints for Azure reachability report.

func (AzureReachabilityReportParameters) MarshalJSON

func (a AzureReachabilityReportParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureReachabilityReportParameters.

func (*AzureReachabilityReportParameters) UnmarshalJSON

func (a *AzureReachabilityReportParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureReachabilityReportParameters.

type AzureWebCategory

type AzureWebCategory struct {
	// Resource ID.
	ID *string `json:"id,omitempty"`

	// Properties of the Azure Web Category.
	Properties *AzureWebCategoryPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AzureWebCategory - Azure Web Category Resource.

type AzureWebCategoryListResult

type AzureWebCategoryListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Azure Web Categories for a given Subscription.
	Value []*AzureWebCategory `json:"value,omitempty"`
}

AzureWebCategoryListResult - Response for ListAzureWebCategories API service call.

func (AzureWebCategoryListResult) MarshalJSON

func (a AzureWebCategoryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureWebCategoryListResult.

type AzureWebCategoryPropertiesFormat

type AzureWebCategoryPropertiesFormat struct {
	// READ-ONLY; The name of the group that the category belongs to.
	Group *string `json:"group,omitempty" azure:"ro"`
}

AzureWebCategoryPropertiesFormat - Azure Web Category Properties.

type BGPCommunity

type BGPCommunity struct {
	// The name of the bgp community. e.g. Skype.
	CommunityName *string `json:"communityName,omitempty"`

	// The prefixes that the bgp community contains.
	CommunityPrefixes []*string `json:"communityPrefixes,omitempty"`

	// The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
	CommunityValue *string `json:"communityValue,omitempty"`

	// Customer is authorized to use bgp community or not.
	IsAuthorizedToUse *bool `json:"isAuthorizedToUse,omitempty"`

	// The service group of the bgp community contains.
	ServiceGroup *string `json:"serviceGroup,omitempty"`

	// The region which the service support. e.g. For O365, region is Global.
	ServiceSupportedRegion *string `json:"serviceSupportedRegion,omitempty"`
}

BGPCommunity - Contains bgp community information offered in Service Community resources.

func (BGPCommunity) MarshalJSON

func (b BGPCommunity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BGPCommunity.

type BackendAddressPool

type BackendAddressPool struct {
	SubResource
	// 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"`

	// Properties of load balancer backend address pool.
	Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

BackendAddressPool - Pool of backend IP addresses.

func (BackendAddressPool) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BackendAddressPool.

type BackendAddressPoolPropertiesFormat

type BackendAddressPoolPropertiesFormat struct {
	// An array of backend addresses.
	LoadBalancerBackendAddresses []*LoadBalancerBackendAddress `json:"loadBalancerBackendAddresses,omitempty"`

	// The location of the backend address pool.
	Location *string `json:"location,omitempty"`

	// An array of gateway load balancer tunnel interfaces.
	TunnelInterfaces []*GatewayLoadBalancerTunnelInterface `json:"tunnelInterfaces,omitempty"`

	// READ-ONLY; An array of references to IP addresses defined in network interfaces.
	BackendIPConfigurations []*NetworkInterfaceIPConfiguration `json:"backendIPConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to load balancing rules that use this backend address pool.
	LoadBalancingRules []*SubResource `json:"loadBalancingRules,omitempty" azure:"ro"`

	// READ-ONLY; A reference to an outbound rule that uses this backend address pool.
	OutboundRule *SubResource `json:"outboundRule,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to outbound rules that use this backend address pool.
	OutboundRules []*SubResource `json:"outboundRules,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the backend address pool resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

BackendAddressPoolPropertiesFormat - Properties of the backend address pool.

func (BackendAddressPoolPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BackendAddressPoolPropertiesFormat.

type BastionActiveSession

type BastionActiveSession struct {
	// READ-ONLY; The protocol used to connect to the target.
	Protocol *BastionConnectProtocol `json:"protocol,omitempty" azure:"ro"`

	// READ-ONLY; The type of the resource.
	ResourceType *string `json:"resourceType,omitempty" azure:"ro"`

	// READ-ONLY; Duration in mins the session has been active.
	SessionDurationInMins *float32 `json:"sessionDurationInMins,omitempty" azure:"ro"`

	// READ-ONLY; A unique id for the session.
	SessionID *string `json:"sessionId,omitempty" azure:"ro"`

	// READ-ONLY; The time when the session started.
	StartTime map[string]interface{} `json:"startTime,omitempty" azure:"ro"`

	// READ-ONLY; The host name of the target.
	TargetHostName *string `json:"targetHostName,omitempty" azure:"ro"`

	// READ-ONLY; The IP Address of the target.
	TargetIPAddress *string `json:"targetIpAddress,omitempty" azure:"ro"`

	// READ-ONLY; The resource group of the target.
	TargetResourceGroup *string `json:"targetResourceGroup,omitempty" azure:"ro"`

	// READ-ONLY; The resource id of the target.
	TargetResourceID *string `json:"targetResourceId,omitempty" azure:"ro"`

	// READ-ONLY; The subscription id for the target virtual machine.
	TargetSubscriptionID *string `json:"targetSubscriptionId,omitempty" azure:"ro"`

	// READ-ONLY; The user name who is active on this session.
	UserName *string `json:"userName,omitempty" azure:"ro"`
}

BastionActiveSession - The session detail for a target.

type BastionActiveSessionListResult

type BastionActiveSessionListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of active sessions on the bastion.
	Value []*BastionActiveSession `json:"value,omitempty"`
}

BastionActiveSessionListResult - Response for GetActiveSessions.

func (BastionActiveSessionListResult) MarshalJSON

func (b BastionActiveSessionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BastionActiveSessionListResult.

type BastionConnectProtocol

type BastionConnectProtocol string

BastionConnectProtocol - The protocol used to connect to the target.

const (
	BastionConnectProtocolRDP BastionConnectProtocol = "RDP"
	BastionConnectProtocolSSH BastionConnectProtocol = "SSH"
)

func PossibleBastionConnectProtocolValues

func PossibleBastionConnectProtocolValues() []BastionConnectProtocol

PossibleBastionConnectProtocolValues returns the possible values for the BastionConnectProtocol const type.

func (BastionConnectProtocol) ToPtr

ToPtr returns a *BastionConnectProtocol pointing to the current value.

type BastionHost

type BastionHost struct {
	Resource
	// Represents the bastion host resource.
	Properties *BastionHostPropertiesFormat `json:"properties,omitempty"`

	// The sku of this Bastion Host.
	SKU *SKU `json:"sku,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

BastionHost - Bastion Host resource.

func (BastionHost) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BastionHost.

type BastionHostIPConfiguration

type BastionHostIPConfiguration struct {
	SubResource
	// 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"`

	// Represents the ip configuration associated with the resource.
	Properties *BastionHostIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Ip configuration type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

BastionHostIPConfiguration - IP configuration of an Bastion Host.

func (BastionHostIPConfiguration) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BastionHostIPConfiguration.

type BastionHostIPConfigurationPropertiesFormat

type BastionHostIPConfigurationPropertiesFormat struct {
	// REQUIRED; Reference of the PublicIP resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`

	// REQUIRED; Reference of the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`

	// Private IP allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// READ-ONLY; The provisioning state of the bastion host IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

BastionHostIPConfigurationPropertiesFormat - Properties of IP configuration of an Bastion Host.

type BastionHostListResult

type BastionHostListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Bastion Hosts in a resource group.
	Value []*BastionHost `json:"value,omitempty"`
}

BastionHostListResult - Response for ListBastionHosts API service call.

func (BastionHostListResult) MarshalJSON

func (b BastionHostListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BastionHostListResult.

type BastionHostPropertiesFormat

type BastionHostPropertiesFormat struct {
	// FQDN for the endpoint on which bastion host is accessible.
	DNSName *string `json:"dnsName,omitempty"`

	// Enable/Disable Copy/Paste feature of the Bastion Host resource.
	DisableCopyPaste *bool `json:"disableCopyPaste,omitempty"`

	// Enable/Disable File Copy feature of the Bastion Host resource.
	EnableFileCopy *bool `json:"enableFileCopy,omitempty"`

	// Enable/Disable IP Connect feature of the Bastion Host resource.
	EnableIPConnect *bool `json:"enableIpConnect,omitempty"`

	// Enable/Disable Shareable Link of the Bastion Host resource.
	EnableShareableLink *bool `json:"enableShareableLink,omitempty"`

	// Enable/Disable Tunneling feature of the Bastion Host resource.
	EnableTunneling *bool `json:"enableTunneling,omitempty"`

	// IP configuration of the Bastion Host resource.
	IPConfigurations []*BastionHostIPConfiguration `json:"ipConfigurations,omitempty"`

	// The scale units for the Bastion Host resource.
	ScaleUnits *int32 `json:"scaleUnits,omitempty"`

	// READ-ONLY; The provisioning state of the bastion host resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

BastionHostPropertiesFormat - Properties of the Bastion Host.

func (BastionHostPropertiesFormat) MarshalJSON

func (b BastionHostPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BastionHostPropertiesFormat.

type BastionHostSKUName

type BastionHostSKUName string

BastionHostSKUName - The name of this Bastion Host.

const (
	BastionHostSKUNameBasic    BastionHostSKUName = "Basic"
	BastionHostSKUNameStandard BastionHostSKUName = "Standard"
)

func PossibleBastionHostSKUNameValues

func PossibleBastionHostSKUNameValues() []BastionHostSKUName

PossibleBastionHostSKUNameValues returns the possible values for the BastionHostSKUName const type.

func (BastionHostSKUName) ToPtr

ToPtr returns a *BastionHostSKUName pointing to the current value.

type BastionHostsBeginCreateOrUpdateOptions

type BastionHostsBeginCreateOrUpdateOptions struct {
}

BastionHostsBeginCreateOrUpdateOptions contains the optional parameters for the BastionHosts.BeginCreateOrUpdate method.

type BastionHostsBeginDeleteOptions

type BastionHostsBeginDeleteOptions struct {
}

BastionHostsBeginDeleteOptions contains the optional parameters for the BastionHosts.BeginDelete method.

type BastionHostsBeginUpdateTagsOptions

type BastionHostsBeginUpdateTagsOptions struct {
}

BastionHostsBeginUpdateTagsOptions contains the optional parameters for the BastionHosts.BeginUpdateTags method.

type BastionHostsClient

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

BastionHostsClient contains the methods for the BastionHosts group. Don't use this type directly, use NewBastionHostsClient() instead.

func NewBastionHostsClient

func NewBastionHostsClient(con *arm.Connection, subscriptionID string) *BastionHostsClient

NewBastionHostsClient creates a new instance of BastionHostsClient with the specified values.

func (*BastionHostsClient) BeginCreateOrUpdate

func (client *BastionHostsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, bastionHostName string, parameters BastionHost, options *BastionHostsBeginCreateOrUpdateOptions) (BastionHostsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Bastion Host. If the operation fails it returns the *CloudError error type.

func (*BastionHostsClient) BeginDelete

func (client *BastionHostsClient) BeginDelete(ctx context.Context, resourceGroupName string, bastionHostName string, options *BastionHostsBeginDeleteOptions) (BastionHostsDeletePollerResponse, error)

BeginDelete - Deletes the specified Bastion Host. If the operation fails it returns the *CloudError error type.

func (*BastionHostsClient) BeginUpdateTags

func (client *BastionHostsClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, bastionHostName string, parameters TagsObject, options *BastionHostsBeginUpdateTagsOptions) (BastionHostsUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates Tags for BastionHost resource If the operation fails it returns the *CloudError error type.

func (*BastionHostsClient) Get

func (client *BastionHostsClient) Get(ctx context.Context, resourceGroupName string, bastionHostName string, options *BastionHostsGetOptions) (BastionHostsGetResponse, error)

Get - Gets the specified Bastion Host. If the operation fails it returns the *CloudError error type.

func (*BastionHostsClient) List

List - Lists all Bastion Hosts in a subscription. If the operation fails it returns the *CloudError error type.

func (*BastionHostsClient) ListByResourceGroup

func (client *BastionHostsClient) ListByResourceGroup(resourceGroupName string, options *BastionHostsListByResourceGroupOptions) *BastionHostsListByResourceGroupPager

ListByResourceGroup - Lists all Bastion Hosts in a resource group. If the operation fails it returns the *CloudError error type.

type BastionHostsCreateOrUpdatePoller

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

BastionHostsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*BastionHostsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*BastionHostsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final BastionHostsCreateOrUpdateResponse will be returned.

func (*BastionHostsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*BastionHostsCreateOrUpdatePoller) ResumeToken

func (p *BastionHostsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type BastionHostsCreateOrUpdatePollerResponse

type BastionHostsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *BastionHostsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsCreateOrUpdatePollerResponse contains the response from method BastionHosts.CreateOrUpdate.

func (BastionHostsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*BastionHostsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a BastionHostsCreateOrUpdatePollerResponse from the provided client and resume token.

type BastionHostsCreateOrUpdateResponse

type BastionHostsCreateOrUpdateResponse struct {
	BastionHostsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsCreateOrUpdateResponse contains the response from method BastionHosts.CreateOrUpdate.

type BastionHostsCreateOrUpdateResult

type BastionHostsCreateOrUpdateResult struct {
	BastionHost
}

BastionHostsCreateOrUpdateResult contains the result from method BastionHosts.CreateOrUpdate.

type BastionHostsDeletePoller

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

BastionHostsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*BastionHostsDeletePoller) Done

func (p *BastionHostsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*BastionHostsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final BastionHostsDeleteResponse will be returned.

func (*BastionHostsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*BastionHostsDeletePoller) ResumeToken

func (p *BastionHostsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type BastionHostsDeletePollerResponse

type BastionHostsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *BastionHostsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsDeletePollerResponse contains the response from method BastionHosts.Delete.

func (BastionHostsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*BastionHostsDeletePollerResponse) Resume

Resume rehydrates a BastionHostsDeletePollerResponse from the provided client and resume token.

type BastionHostsDeleteResponse

type BastionHostsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsDeleteResponse contains the response from method BastionHosts.Delete.

type BastionHostsGetOptions

type BastionHostsGetOptions struct {
}

BastionHostsGetOptions contains the optional parameters for the BastionHosts.Get method.

type BastionHostsGetResponse

type BastionHostsGetResponse struct {
	BastionHostsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsGetResponse contains the response from method BastionHosts.Get.

type BastionHostsGetResult

type BastionHostsGetResult struct {
	BastionHost
}

BastionHostsGetResult contains the result from method BastionHosts.Get.

type BastionHostsListByResourceGroupOptions

type BastionHostsListByResourceGroupOptions struct {
}

BastionHostsListByResourceGroupOptions contains the optional parameters for the BastionHosts.ListByResourceGroup method.

type BastionHostsListByResourceGroupPager

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

BastionHostsListByResourceGroupPager provides operations for iterating over paged responses.

func (*BastionHostsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*BastionHostsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*BastionHostsListByResourceGroupPager) PageResponse

PageResponse returns the current BastionHostsListByResourceGroupResponse page.

type BastionHostsListByResourceGroupResponse

type BastionHostsListByResourceGroupResponse struct {
	BastionHostsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsListByResourceGroupResponse contains the response from method BastionHosts.ListByResourceGroup.

type BastionHostsListByResourceGroupResult

type BastionHostsListByResourceGroupResult struct {
	BastionHostListResult
}

BastionHostsListByResourceGroupResult contains the result from method BastionHosts.ListByResourceGroup.

type BastionHostsListOptions

type BastionHostsListOptions struct {
}

BastionHostsListOptions contains the optional parameters for the BastionHosts.List method.

type BastionHostsListPager

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

BastionHostsListPager provides operations for iterating over paged responses.

func (*BastionHostsListPager) Err

func (p *BastionHostsListPager) Err() error

Err returns the last error encountered while paging.

func (*BastionHostsListPager) NextPage

func (p *BastionHostsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*BastionHostsListPager) PageResponse

PageResponse returns the current BastionHostsListResponse page.

type BastionHostsListResponse

type BastionHostsListResponse struct {
	BastionHostsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsListResponse contains the response from method BastionHosts.List.

type BastionHostsListResult

type BastionHostsListResult struct {
	BastionHostListResult
}

BastionHostsListResult contains the result from method BastionHosts.List.

type BastionHostsUpdateTagsPoller

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

BastionHostsUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*BastionHostsUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*BastionHostsUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final BastionHostsUpdateTagsResponse will be returned.

func (*BastionHostsUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*BastionHostsUpdateTagsPoller) ResumeToken

func (p *BastionHostsUpdateTagsPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type BastionHostsUpdateTagsPollerResponse

type BastionHostsUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *BastionHostsUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsUpdateTagsPollerResponse contains the response from method BastionHosts.UpdateTags.

func (BastionHostsUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*BastionHostsUpdateTagsPollerResponse) Resume

Resume rehydrates a BastionHostsUpdateTagsPollerResponse from the provided client and resume token.

type BastionHostsUpdateTagsResponse

type BastionHostsUpdateTagsResponse struct {
	BastionHostsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BastionHostsUpdateTagsResponse contains the response from method BastionHosts.UpdateTags.

type BastionHostsUpdateTagsResult

type BastionHostsUpdateTagsResult struct {
	BastionHost
}

BastionHostsUpdateTagsResult contains the result from method BastionHosts.UpdateTags.

type BastionSessionDeleteResult

type BastionSessionDeleteResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of sessions with their corresponding state.
	Value []*BastionSessionState `json:"value,omitempty"`
}

BastionSessionDeleteResult - Response for DisconnectActiveSessions.

func (BastionSessionDeleteResult) MarshalJSON

func (b BastionSessionDeleteResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BastionSessionDeleteResult.

type BastionSessionState

type BastionSessionState struct {
	// READ-ONLY; Used for extra information.
	Message *string `json:"message,omitempty" azure:"ro"`

	// READ-ONLY; A unique id for the session.
	SessionID *string `json:"sessionId,omitempty" azure:"ro"`

	// READ-ONLY; The state of the session. Disconnected/Failed/NotFound.
	State *string `json:"state,omitempty" azure:"ro"`
}

BastionSessionState - The session state detail for a target.

type BastionShareableLink struct {
	// REQUIRED; Reference of the virtual machine resource.
	VM *VM `json:"vm,omitempty"`

	// READ-ONLY; The unique Bastion Shareable Link to the virtual machine.
	Bsl *string `json:"bsl,omitempty" azure:"ro"`

	// READ-ONLY; The time when the link was created.
	CreatedAt *string `json:"createdAt,omitempty" azure:"ro"`

	// READ-ONLY; Optional field indicating the warning or error message related to the vm in case of partial failure.
	Message *string `json:"message,omitempty" azure:"ro"`
}

BastionShareableLink - Bastion Shareable Link.

type BastionShareableLinkListRequest

type BastionShareableLinkListRequest struct {
	// List of VM references.
	VMs []*BastionShareableLink `json:"vms,omitempty"`
}

BastionShareableLinkListRequest - Post request for all the Bastion Shareable Link endpoints.

func (BastionShareableLinkListRequest) MarshalJSON

func (b BastionShareableLinkListRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BastionShareableLinkListRequest.

type BastionShareableLinkListResult

type BastionShareableLinkListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Bastion Shareable Links for the request.
	Value []*BastionShareableLink `json:"value,omitempty"`
}

BastionShareableLinkListResult - Response for all the Bastion Shareable Link endpoints.

func (BastionShareableLinkListResult) MarshalJSON

func (b BastionShareableLinkListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BastionShareableLinkListResult.

type BgpConnection

type BgpConnection struct {
	SubResource
	// Name of the connection.
	Name *string `json:"name,omitempty"`

	// The properties of the Bgp connections.
	Properties *BgpConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Connection type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

BgpConnection - Virtual Appliance Site resource.

func (BgpConnection) MarshalJSON

func (b BgpConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BgpConnection.

type BgpConnectionProperties

type BgpConnectionProperties struct {
	// The reference to the HubVirtualNetworkConnection resource.
	HubVirtualNetworkConnection *SubResource `json:"hubVirtualNetworkConnection,omitempty"`

	// Peer ASN.
	PeerAsn *int64 `json:"peerAsn,omitempty"`

	// Peer IP.
	PeerIP *string `json:"peerIp,omitempty"`

	// READ-ONLY; The current state of the VirtualHub to Peer.
	ConnectionState *HubBgpConnectionStatus `json:"connectionState,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

BgpConnectionProperties - Properties of the bgp connection.

type BgpPeerState

type BgpPeerState string

BgpPeerState - The BGP peer state.

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

func PossibleBgpPeerStateValues

func PossibleBgpPeerStateValues() []BgpPeerState

PossibleBgpPeerStateValues returns the possible values for the BgpPeerState const type.

func (BgpPeerState) ToPtr

func (c BgpPeerState) ToPtr() *BgpPeerState

ToPtr returns a *BgpPeerState pointing to the current value.

type BgpPeerStatus

type BgpPeerStatus struct {
	// READ-ONLY; The autonomous system number of the remote BGP peer.
	Asn *int64 `json:"asn,omitempty" azure:"ro"`

	// READ-ONLY; For how long the peering has been up.
	ConnectedDuration *string `json:"connectedDuration,omitempty" azure:"ro"`

	// READ-ONLY; The virtual network gateway's local address.
	LocalAddress *string `json:"localAddress,omitempty" azure:"ro"`

	// READ-ONLY; The number of BGP messages received.
	MessagesReceived *int64 `json:"messagesReceived,omitempty" azure:"ro"`

	// READ-ONLY; The number of BGP messages sent.
	MessagesSent *int64 `json:"messagesSent,omitempty" azure:"ro"`

	// READ-ONLY; The remote BGP peer.
	Neighbor *string `json:"neighbor,omitempty" azure:"ro"`

	// READ-ONLY; The number of routes learned from this peer.
	RoutesReceived *int64 `json:"routesReceived,omitempty" azure:"ro"`

	// READ-ONLY; The BGP peer state.
	State *BgpPeerState `json:"state,omitempty" azure:"ro"`
}

BgpPeerStatus - BGP peer status details.

type BgpPeerStatusListResult

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

BgpPeerStatusListResult - Response for list BGP peer status API service call.

func (BgpPeerStatusListResult) MarshalJSON

func (b BgpPeerStatusListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BgpPeerStatusListResult.

type BgpServiceCommunitiesClient

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

BgpServiceCommunitiesClient contains the methods for the BgpServiceCommunities group. Don't use this type directly, use NewBgpServiceCommunitiesClient() instead.

func NewBgpServiceCommunitiesClient

func NewBgpServiceCommunitiesClient(con *arm.Connection, subscriptionID string) *BgpServiceCommunitiesClient

NewBgpServiceCommunitiesClient creates a new instance of BgpServiceCommunitiesClient with the specified values.

func (*BgpServiceCommunitiesClient) List

List - Gets all the available bgp service communities. If the operation fails it returns the *CloudError error type.

type BgpServiceCommunitiesListOptions

type BgpServiceCommunitiesListOptions struct {
}

BgpServiceCommunitiesListOptions contains the optional parameters for the BgpServiceCommunities.List method.

type BgpServiceCommunitiesListPager

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

BgpServiceCommunitiesListPager provides operations for iterating over paged responses.

func (*BgpServiceCommunitiesListPager) Err

Err returns the last error encountered while paging.

func (*BgpServiceCommunitiesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*BgpServiceCommunitiesListPager) PageResponse

PageResponse returns the current BgpServiceCommunitiesListResponse page.

type BgpServiceCommunitiesListResponse

type BgpServiceCommunitiesListResponse struct {
	BgpServiceCommunitiesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

BgpServiceCommunitiesListResponse contains the response from method BgpServiceCommunities.List.

type BgpServiceCommunitiesListResult

type BgpServiceCommunitiesListResult struct {
	BgpServiceCommunityListResult
}

BgpServiceCommunitiesListResult contains the result from method BgpServiceCommunities.List.

type BgpServiceCommunity

type BgpServiceCommunity struct {
	Resource
	// Properties of the BGP service community.
	Properties *BgpServiceCommunityPropertiesFormat `json:"properties,omitempty"`
}

BgpServiceCommunity - Service Community Properties.

func (BgpServiceCommunity) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type BgpServiceCommunity.

type BgpServiceCommunityListResult

type BgpServiceCommunityListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of service community resources.
	Value []*BgpServiceCommunity `json:"value,omitempty"`
}

BgpServiceCommunityListResult - Response for the ListServiceCommunity API service call.

func (BgpServiceCommunityListResult) MarshalJSON

func (b BgpServiceCommunityListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BgpServiceCommunityListResult.

type BgpServiceCommunityPropertiesFormat

type BgpServiceCommunityPropertiesFormat struct {
	// A list of bgp communities.
	BgpCommunities []*BGPCommunity `json:"bgpCommunities,omitempty"`

	// The name of the bgp community. e.g. Skype.
	ServiceName *string `json:"serviceName,omitempty"`
}

BgpServiceCommunityPropertiesFormat - Properties of Service Community.

func (BgpServiceCommunityPropertiesFormat) MarshalJSON

func (b BgpServiceCommunityPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BgpServiceCommunityPropertiesFormat.

type BgpSettings

type BgpSettings struct {
	// The BGP speaker's ASN.
	Asn *int64 `json:"asn,omitempty"`

	// The BGP peering address and BGP identifier of this BGP speaker.
	BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"`

	// BGP peering address with IP configuration ID for virtual network gateway.
	BgpPeeringAddresses []*IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"`

	// The weight added to routes learned from this BGP speaker.
	PeerWeight *int32 `json:"peerWeight,omitempty"`
}

BgpSettings - BGP settings details.

func (BgpSettings) MarshalJSON

func (b BgpSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BgpSettings.

type BreakOutCategoryPolicies

type BreakOutCategoryPolicies struct {
	// Flag to control breakout of o365 allow category.
	Allow *bool `json:"allow,omitempty"`

	// Flag to control breakout of o365 default category.
	Default *bool `json:"default,omitempty"`

	// Flag to control breakout of o365 optimize category.
	Optimize *bool `json:"optimize,omitempty"`
}

BreakOutCategoryPolicies - Network Virtual Appliance Sku Properties.

type CheckPrivateLinkServiceVisibilityRequest

type CheckPrivateLinkServiceVisibilityRequest struct {
	// 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 - Express Route Circuit connection state.

const (
	CircuitConnectionStatusConnected    CircuitConnectionStatus = "Connected"
	CircuitConnectionStatusConnecting   CircuitConnectionStatus = "Connecting"
	CircuitConnectionStatusDisconnected CircuitConnectionStatus = "Disconnected"
)

func PossibleCircuitConnectionStatusValues

func PossibleCircuitConnectionStatusValues() []CircuitConnectionStatus

PossibleCircuitConnectionStatusValues returns the possible values for the CircuitConnectionStatus const type.

func (CircuitConnectionStatus) ToPtr

ToPtr returns a *CircuitConnectionStatus pointing to the current value.

type CloudError

type CloudError struct {

	// Cloud error body.
	InnerError *CloudErrorBody `json:"error,omitempty"`
	// contains filtered or unexported fields
}

CloudError - An error response from the service. Implements the error and azcore.HTTPResponse interfaces.

func (CloudError) Error

func (e CloudError) Error() string

Error implements the error interface for type CloudError. The contents of the error text are not contractual and subject to change.

type CloudErrorBody

type CloudErrorBody struct {
	// An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`

	// A list of additional details about the error.
	Details []*CloudErrorBody `json:"details,omitempty"`

	// A message describing the error, intended to be suitable for display in a user interface.
	Message *string `json:"message,omitempty"`

	// The target of the particular error. For example, the name of the property in error.
	Target *string `json:"target,omitempty"`
}

CloudErrorBody - An error response from the service.

func (CloudErrorBody) MarshalJSON

func (c CloudErrorBody) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CloudErrorBody.

type CommissionedState

type CommissionedState string

CommissionedState - The commissioned state of the Custom IP Prefix.

const (
	CommissionedStateCommissioned    CommissionedState = "Commissioned"
	CommissionedStateCommissioning   CommissionedState = "Commissioning"
	CommissionedStateDecommissioning CommissionedState = "Decommissioning"
	CommissionedStateDeprovisioning  CommissionedState = "Deprovisioning"
	CommissionedStateProvisioned     CommissionedState = "Provisioned"
	CommissionedStateProvisioning    CommissionedState = "Provisioning"
)

func PossibleCommissionedStateValues

func PossibleCommissionedStateValues() []CommissionedState

PossibleCommissionedStateValues returns the possible values for the CommissionedState const type.

func (CommissionedState) ToPtr

ToPtr returns a *CommissionedState pointing to the current value.

type Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties

type Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties struct {
	// READ-ONLY; The client id of user assigned identity.
	ClientID *string `json:"clientId,omitempty" azure:"ro"`

	// READ-ONLY; The principal id of user assigned identity.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`
}

type ConnectionMonitor

type ConnectionMonitor struct {
	// REQUIRED; Properties of the connection monitor.
	Properties *ConnectionMonitorParameters `json:"properties,omitempty"`

	// Connection monitor location.
	Location *string `json:"location,omitempty"`

	// Connection monitor tags.
	Tags map[string]*string `json:"tags,omitempty"`
}

ConnectionMonitor - Parameters that define the operation to create a connection monitor.

func (ConnectionMonitor) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitor.

type ConnectionMonitorDestination

type ConnectionMonitorDestination struct {
	// Address of the connection monitor destination (IP or domain name).
	Address *string `json:"address,omitempty"`

	// The destination port used by connection monitor.
	Port *int32 `json:"port,omitempty"`

	// The ID of the resource used as the destination by connection monitor.
	ResourceID *string `json:"resourceId,omitempty"`
}

ConnectionMonitorDestination - Describes the destination of connection monitor.

type ConnectionMonitorEndpoint

type ConnectionMonitorEndpoint struct {
	// REQUIRED; The name of the connection monitor endpoint.
	Name *string `json:"name,omitempty"`

	// Address of the connection monitor endpoint (IP or domain name).
	Address *string `json:"address,omitempty"`

	// Test coverage for the endpoint.
	CoverageLevel *CoverageLevel `json:"coverageLevel,omitempty"`

	// Filter for sub-items within the endpoint.
	Filter *ConnectionMonitorEndpointFilter `json:"filter,omitempty"`

	// Resource ID of the connection monitor endpoint.
	ResourceID *string `json:"resourceId,omitempty"`

	// Endpoint scope.
	Scope *ConnectionMonitorEndpointScope `json:"scope,omitempty"`

	// The endpoint type.
	Type *EndpointType `json:"type,omitempty"`
}

ConnectionMonitorEndpoint - Describes the connection monitor endpoint.

type ConnectionMonitorEndpointFilter

type ConnectionMonitorEndpointFilter struct {
	// List of items in the filter.
	Items []*ConnectionMonitorEndpointFilterItem `json:"items,omitempty"`

	// The behavior of the endpoint filter. Currently only 'Include' is supported.
	Type *ConnectionMonitorEndpointFilterType `json:"type,omitempty"`
}

ConnectionMonitorEndpointFilter - Describes the connection monitor endpoint filter.

func (ConnectionMonitorEndpointFilter) MarshalJSON

func (c ConnectionMonitorEndpointFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorEndpointFilter.

type ConnectionMonitorEndpointFilterItem

type ConnectionMonitorEndpointFilterItem struct {
	// The address of the filter item.
	Address *string `json:"address,omitempty"`

	// The type of item included in the filter. Currently only 'AgentAddress' is supported.
	Type *ConnectionMonitorEndpointFilterItemType `json:"type,omitempty"`
}

ConnectionMonitorEndpointFilterItem - Describes the connection monitor endpoint filter item.

type ConnectionMonitorEndpointFilterItemType

type ConnectionMonitorEndpointFilterItemType string

ConnectionMonitorEndpointFilterItemType - The type of item included in the filter. Currently only 'AgentAddress' is supported.

const (
	ConnectionMonitorEndpointFilterItemTypeAgentAddress ConnectionMonitorEndpointFilterItemType = "AgentAddress"
)

func PossibleConnectionMonitorEndpointFilterItemTypeValues

func PossibleConnectionMonitorEndpointFilterItemTypeValues() []ConnectionMonitorEndpointFilterItemType

PossibleConnectionMonitorEndpointFilterItemTypeValues returns the possible values for the ConnectionMonitorEndpointFilterItemType const type.

func (ConnectionMonitorEndpointFilterItemType) ToPtr

ToPtr returns a *ConnectionMonitorEndpointFilterItemType pointing to the current value.

type ConnectionMonitorEndpointFilterType

type ConnectionMonitorEndpointFilterType string

ConnectionMonitorEndpointFilterType - The behavior of the endpoint filter. Currently only 'Include' is supported.

const (
	ConnectionMonitorEndpointFilterTypeInclude ConnectionMonitorEndpointFilterType = "Include"
)

func PossibleConnectionMonitorEndpointFilterTypeValues

func PossibleConnectionMonitorEndpointFilterTypeValues() []ConnectionMonitorEndpointFilterType

PossibleConnectionMonitorEndpointFilterTypeValues returns the possible values for the ConnectionMonitorEndpointFilterType const type.

func (ConnectionMonitorEndpointFilterType) ToPtr

ToPtr returns a *ConnectionMonitorEndpointFilterType pointing to the current value.

type ConnectionMonitorEndpointScope

type ConnectionMonitorEndpointScope struct {
	// List of items which needs to be excluded from the endpoint scope.
	Exclude []*ConnectionMonitorEndpointScopeItem `json:"exclude,omitempty"`

	// List of items which needs to be included to the endpoint scope.
	Include []*ConnectionMonitorEndpointScopeItem `json:"include,omitempty"`
}

ConnectionMonitorEndpointScope - Describes the connection monitor endpoint scope.

func (ConnectionMonitorEndpointScope) MarshalJSON

func (c ConnectionMonitorEndpointScope) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorEndpointScope.

type ConnectionMonitorEndpointScopeItem

type ConnectionMonitorEndpointScopeItem struct {
	// 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 {
	// The HTTP method to use.
	Method *HTTPConfigurationMethod `json:"method,omitempty"`

	// The path component of the URI. For instance, "/dir1/dir2".
	Path *string `json:"path,omitempty"`

	// The port to connect to.
	Port *int32 `json:"port,omitempty"`

	// Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
	PreferHTTPS *bool `json:"preferHTTPS,omitempty"`

	// The HTTP headers to transmit with the request.
	RequestHeaders []*HTTPHeader `json:"requestHeaders,omitempty"`

	// HTTP status codes to consider successful. For instance, "2xx,301-304,418".
	ValidStatusCodeRanges []*string `json:"validStatusCodeRanges,omitempty"`
}

ConnectionMonitorHTTPConfiguration - Describes the HTTP configuration.

func (ConnectionMonitorHTTPConfiguration) MarshalJSON

func (c ConnectionMonitorHTTPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorHTTPConfiguration.

type ConnectionMonitorIcmpConfiguration

type ConnectionMonitorIcmpConfiguration struct {
	// 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 {
	// Information about connection monitors.
	Value []*ConnectionMonitorResult `json:"value,omitempty"`
}

ConnectionMonitorListResult - List of connection monitors.

func (ConnectionMonitorListResult) MarshalJSON

func (c ConnectionMonitorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorListResult.

type ConnectionMonitorOutput

type ConnectionMonitorOutput struct {
	// Connection monitor output destination type. Currently, only "Workspace" is supported.
	Type *OutputType `json:"type,omitempty"`

	// 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 {
	// Determines if the connection monitor will start automatically once created.
	AutoStart *bool `json:"autoStart,omitempty"`

	// Describes the destination of connection monitor.
	Destination *ConnectionMonitorDestination `json:"destination,omitempty"`

	// List of connection monitor endpoints.
	Endpoints []*ConnectionMonitorEndpoint `json:"endpoints,omitempty"`

	// Monitoring interval in seconds.
	MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"`

	// Optional notes to be associated with the connection monitor.
	Notes *string `json:"notes,omitempty"`

	// List of connection monitor outputs.
	Outputs []*ConnectionMonitorOutput `json:"outputs,omitempty"`

	// Describes the source of connection monitor.
	Source *ConnectionMonitorSource `json:"source,omitempty"`

	// List of connection monitor test configurations.
	TestConfigurations []*ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"`

	// List of connection monitor test groups.
	TestGroups []*ConnectionMonitorTestGroup `json:"testGroups,omitempty"`
}

ConnectionMonitorParameters - Parameters that define the operation to create a connection monitor.

func (ConnectionMonitorParameters) MarshalJSON

func (c ConnectionMonitorParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorParameters.

func (*ConnectionMonitorParameters) UnmarshalJSON

func (c *ConnectionMonitorParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ConnectionMonitorParameters.

type ConnectionMonitorQueryResult

type ConnectionMonitorQueryResult struct {
	// Status of connection monitor source.
	SourceStatus *ConnectionMonitorSourceStatus `json:"sourceStatus,omitempty"`

	// Information about connection states.
	States []*ConnectionStateSnapshot `json:"states,omitempty"`
}

ConnectionMonitorQueryResult - List of connection states snapshots.

func (ConnectionMonitorQueryResult) MarshalJSON

func (c ConnectionMonitorQueryResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorQueryResult.

type ConnectionMonitorResult

type ConnectionMonitorResult struct {
	// Connection monitor location.
	Location *string `json:"location,omitempty"`

	// Properties of the connection monitor result.
	Properties *ConnectionMonitorResultProperties `json:"properties,omitempty"`

	// Connection monitor tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; ID of the connection monitor.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Name of the connection monitor.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Connection monitor type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ConnectionMonitorResult - Information about the connection monitor.

func (ConnectionMonitorResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorResult.

type ConnectionMonitorResultProperties

type ConnectionMonitorResultProperties struct {
	ConnectionMonitorParameters
	// READ-ONLY; Type of connection monitor.
	ConnectionMonitorType *ConnectionMonitorType `json:"connectionMonitorType,omitempty" azure:"ro"`

	// READ-ONLY; The monitoring status of the connection monitor.
	MonitoringStatus *string `json:"monitoringStatus,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the connection monitor.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The date and time when the connection monitor was started.
	StartTime *time.Time `json:"startTime,omitempty" azure:"ro"`
}

ConnectionMonitorResultProperties - Describes the properties of a connection monitor.

func (ConnectionMonitorResultProperties) MarshalJSON

func (c ConnectionMonitorResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorResultProperties.

func (*ConnectionMonitorResultProperties) UnmarshalJSON

func (c *ConnectionMonitorResultProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ConnectionMonitorResultProperties.

type ConnectionMonitorSource

type ConnectionMonitorSource struct {
	// REQUIRED; The ID of the resource used as the source by connection monitor.
	ResourceID *string `json:"resourceId,omitempty"`

	// 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 - Status of connection monitor source.

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

func PossibleConnectionMonitorSourceStatusValues

func PossibleConnectionMonitorSourceStatusValues() []ConnectionMonitorSourceStatus

PossibleConnectionMonitorSourceStatusValues returns the possible values for the ConnectionMonitorSourceStatus const type.

func (ConnectionMonitorSourceStatus) ToPtr

ToPtr returns a *ConnectionMonitorSourceStatus pointing to the current value.

type ConnectionMonitorSuccessThreshold

type ConnectionMonitorSuccessThreshold struct {
	// The maximum percentage of failed checks permitted for a test to evaluate as successful.
	ChecksFailedPercent *int32 `json:"checksFailedPercent,omitempty"`

	// The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
	RoundTripTimeMs *float32 `json:"roundTripTimeMs,omitempty"`
}

ConnectionMonitorSuccessThreshold - Describes the threshold for declaring a test successful.

type ConnectionMonitorTCPConfiguration

type ConnectionMonitorTCPConfiguration struct {
	// Destination port behavior.
	DestinationPortBehavior *DestinationPortBehavior `json:"destinationPortBehavior,omitempty"`

	// Value indicating whether path evaluation with trace route should be disabled.
	DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"`

	// The port to connect to.
	Port *int32 `json:"port,omitempty"`
}

ConnectionMonitorTCPConfiguration - Describes the TCP configuration.

type ConnectionMonitorTestConfiguration

type ConnectionMonitorTestConfiguration struct {
	// REQUIRED; The name of the connection monitor test configuration.
	Name *string `json:"name,omitempty"`

	// REQUIRED; The protocol to use in test evaluation.
	Protocol *ConnectionMonitorTestConfigurationProtocol `json:"protocol,omitempty"`

	// The parameters used to perform test evaluation over HTTP.
	HTTPConfiguration *ConnectionMonitorHTTPConfiguration `json:"httpConfiguration,omitempty"`

	// The parameters used to perform test evaluation over ICMP.
	IcmpConfiguration *ConnectionMonitorIcmpConfiguration `json:"icmpConfiguration,omitempty"`

	// The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
	PreferredIPVersion *PreferredIPVersion `json:"preferredIPVersion,omitempty"`

	// The threshold for declaring a test successful.
	SuccessThreshold *ConnectionMonitorSuccessThreshold `json:"successThreshold,omitempty"`

	// The parameters used to perform test evaluation over TCP.
	TCPConfiguration *ConnectionMonitorTCPConfiguration `json:"tcpConfiguration,omitempty"`

	// The frequency of test evaluation, in seconds.
	TestFrequencySec *int32 `json:"testFrequencySec,omitempty"`
}

ConnectionMonitorTestConfiguration - Describes a connection monitor test configuration.

type ConnectionMonitorTestConfigurationProtocol

type ConnectionMonitorTestConfigurationProtocol string

ConnectionMonitorTestConfigurationProtocol - The protocol to use in test evaluation.

const (
	ConnectionMonitorTestConfigurationProtocolHTTP ConnectionMonitorTestConfigurationProtocol = "Http"
	ConnectionMonitorTestConfigurationProtocolIcmp ConnectionMonitorTestConfigurationProtocol = "Icmp"
	ConnectionMonitorTestConfigurationProtocolTCP  ConnectionMonitorTestConfigurationProtocol = "Tcp"
)

func PossibleConnectionMonitorTestConfigurationProtocolValues

func PossibleConnectionMonitorTestConfigurationProtocolValues() []ConnectionMonitorTestConfigurationProtocol

PossibleConnectionMonitorTestConfigurationProtocolValues returns the possible values for the ConnectionMonitorTestConfigurationProtocol const type.

func (ConnectionMonitorTestConfigurationProtocol) ToPtr

ToPtr returns a *ConnectionMonitorTestConfigurationProtocol pointing to the current value.

type ConnectionMonitorTestGroup

type ConnectionMonitorTestGroup struct {
	// REQUIRED; List of destination endpoint names.
	Destinations []*string `json:"destinations,omitempty"`

	// REQUIRED; The name of the connection monitor test group.
	Name *string `json:"name,omitempty"`

	// REQUIRED; List of source endpoint names.
	Sources []*string `json:"sources,omitempty"`

	// REQUIRED; List of test configuration names.
	TestConfigurations []*string `json:"testConfigurations,omitempty"`

	// Value indicating whether test group is disabled.
	Disable *bool `json:"disable,omitempty"`
}

ConnectionMonitorTestGroup - Describes the connection monitor test group.

func (ConnectionMonitorTestGroup) MarshalJSON

func (c ConnectionMonitorTestGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionMonitorTestGroup.

type ConnectionMonitorType

type ConnectionMonitorType string

ConnectionMonitorType - Type of connection monitor.

const (
	ConnectionMonitorTypeMultiEndpoint           ConnectionMonitorType = "MultiEndpoint"
	ConnectionMonitorTypeSingleSourceDestination ConnectionMonitorType = "SingleSourceDestination"
)

func PossibleConnectionMonitorTypeValues

func PossibleConnectionMonitorTypeValues() []ConnectionMonitorType

PossibleConnectionMonitorTypeValues returns the possible values for the ConnectionMonitorType const type.

func (ConnectionMonitorType) ToPtr

ToPtr returns a *ConnectionMonitorType pointing to the current value.

type ConnectionMonitorWorkspaceSettings

type ConnectionMonitorWorkspaceSettings struct {
	// Log analytics workspace resource ID.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
}

ConnectionMonitorWorkspaceSettings - Describes the settings for producing output into a log analytics workspace.

type ConnectionMonitorsBeginCreateOrUpdateOptions

type ConnectionMonitorsBeginCreateOrUpdateOptions struct {
	// Value indicating whether connection monitor V1 should be migrated to V2 format.
	Migrate *string
}

ConnectionMonitorsBeginCreateOrUpdateOptions contains the optional parameters for the ConnectionMonitors.BeginCreateOrUpdate method.

type ConnectionMonitorsBeginDeleteOptions

type ConnectionMonitorsBeginDeleteOptions struct {
}

ConnectionMonitorsBeginDeleteOptions contains the optional parameters for the ConnectionMonitors.BeginDelete method.

type ConnectionMonitorsBeginQueryOptions

type ConnectionMonitorsBeginQueryOptions struct {
}

ConnectionMonitorsBeginQueryOptions contains the optional parameters for the ConnectionMonitors.BeginQuery method.

type ConnectionMonitorsBeginStartOptions

type ConnectionMonitorsBeginStartOptions struct {
}

ConnectionMonitorsBeginStartOptions contains the optional parameters for the ConnectionMonitors.BeginStart method.

type ConnectionMonitorsBeginStopOptions

type ConnectionMonitorsBeginStopOptions struct {
}

ConnectionMonitorsBeginStopOptions contains the optional parameters for the ConnectionMonitors.BeginStop method.

type ConnectionMonitorsClient

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

ConnectionMonitorsClient contains the methods for the ConnectionMonitors group. Don't use this type directly, use NewConnectionMonitorsClient() instead.

func NewConnectionMonitorsClient

func NewConnectionMonitorsClient(con *arm.Connection, subscriptionID string) *ConnectionMonitorsClient

NewConnectionMonitorsClient creates a new instance of ConnectionMonitorsClient with the specified values.

func (*ConnectionMonitorsClient) BeginCreateOrUpdate

func (client *ConnectionMonitorsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor, options *ConnectionMonitorsBeginCreateOrUpdateOptions) (ConnectionMonitorsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Create or update a connection monitor. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) BeginDelete

func (client *ConnectionMonitorsClient) BeginDelete(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, options *ConnectionMonitorsBeginDeleteOptions) (ConnectionMonitorsDeletePollerResponse, error)

BeginDelete - Deletes the specified connection monitor. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) BeginQuery

func (client *ConnectionMonitorsClient) BeginQuery(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, options *ConnectionMonitorsBeginQueryOptions) (ConnectionMonitorsQueryPollerResponse, error)

BeginQuery - Query a snapshot of the most recent connection states. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) BeginStart

func (client *ConnectionMonitorsClient) BeginStart(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, options *ConnectionMonitorsBeginStartOptions) (ConnectionMonitorsStartPollerResponse, error)

BeginStart - Starts the specified connection monitor. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) BeginStop

func (client *ConnectionMonitorsClient) BeginStop(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, options *ConnectionMonitorsBeginStopOptions) (ConnectionMonitorsStopPollerResponse, error)

BeginStop - Stops the specified connection monitor. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) Get

func (client *ConnectionMonitorsClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, options *ConnectionMonitorsGetOptions) (ConnectionMonitorsGetResponse, error)

Get - Gets a connection monitor by name. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) List

func (client *ConnectionMonitorsClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string, options *ConnectionMonitorsListOptions) (ConnectionMonitorsListResponse, error)

List - Lists all connection monitors for the specified Network Watcher. If the operation fails it returns the *ErrorResponse error type.

func (*ConnectionMonitorsClient) UpdateTags

func (client *ConnectionMonitorsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject, options *ConnectionMonitorsUpdateTagsOptions) (ConnectionMonitorsUpdateTagsResponse, error)

UpdateTags - Update tags of the specified connection monitor. If the operation fails it returns the *ErrorResponse error type.

type ConnectionMonitorsCreateOrUpdatePoller

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

ConnectionMonitorsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ConnectionMonitorsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ConnectionMonitorsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectionMonitorsCreateOrUpdateResponse will be returned.

func (*ConnectionMonitorsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ConnectionMonitorsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ConnectionMonitorsCreateOrUpdatePollerResponse

type ConnectionMonitorsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ConnectionMonitorsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsCreateOrUpdatePollerResponse contains the response from method ConnectionMonitors.CreateOrUpdate.

func (ConnectionMonitorsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ConnectionMonitorsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ConnectionMonitorsCreateOrUpdatePollerResponse from the provided client and resume token.

type ConnectionMonitorsCreateOrUpdateResponse

type ConnectionMonitorsCreateOrUpdateResponse struct {
	ConnectionMonitorsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsCreateOrUpdateResponse contains the response from method ConnectionMonitors.CreateOrUpdate.

type ConnectionMonitorsCreateOrUpdateResult

type ConnectionMonitorsCreateOrUpdateResult struct {
	ConnectionMonitorResult
}

ConnectionMonitorsCreateOrUpdateResult contains the result from method ConnectionMonitors.CreateOrUpdate.

type ConnectionMonitorsDeletePoller

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

ConnectionMonitorsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ConnectionMonitorsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ConnectionMonitorsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectionMonitorsDeleteResponse will be returned.

func (*ConnectionMonitorsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ConnectionMonitorsDeletePoller) ResumeToken

func (p *ConnectionMonitorsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ConnectionMonitorsDeletePollerResponse

type ConnectionMonitorsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ConnectionMonitorsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsDeletePollerResponse contains the response from method ConnectionMonitors.Delete.

func (ConnectionMonitorsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ConnectionMonitorsDeletePollerResponse) Resume

Resume rehydrates a ConnectionMonitorsDeletePollerResponse from the provided client and resume token.

type ConnectionMonitorsDeleteResponse

type ConnectionMonitorsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsDeleteResponse contains the response from method ConnectionMonitors.Delete.

type ConnectionMonitorsGetOptions

type ConnectionMonitorsGetOptions struct {
}

ConnectionMonitorsGetOptions contains the optional parameters for the ConnectionMonitors.Get method.

type ConnectionMonitorsGetResponse

type ConnectionMonitorsGetResponse struct {
	ConnectionMonitorsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsGetResponse contains the response from method ConnectionMonitors.Get.

type ConnectionMonitorsGetResult

type ConnectionMonitorsGetResult struct {
	ConnectionMonitorResult
}

ConnectionMonitorsGetResult contains the result from method ConnectionMonitors.Get.

type ConnectionMonitorsListOptions

type ConnectionMonitorsListOptions struct {
}

ConnectionMonitorsListOptions contains the optional parameters for the ConnectionMonitors.List method.

type ConnectionMonitorsListResponse

type ConnectionMonitorsListResponse struct {
	ConnectionMonitorsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsListResponse contains the response from method ConnectionMonitors.List.

type ConnectionMonitorsListResult

type ConnectionMonitorsListResult struct {
	ConnectionMonitorListResult
}

ConnectionMonitorsListResult contains the result from method ConnectionMonitors.List.

type ConnectionMonitorsQueryPoller

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

ConnectionMonitorsQueryPoller provides polling facilities until the operation reaches a terminal state.

func (*ConnectionMonitorsQueryPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ConnectionMonitorsQueryPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectionMonitorsQueryResponse will be returned.

func (*ConnectionMonitorsQueryPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ConnectionMonitorsQueryPoller) ResumeToken

func (p *ConnectionMonitorsQueryPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ConnectionMonitorsQueryPollerResponse

type ConnectionMonitorsQueryPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ConnectionMonitorsQueryPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsQueryPollerResponse contains the response from method ConnectionMonitors.Query.

func (ConnectionMonitorsQueryPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ConnectionMonitorsQueryPollerResponse) Resume

Resume rehydrates a ConnectionMonitorsQueryPollerResponse from the provided client and resume token.

type ConnectionMonitorsQueryResponse

type ConnectionMonitorsQueryResponse struct {
	ConnectionMonitorsQueryResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsQueryResponse contains the response from method ConnectionMonitors.Query.

type ConnectionMonitorsQueryResult

type ConnectionMonitorsQueryResult struct {
	ConnectionMonitorQueryResult
}

ConnectionMonitorsQueryResult contains the result from method ConnectionMonitors.Query.

type ConnectionMonitorsStartPoller

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

ConnectionMonitorsStartPoller provides polling facilities until the operation reaches a terminal state.

func (*ConnectionMonitorsStartPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ConnectionMonitorsStartPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectionMonitorsStartResponse will be returned.

func (*ConnectionMonitorsStartPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ConnectionMonitorsStartPoller) ResumeToken

func (p *ConnectionMonitorsStartPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ConnectionMonitorsStartPollerResponse

type ConnectionMonitorsStartPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ConnectionMonitorsStartPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsStartPollerResponse contains the response from method ConnectionMonitors.Start.

func (ConnectionMonitorsStartPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ConnectionMonitorsStartPollerResponse) Resume

Resume rehydrates a ConnectionMonitorsStartPollerResponse from the provided client and resume token.

type ConnectionMonitorsStartResponse

type ConnectionMonitorsStartResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsStartResponse contains the response from method ConnectionMonitors.Start.

type ConnectionMonitorsStopPoller

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

ConnectionMonitorsStopPoller provides polling facilities until the operation reaches a terminal state.

func (*ConnectionMonitorsStopPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ConnectionMonitorsStopPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectionMonitorsStopResponse will be returned.

func (*ConnectionMonitorsStopPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ConnectionMonitorsStopPoller) ResumeToken

func (p *ConnectionMonitorsStopPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ConnectionMonitorsStopPollerResponse

type ConnectionMonitorsStopPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ConnectionMonitorsStopPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsStopPollerResponse contains the response from method ConnectionMonitors.Stop.

func (ConnectionMonitorsStopPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ConnectionMonitorsStopPollerResponse) Resume

Resume rehydrates a ConnectionMonitorsStopPollerResponse from the provided client and resume token.

type ConnectionMonitorsStopResponse

type ConnectionMonitorsStopResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsStopResponse contains the response from method ConnectionMonitors.Stop.

type ConnectionMonitorsUpdateTagsOptions

type ConnectionMonitorsUpdateTagsOptions struct {
}

ConnectionMonitorsUpdateTagsOptions contains the optional parameters for the ConnectionMonitors.UpdateTags method.

type ConnectionMonitorsUpdateTagsResponse

type ConnectionMonitorsUpdateTagsResponse struct {
	ConnectionMonitorsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ConnectionMonitorsUpdateTagsResponse contains the response from method ConnectionMonitors.UpdateTags.

type ConnectionMonitorsUpdateTagsResult

type ConnectionMonitorsUpdateTagsResult struct {
	ConnectionMonitorResult
}

ConnectionMonitorsUpdateTagsResult contains the result from method ConnectionMonitors.UpdateTags.

type ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	// REQUIRED; 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 {
	SubResource
	// REQUIRED; The virtual network connection shared key value.
	Value *string `json:"value,omitempty"`
}

ConnectionSharedKey - Response for GetConnectionSharedKey API service call.

func (ConnectionSharedKey) MarshalJSON

func (c ConnectionSharedKey) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionSharedKey.

type ConnectionState

type ConnectionState string

ConnectionState - The connection state.

const (
	ConnectionStateReachable   ConnectionState = "Reachable"
	ConnectionStateUnknown     ConnectionState = "Unknown"
	ConnectionStateUnreachable ConnectionState = "Unreachable"
)

func PossibleConnectionStateValues

func PossibleConnectionStateValues() []ConnectionState

PossibleConnectionStateValues returns the possible values for the ConnectionState const type.

func (ConnectionState) ToPtr

func (c ConnectionState) ToPtr() *ConnectionState

ToPtr returns a *ConnectionState pointing to the current value.

type ConnectionStateSnapshot

type ConnectionStateSnapshot struct {
	// Average latency in ms.
	AvgLatencyInMs *int64 `json:"avgLatencyInMs,omitempty"`

	// The connection state.
	ConnectionState *ConnectionState `json:"connectionState,omitempty"`

	// The end time of the connection snapshot.
	EndTime *time.Time `json:"endTime,omitempty"`

	// Connectivity analysis evaluation state.
	EvaluationState *EvaluationState `json:"evaluationState,omitempty"`

	// Maximum latency in ms.
	MaxLatencyInMs *int64 `json:"maxLatencyInMs,omitempty"`

	// Minimum latency in ms.
	MinLatencyInMs *int64 `json:"minLatencyInMs,omitempty"`

	// The number of failed probes.
	ProbesFailed *int64 `json:"probesFailed,omitempty"`

	// The number of sent probes.
	ProbesSent *int64 `json:"probesSent,omitempty"`

	// The start time of the connection snapshot.
	StartTime *time.Time `json:"startTime,omitempty"`

	// READ-ONLY; List of hops between the source and the destination.
	Hops []*ConnectivityHop `json:"hops,omitempty" azure:"ro"`
}

ConnectionStateSnapshot - Connection state snapshot.

func (ConnectionStateSnapshot) MarshalJSON

func (c ConnectionStateSnapshot) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ConnectionStateSnapshot.

func (*ConnectionStateSnapshot) UnmarshalJSON

func (c *ConnectionStateSnapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ConnectionStateSnapshot.

type ConnectionStatus

type ConnectionStatus string

ConnectionStatus - The connection status.

const (
	ConnectionStatusConnected    ConnectionStatus = "Connected"
	ConnectionStatusDegraded     ConnectionStatus = "Degraded"
	ConnectionStatusDisconnected ConnectionStatus = "Disconnected"
	ConnectionStatusUnknown      ConnectionStatus = "Unknown"
)

func PossibleConnectionStatusValues

func PossibleConnectionStatusValues() []ConnectionStatus

PossibleConnectionStatusValues returns the possible values for the ConnectionStatus const type.

func (ConnectionStatus) ToPtr

ToPtr returns a *ConnectionStatus pointing to the current value.

type ConnectivityDestination

type ConnectivityDestination struct {
	// The IP address or URI the resource to which a connection attempt will be made.
	Address *string `json:"address,omitempty"`

	// Port on which check connectivity will be performed.
	Port *int32 `json:"port,omitempty"`

	// The ID of the resource to which a connection attempt will be made.
	ResourceID *string `json:"resourceId,omitempty"`
}

ConnectivityDestination - Parameters that define destination of connection.

type ConnectivityHop

type ConnectivityHop struct {
	// READ-ONLY; The IP address of the hop.
	Address *string `json:"address,omitempty" azure:"ro"`

	// READ-ONLY; The ID of the hop.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; List of issues.
	Issues []*ConnectivityIssue `json:"issues,omitempty" azure:"ro"`

	// READ-ONLY; List of hop links.
	Links []*HopLink `json:"links,omitempty" azure:"ro"`

	// READ-ONLY; List of next hop identifiers.
	NextHopIDs []*string `json:"nextHopIds,omitempty" azure:"ro"`

	// READ-ONLY; List of previous hop identifiers.
	PreviousHopIDs []*string `json:"previousHopIds,omitempty" azure:"ro"`

	// READ-ONLY; List of previous hop links.
	PreviousLinks []*HopLink `json:"previousLinks,omitempty" azure:"ro"`

	// READ-ONLY; The ID of the resource corresponding to this hop.
	ResourceID *string `json:"resourceId,omitempty" azure:"ro"`

	// READ-ONLY; The type of the hop.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ConnectivityHop - Information about a hop between the source and the destination.

func (ConnectivityHop) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectivityHop.

type ConnectivityInformation

type ConnectivityInformation struct {
	// READ-ONLY; Average latency in milliseconds.
	AvgLatencyInMs *int32 `json:"avgLatencyInMs,omitempty" azure:"ro"`

	// READ-ONLY; The connection status.
	ConnectionStatus *ConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; List of hops between the source and the destination.
	Hops []*ConnectivityHop `json:"hops,omitempty" azure:"ro"`

	// READ-ONLY; Maximum latency in milliseconds.
	MaxLatencyInMs *int32 `json:"maxLatencyInMs,omitempty" azure:"ro"`

	// READ-ONLY; Minimum latency in milliseconds.
	MinLatencyInMs *int32 `json:"minLatencyInMs,omitempty" azure:"ro"`

	// READ-ONLY; Number of failed probes.
	ProbesFailed *int32 `json:"probesFailed,omitempty" azure:"ro"`

	// READ-ONLY; Total number of probes sent.
	ProbesSent *int32 `json:"probesSent,omitempty" azure:"ro"`
}

ConnectivityInformation - Information on the connectivity status.

func (ConnectivityInformation) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectivityInformation.

type ConnectivityIssue

type ConnectivityIssue struct {
	// READ-ONLY; Provides additional context on the issue.
	Context []map[string]*string `json:"context,omitempty" azure:"ro"`

	// READ-ONLY; The origin of the issue.
	Origin *Origin `json:"origin,omitempty" azure:"ro"`

	// READ-ONLY; The severity of the issue.
	Severity *Severity `json:"severity,omitempty" azure:"ro"`

	// READ-ONLY; The type of issue.
	Type *IssueType `json:"type,omitempty" azure:"ro"`
}

ConnectivityIssue - Information about an issue encountered in the process of checking for connectivity.

func (ConnectivityIssue) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ConnectivityIssue.

type ConnectivityParameters

type ConnectivityParameters struct {
	// REQUIRED; The destination of connection.
	Destination *ConnectivityDestination `json:"destination,omitempty"`

	// REQUIRED; The source of the connection.
	Source *ConnectivitySource `json:"source,omitempty"`

	// Preferred IP version of the connection.
	PreferredIPVersion *IPVersion `json:"preferredIPVersion,omitempty"`

	// Network protocol.
	Protocol *Protocol `json:"protocol,omitempty"`

	// Configuration of the protocol.
	ProtocolConfiguration *ProtocolConfiguration `json:"protocolConfiguration,omitempty"`
}

ConnectivityParameters - Parameters that determine how the connectivity check will be performed.

type ConnectivitySource

type ConnectivitySource struct {
	// REQUIRED; The ID of the resource from which a connectivity check will be initiated.
	ResourceID *string `json:"resourceId,omitempty"`

	// 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 {
	SubResource
}

Container - Reference to container resource in remote resource provider.

type ContainerNetworkInterface

type ContainerNetworkInterface struct {
	SubResource
	// The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Container network interface properties.
	Properties *ContainerNetworkInterfacePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ContainerNetworkInterface - Container network interface child resource.

func (ContainerNetworkInterface) MarshalJSON

func (c ContainerNetworkInterface) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerNetworkInterface.

type ContainerNetworkInterfaceConfiguration

type ContainerNetworkInterfaceConfiguration struct {
	SubResource
	// The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Container network interface configuration properties.
	Properties *ContainerNetworkInterfaceConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ContainerNetworkInterfaceConfiguration - Container network interface configuration child resource.

func (ContainerNetworkInterfaceConfiguration) MarshalJSON

func (c ContainerNetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerNetworkInterfaceConfiguration.

type ContainerNetworkInterfaceConfigurationPropertiesFormat

type ContainerNetworkInterfaceConfigurationPropertiesFormat struct {
	// A list of container network interfaces created from this container network interface configuration.
	ContainerNetworkInterfaces []*SubResource `json:"containerNetworkInterfaces,omitempty"`

	// A list of ip configurations of the container network interface configuration.
	IPConfigurations []*IPConfigurationProfile `json:"ipConfigurations,omitempty"`

	// READ-ONLY; The provisioning state of the container network interface configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ContainerNetworkInterfaceConfigurationPropertiesFormat - Container network interface configuration properties.

func (ContainerNetworkInterfaceConfigurationPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerNetworkInterfaceConfigurationPropertiesFormat.

type ContainerNetworkInterfaceIPConfiguration

type ContainerNetworkInterfaceIPConfiguration struct {
	// The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of the container network interface IP configuration.
	Properties *ContainerNetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ContainerNetworkInterfaceIPConfiguration - The ip configuration for a container network interface.

type ContainerNetworkInterfaceIPConfigurationPropertiesFormat

type ContainerNetworkInterfaceIPConfigurationPropertiesFormat struct {
	// READ-ONLY; The provisioning state of the container network interface IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ContainerNetworkInterfaceIPConfigurationPropertiesFormat - Properties of the container network interface IP configuration.

type ContainerNetworkInterfacePropertiesFormat

type ContainerNetworkInterfacePropertiesFormat struct {
	// Reference to the container to which this container network interface is attached.
	Container *Container `json:"container,omitempty"`

	// READ-ONLY; Container network interface configuration from which this container network interface is created.
	ContainerNetworkInterfaceConfiguration *ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfiguration,omitempty" azure:"ro"`

	// READ-ONLY; Reference to the ip configuration on this container nic.
	IPConfigurations []*ContainerNetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the container network interface resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ContainerNetworkInterfacePropertiesFormat - Properties of container network interface.

func (ContainerNetworkInterfacePropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ContainerNetworkInterfacePropertiesFormat.

type CoverageLevel

type CoverageLevel string

CoverageLevel - Test coverage for the endpoint.

const (
	CoverageLevelAboveAverage CoverageLevel = "AboveAverage"
	CoverageLevelAverage      CoverageLevel = "Average"
	CoverageLevelBelowAverage CoverageLevel = "BelowAverage"
	CoverageLevelDefault      CoverageLevel = "Default"
	CoverageLevelFull         CoverageLevel = "Full"
	CoverageLevelLow          CoverageLevel = "Low"
)

func PossibleCoverageLevelValues

func PossibleCoverageLevelValues() []CoverageLevel

PossibleCoverageLevelValues returns the possible values for the CoverageLevel const type.

func (CoverageLevel) ToPtr

func (c CoverageLevel) ToPtr() *CoverageLevel

ToPtr returns a *CoverageLevel pointing to the current value.

type CustomDNSConfigPropertiesFormat

type CustomDNSConfigPropertiesFormat struct {
	// Fqdn that resolves to private endpoint ip address.
	Fqdn *string `json:"fqdn,omitempty"`

	// A list of private ip addresses of the private endpoint.
	IPAddresses []*string `json:"ipAddresses,omitempty"`
}

CustomDNSConfigPropertiesFormat - Contains custom Dns resolution configuration from customer.

func (CustomDNSConfigPropertiesFormat) MarshalJSON

func (c CustomDNSConfigPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CustomDNSConfigPropertiesFormat.

type CustomIPPrefix

type CustomIPPrefix struct {
	Resource
	// The extended location of the custom IP prefix.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Custom IP prefix properties.
	Properties *CustomIPPrefixPropertiesFormat `json:"properties,omitempty"`

	// A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

CustomIPPrefix - Custom IP prefix resource.

func (CustomIPPrefix) MarshalJSON

func (c CustomIPPrefix) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CustomIPPrefix.

type CustomIPPrefixListResult

type CustomIPPrefixListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of Custom IP prefixes that exists in a resource group.
	Value []*CustomIPPrefix `json:"value,omitempty"`
}

CustomIPPrefixListResult - Response for ListCustomIpPrefixes API service call.

func (CustomIPPrefixListResult) MarshalJSON

func (c CustomIPPrefixListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CustomIPPrefixListResult.

type CustomIPPrefixPropertiesFormat

type CustomIPPrefixPropertiesFormat struct {
	// Authorization message for WAN validation.
	AuthorizationMessage *string `json:"authorizationMessage,omitempty"`

	// The prefix range in CIDR notation. Should include the start address and the prefix length.
	Cidr *string `json:"cidr,omitempty"`

	// The commissioned state of the Custom IP Prefix.
	CommissionedState *CommissionedState `json:"commissionedState,omitempty"`

	// The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
	CustomIPPrefixParent *CustomIPPrefix `json:"customIpPrefixParent,omitempty"`

	// Signed message for WAN validation.
	SignedMessage *string `json:"signedMessage,omitempty"`

	// READ-ONLY; The list of all Children for IPv6 /48 CustomIpPrefix.
	ChildCustomIPPrefixes []*CustomIPPrefix `json:"childCustomIpPrefixes,omitempty" azure:"ro"`

	// READ-ONLY; The reason why resource is in failed state.
	FailedReason *string `json:"failedReason,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the custom IP prefix resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The list of all referenced PublicIpPrefixes.
	PublicIPPrefixes []*SubResource `json:"publicIpPrefixes,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the custom IP prefix resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

CustomIPPrefixPropertiesFormat - Custom IP prefix properties.

func (CustomIPPrefixPropertiesFormat) MarshalJSON

func (c CustomIPPrefixPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CustomIPPrefixPropertiesFormat.

type CustomIPPrefixesBeginCreateOrUpdateOptions

type CustomIPPrefixesBeginCreateOrUpdateOptions struct {
}

CustomIPPrefixesBeginCreateOrUpdateOptions contains the optional parameters for the CustomIPPrefixes.BeginCreateOrUpdate method.

type CustomIPPrefixesBeginDeleteOptions

type CustomIPPrefixesBeginDeleteOptions struct {
}

CustomIPPrefixesBeginDeleteOptions contains the optional parameters for the CustomIPPrefixes.BeginDelete method.

type CustomIPPrefixesClient

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

CustomIPPrefixesClient contains the methods for the CustomIPPrefixes group. Don't use this type directly, use NewCustomIPPrefixesClient() instead.

func NewCustomIPPrefixesClient

func NewCustomIPPrefixesClient(con *arm.Connection, subscriptionID string) *CustomIPPrefixesClient

NewCustomIPPrefixesClient creates a new instance of CustomIPPrefixesClient with the specified values.

func (*CustomIPPrefixesClient) BeginCreateOrUpdate

func (client *CustomIPPrefixesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters CustomIPPrefix, options *CustomIPPrefixesBeginCreateOrUpdateOptions) (CustomIPPrefixesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a custom IP prefix. If the operation fails it returns the *CloudError error type.

func (*CustomIPPrefixesClient) BeginDelete

func (client *CustomIPPrefixesClient) BeginDelete(ctx context.Context, resourceGroupName string, customIPPrefixName string, options *CustomIPPrefixesBeginDeleteOptions) (CustomIPPrefixesDeletePollerResponse, error)

BeginDelete - Deletes the specified custom IP prefix. If the operation fails it returns the *CloudError error type.

func (*CustomIPPrefixesClient) Get

func (client *CustomIPPrefixesClient) Get(ctx context.Context, resourceGroupName string, customIPPrefixName string, options *CustomIPPrefixesGetOptions) (CustomIPPrefixesGetResponse, error)

Get - Gets the specified custom IP prefix in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*CustomIPPrefixesClient) List

func (client *CustomIPPrefixesClient) List(resourceGroupName string, options *CustomIPPrefixesListOptions) *CustomIPPrefixesListPager

List - Gets all custom IP prefixes in a resource group. If the operation fails it returns the *CloudError error type.

func (*CustomIPPrefixesClient) ListAll

ListAll - Gets all the custom IP prefixes in a subscription. If the operation fails it returns the *CloudError error type.

func (*CustomIPPrefixesClient) UpdateTags

func (client *CustomIPPrefixesClient) UpdateTags(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters TagsObject, options *CustomIPPrefixesUpdateTagsOptions) (CustomIPPrefixesUpdateTagsResponse, error)

UpdateTags - Updates custom IP prefix tags. If the operation fails it returns the *CloudError error type.

type CustomIPPrefixesCreateOrUpdatePoller

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

CustomIPPrefixesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*CustomIPPrefixesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CustomIPPrefixesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomIPPrefixesCreateOrUpdateResponse will be returned.

func (*CustomIPPrefixesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CustomIPPrefixesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CustomIPPrefixesCreateOrUpdatePollerResponse

type CustomIPPrefixesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CustomIPPrefixesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesCreateOrUpdatePollerResponse contains the response from method CustomIPPrefixes.CreateOrUpdate.

func (CustomIPPrefixesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*CustomIPPrefixesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a CustomIPPrefixesCreateOrUpdatePollerResponse from the provided client and resume token.

type CustomIPPrefixesCreateOrUpdateResponse

type CustomIPPrefixesCreateOrUpdateResponse struct {
	CustomIPPrefixesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesCreateOrUpdateResponse contains the response from method CustomIPPrefixes.CreateOrUpdate.

type CustomIPPrefixesCreateOrUpdateResult

type CustomIPPrefixesCreateOrUpdateResult struct {
	CustomIPPrefix
}

CustomIPPrefixesCreateOrUpdateResult contains the result from method CustomIPPrefixes.CreateOrUpdate.

type CustomIPPrefixesDeletePoller

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

CustomIPPrefixesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*CustomIPPrefixesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CustomIPPrefixesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomIPPrefixesDeleteResponse will be returned.

func (*CustomIPPrefixesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CustomIPPrefixesDeletePoller) ResumeToken

func (p *CustomIPPrefixesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CustomIPPrefixesDeletePollerResponse

type CustomIPPrefixesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CustomIPPrefixesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesDeletePollerResponse contains the response from method CustomIPPrefixes.Delete.

func (CustomIPPrefixesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*CustomIPPrefixesDeletePollerResponse) Resume

Resume rehydrates a CustomIPPrefixesDeletePollerResponse from the provided client and resume token.

type CustomIPPrefixesDeleteResponse

type CustomIPPrefixesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesDeleteResponse contains the response from method CustomIPPrefixes.Delete.

type CustomIPPrefixesGetOptions

type CustomIPPrefixesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

CustomIPPrefixesGetOptions contains the optional parameters for the CustomIPPrefixes.Get method.

type CustomIPPrefixesGetResponse

type CustomIPPrefixesGetResponse struct {
	CustomIPPrefixesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesGetResponse contains the response from method CustomIPPrefixes.Get.

type CustomIPPrefixesGetResult

type CustomIPPrefixesGetResult struct {
	CustomIPPrefix
}

CustomIPPrefixesGetResult contains the result from method CustomIPPrefixes.Get.

type CustomIPPrefixesListAllOptions

type CustomIPPrefixesListAllOptions struct {
}

CustomIPPrefixesListAllOptions contains the optional parameters for the CustomIPPrefixes.ListAll method.

type CustomIPPrefixesListAllPager

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

CustomIPPrefixesListAllPager provides operations for iterating over paged responses.

func (*CustomIPPrefixesListAllPager) Err

Err returns the last error encountered while paging.

func (*CustomIPPrefixesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*CustomIPPrefixesListAllPager) PageResponse

PageResponse returns the current CustomIPPrefixesListAllResponse page.

type CustomIPPrefixesListAllResponse

type CustomIPPrefixesListAllResponse struct {
	CustomIPPrefixesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesListAllResponse contains the response from method CustomIPPrefixes.ListAll.

type CustomIPPrefixesListAllResult

type CustomIPPrefixesListAllResult struct {
	CustomIPPrefixListResult
}

CustomIPPrefixesListAllResult contains the result from method CustomIPPrefixes.ListAll.

type CustomIPPrefixesListOptions

type CustomIPPrefixesListOptions struct {
}

CustomIPPrefixesListOptions contains the optional parameters for the CustomIPPrefixes.List method.

type CustomIPPrefixesListPager

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

CustomIPPrefixesListPager provides operations for iterating over paged responses.

func (*CustomIPPrefixesListPager) Err

Err returns the last error encountered while paging.

func (*CustomIPPrefixesListPager) NextPage

func (p *CustomIPPrefixesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*CustomIPPrefixesListPager) PageResponse

PageResponse returns the current CustomIPPrefixesListResponse page.

type CustomIPPrefixesListResponse

type CustomIPPrefixesListResponse struct {
	CustomIPPrefixesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesListResponse contains the response from method CustomIPPrefixes.List.

type CustomIPPrefixesListResult

type CustomIPPrefixesListResult struct {
	CustomIPPrefixListResult
}

CustomIPPrefixesListResult contains the result from method CustomIPPrefixes.List.

type CustomIPPrefixesUpdateTagsOptions

type CustomIPPrefixesUpdateTagsOptions struct {
}

CustomIPPrefixesUpdateTagsOptions contains the optional parameters for the CustomIPPrefixes.UpdateTags method.

type CustomIPPrefixesUpdateTagsResponse

type CustomIPPrefixesUpdateTagsResponse struct {
	CustomIPPrefixesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CustomIPPrefixesUpdateTagsResponse contains the response from method CustomIPPrefixes.UpdateTags.

type CustomIPPrefixesUpdateTagsResult

type CustomIPPrefixesUpdateTagsResult struct {
	CustomIPPrefix
}

CustomIPPrefixesUpdateTagsResult contains the result from method CustomIPPrefixes.UpdateTags.

type DNSNameAvailabilityResult

type DNSNameAvailabilityResult struct {
	// Domain availability (True/False).
	Available *bool `json:"available,omitempty"`
}

DNSNameAvailabilityResult - Response for the CheckDnsNameAvailability API service call.

type DNSSettings

type DNSSettings struct {
	// Enable DNS Proxy on Firewalls attached to the Firewall Policy.
	EnableProxy *bool `json:"enableProxy,omitempty"`

	// FQDNs in Network Rules are supported when set to true.
	RequireProxyForNetworkRules *bool `json:"requireProxyForNetworkRules,omitempty"`

	// List of Custom DNS Servers.
	Servers []*string `json:"servers,omitempty"`
}

DNSSettings - DNS Proxy Settings in Firewall Policy.

func (DNSSettings) MarshalJSON

func (d DNSSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DNSSettings.

type DdosCustomPoliciesBeginCreateOrUpdateOptions

type DdosCustomPoliciesBeginCreateOrUpdateOptions struct {
}

DdosCustomPoliciesBeginCreateOrUpdateOptions contains the optional parameters for the DdosCustomPolicies.BeginCreateOrUpdate method.

type DdosCustomPoliciesBeginDeleteOptions

type DdosCustomPoliciesBeginDeleteOptions struct {
}

DdosCustomPoliciesBeginDeleteOptions contains the optional parameters for the DdosCustomPolicies.BeginDelete method.

type DdosCustomPoliciesClient

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

DdosCustomPoliciesClient contains the methods for the DdosCustomPolicies group. Don't use this type directly, use NewDdosCustomPoliciesClient() instead.

func NewDdosCustomPoliciesClient

func NewDdosCustomPoliciesClient(con *arm.Connection, subscriptionID string) *DdosCustomPoliciesClient

NewDdosCustomPoliciesClient creates a new instance of DdosCustomPoliciesClient with the specified values.

func (*DdosCustomPoliciesClient) BeginCreateOrUpdate

func (client *DdosCustomPoliciesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy, options *DdosCustomPoliciesBeginCreateOrUpdateOptions) (DdosCustomPoliciesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a DDoS custom policy. If the operation fails it returns the *CloudError error type.

func (*DdosCustomPoliciesClient) BeginDelete

func (client *DdosCustomPoliciesClient) BeginDelete(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, options *DdosCustomPoliciesBeginDeleteOptions) (DdosCustomPoliciesDeletePollerResponse, error)

BeginDelete - Deletes the specified DDoS custom policy. If the operation fails it returns the *CloudError error type.

func (*DdosCustomPoliciesClient) Get

func (client *DdosCustomPoliciesClient) Get(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, options *DdosCustomPoliciesGetOptions) (DdosCustomPoliciesGetResponse, error)

Get - Gets information about the specified DDoS custom policy. If the operation fails it returns the *CloudError error type.

func (*DdosCustomPoliciesClient) UpdateTags

func (client *DdosCustomPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject, options *DdosCustomPoliciesUpdateTagsOptions) (DdosCustomPoliciesUpdateTagsResponse, error)

UpdateTags - Update a DDoS custom policy tags. If the operation fails it returns the *CloudError error type.

type DdosCustomPoliciesCreateOrUpdatePoller

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

DdosCustomPoliciesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*DdosCustomPoliciesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DdosCustomPoliciesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DdosCustomPoliciesCreateOrUpdateResponse will be returned.

func (*DdosCustomPoliciesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DdosCustomPoliciesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DdosCustomPoliciesCreateOrUpdatePollerResponse

type DdosCustomPoliciesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DdosCustomPoliciesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosCustomPoliciesCreateOrUpdatePollerResponse contains the response from method DdosCustomPolicies.CreateOrUpdate.

func (DdosCustomPoliciesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*DdosCustomPoliciesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a DdosCustomPoliciesCreateOrUpdatePollerResponse from the provided client and resume token.

type DdosCustomPoliciesCreateOrUpdateResponse

type DdosCustomPoliciesCreateOrUpdateResponse struct {
	DdosCustomPoliciesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosCustomPoliciesCreateOrUpdateResponse contains the response from method DdosCustomPolicies.CreateOrUpdate.

type DdosCustomPoliciesCreateOrUpdateResult

type DdosCustomPoliciesCreateOrUpdateResult struct {
	DdosCustomPolicy
}

DdosCustomPoliciesCreateOrUpdateResult contains the result from method DdosCustomPolicies.CreateOrUpdate.

type DdosCustomPoliciesDeletePoller

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

DdosCustomPoliciesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*DdosCustomPoliciesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DdosCustomPoliciesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DdosCustomPoliciesDeleteResponse will be returned.

func (*DdosCustomPoliciesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DdosCustomPoliciesDeletePoller) ResumeToken

func (p *DdosCustomPoliciesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DdosCustomPoliciesDeletePollerResponse

type DdosCustomPoliciesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DdosCustomPoliciesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosCustomPoliciesDeletePollerResponse contains the response from method DdosCustomPolicies.Delete.

func (DdosCustomPoliciesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*DdosCustomPoliciesDeletePollerResponse) Resume

Resume rehydrates a DdosCustomPoliciesDeletePollerResponse from the provided client and resume token.

type DdosCustomPoliciesDeleteResponse

type DdosCustomPoliciesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosCustomPoliciesDeleteResponse contains the response from method DdosCustomPolicies.Delete.

type DdosCustomPoliciesGetOptions

type DdosCustomPoliciesGetOptions struct {
}

DdosCustomPoliciesGetOptions contains the optional parameters for the DdosCustomPolicies.Get method.

type DdosCustomPoliciesGetResponse

type DdosCustomPoliciesGetResponse struct {
	DdosCustomPoliciesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosCustomPoliciesGetResponse contains the response from method DdosCustomPolicies.Get.

type DdosCustomPoliciesGetResult

type DdosCustomPoliciesGetResult struct {
	DdosCustomPolicy
}

DdosCustomPoliciesGetResult contains the result from method DdosCustomPolicies.Get.

type DdosCustomPoliciesUpdateTagsOptions

type DdosCustomPoliciesUpdateTagsOptions struct {
}

DdosCustomPoliciesUpdateTagsOptions contains the optional parameters for the DdosCustomPolicies.UpdateTags method.

type DdosCustomPoliciesUpdateTagsResponse

type DdosCustomPoliciesUpdateTagsResponse struct {
	DdosCustomPoliciesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosCustomPoliciesUpdateTagsResponse contains the response from method DdosCustomPolicies.UpdateTags.

type DdosCustomPoliciesUpdateTagsResult

type DdosCustomPoliciesUpdateTagsResult struct {
	DdosCustomPolicy
}

DdosCustomPoliciesUpdateTagsResult contains the result from method DdosCustomPolicies.UpdateTags.

type DdosCustomPolicy

type DdosCustomPolicy struct {
	Resource
	// Properties of the DDoS custom policy.
	Properties *DdosCustomPolicyPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

DdosCustomPolicy - A DDoS custom policy in a resource group.

func (DdosCustomPolicy) MarshalJSON

func (d DdosCustomPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DdosCustomPolicy.

type DdosCustomPolicyPropertiesFormat

type DdosCustomPolicyPropertiesFormat struct {
	// The protocol-specific DDoS policy customization parameters.
	ProtocolCustomSettings []*ProtocolCustomSettingsFormat `json:"protocolCustomSettings,omitempty"`

	// READ-ONLY; The provisioning state of the DDoS custom policy resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
	PublicIPAddresses []*SubResource `json:"publicIPAddresses,omitempty" azure:"ro"`

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

DdosCustomPolicyPropertiesFormat - DDoS custom policy properties.

func (DdosCustomPolicyPropertiesFormat) MarshalJSON

func (d DdosCustomPolicyPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DdosCustomPolicyPropertiesFormat.

type DdosCustomPolicyProtocol

type DdosCustomPolicyProtocol string

DdosCustomPolicyProtocol - The protocol for which the DDoS protection policy is being customized.

const (
	DdosCustomPolicyProtocolSyn DdosCustomPolicyProtocol = "Syn"
	DdosCustomPolicyProtocolTCP DdosCustomPolicyProtocol = "Tcp"
	DdosCustomPolicyProtocolUDP DdosCustomPolicyProtocol = "Udp"
)

func PossibleDdosCustomPolicyProtocolValues

func PossibleDdosCustomPolicyProtocolValues() []DdosCustomPolicyProtocol

PossibleDdosCustomPolicyProtocolValues returns the possible values for the DdosCustomPolicyProtocol const type.

func (DdosCustomPolicyProtocol) ToPtr

ToPtr returns a *DdosCustomPolicyProtocol pointing to the current value.

type DdosCustomPolicyTriggerSensitivityOverride

type DdosCustomPolicyTriggerSensitivityOverride string

DdosCustomPolicyTriggerSensitivityOverride - The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.

const (
	DdosCustomPolicyTriggerSensitivityOverrideDefault DdosCustomPolicyTriggerSensitivityOverride = "Default"
	DdosCustomPolicyTriggerSensitivityOverrideHigh    DdosCustomPolicyTriggerSensitivityOverride = "High"
	DdosCustomPolicyTriggerSensitivityOverrideLow     DdosCustomPolicyTriggerSensitivityOverride = "Low"
	DdosCustomPolicyTriggerSensitivityOverrideRelaxed DdosCustomPolicyTriggerSensitivityOverride = "Relaxed"
)

func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues

func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues() []DdosCustomPolicyTriggerSensitivityOverride

PossibleDdosCustomPolicyTriggerSensitivityOverrideValues returns the possible values for the DdosCustomPolicyTriggerSensitivityOverride const type.

func (DdosCustomPolicyTriggerSensitivityOverride) ToPtr

ToPtr returns a *DdosCustomPolicyTriggerSensitivityOverride pointing to the current value.

type DdosProtectionPlan

type DdosProtectionPlan struct {
	// Resource location.
	Location *string `json:"location,omitempty"`

	// Properties of the DDoS protection plan.
	Properties *DdosProtectionPlanPropertiesFormat `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Resource name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DdosProtectionPlan - A DDoS protection plan in a resource group.

func (DdosProtectionPlan) MarshalJSON

func (d DdosProtectionPlan) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DdosProtectionPlan.

type DdosProtectionPlanListResult

type DdosProtectionPlanListResult struct {
	// A list of DDoS protection plans.
	Value []*DdosProtectionPlan `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DdosProtectionPlanListResult - A list of DDoS protection plans.

func (DdosProtectionPlanListResult) MarshalJSON

func (d DdosProtectionPlanListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DdosProtectionPlanListResult.

type DdosProtectionPlanPropertiesFormat

type DdosProtectionPlanPropertiesFormat struct {
	// READ-ONLY; The provisioning state of the DDoS protection plan resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// 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" azure:"ro"`

	// READ-ONLY; The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
	VirtualNetworks []*SubResource `json:"virtualNetworks,omitempty" azure:"ro"`
}

DdosProtectionPlanPropertiesFormat - DDoS protection plan properties.

func (DdosProtectionPlanPropertiesFormat) MarshalJSON

func (d DdosProtectionPlanPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DdosProtectionPlanPropertiesFormat.

type DdosProtectionPlansBeginCreateOrUpdateOptions

type DdosProtectionPlansBeginCreateOrUpdateOptions struct {
}

DdosProtectionPlansBeginCreateOrUpdateOptions contains the optional parameters for the DdosProtectionPlans.BeginCreateOrUpdate method.

type DdosProtectionPlansBeginDeleteOptions

type DdosProtectionPlansBeginDeleteOptions struct {
}

DdosProtectionPlansBeginDeleteOptions contains the optional parameters for the DdosProtectionPlans.BeginDelete method.

type DdosProtectionPlansClient

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

DdosProtectionPlansClient contains the methods for the DdosProtectionPlans group. Don't use this type directly, use NewDdosProtectionPlansClient() instead.

func NewDdosProtectionPlansClient

func NewDdosProtectionPlansClient(con *arm.Connection, subscriptionID string) *DdosProtectionPlansClient

NewDdosProtectionPlansClient creates a new instance of DdosProtectionPlansClient with the specified values.

func (*DdosProtectionPlansClient) BeginCreateOrUpdate

func (client *DdosProtectionPlansClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan, options *DdosProtectionPlansBeginCreateOrUpdateOptions) (DdosProtectionPlansCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a DDoS protection plan. If the operation fails it returns the *CloudError error type.

func (*DdosProtectionPlansClient) BeginDelete

func (client *DdosProtectionPlansClient) BeginDelete(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, options *DdosProtectionPlansBeginDeleteOptions) (DdosProtectionPlansDeletePollerResponse, error)

BeginDelete - Deletes the specified DDoS protection plan. If the operation fails it returns the *CloudError error type.

func (*DdosProtectionPlansClient) Get

func (client *DdosProtectionPlansClient) Get(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, options *DdosProtectionPlansGetOptions) (DdosProtectionPlansGetResponse, error)

Get - Gets information about the specified DDoS protection plan. If the operation fails it returns the *CloudError error type.

func (*DdosProtectionPlansClient) List

List - Gets all DDoS protection plans in a subscription. If the operation fails it returns the *CloudError error type.

func (*DdosProtectionPlansClient) ListByResourceGroup

ListByResourceGroup - Gets all the DDoS protection plans in a resource group. If the operation fails it returns the *CloudError error type.

func (*DdosProtectionPlansClient) UpdateTags

func (client *DdosProtectionPlansClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject, options *DdosProtectionPlansUpdateTagsOptions) (DdosProtectionPlansUpdateTagsResponse, error)

UpdateTags - Update a DDoS protection plan tags. If the operation fails it returns the *CloudError error type.

type DdosProtectionPlansCreateOrUpdatePoller

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

DdosProtectionPlansCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*DdosProtectionPlansCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DdosProtectionPlansCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DdosProtectionPlansCreateOrUpdateResponse will be returned.

func (*DdosProtectionPlansCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DdosProtectionPlansCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DdosProtectionPlansCreateOrUpdatePollerResponse

type DdosProtectionPlansCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DdosProtectionPlansCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansCreateOrUpdatePollerResponse contains the response from method DdosProtectionPlans.CreateOrUpdate.

func (DdosProtectionPlansCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*DdosProtectionPlansCreateOrUpdatePollerResponse) Resume

Resume rehydrates a DdosProtectionPlansCreateOrUpdatePollerResponse from the provided client and resume token.

type DdosProtectionPlansCreateOrUpdateResponse

type DdosProtectionPlansCreateOrUpdateResponse struct {
	DdosProtectionPlansCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansCreateOrUpdateResponse contains the response from method DdosProtectionPlans.CreateOrUpdate.

type DdosProtectionPlansCreateOrUpdateResult

type DdosProtectionPlansCreateOrUpdateResult struct {
	DdosProtectionPlan
}

DdosProtectionPlansCreateOrUpdateResult contains the result from method DdosProtectionPlans.CreateOrUpdate.

type DdosProtectionPlansDeletePoller

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

DdosProtectionPlansDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*DdosProtectionPlansDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DdosProtectionPlansDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DdosProtectionPlansDeleteResponse will be returned.

func (*DdosProtectionPlansDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DdosProtectionPlansDeletePoller) ResumeToken

func (p *DdosProtectionPlansDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DdosProtectionPlansDeletePollerResponse

type DdosProtectionPlansDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DdosProtectionPlansDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansDeletePollerResponse contains the response from method DdosProtectionPlans.Delete.

func (DdosProtectionPlansDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*DdosProtectionPlansDeletePollerResponse) Resume

Resume rehydrates a DdosProtectionPlansDeletePollerResponse from the provided client and resume token.

type DdosProtectionPlansDeleteResponse

type DdosProtectionPlansDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansDeleteResponse contains the response from method DdosProtectionPlans.Delete.

type DdosProtectionPlansGetOptions

type DdosProtectionPlansGetOptions struct {
}

DdosProtectionPlansGetOptions contains the optional parameters for the DdosProtectionPlans.Get method.

type DdosProtectionPlansGetResponse

type DdosProtectionPlansGetResponse struct {
	DdosProtectionPlansGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansGetResponse contains the response from method DdosProtectionPlans.Get.

type DdosProtectionPlansGetResult

type DdosProtectionPlansGetResult struct {
	DdosProtectionPlan
}

DdosProtectionPlansGetResult contains the result from method DdosProtectionPlans.Get.

type DdosProtectionPlansListByResourceGroupOptions

type DdosProtectionPlansListByResourceGroupOptions struct {
}

DdosProtectionPlansListByResourceGroupOptions contains the optional parameters for the DdosProtectionPlans.ListByResourceGroup method.

type DdosProtectionPlansListByResourceGroupPager

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

DdosProtectionPlansListByResourceGroupPager provides operations for iterating over paged responses.

func (*DdosProtectionPlansListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*DdosProtectionPlansListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DdosProtectionPlansListByResourceGroupPager) PageResponse

PageResponse returns the current DdosProtectionPlansListByResourceGroupResponse page.

type DdosProtectionPlansListByResourceGroupResponse

type DdosProtectionPlansListByResourceGroupResponse struct {
	DdosProtectionPlansListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansListByResourceGroupResponse contains the response from method DdosProtectionPlans.ListByResourceGroup.

type DdosProtectionPlansListByResourceGroupResult

type DdosProtectionPlansListByResourceGroupResult struct {
	DdosProtectionPlanListResult
}

DdosProtectionPlansListByResourceGroupResult contains the result from method DdosProtectionPlans.ListByResourceGroup.

type DdosProtectionPlansListOptions

type DdosProtectionPlansListOptions struct {
}

DdosProtectionPlansListOptions contains the optional parameters for the DdosProtectionPlans.List method.

type DdosProtectionPlansListPager

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

DdosProtectionPlansListPager provides operations for iterating over paged responses.

func (*DdosProtectionPlansListPager) Err

Err returns the last error encountered while paging.

func (*DdosProtectionPlansListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DdosProtectionPlansListPager) PageResponse

PageResponse returns the current DdosProtectionPlansListResponse page.

type DdosProtectionPlansListResponse

type DdosProtectionPlansListResponse struct {
	DdosProtectionPlansListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansListResponse contains the response from method DdosProtectionPlans.List.

type DdosProtectionPlansListResult

type DdosProtectionPlansListResult struct {
	DdosProtectionPlanListResult
}

DdosProtectionPlansListResult contains the result from method DdosProtectionPlans.List.

type DdosProtectionPlansUpdateTagsOptions

type DdosProtectionPlansUpdateTagsOptions struct {
}

DdosProtectionPlansUpdateTagsOptions contains the optional parameters for the DdosProtectionPlans.UpdateTags method.

type DdosProtectionPlansUpdateTagsResponse

type DdosProtectionPlansUpdateTagsResponse struct {
	DdosProtectionPlansUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DdosProtectionPlansUpdateTagsResponse contains the response from method DdosProtectionPlans.UpdateTags.

type DdosProtectionPlansUpdateTagsResult

type DdosProtectionPlansUpdateTagsResult struct {
	DdosProtectionPlan
}

DdosProtectionPlansUpdateTagsResult contains the result from method DdosProtectionPlans.UpdateTags.

type DdosSettings

type DdosSettings struct {
	// The DDoS custom policy associated with the public IP.
	DdosCustomPolicy *SubResource `json:"ddosCustomPolicy,omitempty"`

	// Enables DDoS protection on the public IP.
	ProtectedIP *bool `json:"protectedIP,omitempty"`

	// The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.
	ProtectionCoverage *DdosSettingsProtectionCoverage `json:"protectionCoverage,omitempty"`
}

DdosSettings - Contains the DDoS protection settings of the public IP.

type DdosSettingsProtectionCoverage

type DdosSettingsProtectionCoverage string

DdosSettingsProtectionCoverage - The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

const (
	DdosSettingsProtectionCoverageBasic    DdosSettingsProtectionCoverage = "Basic"
	DdosSettingsProtectionCoverageStandard DdosSettingsProtectionCoverage = "Standard"
)

func PossibleDdosSettingsProtectionCoverageValues

func PossibleDdosSettingsProtectionCoverageValues() []DdosSettingsProtectionCoverage

PossibleDdosSettingsProtectionCoverageValues returns the possible values for the DdosSettingsProtectionCoverage const type.

func (DdosSettingsProtectionCoverage) ToPtr

ToPtr returns a *DdosSettingsProtectionCoverage pointing to the current value.

type DefaultSecurityRulesClient

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

DefaultSecurityRulesClient contains the methods for the DefaultSecurityRules group. Don't use this type directly, use NewDefaultSecurityRulesClient() instead.

func NewDefaultSecurityRulesClient

func NewDefaultSecurityRulesClient(con *arm.Connection, subscriptionID string) *DefaultSecurityRulesClient

NewDefaultSecurityRulesClient creates a new instance of DefaultSecurityRulesClient with the specified values.

func (*DefaultSecurityRulesClient) Get

func (client *DefaultSecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string, options *DefaultSecurityRulesGetOptions) (DefaultSecurityRulesGetResponse, error)

Get - Get the specified default network security rule. If the operation fails it returns the *CloudError error type.

func (*DefaultSecurityRulesClient) List

func (client *DefaultSecurityRulesClient) List(resourceGroupName string, networkSecurityGroupName string, options *DefaultSecurityRulesListOptions) *DefaultSecurityRulesListPager

List - Gets all default security rules in a network security group. If the operation fails it returns the *CloudError error type.

type DefaultSecurityRulesGetOptions

type DefaultSecurityRulesGetOptions struct {
}

DefaultSecurityRulesGetOptions contains the optional parameters for the DefaultSecurityRules.Get method.

type DefaultSecurityRulesGetResponse

type DefaultSecurityRulesGetResponse struct {
	DefaultSecurityRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DefaultSecurityRulesGetResponse contains the response from method DefaultSecurityRules.Get.

type DefaultSecurityRulesGetResult

type DefaultSecurityRulesGetResult struct {
	SecurityRule
}

DefaultSecurityRulesGetResult contains the result from method DefaultSecurityRules.Get.

type DefaultSecurityRulesListOptions

type DefaultSecurityRulesListOptions struct {
}

DefaultSecurityRulesListOptions contains the optional parameters for the DefaultSecurityRules.List method.

type DefaultSecurityRulesListPager

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

DefaultSecurityRulesListPager provides operations for iterating over paged responses.

func (*DefaultSecurityRulesListPager) Err

Err returns the last error encountered while paging.

func (*DefaultSecurityRulesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DefaultSecurityRulesListPager) PageResponse

PageResponse returns the current DefaultSecurityRulesListResponse page.

type DefaultSecurityRulesListResponse

type DefaultSecurityRulesListResponse struct {
	DefaultSecurityRulesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DefaultSecurityRulesListResponse contains the response from method DefaultSecurityRules.List.

type DefaultSecurityRulesListResult

type DefaultSecurityRulesListResult struct {
	SecurityRuleListResult
}

DefaultSecurityRulesListResult contains the result from method DefaultSecurityRules.List.

type Delegation

type Delegation struct {
	SubResource
	// 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"`

	// Properties of the subnet.
	Properties *ServiceDelegationPropertiesFormat `json:"properties,omitempty"`

	// Resource type.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

Delegation - Details the service to which the subnet is delegated.

func (Delegation) MarshalJSON

func (d Delegation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Delegation.

type DeleteOptions

type DeleteOptions string

DeleteOptions - Specify what happens to the public IP address when the VM using it is deleted

const (
	DeleteOptionsDelete DeleteOptions = "Delete"
	DeleteOptionsDetach DeleteOptions = "Detach"
)

func PossibleDeleteOptionsValues

func PossibleDeleteOptionsValues() []DeleteOptions

PossibleDeleteOptionsValues returns the possible values for the DeleteOptions const type.

func (DeleteOptions) ToPtr

func (c DeleteOptions) ToPtr() *DeleteOptions

ToPtr returns a *DeleteOptions pointing to the current value.

type DestinationPortBehavior

type DestinationPortBehavior string

DestinationPortBehavior - Destination port behavior.

const (
	DestinationPortBehaviorListenIfAvailable DestinationPortBehavior = "ListenIfAvailable"
	DestinationPortBehaviorNone              DestinationPortBehavior = "None"
)

func PossibleDestinationPortBehaviorValues

func PossibleDestinationPortBehaviorValues() []DestinationPortBehavior

PossibleDestinationPortBehaviorValues returns the possible values for the DestinationPortBehavior const type.

func (DestinationPortBehavior) ToPtr

ToPtr returns a *DestinationPortBehavior pointing to the current value.

type DeviceProperties

type DeviceProperties struct {
	// Model of the device.
	DeviceModel *string `json:"deviceModel,omitempty"`

	// Name of the device Vendor.
	DeviceVendor *string `json:"deviceVendor,omitempty"`

	// Link speed.
	LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"`
}

DeviceProperties - List of properties of the device.

type DhGroup

type DhGroup string

DhGroup - The DH Groups used in IKE Phase 1 for initial SA.

const (
	DhGroupDHGroup1    DhGroup = "DHGroup1"
	DhGroupDHGroup14   DhGroup = "DHGroup14"
	DhGroupDHGroup2    DhGroup = "DHGroup2"
	DhGroupDHGroup2048 DhGroup = "DHGroup2048"
	DhGroupDHGroup24   DhGroup = "DHGroup24"
	DhGroupECP256      DhGroup = "ECP256"
	DhGroupECP384      DhGroup = "ECP384"
	DhGroupNone        DhGroup = "None"
)

func PossibleDhGroupValues

func PossibleDhGroupValues() []DhGroup

PossibleDhGroupValues returns the possible values for the DhGroup const type.

func (DhGroup) ToPtr

func (c DhGroup) ToPtr() *DhGroup

ToPtr returns a *DhGroup pointing to the current value.

type DhcpOptions

type DhcpOptions struct {
	// The list of DNS servers IP addresses.
	DNSServers []*string `json:"dnsServers,omitempty"`
}

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.

func (DhcpOptions) MarshalJSON

func (d DhcpOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DhcpOptions.

type Dimension

type Dimension struct {
	// The display name of the dimension.
	DisplayName *string `json:"displayName,omitempty"`

	// The internal name of the dimension.
	InternalName *string `json:"internalName,omitempty"`

	// The name of the dimension.
	Name *string `json:"name,omitempty"`
}

Dimension of the metric.

type Direction

type Direction string

Direction - The direction of the traffic.

const (
	DirectionInbound  Direction = "Inbound"
	DirectionOutbound Direction = "Outbound"
)

func PossibleDirectionValues

func PossibleDirectionValues() []Direction

PossibleDirectionValues returns the possible values for the Direction const type.

func (Direction) ToPtr

func (c Direction) ToPtr() *Direction

ToPtr returns a *Direction pointing to the current value.

type DscpConfiguration

type DscpConfiguration struct {
	Resource
	// Properties of the network interface.
	Properties *DscpConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

DscpConfiguration - Differentiated Services Code Point configuration for any given network interface

func (DscpConfiguration) MarshalJSON

func (d DscpConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DscpConfiguration.

type DscpConfigurationBeginCreateOrUpdateOptions

type DscpConfigurationBeginCreateOrUpdateOptions struct {
}

DscpConfigurationBeginCreateOrUpdateOptions contains the optional parameters for the DscpConfiguration.BeginCreateOrUpdate method.

type DscpConfigurationBeginDeleteOptions

type DscpConfigurationBeginDeleteOptions struct {
}

DscpConfigurationBeginDeleteOptions contains the optional parameters for the DscpConfiguration.BeginDelete method.

type DscpConfigurationClient

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

DscpConfigurationClient contains the methods for the DscpConfiguration group. Don't use this type directly, use NewDscpConfigurationClient() instead.

func NewDscpConfigurationClient

func NewDscpConfigurationClient(con *arm.Connection, subscriptionID string) *DscpConfigurationClient

NewDscpConfigurationClient creates a new instance of DscpConfigurationClient with the specified values.

func (*DscpConfigurationClient) BeginCreateOrUpdate

func (client *DscpConfigurationClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, dscpConfigurationName string, parameters DscpConfiguration, options *DscpConfigurationBeginCreateOrUpdateOptions) (DscpConfigurationCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a DSCP Configuration. If the operation fails it returns the *CloudError error type.

func (*DscpConfigurationClient) BeginDelete

func (client *DscpConfigurationClient) BeginDelete(ctx context.Context, resourceGroupName string, dscpConfigurationName string, options *DscpConfigurationBeginDeleteOptions) (DscpConfigurationDeletePollerResponse, error)

BeginDelete - Deletes a DSCP Configuration. If the operation fails it returns the *CloudError error type.

func (*DscpConfigurationClient) Get

func (client *DscpConfigurationClient) Get(ctx context.Context, resourceGroupName string, dscpConfigurationName string, options *DscpConfigurationGetOptions) (DscpConfigurationGetResponse, error)

Get - Gets a DSCP Configuration. If the operation fails it returns the *CloudError error type.

func (*DscpConfigurationClient) List

List - Gets a DSCP Configuration. If the operation fails it returns the *CloudError error type.

func (*DscpConfigurationClient) ListAll

ListAll - Gets all dscp configurations in a subscription. If the operation fails it returns the *CloudError error type.

type DscpConfigurationCreateOrUpdatePoller

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

DscpConfigurationCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*DscpConfigurationCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DscpConfigurationCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DscpConfigurationCreateOrUpdateResponse will be returned.

func (*DscpConfigurationCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DscpConfigurationCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DscpConfigurationCreateOrUpdatePollerResponse

type DscpConfigurationCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DscpConfigurationCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationCreateOrUpdatePollerResponse contains the response from method DscpConfiguration.CreateOrUpdate.

func (DscpConfigurationCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*DscpConfigurationCreateOrUpdatePollerResponse) Resume

Resume rehydrates a DscpConfigurationCreateOrUpdatePollerResponse from the provided client and resume token.

type DscpConfigurationCreateOrUpdateResponse

type DscpConfigurationCreateOrUpdateResponse struct {
	DscpConfigurationCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationCreateOrUpdateResponse contains the response from method DscpConfiguration.CreateOrUpdate.

type DscpConfigurationCreateOrUpdateResult

type DscpConfigurationCreateOrUpdateResult struct {
	DscpConfiguration
}

DscpConfigurationCreateOrUpdateResult contains the result from method DscpConfiguration.CreateOrUpdate.

type DscpConfigurationDeletePoller

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

DscpConfigurationDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*DscpConfigurationDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DscpConfigurationDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DscpConfigurationDeleteResponse will be returned.

func (*DscpConfigurationDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DscpConfigurationDeletePoller) ResumeToken

func (p *DscpConfigurationDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DscpConfigurationDeletePollerResponse

type DscpConfigurationDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DscpConfigurationDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationDeletePollerResponse contains the response from method DscpConfiguration.Delete.

func (DscpConfigurationDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*DscpConfigurationDeletePollerResponse) Resume

Resume rehydrates a DscpConfigurationDeletePollerResponse from the provided client and resume token.

type DscpConfigurationDeleteResponse

type DscpConfigurationDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationDeleteResponse contains the response from method DscpConfiguration.Delete.

type DscpConfigurationGetOptions

type DscpConfigurationGetOptions struct {
}

DscpConfigurationGetOptions contains the optional parameters for the DscpConfiguration.Get method.

type DscpConfigurationGetResponse

type DscpConfigurationGetResponse struct {
	DscpConfigurationGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationGetResponse contains the response from method DscpConfiguration.Get.

type DscpConfigurationGetResult

type DscpConfigurationGetResult struct {
	DscpConfiguration
}

DscpConfigurationGetResult contains the result from method DscpConfiguration.Get.

type DscpConfigurationListAllOptions

type DscpConfigurationListAllOptions struct {
}

DscpConfigurationListAllOptions contains the optional parameters for the DscpConfiguration.ListAll method.

type DscpConfigurationListAllPager

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

DscpConfigurationListAllPager provides operations for iterating over paged responses.

func (*DscpConfigurationListAllPager) Err

Err returns the last error encountered while paging.

func (*DscpConfigurationListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DscpConfigurationListAllPager) PageResponse

PageResponse returns the current DscpConfigurationListAllResponse page.

type DscpConfigurationListAllResponse

type DscpConfigurationListAllResponse struct {
	DscpConfigurationListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationListAllResponse contains the response from method DscpConfiguration.ListAll.

type DscpConfigurationListAllResult

type DscpConfigurationListAllResult struct {
	DscpConfigurationListResult
}

DscpConfigurationListAllResult contains the result from method DscpConfiguration.ListAll.

type DscpConfigurationListOptions

type DscpConfigurationListOptions struct {
}

DscpConfigurationListOptions contains the optional parameters for the DscpConfiguration.List method.

type DscpConfigurationListPager

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

DscpConfigurationListPager provides operations for iterating over paged responses.

func (*DscpConfigurationListPager) Err

Err returns the last error encountered while paging.

func (*DscpConfigurationListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DscpConfigurationListPager) PageResponse

PageResponse returns the current DscpConfigurationListResponse page.

type DscpConfigurationListResponse

type DscpConfigurationListResponse struct {
	DscpConfigurationListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DscpConfigurationListResponse contains the response from method DscpConfiguration.List.

type DscpConfigurationListResult

type DscpConfigurationListResult struct {
	// A list of dscp configurations in a resource group.
	Value []*DscpConfiguration `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

DscpConfigurationListResult - Response for the DscpConfigurationList API service call.

func (DscpConfigurationListResult) MarshalJSON

func (d DscpConfigurationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DscpConfigurationListResult.

type DscpConfigurationListResultEnvelope

type DscpConfigurationListResultEnvelope struct {
	DscpConfigurationListResult
}

DscpConfigurationListResultEnvelope contains the result from method DscpConfiguration.List.

type DscpConfigurationPropertiesFormat

type DscpConfigurationPropertiesFormat struct {
	// Destination IP ranges.
	DestinationIPRanges []*QosIPRange `json:"destinationIpRanges,omitempty"`

	// Destination port ranges.
	DestinationPortRanges []*QosPortRange `json:"destinationPortRanges,omitempty"`

	// List of markings to be used in the configuration.
	Markings []*int32 `json:"markings,omitempty"`

	// RNM supported protocol types.
	Protocol *ProtocolType `json:"protocol,omitempty"`

	// QoS object definitions
	QosDefinitionCollection []*QosDefinition `json:"qosDefinitionCollection,omitempty"`

	// Source IP ranges.
	SourceIPRanges []*QosIPRange `json:"sourceIpRanges,omitempty"`

	// Sources port ranges.
	SourcePortRanges []*QosPortRange `json:"sourcePortRanges,omitempty"`

	// READ-ONLY; Associated Network Interfaces to the DSCP Configuration.
	AssociatedNetworkInterfaces []*NetworkInterface `json:"associatedNetworkInterfaces,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the DSCP Configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Qos Collection ID generated by RNM.
	QosCollectionID *string `json:"qosCollectionId,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the DSCP Configuration resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

DscpConfigurationPropertiesFormat - Differentiated Services Code Point configuration properties.

func (DscpConfigurationPropertiesFormat) MarshalJSON

func (d DscpConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DscpConfigurationPropertiesFormat.

type EffectiveNetworkSecurityGroup

type EffectiveNetworkSecurityGroup struct {
	// Associated resources.
	Association *EffectiveNetworkSecurityGroupAssociation `json:"association,omitempty"`

	// A collection of effective security rules.
	EffectiveSecurityRules []*EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`

	// The ID of network security group that is applied.
	NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`

	// Mapping of tags to list of IP Addresses included within the tag.
	TagMap *string `json:"tagMap,omitempty"`
}

EffectiveNetworkSecurityGroup - Effective network security group.

func (EffectiveNetworkSecurityGroup) MarshalJSON

func (e EffectiveNetworkSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EffectiveNetworkSecurityGroup.

type EffectiveNetworkSecurityGroupAssociation

type EffectiveNetworkSecurityGroupAssociation struct {
	// The ID of the network interface if assigned.
	NetworkInterface *SubResource `json:"networkInterface,omitempty"`

	// The ID of the Azure network manager if assigned.
	NetworkManager *SubResource `json:"networkManager,omitempty"`

	// The ID of the subnet if assigned.
	Subnet *SubResource `json:"subnet,omitempty"`
}

EffectiveNetworkSecurityGroupAssociation - The effective network security group association.

type EffectiveNetworkSecurityGroupListResult

type EffectiveNetworkSecurityGroupListResult struct {
	// A list of effective network security groups.
	Value []*EffectiveNetworkSecurityGroup `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

EffectiveNetworkSecurityGroupListResult - Response for list effective network security groups API service call.

func (EffectiveNetworkSecurityGroupListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type EffectiveNetworkSecurityGroupListResult.

type EffectiveNetworkSecurityRule

type EffectiveNetworkSecurityRule struct {
	// Whether network traffic is allowed or denied.
	Access *SecurityRuleAccess `json:"access,omitempty"`

	// The destination address prefix.
	DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`

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

	// The destination port or range.
	DestinationPortRange *string `json:"destinationPortRange,omitempty"`

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

	// The direction of the rule.
	Direction *SecurityRuleDirection `json:"direction,omitempty"`

	// Expanded destination address prefix.
	ExpandedDestinationAddressPrefix []*string `json:"expandedDestinationAddressPrefix,omitempty"`

	// The expanded source address prefix.
	ExpandedSourceAddressPrefix []*string `json:"expandedSourceAddressPrefix,omitempty"`

	// The name of the security rule specified by the user (if created by the user).
	Name *string `json:"name,omitempty"`

	// The priority of the rule.
	Priority *int32 `json:"priority,omitempty"`

	// The network protocol this rule applies to.
	Protocol *EffectiveSecurityRuleProtocol `json:"protocol,omitempty"`

	// The source address prefix.
	SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`

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

	// The source port or range.
	SourcePortRange *string `json:"sourcePortRange,omitempty"`

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

EffectiveNetworkSecurityRule - Effective network security rules.

func (EffectiveNetworkSecurityRule) MarshalJSON

func (e EffectiveNetworkSecurityRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EffectiveNetworkSecurityRule.

type EffectiveRoute

type EffectiveRoute struct {
	// The address prefixes of the effective routes in CIDR notation.
	AddressPrefix []*string `json:"addressPrefix,omitempty"`

	// If true, on-premises routes are not propagated to the network interfaces in the subnet.
	DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"`

	// The name of the user defined route. This is optional.
	Name *string `json:"name,omitempty"`

	// The IP address of the next hop of the effective route.
	NextHopIPAddress []*string `json:"nextHopIpAddress,omitempty"`

	// The type of Azure hop the packet should be sent to.
	NextHopType *RouteNextHopType `json:"nextHopType,omitempty"`

	// Who created the route.
	Source *EffectiveRouteSource `json:"source,omitempty"`

	// The value of effective route.
	State *EffectiveRouteState `json:"state,omitempty"`
}

EffectiveRoute - Effective Route.

func (EffectiveRoute) MarshalJSON

func (e EffectiveRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EffectiveRoute.

type EffectiveRouteListResult

type EffectiveRouteListResult struct {
	// A list of effective routes.
	Value []*EffectiveRoute `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

EffectiveRouteListResult - Response for list effective route API service call.

func (EffectiveRouteListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type EffectiveRouteListResult.

type EffectiveRouteSource

type EffectiveRouteSource string

EffectiveRouteSource - Who created the route.

const (
	EffectiveRouteSourceDefault               EffectiveRouteSource = "Default"
	EffectiveRouteSourceUnknown               EffectiveRouteSource = "Unknown"
	EffectiveRouteSourceUser                  EffectiveRouteSource = "User"
	EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway"
)

func PossibleEffectiveRouteSourceValues

func PossibleEffectiveRouteSourceValues() []EffectiveRouteSource

PossibleEffectiveRouteSourceValues returns the possible values for the EffectiveRouteSource const type.

func (EffectiveRouteSource) ToPtr

ToPtr returns a *EffectiveRouteSource pointing to the current value.

type EffectiveRouteState

type EffectiveRouteState string

EffectiveRouteState - The value of effective route.

const (
	EffectiveRouteStateActive  EffectiveRouteState = "Active"
	EffectiveRouteStateInvalid EffectiveRouteState = "Invalid"
)

func PossibleEffectiveRouteStateValues

func PossibleEffectiveRouteStateValues() []EffectiveRouteState

PossibleEffectiveRouteStateValues returns the possible values for the EffectiveRouteState const type.

func (EffectiveRouteState) ToPtr

ToPtr returns a *EffectiveRouteState pointing to the current value.

type EffectiveRoutesParameters

type EffectiveRoutesParameters struct {
	// The resource whose effective routes are being requested.
	ResourceID *string `json:"resourceId,omitempty"`

	// 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 - The network protocol this rule applies to.

const (
	EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All"
	EffectiveSecurityRuleProtocolTCP EffectiveSecurityRuleProtocol = "Tcp"
	EffectiveSecurityRuleProtocolUDP EffectiveSecurityRuleProtocol = "Udp"
)

func PossibleEffectiveSecurityRuleProtocolValues

func PossibleEffectiveSecurityRuleProtocolValues() []EffectiveSecurityRuleProtocol

PossibleEffectiveSecurityRuleProtocolValues returns the possible values for the EffectiveSecurityRuleProtocol const type.

func (EffectiveSecurityRuleProtocol) ToPtr

ToPtr returns a *EffectiveSecurityRuleProtocol pointing to the current value.

type EndpointServiceResult

type EndpointServiceResult struct {
	SubResource
	// READ-ONLY; Name of the endpoint service.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Type of the endpoint service.
	Type *string `json:"type,omitempty" azure:"ro"`
}

EndpointServiceResult - Endpoint service.

func (EndpointServiceResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type EndpointServiceResult.

type EndpointServicesListResult

type EndpointServicesListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of available endpoint services in a region.
	Value []*EndpointServiceResult `json:"value,omitempty"`
}

EndpointServicesListResult - Response for the ListAvailableEndpointServices API service call.

func (EndpointServicesListResult) MarshalJSON

func (e EndpointServicesListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EndpointServicesListResult.

type EndpointType

type EndpointType string

EndpointType - The endpoint type.

const (
	EndpointTypeAzureSubnet         EndpointType = "AzureSubnet"
	EndpointTypeAzureVM             EndpointType = "AzureVM"
	EndpointTypeAzureVNet           EndpointType = "AzureVNet"
	EndpointTypeExternalAddress     EndpointType = "ExternalAddress"
	EndpointTypeMMAWorkspaceMachine EndpointType = "MMAWorkspaceMachine"
	EndpointTypeMMAWorkspaceNetwork EndpointType = "MMAWorkspaceNetwork"
)

func PossibleEndpointTypeValues

func PossibleEndpointTypeValues() []EndpointType

PossibleEndpointTypeValues returns the possible values for the EndpointType const type.

func (EndpointType) ToPtr

func (c EndpointType) ToPtr() *EndpointType

ToPtr returns a *EndpointType pointing to the current value.

type Error

type Error struct {

	// Error code.
	Code *string `json:"code,omitempty"`

	// Error details.
	Details []*ErrorDetails `json:"details,omitempty"`

	// Inner error message.
	InnerError *string `json:"innerError,omitempty"`

	// Error message.
	Message *string `json:"message,omitempty"`

	// Error target.
	Target *string `json:"target,omitempty"`
	// contains filtered or unexported fields
}

Error - Common error representation. Implements the error and azcore.HTTPResponse interfaces.

func (Error) Error

func (e Error) Error() string

Error implements the error interface for type Error. The contents of the error text are not contractual and subject to change.

type ErrorDetails

type ErrorDetails struct {
	// Error code.
	Code *string `json:"code,omitempty"`

	// Error message.
	Message *string `json:"message,omitempty"`

	// Error target.
	Target *string `json:"target,omitempty"`
}

ErrorDetails - Common error details representation.

type ErrorResponse

type ErrorResponse struct {

	// The error details object.
	InnerError *ErrorDetails `json:"error,omitempty"`
	// contains filtered or unexported fields
}

ErrorResponse - The error object. Implements the error and azcore.HTTPResponse interfaces.

func (ErrorResponse) Error

func (e ErrorResponse) Error() string

Error implements the error interface for type ErrorResponse. The contents of the error text are not contractual and subject to change.

type EvaluatedNetworkSecurityGroup

type EvaluatedNetworkSecurityGroup struct {
	// Resource ID of nic or subnet to which network security group is applied.
	AppliedTo *string `json:"appliedTo,omitempty"`

	// Matched network security rule.
	MatchedRule *MatchedRule `json:"matchedRule,omitempty"`

	// Network security group ID.
	NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty"`

	// READ-ONLY; List of network security rules evaluation results.
	RulesEvaluationResult []*NetworkSecurityRulesEvaluationResult `json:"rulesEvaluationResult,omitempty" azure:"ro"`
}

EvaluatedNetworkSecurityGroup - Results of network security group evaluation.

func (EvaluatedNetworkSecurityGroup) MarshalJSON

func (e EvaluatedNetworkSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedNetworkSecurityGroup.

type EvaluationState

type EvaluationState string

EvaluationState - Connectivity analysis evaluation state.

const (
	EvaluationStateCompleted  EvaluationState = "Completed"
	EvaluationStateInProgress EvaluationState = "InProgress"
	EvaluationStateNotStarted EvaluationState = "NotStarted"
)

func PossibleEvaluationStateValues

func PossibleEvaluationStateValues() []EvaluationState

PossibleEvaluationStateValues returns the possible values for the EvaluationState const type.

func (EvaluationState) ToPtr

func (c EvaluationState) ToPtr() *EvaluationState

ToPtr returns a *EvaluationState pointing to the current value.

type ExplicitProxySettings

type ExplicitProxySettings struct {
	// When set to true, explicit proxy mode is enabled.
	EnableExplicitProxy *bool `json:"enableExplicitProxy,omitempty"`

	// Port number for explicit proxy http protocol, cannot be greater than 64000.
	HTTPPort *int32 `json:"httpPort,omitempty"`

	// Port number for explicit proxy https protocol, cannot be greater than 64000.
	HTTPSPort *int32 `json:"httpsPort,omitempty"`

	// SAS URL for PAC file.
	PacFile *string `json:"pacFile,omitempty"`

	// Port number for firewall to serve PAC file.
	PacFilePort *int32 `json:"pacFilePort,omitempty"`
}

ExplicitProxySettings - Explicit Proxy Settings in Firewall Policy.

type ExpressRouteCircuit

type ExpressRouteCircuit struct {
	Resource
	// Properties of the express route circuit.
	Properties *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`

	// The SKU.
	SKU *ExpressRouteCircuitSKU `json:"sku,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ExpressRouteCircuit resource.

func (ExpressRouteCircuit) MarshalJSON

func (e ExpressRouteCircuit) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuit.

type ExpressRouteCircuitArpTable

type ExpressRouteCircuitArpTable struct {
	// Entry age in minutes.
	Age *int32 `json:"age,omitempty"`

	// The IP address.
	IPAddress *string `json:"ipAddress,omitempty"`

	// Interface address.
	Interface *string `json:"interface,omitempty"`

	// The MAC address.
	MacAddress *string `json:"macAddress,omitempty"`
}

ExpressRouteCircuitArpTable - The ARP table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitAuthorization

type ExpressRouteCircuitAuthorization struct {
	SubResource
	// 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"`

	// Properties of the express route circuit authorization.
	Properties *AuthorizationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ExpressRouteCircuitAuthorization - Authorization in an ExpressRouteCircuit resource.

func (ExpressRouteCircuitAuthorization) MarshalJSON

func (e ExpressRouteCircuitAuthorization) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitAuthorization.

type ExpressRouteCircuitAuthorizationsBeginCreateOrUpdateOptions

type ExpressRouteCircuitAuthorizationsBeginCreateOrUpdateOptions struct {
}

ExpressRouteCircuitAuthorizationsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitAuthorizations.BeginCreateOrUpdate method.

type ExpressRouteCircuitAuthorizationsBeginDeleteOptions

type ExpressRouteCircuitAuthorizationsBeginDeleteOptions struct {
}

ExpressRouteCircuitAuthorizationsBeginDeleteOptions contains the optional parameters for the ExpressRouteCircuitAuthorizations.BeginDelete method.

type ExpressRouteCircuitAuthorizationsClient

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

ExpressRouteCircuitAuthorizationsClient contains the methods for the ExpressRouteCircuitAuthorizations group. Don't use this type directly, use NewExpressRouteCircuitAuthorizationsClient() instead.

func NewExpressRouteCircuitAuthorizationsClient

func NewExpressRouteCircuitAuthorizationsClient(con *arm.Connection, subscriptionID string) *ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClient creates a new instance of ExpressRouteCircuitAuthorizationsClient with the specified values.

func (*ExpressRouteCircuitAuthorizationsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates an authorization in the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitAuthorizationsClient) BeginDelete

BeginDelete - Deletes the specified authorization from the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitAuthorizationsClient) Get

Get - Gets the specified authorization from the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitAuthorizationsClient) List

List - Gets all authorizations in an express route circuit. If the operation fails it returns the *CloudError error type.

type ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller

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

ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitAuthorizationsCreateOrUpdateResponse will be returned.

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitAuthorizationsCreateOrUpdatePollerResponse

type ExpressRouteCircuitAuthorizationsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitAuthorizationsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitAuthorizationsCreateOrUpdatePollerResponse contains the response from method ExpressRouteCircuitAuthorizations.CreateOrUpdate.

func (ExpressRouteCircuitAuthorizationsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitAuthorizationsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteCircuitAuthorizationsCreateOrUpdateResponse

type ExpressRouteCircuitAuthorizationsCreateOrUpdateResponse struct {
	ExpressRouteCircuitAuthorizationsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitAuthorizationsCreateOrUpdateResponse contains the response from method ExpressRouteCircuitAuthorizations.CreateOrUpdate.

type ExpressRouteCircuitAuthorizationsCreateOrUpdateResult

type ExpressRouteCircuitAuthorizationsCreateOrUpdateResult struct {
	ExpressRouteCircuitAuthorization
}

ExpressRouteCircuitAuthorizationsCreateOrUpdateResult contains the result from method ExpressRouteCircuitAuthorizations.CreateOrUpdate.

type ExpressRouteCircuitAuthorizationsDeletePoller

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

ExpressRouteCircuitAuthorizationsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitAuthorizationsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitAuthorizationsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitAuthorizationsDeleteResponse will be returned.

func (*ExpressRouteCircuitAuthorizationsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitAuthorizationsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitAuthorizationsDeletePollerResponse

type ExpressRouteCircuitAuthorizationsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitAuthorizationsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitAuthorizationsDeletePollerResponse contains the response from method ExpressRouteCircuitAuthorizations.Delete.

func (ExpressRouteCircuitAuthorizationsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitAuthorizationsDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitAuthorizationsDeletePollerResponse from the provided client and resume token.

type ExpressRouteCircuitAuthorizationsDeleteResponse

type ExpressRouteCircuitAuthorizationsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitAuthorizationsDeleteResponse contains the response from method ExpressRouteCircuitAuthorizations.Delete.

type ExpressRouteCircuitAuthorizationsGetOptions

type ExpressRouteCircuitAuthorizationsGetOptions struct {
}

ExpressRouteCircuitAuthorizationsGetOptions contains the optional parameters for the ExpressRouteCircuitAuthorizations.Get method.

type ExpressRouteCircuitAuthorizationsGetResponse

type ExpressRouteCircuitAuthorizationsGetResponse struct {
	ExpressRouteCircuitAuthorizationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitAuthorizationsGetResponse contains the response from method ExpressRouteCircuitAuthorizations.Get.

type ExpressRouteCircuitAuthorizationsGetResult

type ExpressRouteCircuitAuthorizationsGetResult struct {
	ExpressRouteCircuitAuthorization
}

ExpressRouteCircuitAuthorizationsGetResult contains the result from method ExpressRouteCircuitAuthorizations.Get.

type ExpressRouteCircuitAuthorizationsListOptions

type ExpressRouteCircuitAuthorizationsListOptions struct {
}

ExpressRouteCircuitAuthorizationsListOptions contains the optional parameters for the ExpressRouteCircuitAuthorizations.List method.

type ExpressRouteCircuitAuthorizationsListPager

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

ExpressRouteCircuitAuthorizationsListPager provides operations for iterating over paged responses.

func (*ExpressRouteCircuitAuthorizationsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCircuitAuthorizationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCircuitAuthorizationsListPager) PageResponse

PageResponse returns the current ExpressRouteCircuitAuthorizationsListResponse page.

type ExpressRouteCircuitAuthorizationsListResponse

type ExpressRouteCircuitAuthorizationsListResponse struct {
	ExpressRouteCircuitAuthorizationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitAuthorizationsListResponse contains the response from method ExpressRouteCircuitAuthorizations.List.

type ExpressRouteCircuitAuthorizationsListResult

type ExpressRouteCircuitAuthorizationsListResult struct {
	AuthorizationListResult
}

ExpressRouteCircuitAuthorizationsListResult contains the result from method ExpressRouteCircuitAuthorizations.List.

type ExpressRouteCircuitConnection

type ExpressRouteCircuitConnection struct {
	SubResource
	// 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"`

	// Properties of the express route circuit connection.
	Properties *ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ExpressRouteCircuitConnection - Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

func (ExpressRouteCircuitConnection) MarshalJSON

func (e ExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitConnection.

type ExpressRouteCircuitConnectionListResult

type ExpressRouteCircuitConnectionListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The global reach connection associated with Private Peering in an ExpressRoute Circuit.
	Value []*ExpressRouteCircuitConnection `json:"value,omitempty"`
}

ExpressRouteCircuitConnectionListResult - Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.

func (ExpressRouteCircuitConnectionListResult) MarshalJSON

func (e ExpressRouteCircuitConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitConnectionListResult.

type ExpressRouteCircuitConnectionPropertiesFormat

type ExpressRouteCircuitConnectionPropertiesFormat struct {
	// /29 IP address space to carve out Customer addresses for tunnels.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// The authorization key.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`

	// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
	ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"`

	// IPv6 Address PrefixProperties of the express route circuit connection.
	IPv6CircuitConnectionConfig *IPv6CircuitConnectionConfig `json:"ipv6CircuitConnectionConfig,omitempty"`

	// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
	PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"`

	// READ-ONLY; Express Route Circuit connection state.
	CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route circuit connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ExpressRouteCircuitConnectionPropertiesFormat - Properties of the express route circuit connection.

type ExpressRouteCircuitConnectionsBeginCreateOrUpdateOptions

type ExpressRouteCircuitConnectionsBeginCreateOrUpdateOptions struct {
}

ExpressRouteCircuitConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitConnections.BeginCreateOrUpdate method.

type ExpressRouteCircuitConnectionsBeginDeleteOptions

type ExpressRouteCircuitConnectionsBeginDeleteOptions struct {
}

ExpressRouteCircuitConnectionsBeginDeleteOptions contains the optional parameters for the ExpressRouteCircuitConnections.BeginDelete method.

type ExpressRouteCircuitConnectionsClient

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

ExpressRouteCircuitConnectionsClient contains the methods for the ExpressRouteCircuitConnections group. Don't use this type directly, use NewExpressRouteCircuitConnectionsClient() instead.

func NewExpressRouteCircuitConnectionsClient

func NewExpressRouteCircuitConnectionsClient(con *arm.Connection, subscriptionID string) *ExpressRouteCircuitConnectionsClient

NewExpressRouteCircuitConnectionsClient creates a new instance of ExpressRouteCircuitConnectionsClient with the specified values.

func (*ExpressRouteCircuitConnectionsClient) BeginCreateOrUpdate

func (client *ExpressRouteCircuitConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection, options *ExpressRouteCircuitConnectionsBeginCreateOrUpdateOptions) (ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a Express Route Circuit Connection in the specified express route circuits. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitConnectionsClient) BeginDelete

BeginDelete - Deletes the specified Express Route Circuit Connection from the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitConnectionsClient) Get

func (client *ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, options *ExpressRouteCircuitConnectionsGetOptions) (ExpressRouteCircuitConnectionsGetResponse, error)

Get - Gets the specified Express Route Circuit Connection from the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitConnectionsClient) List

List - Gets all global reach connections associated with a private peering in an express route circuit. If the operation fails it returns the *CloudError error type.

type ExpressRouteCircuitConnectionsCreateOrUpdatePoller

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

ExpressRouteCircuitConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitConnectionsCreateOrUpdateResponse will be returned.

func (*ExpressRouteCircuitConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitConnectionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse

type ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse contains the response from method ExpressRouteCircuitConnections.CreateOrUpdate.

func (ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteCircuitConnectionsCreateOrUpdateResponse

type ExpressRouteCircuitConnectionsCreateOrUpdateResponse struct {
	ExpressRouteCircuitConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitConnectionsCreateOrUpdateResponse contains the response from method ExpressRouteCircuitConnections.CreateOrUpdate.

type ExpressRouteCircuitConnectionsCreateOrUpdateResult

type ExpressRouteCircuitConnectionsCreateOrUpdateResult struct {
	ExpressRouteCircuitConnection
}

ExpressRouteCircuitConnectionsCreateOrUpdateResult contains the result from method ExpressRouteCircuitConnections.CreateOrUpdate.

type ExpressRouteCircuitConnectionsDeletePoller

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

ExpressRouteCircuitConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitConnectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitConnectionsDeleteResponse will be returned.

func (*ExpressRouteCircuitConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitConnectionsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitConnectionsDeletePollerResponse

type ExpressRouteCircuitConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitConnectionsDeletePollerResponse contains the response from method ExpressRouteCircuitConnections.Delete.

func (ExpressRouteCircuitConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitConnectionsDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitConnectionsDeletePollerResponse from the provided client and resume token.

type ExpressRouteCircuitConnectionsDeleteResponse

type ExpressRouteCircuitConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitConnectionsDeleteResponse contains the response from method ExpressRouteCircuitConnections.Delete.

type ExpressRouteCircuitConnectionsGetOptions

type ExpressRouteCircuitConnectionsGetOptions struct {
}

ExpressRouteCircuitConnectionsGetOptions contains the optional parameters for the ExpressRouteCircuitConnections.Get method.

type ExpressRouteCircuitConnectionsGetResponse

type ExpressRouteCircuitConnectionsGetResponse struct {
	ExpressRouteCircuitConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitConnectionsGetResponse contains the response from method ExpressRouteCircuitConnections.Get.

type ExpressRouteCircuitConnectionsGetResult

type ExpressRouteCircuitConnectionsGetResult struct {
	ExpressRouteCircuitConnection
}

ExpressRouteCircuitConnectionsGetResult contains the result from method ExpressRouteCircuitConnections.Get.

type ExpressRouteCircuitConnectionsListOptions

type ExpressRouteCircuitConnectionsListOptions struct {
}

ExpressRouteCircuitConnectionsListOptions contains the optional parameters for the ExpressRouteCircuitConnections.List method.

type ExpressRouteCircuitConnectionsListPager

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

ExpressRouteCircuitConnectionsListPager provides operations for iterating over paged responses.

func (*ExpressRouteCircuitConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCircuitConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCircuitConnectionsListPager) PageResponse

PageResponse returns the current ExpressRouteCircuitConnectionsListResponse page.

type ExpressRouteCircuitConnectionsListResponse

type ExpressRouteCircuitConnectionsListResponse struct {
	ExpressRouteCircuitConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitConnectionsListResponse contains the response from method ExpressRouteCircuitConnections.List.

type ExpressRouteCircuitConnectionsListResult

type ExpressRouteCircuitConnectionsListResult struct {
	ExpressRouteCircuitConnectionListResult
}

ExpressRouteCircuitConnectionsListResult contains the result from method ExpressRouteCircuitConnections.List.

type ExpressRouteCircuitListResult

type ExpressRouteCircuitListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of ExpressRouteCircuits in a resource group.
	Value []*ExpressRouteCircuit `json:"value,omitempty"`
}

ExpressRouteCircuitListResult - Response for ListExpressRouteCircuit API service call.

func (ExpressRouteCircuitListResult) MarshalJSON

func (e ExpressRouteCircuitListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitListResult.

type ExpressRouteCircuitPeering

type ExpressRouteCircuitPeering struct {
	SubResource
	// 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"`

	// Properties of the express route circuit peering.
	Properties *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ExpressRouteCircuitPeering - Peering in an ExpressRouteCircuit resource.

func (ExpressRouteCircuitPeering) MarshalJSON

func (e ExpressRouteCircuitPeering) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitPeering.

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string

ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - The advertised public prefix state of the Peering resource.

const (
	ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfigured       ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
	ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateConfiguring      ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
	ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateNotConfigured    ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
	ExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
)

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues returns the possible values for the ExpressRouteCircuitPeeringAdvertisedPublicPrefixState const type.

func (ExpressRouteCircuitPeeringAdvertisedPublicPrefixState) ToPtr

ToPtr returns a *ExpressRouteCircuitPeeringAdvertisedPublicPrefixState pointing to the current value.

type ExpressRouteCircuitPeeringConfig

type ExpressRouteCircuitPeeringConfig struct {
	// The communities of bgp peering. Specified for microsoft peering.
	AdvertisedCommunities []*string `json:"advertisedCommunities,omitempty"`

	// The reference to AdvertisedPublicPrefixes.
	AdvertisedPublicPrefixes []*string `json:"advertisedPublicPrefixes,omitempty"`

	// The CustomerASN of the peering.
	CustomerASN *int32 `json:"customerASN,omitempty"`

	// The legacy mode of the peering.
	LegacyMode *int32 `json:"legacyMode,omitempty"`

	// The RoutingRegistryName of the configuration.
	RoutingRegistryName *string `json:"routingRegistryName,omitempty"`

	// READ-ONLY; The advertised public prefix state of the Peering resource.
	AdvertisedPublicPrefixesState *ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty" azure:"ro"`
}

ExpressRouteCircuitPeeringConfig - Specifies the peering configuration.

func (ExpressRouteCircuitPeeringConfig) MarshalJSON

func (e ExpressRouteCircuitPeeringConfig) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitPeeringConfig.

type ExpressRouteCircuitPeeringID

type ExpressRouteCircuitPeeringID struct {
	// The ID of the ExpressRoute circuit peering.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitPeeringID - ExpressRoute circuit peering identifier.

type ExpressRouteCircuitPeeringListResult

type ExpressRouteCircuitPeeringListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The peerings in an express route circuit.
	Value []*ExpressRouteCircuitPeering `json:"value,omitempty"`
}

ExpressRouteCircuitPeeringListResult - Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit.

func (ExpressRouteCircuitPeeringListResult) MarshalJSON

func (e ExpressRouteCircuitPeeringListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitPeeringListResult.

type ExpressRouteCircuitPeeringPropertiesFormat

type ExpressRouteCircuitPeeringPropertiesFormat struct {
	// The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty"`

	// The list of circuit connections associated with Azure Private Peering for this circuit.
	Connections []*ExpressRouteCircuitConnection `json:"connections,omitempty"`

	// The ExpressRoute connection.
	ExpressRouteConnection *ExpressRouteConnectionID `json:"expressRouteConnection,omitempty"`

	// The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`

	// The IPv6 peering configuration.
	IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`

	// The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`

	// The peer ASN.
	PeerASN *int64 `json:"peerASN,omitempty"`

	// The peering type.
	PeeringType *ExpressRoutePeeringType `json:"peeringType,omitempty"`

	// The primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`

	// The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`

	// The reference to the RouteFilter resource.
	RouteFilter *SubResource `json:"routeFilter,omitempty"`

	// The secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`

	// The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`

	// The shared key.
	SharedKey *string `json:"sharedKey,omitempty"`

	// The peering state.
	State *ExpressRoutePeeringState `json:"state,omitempty"`

	// The peering stats of express route circuit.
	Stats *ExpressRouteCircuitStats `json:"stats,omitempty"`

	// The VLAN ID.
	VlanID *int32 `json:"vlanId,omitempty"`

	// READ-ONLY; Who was the last to modify the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty" azure:"ro"`

	// READ-ONLY; The list of peered circuit connections associated with Azure Private Peering for this circuit.
	PeeredConnections []*PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route circuit peering resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ExpressRouteCircuitPeeringPropertiesFormat - Properties of the express route circuit peering.

func (ExpressRouteCircuitPeeringPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitPeeringPropertiesFormat.

type ExpressRouteCircuitPeeringState

type ExpressRouteCircuitPeeringState string

ExpressRouteCircuitPeeringState - The state of peering.

const (
	ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled"
	ExpressRouteCircuitPeeringStateEnabled  ExpressRouteCircuitPeeringState = "Enabled"
)

func PossibleExpressRouteCircuitPeeringStateValues

func PossibleExpressRouteCircuitPeeringStateValues() []ExpressRouteCircuitPeeringState

PossibleExpressRouteCircuitPeeringStateValues returns the possible values for the ExpressRouteCircuitPeeringState const type.

func (ExpressRouteCircuitPeeringState) ToPtr

ToPtr returns a *ExpressRouteCircuitPeeringState pointing to the current value.

type ExpressRouteCircuitPeeringsBeginCreateOrUpdateOptions

type ExpressRouteCircuitPeeringsBeginCreateOrUpdateOptions struct {
}

ExpressRouteCircuitPeeringsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuitPeerings.BeginCreateOrUpdate method.

type ExpressRouteCircuitPeeringsBeginDeleteOptions

type ExpressRouteCircuitPeeringsBeginDeleteOptions struct {
}

ExpressRouteCircuitPeeringsBeginDeleteOptions contains the optional parameters for the ExpressRouteCircuitPeerings.BeginDelete method.

type ExpressRouteCircuitPeeringsClient

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

ExpressRouteCircuitPeeringsClient contains the methods for the ExpressRouteCircuitPeerings group. Don't use this type directly, use NewExpressRouteCircuitPeeringsClient() instead.

func NewExpressRouteCircuitPeeringsClient

func NewExpressRouteCircuitPeeringsClient(con *arm.Connection, subscriptionID string) *ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClient creates a new instance of ExpressRouteCircuitPeeringsClient with the specified values.

func (*ExpressRouteCircuitPeeringsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates a peering in the specified express route circuits. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitPeeringsClient) BeginDelete

BeginDelete - Deletes the specified peering from the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitPeeringsClient) Get

Get - Gets the specified peering for the express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitPeeringsClient) List

List - Gets all peerings in a specified express route circuit. If the operation fails it returns the *CloudError error type.

type ExpressRouteCircuitPeeringsCreateOrUpdatePoller

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

ExpressRouteCircuitPeeringsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitPeeringsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitPeeringsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitPeeringsCreateOrUpdateResponse will be returned.

func (*ExpressRouteCircuitPeeringsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitPeeringsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitPeeringsCreateOrUpdatePollerResponse

type ExpressRouteCircuitPeeringsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitPeeringsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitPeeringsCreateOrUpdatePollerResponse contains the response from method ExpressRouteCircuitPeerings.CreateOrUpdate.

func (ExpressRouteCircuitPeeringsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitPeeringsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitPeeringsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteCircuitPeeringsCreateOrUpdateResponse

type ExpressRouteCircuitPeeringsCreateOrUpdateResponse struct {
	ExpressRouteCircuitPeeringsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitPeeringsCreateOrUpdateResponse contains the response from method ExpressRouteCircuitPeerings.CreateOrUpdate.

type ExpressRouteCircuitPeeringsCreateOrUpdateResult

type ExpressRouteCircuitPeeringsCreateOrUpdateResult struct {
	ExpressRouteCircuitPeering
}

ExpressRouteCircuitPeeringsCreateOrUpdateResult contains the result from method ExpressRouteCircuitPeerings.CreateOrUpdate.

type ExpressRouteCircuitPeeringsDeletePoller

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

ExpressRouteCircuitPeeringsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitPeeringsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitPeeringsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitPeeringsDeleteResponse will be returned.

func (*ExpressRouteCircuitPeeringsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitPeeringsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitPeeringsDeletePollerResponse

type ExpressRouteCircuitPeeringsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitPeeringsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitPeeringsDeletePollerResponse contains the response from method ExpressRouteCircuitPeerings.Delete.

func (ExpressRouteCircuitPeeringsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitPeeringsDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitPeeringsDeletePollerResponse from the provided client and resume token.

type ExpressRouteCircuitPeeringsDeleteResponse

type ExpressRouteCircuitPeeringsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitPeeringsDeleteResponse contains the response from method ExpressRouteCircuitPeerings.Delete.

type ExpressRouteCircuitPeeringsGetOptions

type ExpressRouteCircuitPeeringsGetOptions struct {
}

ExpressRouteCircuitPeeringsGetOptions contains the optional parameters for the ExpressRouteCircuitPeerings.Get method.

type ExpressRouteCircuitPeeringsGetResponse

type ExpressRouteCircuitPeeringsGetResponse struct {
	ExpressRouteCircuitPeeringsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitPeeringsGetResponse contains the response from method ExpressRouteCircuitPeerings.Get.

type ExpressRouteCircuitPeeringsGetResult

type ExpressRouteCircuitPeeringsGetResult struct {
	ExpressRouteCircuitPeering
}

ExpressRouteCircuitPeeringsGetResult contains the result from method ExpressRouteCircuitPeerings.Get.

type ExpressRouteCircuitPeeringsListOptions

type ExpressRouteCircuitPeeringsListOptions struct {
}

ExpressRouteCircuitPeeringsListOptions contains the optional parameters for the ExpressRouteCircuitPeerings.List method.

type ExpressRouteCircuitPeeringsListPager

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

ExpressRouteCircuitPeeringsListPager provides operations for iterating over paged responses.

func (*ExpressRouteCircuitPeeringsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCircuitPeeringsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCircuitPeeringsListPager) PageResponse

PageResponse returns the current ExpressRouteCircuitPeeringsListResponse page.

type ExpressRouteCircuitPeeringsListResponse

type ExpressRouteCircuitPeeringsListResponse struct {
	ExpressRouteCircuitPeeringsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitPeeringsListResponse contains the response from method ExpressRouteCircuitPeerings.List.

type ExpressRouteCircuitPeeringsListResult

type ExpressRouteCircuitPeeringsListResult struct {
	ExpressRouteCircuitPeeringListResult
}

ExpressRouteCircuitPeeringsListResult contains the result from method ExpressRouteCircuitPeerings.List.

type ExpressRouteCircuitPropertiesFormat

type ExpressRouteCircuitPropertiesFormat struct {
	// Allow classic operations.
	AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"`

	// The list of authorizations.
	Authorizations []*ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"`

	// The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.
	BandwidthInGbps *float32 `json:"bandwidthInGbps,omitempty"`

	// The CircuitProvisioningState state of the resource.
	CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"`

	// The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.
	ExpressRoutePort *SubResource `json:"expressRoutePort,omitempty"`

	// The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`

	// Flag denoting global reach status.
	GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"`

	// The list of peerings.
	Peerings []*ExpressRouteCircuitPeering `json:"peerings,omitempty"`

	// The ServiceKey.
	ServiceKey *string `json:"serviceKey,omitempty"`

	// The ServiceProviderNotes.
	ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`

	// The ServiceProviderProperties.
	ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`

	// The ServiceProviderProvisioningState state of the resource.
	ServiceProviderProvisioningState *ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`

	// READ-ONLY; The provisioning state of the express route circuit resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The identifier of the circuit traffic. Outer tag for QinQ encapsulation.
	Stag *int32 `json:"stag,omitempty" azure:"ro"`
}

ExpressRouteCircuitPropertiesFormat - Properties of ExpressRouteCircuit.

func (ExpressRouteCircuitPropertiesFormat) MarshalJSON

func (e ExpressRouteCircuitPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitPropertiesFormat.

type ExpressRouteCircuitReference

type ExpressRouteCircuitReference struct {
	// Corresponding Express Route Circuit Id.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitReference - Reference to an express route circuit.

type ExpressRouteCircuitRoutesTable

type ExpressRouteCircuitRoutesTable struct {
	// Local preference value as set with the set local-preference route-map configuration command.
	LocPrf *string `json:"locPrf,omitempty"`

	// IP address of a network entity.
	Network *string `json:"network,omitempty"`

	// NextHop address.
	NextHop *string `json:"nextHop,omitempty"`

	// Autonomous system paths to the destination network.
	Path *string `json:"path,omitempty"`

	// Route Weight.
	Weight *int32 `json:"weight,omitempty"`
}

ExpressRouteCircuitRoutesTable - The routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitRoutesTableSummary

type ExpressRouteCircuitRoutesTableSummary struct {
	// Autonomous system number.
	As *int32 `json:"as,omitempty"`

	// IP address of the neighbor.
	Neighbor *string `json:"neighbor,omitempty"`

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

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

	// BGP version number spoken to the neighbor.
	V *int32 `json:"v,omitempty"`
}

ExpressRouteCircuitRoutesTableSummary - The routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitSKU

type ExpressRouteCircuitSKU struct {
	// The family of the SKU.
	Family *ExpressRouteCircuitSKUFamily `json:"family,omitempty"`

	// The name of the SKU.
	Name *string `json:"name,omitempty"`

	// The tier of the SKU.
	Tier *ExpressRouteCircuitSKUTier `json:"tier,omitempty"`
}

ExpressRouteCircuitSKU - Contains SKU in an ExpressRouteCircuit.

type ExpressRouteCircuitSKUFamily

type ExpressRouteCircuitSKUFamily string

ExpressRouteCircuitSKUFamily - The family of the SKU.

const (
	ExpressRouteCircuitSKUFamilyMeteredData   ExpressRouteCircuitSKUFamily = "MeteredData"
	ExpressRouteCircuitSKUFamilyUnlimitedData ExpressRouteCircuitSKUFamily = "UnlimitedData"
)

func PossibleExpressRouteCircuitSKUFamilyValues

func PossibleExpressRouteCircuitSKUFamilyValues() []ExpressRouteCircuitSKUFamily

PossibleExpressRouteCircuitSKUFamilyValues returns the possible values for the ExpressRouteCircuitSKUFamily const type.

func (ExpressRouteCircuitSKUFamily) ToPtr

ToPtr returns a *ExpressRouteCircuitSKUFamily pointing to the current value.

type ExpressRouteCircuitSKUTier

type ExpressRouteCircuitSKUTier string

ExpressRouteCircuitSKUTier - The tier of the SKU.

const (
	ExpressRouteCircuitSKUTierBasic    ExpressRouteCircuitSKUTier = "Basic"
	ExpressRouteCircuitSKUTierLocal    ExpressRouteCircuitSKUTier = "Local"
	ExpressRouteCircuitSKUTierPremium  ExpressRouteCircuitSKUTier = "Premium"
	ExpressRouteCircuitSKUTierStandard ExpressRouteCircuitSKUTier = "Standard"
)

func PossibleExpressRouteCircuitSKUTierValues

func PossibleExpressRouteCircuitSKUTierValues() []ExpressRouteCircuitSKUTier

PossibleExpressRouteCircuitSKUTierValues returns the possible values for the ExpressRouteCircuitSKUTier const type.

func (ExpressRouteCircuitSKUTier) ToPtr

ToPtr returns a *ExpressRouteCircuitSKUTier pointing to the current value.

type ExpressRouteCircuitServiceProviderProperties

type ExpressRouteCircuitServiceProviderProperties struct {
	// The BandwidthInMbps.
	BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"`

	// The peering location.
	PeeringLocation *string `json:"peeringLocation,omitempty"`

	// The serviceProviderName.
	ServiceProviderName *string `json:"serviceProviderName,omitempty"`
}

ExpressRouteCircuitServiceProviderProperties - Contains ServiceProviderProperties in an ExpressRouteCircuit.

type ExpressRouteCircuitStats

type ExpressRouteCircuitStats struct {
	// The Primary BytesIn of the peering.
	PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"`

	// The primary BytesOut of the peering.
	PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"`

	// The secondary BytesIn of the peering.
	SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"`

	// The secondary BytesOut of the peering.
	SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"`
}

ExpressRouteCircuitStats - Contains stats associated with the peering.

type ExpressRouteCircuitsArpTableListResult

type ExpressRouteCircuitsArpTableListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of the ARP tables.
	Value []*ExpressRouteCircuitArpTable `json:"value,omitempty"`
}

ExpressRouteCircuitsArpTableListResult - Response for ListArpTable associated with the Express Route Circuits API.

func (ExpressRouteCircuitsArpTableListResult) MarshalJSON

func (e ExpressRouteCircuitsArpTableListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitsArpTableListResult.

type ExpressRouteCircuitsBeginCreateOrUpdateOptions

type ExpressRouteCircuitsBeginCreateOrUpdateOptions struct {
}

ExpressRouteCircuitsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCircuits.BeginCreateOrUpdate method.

type ExpressRouteCircuitsBeginDeleteOptions

type ExpressRouteCircuitsBeginDeleteOptions struct {
}

ExpressRouteCircuitsBeginDeleteOptions contains the optional parameters for the ExpressRouteCircuits.BeginDelete method.

type ExpressRouteCircuitsBeginListArpTableOptions

type ExpressRouteCircuitsBeginListArpTableOptions struct {
}

ExpressRouteCircuitsBeginListArpTableOptions contains the optional parameters for the ExpressRouteCircuits.BeginListArpTable method.

type ExpressRouteCircuitsBeginListRoutesTableOptions

type ExpressRouteCircuitsBeginListRoutesTableOptions struct {
}

ExpressRouteCircuitsBeginListRoutesTableOptions contains the optional parameters for the ExpressRouteCircuits.BeginListRoutesTable method.

type ExpressRouteCircuitsBeginListRoutesTableSummaryOptions

type ExpressRouteCircuitsBeginListRoutesTableSummaryOptions struct {
}

ExpressRouteCircuitsBeginListRoutesTableSummaryOptions contains the optional parameters for the ExpressRouteCircuits.BeginListRoutesTableSummary method.

type ExpressRouteCircuitsClient

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

ExpressRouteCircuitsClient contains the methods for the ExpressRouteCircuits group. Don't use this type directly, use NewExpressRouteCircuitsClient() instead.

func NewExpressRouteCircuitsClient

func NewExpressRouteCircuitsClient(con *arm.Connection, subscriptionID string) *ExpressRouteCircuitsClient

NewExpressRouteCircuitsClient creates a new instance of ExpressRouteCircuitsClient with the specified values.

func (*ExpressRouteCircuitsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates an express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) BeginDelete

BeginDelete - Deletes the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) BeginListArpTable

func (client *ExpressRouteCircuitsClient) BeginListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string, options *ExpressRouteCircuitsBeginListArpTableOptions) (ExpressRouteCircuitsListArpTablePollerResponse, error)

BeginListArpTable - Gets the currently advertised ARP table associated with the express route circuit in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) BeginListRoutesTable

func (client *ExpressRouteCircuitsClient) BeginListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string, options *ExpressRouteCircuitsBeginListRoutesTableOptions) (ExpressRouteCircuitsListRoutesTablePollerResponse, error)

BeginListRoutesTable - Gets the currently advertised routes table associated with the express route circuit in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) BeginListRoutesTableSummary

func (client *ExpressRouteCircuitsClient) BeginListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string, options *ExpressRouteCircuitsBeginListRoutesTableSummaryOptions) (ExpressRouteCircuitsListRoutesTableSummaryPollerResponse, error)

BeginListRoutesTableSummary - Gets the currently advertised routes table summary associated with the express route circuit in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) Get

Get - Gets information about the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) GetPeeringStats

func (client *ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, options *ExpressRouteCircuitsGetPeeringStatsOptions) (ExpressRouteCircuitsGetPeeringStatsResponse, error)

GetPeeringStats - Gets all stats from an express route circuit in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) GetStats

GetStats - Gets all the stats from an express route circuit in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) List

List - Gets all the express route circuits in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) ListAll

ListAll - Gets all the express route circuits in a subscription. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCircuitsClient) UpdateTags

func (client *ExpressRouteCircuitsClient) UpdateTags(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject, options *ExpressRouteCircuitsUpdateTagsOptions) (ExpressRouteCircuitsUpdateTagsResponse, error)

UpdateTags - Updates an express route circuit tags. If the operation fails it returns the *CloudError error type.

type ExpressRouteCircuitsCreateOrUpdatePoller

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

ExpressRouteCircuitsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitsCreateOrUpdateResponse will be returned.

func (*ExpressRouteCircuitsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitsCreateOrUpdatePollerResponse

type ExpressRouteCircuitsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsCreateOrUpdatePollerResponse contains the response from method ExpressRouteCircuits.CreateOrUpdate.

func (ExpressRouteCircuitsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteCircuitsCreateOrUpdateResponse

type ExpressRouteCircuitsCreateOrUpdateResponse struct {
	ExpressRouteCircuitsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsCreateOrUpdateResponse contains the response from method ExpressRouteCircuits.CreateOrUpdate.

type ExpressRouteCircuitsCreateOrUpdateResult

type ExpressRouteCircuitsCreateOrUpdateResult struct {
	ExpressRouteCircuit
}

ExpressRouteCircuitsCreateOrUpdateResult contains the result from method ExpressRouteCircuits.CreateOrUpdate.

type ExpressRouteCircuitsDeletePoller

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

ExpressRouteCircuitsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitsDeleteResponse will be returned.

func (*ExpressRouteCircuitsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitsDeletePoller) ResumeToken

func (p *ExpressRouteCircuitsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitsDeletePollerResponse

type ExpressRouteCircuitsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsDeletePollerResponse contains the response from method ExpressRouteCircuits.Delete.

func (ExpressRouteCircuitsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitsDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitsDeletePollerResponse from the provided client and resume token.

type ExpressRouteCircuitsDeleteResponse

type ExpressRouteCircuitsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsDeleteResponse contains the response from method ExpressRouteCircuits.Delete.

type ExpressRouteCircuitsGetOptions

type ExpressRouteCircuitsGetOptions struct {
}

ExpressRouteCircuitsGetOptions contains the optional parameters for the ExpressRouteCircuits.Get method.

type ExpressRouteCircuitsGetPeeringStatsOptions

type ExpressRouteCircuitsGetPeeringStatsOptions struct {
}

ExpressRouteCircuitsGetPeeringStatsOptions contains the optional parameters for the ExpressRouteCircuits.GetPeeringStats method.

type ExpressRouteCircuitsGetPeeringStatsResponse

type ExpressRouteCircuitsGetPeeringStatsResponse struct {
	ExpressRouteCircuitsGetPeeringStatsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsGetPeeringStatsResponse contains the response from method ExpressRouteCircuits.GetPeeringStats.

type ExpressRouteCircuitsGetPeeringStatsResult

type ExpressRouteCircuitsGetPeeringStatsResult struct {
	ExpressRouteCircuitStats
}

ExpressRouteCircuitsGetPeeringStatsResult contains the result from method ExpressRouteCircuits.GetPeeringStats.

type ExpressRouteCircuitsGetResponse

type ExpressRouteCircuitsGetResponse struct {
	ExpressRouteCircuitsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsGetResponse contains the response from method ExpressRouteCircuits.Get.

type ExpressRouteCircuitsGetResult

type ExpressRouteCircuitsGetResult struct {
	ExpressRouteCircuit
}

ExpressRouteCircuitsGetResult contains the result from method ExpressRouteCircuits.Get.

type ExpressRouteCircuitsGetStatsOptions

type ExpressRouteCircuitsGetStatsOptions struct {
}

ExpressRouteCircuitsGetStatsOptions contains the optional parameters for the ExpressRouteCircuits.GetStats method.

type ExpressRouteCircuitsGetStatsResponse

type ExpressRouteCircuitsGetStatsResponse struct {
	ExpressRouteCircuitsGetStatsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsGetStatsResponse contains the response from method ExpressRouteCircuits.GetStats.

type ExpressRouteCircuitsGetStatsResult

type ExpressRouteCircuitsGetStatsResult struct {
	ExpressRouteCircuitStats
}

ExpressRouteCircuitsGetStatsResult contains the result from method ExpressRouteCircuits.GetStats.

type ExpressRouteCircuitsListAllOptions

type ExpressRouteCircuitsListAllOptions struct {
}

ExpressRouteCircuitsListAllOptions contains the optional parameters for the ExpressRouteCircuits.ListAll method.

type ExpressRouteCircuitsListAllPager

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

ExpressRouteCircuitsListAllPager provides operations for iterating over paged responses.

func (*ExpressRouteCircuitsListAllPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCircuitsListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCircuitsListAllPager) PageResponse

PageResponse returns the current ExpressRouteCircuitsListAllResponse page.

type ExpressRouteCircuitsListAllResponse

type ExpressRouteCircuitsListAllResponse struct {
	ExpressRouteCircuitsListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListAllResponse contains the response from method ExpressRouteCircuits.ListAll.

type ExpressRouteCircuitsListAllResult

type ExpressRouteCircuitsListAllResult struct {
	ExpressRouteCircuitListResult
}

ExpressRouteCircuitsListAllResult contains the result from method ExpressRouteCircuits.ListAll.

type ExpressRouteCircuitsListArpTablePoller

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

ExpressRouteCircuitsListArpTablePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitsListArpTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitsListArpTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitsListArpTableResponse will be returned.

func (*ExpressRouteCircuitsListArpTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitsListArpTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitsListArpTablePollerResponse

type ExpressRouteCircuitsListArpTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitsListArpTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListArpTablePollerResponse contains the response from method ExpressRouteCircuits.ListArpTable.

func (ExpressRouteCircuitsListArpTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitsListArpTablePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitsListArpTablePollerResponse from the provided client and resume token.

type ExpressRouteCircuitsListArpTableResponse

type ExpressRouteCircuitsListArpTableResponse struct {
	ExpressRouteCircuitsListArpTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListArpTableResponse contains the response from method ExpressRouteCircuits.ListArpTable.

type ExpressRouteCircuitsListArpTableResult

type ExpressRouteCircuitsListArpTableResult struct {
	ExpressRouteCircuitsArpTableListResult
}

ExpressRouteCircuitsListArpTableResult contains the result from method ExpressRouteCircuits.ListArpTable.

type ExpressRouteCircuitsListOptions

type ExpressRouteCircuitsListOptions struct {
}

ExpressRouteCircuitsListOptions contains the optional parameters for the ExpressRouteCircuits.List method.

type ExpressRouteCircuitsListPager

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

ExpressRouteCircuitsListPager provides operations for iterating over paged responses.

func (*ExpressRouteCircuitsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCircuitsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCircuitsListPager) PageResponse

PageResponse returns the current ExpressRouteCircuitsListResponse page.

type ExpressRouteCircuitsListResponse

type ExpressRouteCircuitsListResponse struct {
	ExpressRouteCircuitsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListResponse contains the response from method ExpressRouteCircuits.List.

type ExpressRouteCircuitsListResult

type ExpressRouteCircuitsListResult struct {
	ExpressRouteCircuitListResult
}

ExpressRouteCircuitsListResult contains the result from method ExpressRouteCircuits.List.

type ExpressRouteCircuitsListRoutesTablePoller

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

ExpressRouteCircuitsListRoutesTablePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitsListRoutesTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitsListRoutesTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitsListRoutesTableResponse will be returned.

func (*ExpressRouteCircuitsListRoutesTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitsListRoutesTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitsListRoutesTablePollerResponse

type ExpressRouteCircuitsListRoutesTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitsListRoutesTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListRoutesTablePollerResponse contains the response from method ExpressRouteCircuits.ListRoutesTable.

func (ExpressRouteCircuitsListRoutesTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitsListRoutesTablePollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitsListRoutesTablePollerResponse from the provided client and resume token.

type ExpressRouteCircuitsListRoutesTableResponse

type ExpressRouteCircuitsListRoutesTableResponse struct {
	ExpressRouteCircuitsListRoutesTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListRoutesTableResponse contains the response from method ExpressRouteCircuits.ListRoutesTable.

type ExpressRouteCircuitsListRoutesTableResult

type ExpressRouteCircuitsListRoutesTableResult struct {
	ExpressRouteCircuitsRoutesTableListResult
}

ExpressRouteCircuitsListRoutesTableResult contains the result from method ExpressRouteCircuits.ListRoutesTable.

type ExpressRouteCircuitsListRoutesTableSummaryPoller

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

ExpressRouteCircuitsListRoutesTableSummaryPoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCircuitsListRoutesTableSummaryPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCircuitsListRoutesTableSummaryPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCircuitsListRoutesTableSummaryResponse will be returned.

func (*ExpressRouteCircuitsListRoutesTableSummaryPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCircuitsListRoutesTableSummaryPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCircuitsListRoutesTableSummaryPollerResponse

type ExpressRouteCircuitsListRoutesTableSummaryPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCircuitsListRoutesTableSummaryPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListRoutesTableSummaryPollerResponse contains the response from method ExpressRouteCircuits.ListRoutesTableSummary.

func (ExpressRouteCircuitsListRoutesTableSummaryPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCircuitsListRoutesTableSummaryPollerResponse) Resume

Resume rehydrates a ExpressRouteCircuitsListRoutesTableSummaryPollerResponse from the provided client and resume token.

type ExpressRouteCircuitsListRoutesTableSummaryResponse

type ExpressRouteCircuitsListRoutesTableSummaryResponse struct {
	ExpressRouteCircuitsListRoutesTableSummaryResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsListRoutesTableSummaryResponse contains the response from method ExpressRouteCircuits.ListRoutesTableSummary.

type ExpressRouteCircuitsListRoutesTableSummaryResult

type ExpressRouteCircuitsListRoutesTableSummaryResult struct {
	ExpressRouteCircuitsRoutesTableSummaryListResult
}

ExpressRouteCircuitsListRoutesTableSummaryResult contains the result from method ExpressRouteCircuits.ListRoutesTableSummary.

type ExpressRouteCircuitsRoutesTableListResult

type ExpressRouteCircuitsRoutesTableListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of routes table.
	Value []*ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
}

ExpressRouteCircuitsRoutesTableListResult - Response for ListRoutesTable associated with the Express Route Circuits API.

func (ExpressRouteCircuitsRoutesTableListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitsRoutesTableListResult.

type ExpressRouteCircuitsRoutesTableSummaryListResult

type ExpressRouteCircuitsRoutesTableSummaryListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of the routes table.
	Value []*ExpressRouteCircuitRoutesTableSummary `json:"value,omitempty"`
}

ExpressRouteCircuitsRoutesTableSummaryListResult - Response for ListRoutesTable associated with the Express Route Circuits API.

func (ExpressRouteCircuitsRoutesTableSummaryListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCircuitsRoutesTableSummaryListResult.

type ExpressRouteCircuitsUpdateTagsOptions

type ExpressRouteCircuitsUpdateTagsOptions struct {
}

ExpressRouteCircuitsUpdateTagsOptions contains the optional parameters for the ExpressRouteCircuits.UpdateTags method.

type ExpressRouteCircuitsUpdateTagsResponse

type ExpressRouteCircuitsUpdateTagsResponse struct {
	ExpressRouteCircuitsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCircuitsUpdateTagsResponse contains the response from method ExpressRouteCircuits.UpdateTags.

type ExpressRouteCircuitsUpdateTagsResult

type ExpressRouteCircuitsUpdateTagsResult struct {
	ExpressRouteCircuit
}

ExpressRouteCircuitsUpdateTagsResult contains the result from method ExpressRouteCircuits.UpdateTags.

type ExpressRouteConnection

type ExpressRouteConnection struct {
	SubResource
	// REQUIRED; The name of the resource.
	Name *string `json:"name,omitempty"`

	// Properties of the express route connection.
	Properties *ExpressRouteConnectionProperties `json:"properties,omitempty"`
}

ExpressRouteConnection resource.

func (ExpressRouteConnection) MarshalJSON

func (e ExpressRouteConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteConnection.

type ExpressRouteConnectionID

type ExpressRouteConnectionID struct {
	// READ-ONLY; The ID of the ExpressRouteConnection.
	ID *string `json:"id,omitempty" azure:"ro"`
}

ExpressRouteConnectionID - The ID of the ExpressRouteConnection.

type ExpressRouteConnectionList

type ExpressRouteConnectionList struct {
	// The list of ExpressRoute connections.
	Value []*ExpressRouteConnection `json:"value,omitempty"`
}

ExpressRouteConnectionList - ExpressRouteConnection list.

func (ExpressRouteConnectionList) MarshalJSON

func (e ExpressRouteConnectionList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteConnectionList.

type ExpressRouteConnectionProperties

type ExpressRouteConnectionProperties struct {
	// REQUIRED; The ExpressRoute circuit peering.
	ExpressRouteCircuitPeering *ExpressRouteCircuitPeeringID `json:"expressRouteCircuitPeering,omitempty"`

	// Authorization key to establish the connection.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`

	// Enable internet security.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`

	// Enable FastPath to vWan Firewall hub.
	ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"`

	// The Routing Configuration indicating the associated and propagated route tables on this connection.
	RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"`

	// The routing weight associated to the connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`

	// READ-ONLY; The provisioning state of the express route connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ExpressRouteConnectionProperties - Properties of the ExpressRouteConnection subresource.

type ExpressRouteConnectionsBeginCreateOrUpdateOptions

type ExpressRouteConnectionsBeginCreateOrUpdateOptions struct {
}

ExpressRouteConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteConnections.BeginCreateOrUpdate method.

type ExpressRouteConnectionsBeginDeleteOptions

type ExpressRouteConnectionsBeginDeleteOptions struct {
}

ExpressRouteConnectionsBeginDeleteOptions contains the optional parameters for the ExpressRouteConnections.BeginDelete method.

type ExpressRouteConnectionsClient

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

ExpressRouteConnectionsClient contains the methods for the ExpressRouteConnections group. Don't use this type directly, use NewExpressRouteConnectionsClient() instead.

func NewExpressRouteConnectionsClient

func NewExpressRouteConnectionsClient(con *arm.Connection, subscriptionID string) *ExpressRouteConnectionsClient

NewExpressRouteConnectionsClient creates a new instance of ExpressRouteConnectionsClient with the specified values.

func (*ExpressRouteConnectionsClient) BeginCreateOrUpdate

func (client *ExpressRouteConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection, options *ExpressRouteConnectionsBeginCreateOrUpdateOptions) (ExpressRouteConnectionsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteConnectionsClient) BeginDelete

func (client *ExpressRouteConnectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, options *ExpressRouteConnectionsBeginDeleteOptions) (ExpressRouteConnectionsDeletePollerResponse, error)

BeginDelete - Deletes a connection to a ExpressRoute circuit. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteConnectionsClient) Get

func (client *ExpressRouteConnectionsClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, options *ExpressRouteConnectionsGetOptions) (ExpressRouteConnectionsGetResponse, error)

Get - Gets the specified ExpressRouteConnection. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteConnectionsClient) List

func (client *ExpressRouteConnectionsClient) List(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, options *ExpressRouteConnectionsListOptions) (ExpressRouteConnectionsListResponse, error)

List - Lists ExpressRouteConnections. If the operation fails it returns the *CloudError error type.

type ExpressRouteConnectionsCreateOrUpdatePoller

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

ExpressRouteConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteConnectionsCreateOrUpdateResponse will be returned.

func (*ExpressRouteConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteConnectionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteConnectionsCreateOrUpdatePollerResponse

type ExpressRouteConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteConnectionsCreateOrUpdatePollerResponse contains the response from method ExpressRouteConnections.CreateOrUpdate.

func (ExpressRouteConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteConnectionsCreateOrUpdateResponse

type ExpressRouteConnectionsCreateOrUpdateResponse struct {
	ExpressRouteConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteConnectionsCreateOrUpdateResponse contains the response from method ExpressRouteConnections.CreateOrUpdate.

type ExpressRouteConnectionsCreateOrUpdateResult

type ExpressRouteConnectionsCreateOrUpdateResult struct {
	ExpressRouteConnection
}

ExpressRouteConnectionsCreateOrUpdateResult contains the result from method ExpressRouteConnections.CreateOrUpdate.

type ExpressRouteConnectionsDeletePoller

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

ExpressRouteConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteConnectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteConnectionsDeleteResponse will be returned.

func (*ExpressRouteConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteConnectionsDeletePoller) ResumeToken

func (p *ExpressRouteConnectionsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteConnectionsDeletePollerResponse

type ExpressRouteConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteConnectionsDeletePollerResponse contains the response from method ExpressRouteConnections.Delete.

func (ExpressRouteConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteConnectionsDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteConnectionsDeletePollerResponse from the provided client and resume token.

type ExpressRouteConnectionsDeleteResponse

type ExpressRouteConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteConnectionsDeleteResponse contains the response from method ExpressRouteConnections.Delete.

type ExpressRouteConnectionsGetOptions

type ExpressRouteConnectionsGetOptions struct {
}

ExpressRouteConnectionsGetOptions contains the optional parameters for the ExpressRouteConnections.Get method.

type ExpressRouteConnectionsGetResponse

type ExpressRouteConnectionsGetResponse struct {
	ExpressRouteConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteConnectionsGetResponse contains the response from method ExpressRouteConnections.Get.

type ExpressRouteConnectionsGetResult

type ExpressRouteConnectionsGetResult struct {
	ExpressRouteConnection
}

ExpressRouteConnectionsGetResult contains the result from method ExpressRouteConnections.Get.

type ExpressRouteConnectionsListOptions

type ExpressRouteConnectionsListOptions struct {
}

ExpressRouteConnectionsListOptions contains the optional parameters for the ExpressRouteConnections.List method.

type ExpressRouteConnectionsListResponse

type ExpressRouteConnectionsListResponse struct {
	ExpressRouteConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteConnectionsListResponse contains the response from method ExpressRouteConnections.List.

type ExpressRouteConnectionsListResult

type ExpressRouteConnectionsListResult struct {
	ExpressRouteConnectionList
}

ExpressRouteConnectionsListResult contains the result from method ExpressRouteConnections.List.

type ExpressRouteCrossConnection

type ExpressRouteCrossConnection struct {
	Resource
	// Properties of the express route cross connection.
	Properties *ExpressRouteCrossConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ExpressRouteCrossConnection resource.

func (ExpressRouteCrossConnection) MarshalJSON

func (e ExpressRouteCrossConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCrossConnection.

type ExpressRouteCrossConnectionListResult

type ExpressRouteCrossConnectionListResult struct {
	// A list of ExpressRouteCrossConnection resources.
	Value []*ExpressRouteCrossConnection `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ExpressRouteCrossConnectionListResult - Response for ListExpressRouteCrossConnection API service call.

func (ExpressRouteCrossConnectionListResult) MarshalJSON

func (e ExpressRouteCrossConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCrossConnectionListResult.

type ExpressRouteCrossConnectionPeering

type ExpressRouteCrossConnectionPeering struct {
	SubResource
	// 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"`

	// Properties of the express route cross connection peering.
	Properties *ExpressRouteCrossConnectionPeeringProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ExpressRouteCrossConnectionPeering - Peering in an ExpressRoute Cross Connection resource.

func (ExpressRouteCrossConnectionPeering) MarshalJSON

func (e ExpressRouteCrossConnectionPeering) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCrossConnectionPeering.

type ExpressRouteCrossConnectionPeeringList

type ExpressRouteCrossConnectionPeeringList struct {
	// The peerings in an express route cross connection.
	Value []*ExpressRouteCrossConnectionPeering `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ExpressRouteCrossConnectionPeeringList - Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.

func (ExpressRouteCrossConnectionPeeringList) MarshalJSON

func (e ExpressRouteCrossConnectionPeeringList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCrossConnectionPeeringList.

type ExpressRouteCrossConnectionPeeringProperties

type ExpressRouteCrossConnectionPeeringProperties struct {
	// The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`

	// The IPv6 peering configuration.
	IPv6PeeringConfig *IPv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`

	// The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`

	// The peer ASN.
	PeerASN *int64 `json:"peerASN,omitempty"`

	// The peering type.
	PeeringType *ExpressRoutePeeringType `json:"peeringType,omitempty"`

	// The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`

	// The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`

	// The shared key.
	SharedKey *string `json:"sharedKey,omitempty"`

	// The peering state.
	State *ExpressRoutePeeringState `json:"state,omitempty"`

	// The VLAN ID.
	VlanID *int32 `json:"vlanId,omitempty"`

	// READ-ONLY; The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty" azure:"ro"`

	// READ-ONLY; Who was the last to modify the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty" azure:"ro"`

	// READ-ONLY; The primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route cross connection peering resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty" azure:"ro"`
}

ExpressRouteCrossConnectionPeeringProperties - Properties of express route cross connection peering.

type ExpressRouteCrossConnectionPeeringsBeginCreateOrUpdateOptions

type ExpressRouteCrossConnectionPeeringsBeginCreateOrUpdateOptions struct {
}

ExpressRouteCrossConnectionPeeringsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCrossConnectionPeerings.BeginCreateOrUpdate method.

type ExpressRouteCrossConnectionPeeringsBeginDeleteOptions

type ExpressRouteCrossConnectionPeeringsBeginDeleteOptions struct {
}

ExpressRouteCrossConnectionPeeringsBeginDeleteOptions contains the optional parameters for the ExpressRouteCrossConnectionPeerings.BeginDelete method.

type ExpressRouteCrossConnectionPeeringsClient

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

ExpressRouteCrossConnectionPeeringsClient contains the methods for the ExpressRouteCrossConnectionPeerings group. Don't use this type directly, use NewExpressRouteCrossConnectionPeeringsClient() instead.

func NewExpressRouteCrossConnectionPeeringsClient

func NewExpressRouteCrossConnectionPeeringsClient(con *arm.Connection, subscriptionID string) *ExpressRouteCrossConnectionPeeringsClient

NewExpressRouteCrossConnectionPeeringsClient creates a new instance of ExpressRouteCrossConnectionPeeringsClient with the specified values.

func (*ExpressRouteCrossConnectionPeeringsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates a peering in the specified ExpressRouteCrossConnection. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionPeeringsClient) BeginDelete

BeginDelete - Deletes the specified peering from the ExpressRouteCrossConnection. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionPeeringsClient) Get

Get - Gets the specified peering for the ExpressRouteCrossConnection. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionPeeringsClient) List

List - Gets all peerings in a specified ExpressRouteCrossConnection. If the operation fails it returns the *CloudError error type.

type ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller

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

ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCrossConnectionPeeringsCreateOrUpdateResponse will be returned.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCrossConnectionPeeringsCreateOrUpdatePollerResponse

type ExpressRouteCrossConnectionPeeringsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCrossConnectionPeeringsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionPeeringsCreateOrUpdatePollerResponse contains the response from method ExpressRouteCrossConnectionPeerings.CreateOrUpdate.

func (ExpressRouteCrossConnectionPeeringsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteCrossConnectionPeeringsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateResponse

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateResponse struct {
	ExpressRouteCrossConnectionPeeringsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionPeeringsCreateOrUpdateResponse contains the response from method ExpressRouteCrossConnectionPeerings.CreateOrUpdate.

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateResult

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateResult struct {
	ExpressRouteCrossConnectionPeering
}

ExpressRouteCrossConnectionPeeringsCreateOrUpdateResult contains the result from method ExpressRouteCrossConnectionPeerings.CreateOrUpdate.

type ExpressRouteCrossConnectionPeeringsDeletePoller

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

ExpressRouteCrossConnectionPeeringsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCrossConnectionPeeringsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCrossConnectionPeeringsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCrossConnectionPeeringsDeleteResponse will be returned.

func (*ExpressRouteCrossConnectionPeeringsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCrossConnectionPeeringsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCrossConnectionPeeringsDeletePollerResponse

type ExpressRouteCrossConnectionPeeringsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCrossConnectionPeeringsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionPeeringsDeletePollerResponse contains the response from method ExpressRouteCrossConnectionPeerings.Delete.

func (ExpressRouteCrossConnectionPeeringsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCrossConnectionPeeringsDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteCrossConnectionPeeringsDeletePollerResponse from the provided client and resume token.

type ExpressRouteCrossConnectionPeeringsDeleteResponse

type ExpressRouteCrossConnectionPeeringsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionPeeringsDeleteResponse contains the response from method ExpressRouteCrossConnectionPeerings.Delete.

type ExpressRouteCrossConnectionPeeringsGetOptions

type ExpressRouteCrossConnectionPeeringsGetOptions struct {
}

ExpressRouteCrossConnectionPeeringsGetOptions contains the optional parameters for the ExpressRouteCrossConnectionPeerings.Get method.

type ExpressRouteCrossConnectionPeeringsGetResponse

type ExpressRouteCrossConnectionPeeringsGetResponse struct {
	ExpressRouteCrossConnectionPeeringsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionPeeringsGetResponse contains the response from method ExpressRouteCrossConnectionPeerings.Get.

type ExpressRouteCrossConnectionPeeringsGetResult

type ExpressRouteCrossConnectionPeeringsGetResult struct {
	ExpressRouteCrossConnectionPeering
}

ExpressRouteCrossConnectionPeeringsGetResult contains the result from method ExpressRouteCrossConnectionPeerings.Get.

type ExpressRouteCrossConnectionPeeringsListOptions

type ExpressRouteCrossConnectionPeeringsListOptions struct {
}

ExpressRouteCrossConnectionPeeringsListOptions contains the optional parameters for the ExpressRouteCrossConnectionPeerings.List method.

type ExpressRouteCrossConnectionPeeringsListPager

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

ExpressRouteCrossConnectionPeeringsListPager provides operations for iterating over paged responses.

func (*ExpressRouteCrossConnectionPeeringsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCrossConnectionPeeringsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCrossConnectionPeeringsListPager) PageResponse

PageResponse returns the current ExpressRouteCrossConnectionPeeringsListResponse page.

type ExpressRouteCrossConnectionPeeringsListResponse

type ExpressRouteCrossConnectionPeeringsListResponse struct {
	ExpressRouteCrossConnectionPeeringsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionPeeringsListResponse contains the response from method ExpressRouteCrossConnectionPeerings.List.

type ExpressRouteCrossConnectionPeeringsListResult

type ExpressRouteCrossConnectionPeeringsListResult struct {
	ExpressRouteCrossConnectionPeeringList
}

ExpressRouteCrossConnectionPeeringsListResult contains the result from method ExpressRouteCrossConnectionPeerings.List.

type ExpressRouteCrossConnectionProperties

type ExpressRouteCrossConnectionProperties struct {
	// The ExpressRouteCircuit.
	ExpressRouteCircuit *ExpressRouteCircuitReference `json:"expressRouteCircuit,omitempty"`

	// The list of peerings.
	Peerings []*ExpressRouteCrossConnectionPeering `json:"peerings,omitempty"`

	// Additional read only notes set by the connectivity provider.
	ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`

	// The provisioning state of the circuit in the connectivity provider system.
	ServiceProviderProvisioningState *ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`

	// READ-ONLY; The circuit bandwidth In Mbps.
	BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty" azure:"ro"`

	// READ-ONLY; The peering location of the ExpressRoute circuit.
	PeeringLocation *string `json:"peeringLocation,omitempty" azure:"ro"`

	// READ-ONLY; The name of the primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route cross connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The identifier of the circuit traffic.
	STag *int32 `json:"sTag,omitempty" azure:"ro"`

	// READ-ONLY; The name of the secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty" azure:"ro"`
}

ExpressRouteCrossConnectionProperties - Properties of ExpressRouteCrossConnection.

func (ExpressRouteCrossConnectionProperties) MarshalJSON

func (e ExpressRouteCrossConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCrossConnectionProperties.

type ExpressRouteCrossConnectionRoutesTableSummary

type ExpressRouteCrossConnectionRoutesTableSummary struct {
	// Autonomous system number.
	Asn *int32 `json:"asn,omitempty"`

	// IP address of Neighbor router.
	Neighbor *string `json:"neighbor,omitempty"`

	// Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
	StateOrPrefixesReceived *string `json:"stateOrPrefixesReceived,omitempty"`

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

ExpressRouteCrossConnectionRoutesTableSummary - The routes table associated with the ExpressRouteCircuit.

type ExpressRouteCrossConnectionsBeginCreateOrUpdateOptions

type ExpressRouteCrossConnectionsBeginCreateOrUpdateOptions struct {
}

ExpressRouteCrossConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteCrossConnections.BeginCreateOrUpdate method.

type ExpressRouteCrossConnectionsBeginListArpTableOptions

type ExpressRouteCrossConnectionsBeginListArpTableOptions struct {
}

ExpressRouteCrossConnectionsBeginListArpTableOptions contains the optional parameters for the ExpressRouteCrossConnections.BeginListArpTable method.

type ExpressRouteCrossConnectionsBeginListRoutesTableOptions

type ExpressRouteCrossConnectionsBeginListRoutesTableOptions struct {
}

ExpressRouteCrossConnectionsBeginListRoutesTableOptions contains the optional parameters for the ExpressRouteCrossConnections.BeginListRoutesTable method.

type ExpressRouteCrossConnectionsBeginListRoutesTableSummaryOptions

type ExpressRouteCrossConnectionsBeginListRoutesTableSummaryOptions struct {
}

ExpressRouteCrossConnectionsBeginListRoutesTableSummaryOptions contains the optional parameters for the ExpressRouteCrossConnections.BeginListRoutesTableSummary method.

type ExpressRouteCrossConnectionsClient

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

ExpressRouteCrossConnectionsClient contains the methods for the ExpressRouteCrossConnections group. Don't use this type directly, use NewExpressRouteCrossConnectionsClient() instead.

func NewExpressRouteCrossConnectionsClient

func NewExpressRouteCrossConnectionsClient(con *arm.Connection, subscriptionID string) *ExpressRouteCrossConnectionsClient

NewExpressRouteCrossConnectionsClient creates a new instance of ExpressRouteCrossConnectionsClient with the specified values.

func (*ExpressRouteCrossConnectionsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Update the specified ExpressRouteCrossConnection. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) BeginListArpTable

func (client *ExpressRouteCrossConnectionsClient) BeginListArpTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string, options *ExpressRouteCrossConnectionsBeginListArpTableOptions) (ExpressRouteCrossConnectionsListArpTablePollerResponse, error)

BeginListArpTable - Gets the currently advertised ARP table associated with the express route cross connection in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) BeginListRoutesTable

func (client *ExpressRouteCrossConnectionsClient) BeginListRoutesTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string, options *ExpressRouteCrossConnectionsBeginListRoutesTableOptions) (ExpressRouteCrossConnectionsListRoutesTablePollerResponse, error)

BeginListRoutesTable - Gets the currently advertised routes table associated with the express route cross connection in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) BeginListRoutesTableSummary

func (client *ExpressRouteCrossConnectionsClient) BeginListRoutesTableSummary(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string, options *ExpressRouteCrossConnectionsBeginListRoutesTableSummaryOptions) (ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse, error)

BeginListRoutesTableSummary - Gets the route table summary associated with the express route cross connection in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) Get

Get - Gets details about the specified ExpressRouteCrossConnection. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) List

List - Retrieves all the ExpressRouteCrossConnections in a subscription. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) ListByResourceGroup

ListByResourceGroup - Retrieves all the ExpressRouteCrossConnections in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteCrossConnectionsClient) UpdateTags

func (client *ExpressRouteCrossConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, crossConnectionName string, crossConnectionParameters TagsObject, options *ExpressRouteCrossConnectionsUpdateTagsOptions) (ExpressRouteCrossConnectionsUpdateTagsResponse, error)

UpdateTags - Updates an express route cross connection tags. If the operation fails it returns the *CloudError error type.

type ExpressRouteCrossConnectionsCreateOrUpdatePoller

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

ExpressRouteCrossConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCrossConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCrossConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCrossConnectionsCreateOrUpdateResponse will be returned.

func (*ExpressRouteCrossConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCrossConnectionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCrossConnectionsCreateOrUpdatePollerResponse

type ExpressRouteCrossConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCrossConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsCreateOrUpdatePollerResponse contains the response from method ExpressRouteCrossConnections.CreateOrUpdate.

func (ExpressRouteCrossConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCrossConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteCrossConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteCrossConnectionsCreateOrUpdateResponse

type ExpressRouteCrossConnectionsCreateOrUpdateResponse struct {
	ExpressRouteCrossConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsCreateOrUpdateResponse contains the response from method ExpressRouteCrossConnections.CreateOrUpdate.

type ExpressRouteCrossConnectionsCreateOrUpdateResult

type ExpressRouteCrossConnectionsCreateOrUpdateResult struct {
	ExpressRouteCrossConnection
}

ExpressRouteCrossConnectionsCreateOrUpdateResult contains the result from method ExpressRouteCrossConnections.CreateOrUpdate.

type ExpressRouteCrossConnectionsGetOptions

type ExpressRouteCrossConnectionsGetOptions struct {
}

ExpressRouteCrossConnectionsGetOptions contains the optional parameters for the ExpressRouteCrossConnections.Get method.

type ExpressRouteCrossConnectionsGetResponse

type ExpressRouteCrossConnectionsGetResponse struct {
	ExpressRouteCrossConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsGetResponse contains the response from method ExpressRouteCrossConnections.Get.

type ExpressRouteCrossConnectionsGetResult

type ExpressRouteCrossConnectionsGetResult struct {
	ExpressRouteCrossConnection
}

ExpressRouteCrossConnectionsGetResult contains the result from method ExpressRouteCrossConnections.Get.

type ExpressRouteCrossConnectionsListArpTablePoller

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

ExpressRouteCrossConnectionsListArpTablePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCrossConnectionsListArpTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCrossConnectionsListArpTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCrossConnectionsListArpTableResponse will be returned.

func (*ExpressRouteCrossConnectionsListArpTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCrossConnectionsListArpTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCrossConnectionsListArpTablePollerResponse

type ExpressRouteCrossConnectionsListArpTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCrossConnectionsListArpTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListArpTablePollerResponse contains the response from method ExpressRouteCrossConnections.ListArpTable.

func (ExpressRouteCrossConnectionsListArpTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCrossConnectionsListArpTablePollerResponse) Resume

Resume rehydrates a ExpressRouteCrossConnectionsListArpTablePollerResponse from the provided client and resume token.

type ExpressRouteCrossConnectionsListArpTableResponse

type ExpressRouteCrossConnectionsListArpTableResponse struct {
	ExpressRouteCrossConnectionsListArpTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListArpTableResponse contains the response from method ExpressRouteCrossConnections.ListArpTable.

type ExpressRouteCrossConnectionsListArpTableResult

type ExpressRouteCrossConnectionsListArpTableResult struct {
	ExpressRouteCircuitsArpTableListResult
}

ExpressRouteCrossConnectionsListArpTableResult contains the result from method ExpressRouteCrossConnections.ListArpTable.

type ExpressRouteCrossConnectionsListByResourceGroupOptions

type ExpressRouteCrossConnectionsListByResourceGroupOptions struct {
}

ExpressRouteCrossConnectionsListByResourceGroupOptions contains the optional parameters for the ExpressRouteCrossConnections.ListByResourceGroup method.

type ExpressRouteCrossConnectionsListByResourceGroupPager

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

ExpressRouteCrossConnectionsListByResourceGroupPager provides operations for iterating over paged responses.

func (*ExpressRouteCrossConnectionsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCrossConnectionsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCrossConnectionsListByResourceGroupPager) PageResponse

PageResponse returns the current ExpressRouteCrossConnectionsListByResourceGroupResponse page.

type ExpressRouteCrossConnectionsListByResourceGroupResponse

type ExpressRouteCrossConnectionsListByResourceGroupResponse struct {
	ExpressRouteCrossConnectionsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListByResourceGroupResponse contains the response from method ExpressRouteCrossConnections.ListByResourceGroup.

type ExpressRouteCrossConnectionsListByResourceGroupResult

type ExpressRouteCrossConnectionsListByResourceGroupResult struct {
	ExpressRouteCrossConnectionListResult
}

ExpressRouteCrossConnectionsListByResourceGroupResult contains the result from method ExpressRouteCrossConnections.ListByResourceGroup.

type ExpressRouteCrossConnectionsListOptions

type ExpressRouteCrossConnectionsListOptions struct {
}

ExpressRouteCrossConnectionsListOptions contains the optional parameters for the ExpressRouteCrossConnections.List method.

type ExpressRouteCrossConnectionsListPager

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

ExpressRouteCrossConnectionsListPager provides operations for iterating over paged responses.

func (*ExpressRouteCrossConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteCrossConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteCrossConnectionsListPager) PageResponse

PageResponse returns the current ExpressRouteCrossConnectionsListResponse page.

type ExpressRouteCrossConnectionsListResponse

type ExpressRouteCrossConnectionsListResponse struct {
	ExpressRouteCrossConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListResponse contains the response from method ExpressRouteCrossConnections.List.

type ExpressRouteCrossConnectionsListResult

type ExpressRouteCrossConnectionsListResult struct {
	ExpressRouteCrossConnectionListResult
}

ExpressRouteCrossConnectionsListResult contains the result from method ExpressRouteCrossConnections.List.

type ExpressRouteCrossConnectionsListRoutesTablePoller

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

ExpressRouteCrossConnectionsListRoutesTablePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCrossConnectionsListRoutesTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCrossConnectionsListRoutesTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCrossConnectionsListRoutesTableResponse will be returned.

func (*ExpressRouteCrossConnectionsListRoutesTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCrossConnectionsListRoutesTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCrossConnectionsListRoutesTablePollerResponse

type ExpressRouteCrossConnectionsListRoutesTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCrossConnectionsListRoutesTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListRoutesTablePollerResponse contains the response from method ExpressRouteCrossConnections.ListRoutesTable.

func (ExpressRouteCrossConnectionsListRoutesTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCrossConnectionsListRoutesTablePollerResponse) Resume

Resume rehydrates a ExpressRouteCrossConnectionsListRoutesTablePollerResponse from the provided client and resume token.

type ExpressRouteCrossConnectionsListRoutesTableResponse

type ExpressRouteCrossConnectionsListRoutesTableResponse struct {
	ExpressRouteCrossConnectionsListRoutesTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListRoutesTableResponse contains the response from method ExpressRouteCrossConnections.ListRoutesTable.

type ExpressRouteCrossConnectionsListRoutesTableResult

type ExpressRouteCrossConnectionsListRoutesTableResult struct {
	ExpressRouteCircuitsRoutesTableListResult
}

ExpressRouteCrossConnectionsListRoutesTableResult contains the result from method ExpressRouteCrossConnections.ListRoutesTable.

type ExpressRouteCrossConnectionsListRoutesTableSummaryPoller

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

ExpressRouteCrossConnectionsListRoutesTableSummaryPoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteCrossConnectionsListRoutesTableSummaryPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteCrossConnectionsListRoutesTableSummaryPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteCrossConnectionsListRoutesTableSummaryResponse will be returned.

func (*ExpressRouteCrossConnectionsListRoutesTableSummaryPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteCrossConnectionsListRoutesTableSummaryPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse

type ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteCrossConnectionsListRoutesTableSummaryPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse contains the response from method ExpressRouteCrossConnections.ListRoutesTableSummary.

func (ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse) Resume

Resume rehydrates a ExpressRouteCrossConnectionsListRoutesTableSummaryPollerResponse from the provided client and resume token.

type ExpressRouteCrossConnectionsListRoutesTableSummaryResponse

type ExpressRouteCrossConnectionsListRoutesTableSummaryResponse struct {
	ExpressRouteCrossConnectionsListRoutesTableSummaryResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsListRoutesTableSummaryResponse contains the response from method ExpressRouteCrossConnections.ListRoutesTableSummary.

type ExpressRouteCrossConnectionsListRoutesTableSummaryResult

type ExpressRouteCrossConnectionsListRoutesTableSummaryResult struct {
	ExpressRouteCrossConnectionsRoutesTableSummaryListResult
}

ExpressRouteCrossConnectionsListRoutesTableSummaryResult contains the result from method ExpressRouteCrossConnections.ListRoutesTableSummary.

type ExpressRouteCrossConnectionsRoutesTableSummaryListResult

type ExpressRouteCrossConnectionsRoutesTableSummaryListResult struct {
	// A list of the routes table.
	Value []*ExpressRouteCrossConnectionRoutesTableSummary `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ExpressRouteCrossConnectionsRoutesTableSummaryListResult - Response for ListRoutesTable associated with the Express Route Cross Connections.

func (ExpressRouteCrossConnectionsRoutesTableSummaryListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ExpressRouteCrossConnectionsRoutesTableSummaryListResult.

type ExpressRouteCrossConnectionsUpdateTagsOptions

type ExpressRouteCrossConnectionsUpdateTagsOptions struct {
}

ExpressRouteCrossConnectionsUpdateTagsOptions contains the optional parameters for the ExpressRouteCrossConnections.UpdateTags method.

type ExpressRouteCrossConnectionsUpdateTagsResponse

type ExpressRouteCrossConnectionsUpdateTagsResponse struct {
	ExpressRouteCrossConnectionsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteCrossConnectionsUpdateTagsResponse contains the response from method ExpressRouteCrossConnections.UpdateTags.

type ExpressRouteCrossConnectionsUpdateTagsResult

type ExpressRouteCrossConnectionsUpdateTagsResult struct {
	ExpressRouteCrossConnection
}

ExpressRouteCrossConnectionsUpdateTagsResult contains the result from method ExpressRouteCrossConnections.UpdateTags.

type ExpressRouteGateway

type ExpressRouteGateway struct {
	Resource
	// Properties of the express route gateway.
	Properties *ExpressRouteGatewayProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ExpressRouteGateway - ExpressRoute gateway resource.

func (ExpressRouteGateway) MarshalJSON

func (e ExpressRouteGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteGateway.

type ExpressRouteGatewayList

type ExpressRouteGatewayList struct {
	// List of ExpressRoute gateways.
	Value []*ExpressRouteGateway `json:"value,omitempty"`
}

ExpressRouteGatewayList - List of ExpressRoute gateways.

func (ExpressRouteGatewayList) MarshalJSON

func (e ExpressRouteGatewayList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteGatewayList.

type ExpressRouteGatewayProperties

type ExpressRouteGatewayProperties struct {
	// REQUIRED; The Virtual Hub where the ExpressRoute gateway is or will be deployed.
	VirtualHub *VirtualHubID `json:"virtualHub,omitempty"`

	// Configuration for auto scaling.
	AutoScaleConfiguration *ExpressRouteGatewayPropertiesAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"`

	// READ-ONLY; List of ExpressRoute connections to the ExpressRoute gateway.
	ExpressRouteConnections []*ExpressRouteConnection `json:"expressRouteConnections,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ExpressRouteGatewayProperties - ExpressRoute gateway resource properties.

func (ExpressRouteGatewayProperties) MarshalJSON

func (e ExpressRouteGatewayProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteGatewayProperties.

type ExpressRouteGatewayPropertiesAutoScaleConfiguration

type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct {
	// Minimum and maximum number of scale units to deploy.
	Bounds *ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds `json:"bounds,omitempty"`
}

ExpressRouteGatewayPropertiesAutoScaleConfiguration - Configuration for auto scaling.

type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds

type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds struct {
	// Maximum number of scale units deployed for ExpressRoute gateway.
	Max *int32 `json:"max,omitempty"`

	// Minimum number of scale units deployed for ExpressRoute gateway.
	Min *int32 `json:"min,omitempty"`
}

ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds - Minimum and maximum number of scale units to deploy.

type ExpressRouteGatewaysBeginCreateOrUpdateOptions

type ExpressRouteGatewaysBeginCreateOrUpdateOptions struct {
}

ExpressRouteGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRouteGateways.BeginCreateOrUpdate method.

type ExpressRouteGatewaysBeginDeleteOptions

type ExpressRouteGatewaysBeginDeleteOptions struct {
}

ExpressRouteGatewaysBeginDeleteOptions contains the optional parameters for the ExpressRouteGateways.BeginDelete method.

type ExpressRouteGatewaysBeginUpdateTagsOptions

type ExpressRouteGatewaysBeginUpdateTagsOptions struct {
}

ExpressRouteGatewaysBeginUpdateTagsOptions contains the optional parameters for the ExpressRouteGateways.BeginUpdateTags method.

type ExpressRouteGatewaysClient

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

ExpressRouteGatewaysClient contains the methods for the ExpressRouteGateways group. Don't use this type directly, use NewExpressRouteGatewaysClient() instead.

func NewExpressRouteGatewaysClient

func NewExpressRouteGatewaysClient(con *arm.Connection, subscriptionID string) *ExpressRouteGatewaysClient

NewExpressRouteGatewaysClient creates a new instance of ExpressRouteGatewaysClient with the specified values.

func (*ExpressRouteGatewaysClient) BeginCreateOrUpdate

func (client *ExpressRouteGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, putExpressRouteGatewayParameters ExpressRouteGateway, options *ExpressRouteGatewaysBeginCreateOrUpdateOptions) (ExpressRouteGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a ExpressRoute gateway in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteGatewaysClient) BeginDelete

func (client *ExpressRouteGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, options *ExpressRouteGatewaysBeginDeleteOptions) (ExpressRouteGatewaysDeletePollerResponse, error)

BeginDelete - Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteGatewaysClient) BeginUpdateTags

func (client *ExpressRouteGatewaysClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, expressRouteGatewayParameters TagsObject, options *ExpressRouteGatewaysBeginUpdateTagsOptions) (ExpressRouteGatewaysUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates express route gateway tags. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteGatewaysClient) Get

func (client *ExpressRouteGatewaysClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, options *ExpressRouteGatewaysGetOptions) (ExpressRouteGatewaysGetResponse, error)

Get - Fetches the details of a ExpressRoute gateway in a resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteGatewaysClient) ListByResourceGroup

ListByResourceGroup - Lists ExpressRoute gateways in a given resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteGatewaysClient) ListBySubscription

ListBySubscription - Lists ExpressRoute gateways under a given subscription. If the operation fails it returns the *CloudError error type.

type ExpressRouteGatewaysCreateOrUpdatePoller

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

ExpressRouteGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteGatewaysCreateOrUpdateResponse will be returned.

func (*ExpressRouteGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteGatewaysCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteGatewaysCreateOrUpdatePollerResponse

type ExpressRouteGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysCreateOrUpdatePollerResponse contains the response from method ExpressRouteGateways.CreateOrUpdate.

func (ExpressRouteGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRouteGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRouteGatewaysCreateOrUpdateResponse

type ExpressRouteGatewaysCreateOrUpdateResponse struct {
	ExpressRouteGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysCreateOrUpdateResponse contains the response from method ExpressRouteGateways.CreateOrUpdate.

type ExpressRouteGatewaysCreateOrUpdateResult

type ExpressRouteGatewaysCreateOrUpdateResult struct {
	ExpressRouteGateway
}

ExpressRouteGatewaysCreateOrUpdateResult contains the result from method ExpressRouteGateways.CreateOrUpdate.

type ExpressRouteGatewaysDeletePoller

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

ExpressRouteGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteGatewaysDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteGatewaysDeleteResponse will be returned.

func (*ExpressRouteGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteGatewaysDeletePoller) ResumeToken

func (p *ExpressRouteGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteGatewaysDeletePollerResponse

type ExpressRouteGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysDeletePollerResponse contains the response from method ExpressRouteGateways.Delete.

func (ExpressRouteGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteGatewaysDeletePollerResponse) Resume

Resume rehydrates a ExpressRouteGatewaysDeletePollerResponse from the provided client and resume token.

type ExpressRouteGatewaysDeleteResponse

type ExpressRouteGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysDeleteResponse contains the response from method ExpressRouteGateways.Delete.

type ExpressRouteGatewaysGetOptions

type ExpressRouteGatewaysGetOptions struct {
}

ExpressRouteGatewaysGetOptions contains the optional parameters for the ExpressRouteGateways.Get method.

type ExpressRouteGatewaysGetResponse

type ExpressRouteGatewaysGetResponse struct {
	ExpressRouteGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysGetResponse contains the response from method ExpressRouteGateways.Get.

type ExpressRouteGatewaysGetResult

type ExpressRouteGatewaysGetResult struct {
	ExpressRouteGateway
}

ExpressRouteGatewaysGetResult contains the result from method ExpressRouteGateways.Get.

type ExpressRouteGatewaysListByResourceGroupOptions

type ExpressRouteGatewaysListByResourceGroupOptions struct {
}

ExpressRouteGatewaysListByResourceGroupOptions contains the optional parameters for the ExpressRouteGateways.ListByResourceGroup method.

type ExpressRouteGatewaysListByResourceGroupResponse

type ExpressRouteGatewaysListByResourceGroupResponse struct {
	ExpressRouteGatewaysListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysListByResourceGroupResponse contains the response from method ExpressRouteGateways.ListByResourceGroup.

type ExpressRouteGatewaysListByResourceGroupResult

type ExpressRouteGatewaysListByResourceGroupResult struct {
	ExpressRouteGatewayList
}

ExpressRouteGatewaysListByResourceGroupResult contains the result from method ExpressRouteGateways.ListByResourceGroup.

type ExpressRouteGatewaysListBySubscriptionOptions

type ExpressRouteGatewaysListBySubscriptionOptions struct {
}

ExpressRouteGatewaysListBySubscriptionOptions contains the optional parameters for the ExpressRouteGateways.ListBySubscription method.

type ExpressRouteGatewaysListBySubscriptionResponse

type ExpressRouteGatewaysListBySubscriptionResponse struct {
	ExpressRouteGatewaysListBySubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysListBySubscriptionResponse contains the response from method ExpressRouteGateways.ListBySubscription.

type ExpressRouteGatewaysListBySubscriptionResult

type ExpressRouteGatewaysListBySubscriptionResult struct {
	ExpressRouteGatewayList
}

ExpressRouteGatewaysListBySubscriptionResult contains the result from method ExpressRouteGateways.ListBySubscription.

type ExpressRouteGatewaysUpdateTagsPoller

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

ExpressRouteGatewaysUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRouteGatewaysUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRouteGatewaysUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRouteGatewaysUpdateTagsResponse will be returned.

func (*ExpressRouteGatewaysUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRouteGatewaysUpdateTagsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRouteGatewaysUpdateTagsPollerResponse

type ExpressRouteGatewaysUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRouteGatewaysUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysUpdateTagsPollerResponse contains the response from method ExpressRouteGateways.UpdateTags.

func (ExpressRouteGatewaysUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRouteGatewaysUpdateTagsPollerResponse) Resume

Resume rehydrates a ExpressRouteGatewaysUpdateTagsPollerResponse from the provided client and resume token.

type ExpressRouteGatewaysUpdateTagsResponse

type ExpressRouteGatewaysUpdateTagsResponse struct {
	ExpressRouteGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteGatewaysUpdateTagsResponse contains the response from method ExpressRouteGateways.UpdateTags.

type ExpressRouteGatewaysUpdateTagsResult

type ExpressRouteGatewaysUpdateTagsResult struct {
	ExpressRouteGateway
}

ExpressRouteGatewaysUpdateTagsResult contains the result from method ExpressRouteGateways.UpdateTags.

type ExpressRouteLink struct {
	SubResource
	// Name of child port resource that is unique among child port resources of the parent.
	Name *string `json:"name,omitempty"`

	// ExpressRouteLink properties.
	Properties *ExpressRouteLinkPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ExpressRouteLink child resource definition.

func (ExpressRouteLink) MarshalJSON

func (e ExpressRouteLink) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteLink.

type ExpressRouteLinkAdminState

type ExpressRouteLinkAdminState string

ExpressRouteLinkAdminState - Administrative state of the physical port.

const (
	ExpressRouteLinkAdminStateDisabled ExpressRouteLinkAdminState = "Disabled"
	ExpressRouteLinkAdminStateEnabled  ExpressRouteLinkAdminState = "Enabled"
)

func PossibleExpressRouteLinkAdminStateValues

func PossibleExpressRouteLinkAdminStateValues() []ExpressRouteLinkAdminState

PossibleExpressRouteLinkAdminStateValues returns the possible values for the ExpressRouteLinkAdminState const type.

func (ExpressRouteLinkAdminState) ToPtr

ToPtr returns a *ExpressRouteLinkAdminState pointing to the current value.

type ExpressRouteLinkConnectorType

type ExpressRouteLinkConnectorType string

ExpressRouteLinkConnectorType - Physical fiber port type.

const (
	ExpressRouteLinkConnectorTypeLC ExpressRouteLinkConnectorType = "LC"
	ExpressRouteLinkConnectorTypeSC ExpressRouteLinkConnectorType = "SC"
)

func PossibleExpressRouteLinkConnectorTypeValues

func PossibleExpressRouteLinkConnectorTypeValues() []ExpressRouteLinkConnectorType

PossibleExpressRouteLinkConnectorTypeValues returns the possible values for the ExpressRouteLinkConnectorType const type.

func (ExpressRouteLinkConnectorType) ToPtr

ToPtr returns a *ExpressRouteLinkConnectorType pointing to the current value.

type ExpressRouteLinkListResult

type ExpressRouteLinkListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of ExpressRouteLink sub-resources.
	Value []*ExpressRouteLink `json:"value,omitempty"`
}

ExpressRouteLinkListResult - Response for ListExpressRouteLinks API service call.

func (ExpressRouteLinkListResult) MarshalJSON

func (e ExpressRouteLinkListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteLinkListResult.

type ExpressRouteLinkMacSecCipher

type ExpressRouteLinkMacSecCipher string

ExpressRouteLinkMacSecCipher - Mac security cipher.

const (
	ExpressRouteLinkMacSecCipherGCMAES128    ExpressRouteLinkMacSecCipher = "GcmAes128"
	ExpressRouteLinkMacSecCipherGCMAES256    ExpressRouteLinkMacSecCipher = "GcmAes256"
	ExpressRouteLinkMacSecCipherGCMAesXpn128 ExpressRouteLinkMacSecCipher = "GcmAesXpn128"
	ExpressRouteLinkMacSecCipherGCMAesXpn256 ExpressRouteLinkMacSecCipher = "GcmAesXpn256"
)

func PossibleExpressRouteLinkMacSecCipherValues

func PossibleExpressRouteLinkMacSecCipherValues() []ExpressRouteLinkMacSecCipher

PossibleExpressRouteLinkMacSecCipherValues returns the possible values for the ExpressRouteLinkMacSecCipher const type.

func (ExpressRouteLinkMacSecCipher) ToPtr

ToPtr returns a *ExpressRouteLinkMacSecCipher pointing to the current value.

type ExpressRouteLinkMacSecConfig

type ExpressRouteLinkMacSecConfig struct {
	// Keyvault Secret Identifier URL containing Mac security CAK key.
	CakSecretIdentifier *string `json:"cakSecretIdentifier,omitempty"`

	// Mac security cipher.
	Cipher *ExpressRouteLinkMacSecCipher `json:"cipher,omitempty"`

	// Keyvault Secret Identifier URL containing Mac security CKN key.
	CknSecretIdentifier *string `json:"cknSecretIdentifier,omitempty"`

	// Sci mode enabled/disabled.
	SciState *ExpressRouteLinkMacSecSciState `json:"sciState,omitempty"`
}

ExpressRouteLinkMacSecConfig - ExpressRouteLink Mac Security Configuration.

type ExpressRouteLinkMacSecSciState

type ExpressRouteLinkMacSecSciState string

ExpressRouteLinkMacSecSciState - Sci mode enabled/disabled.

const (
	ExpressRouteLinkMacSecSciStateDisabled ExpressRouteLinkMacSecSciState = "Disabled"
	ExpressRouteLinkMacSecSciStateEnabled  ExpressRouteLinkMacSecSciState = "Enabled"
)

func PossibleExpressRouteLinkMacSecSciStateValues

func PossibleExpressRouteLinkMacSecSciStateValues() []ExpressRouteLinkMacSecSciState

PossibleExpressRouteLinkMacSecSciStateValues returns the possible values for the ExpressRouteLinkMacSecSciState const type.

func (ExpressRouteLinkMacSecSciState) ToPtr

ToPtr returns a *ExpressRouteLinkMacSecSciState pointing to the current value.

type ExpressRouteLinkPropertiesFormat

type ExpressRouteLinkPropertiesFormat struct {
	// Administrative state of the physical port.
	AdminState *ExpressRouteLinkAdminState `json:"adminState,omitempty"`

	// MacSec configuration.
	MacSecConfig *ExpressRouteLinkMacSecConfig `json:"macSecConfig,omitempty"`

	// READ-ONLY; Physical fiber port type.
	ConnectorType *ExpressRouteLinkConnectorType `json:"connectorType,omitempty" azure:"ro"`

	// READ-ONLY; Name of Azure router interface.
	InterfaceName *string `json:"interfaceName,omitempty" azure:"ro"`

	// READ-ONLY; Mapping between physical port to patch panel port.
	PatchPanelID *string `json:"patchPanelId,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route link resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Mapping of physical patch panel to rack.
	RackID *string `json:"rackId,omitempty" azure:"ro"`

	// READ-ONLY; Name of Azure router associated with physical port.
	RouterName *string `json:"routerName,omitempty" azure:"ro"`
}

ExpressRouteLinkPropertiesFormat - Properties specific to ExpressRouteLink resources.

type ExpressRouteLinksClient

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

ExpressRouteLinksClient contains the methods for the ExpressRouteLinks group. Don't use this type directly, use NewExpressRouteLinksClient() instead.

func NewExpressRouteLinksClient

func NewExpressRouteLinksClient(con *arm.Connection, subscriptionID string) *ExpressRouteLinksClient

NewExpressRouteLinksClient creates a new instance of ExpressRouteLinksClient with the specified values.

func (*ExpressRouteLinksClient) Get

func (client *ExpressRouteLinksClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string, linkName string, options *ExpressRouteLinksGetOptions) (ExpressRouteLinksGetResponse, error)

Get - Retrieves the specified ExpressRouteLink resource. If the operation fails it returns the *CloudError error type.

func (*ExpressRouteLinksClient) List

func (client *ExpressRouteLinksClient) List(resourceGroupName string, expressRoutePortName string, options *ExpressRouteLinksListOptions) *ExpressRouteLinksListPager

List - Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. If the operation fails it returns the *CloudError error type.

type ExpressRouteLinksGetOptions

type ExpressRouteLinksGetOptions struct {
}

ExpressRouteLinksGetOptions contains the optional parameters for the ExpressRouteLinks.Get method.

type ExpressRouteLinksGetResponse

type ExpressRouteLinksGetResponse struct {
	ExpressRouteLinksGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteLinksGetResponse contains the response from method ExpressRouteLinks.Get.

type ExpressRouteLinksGetResult

type ExpressRouteLinksGetResult struct {
	ExpressRouteLink
}

ExpressRouteLinksGetResult contains the result from method ExpressRouteLinks.Get.

type ExpressRouteLinksListOptions

type ExpressRouteLinksListOptions struct {
}

ExpressRouteLinksListOptions contains the optional parameters for the ExpressRouteLinks.List method.

type ExpressRouteLinksListPager

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

ExpressRouteLinksListPager provides operations for iterating over paged responses.

func (*ExpressRouteLinksListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteLinksListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteLinksListPager) PageResponse

PageResponse returns the current ExpressRouteLinksListResponse page.

type ExpressRouteLinksListResponse

type ExpressRouteLinksListResponse struct {
	ExpressRouteLinksListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteLinksListResponse contains the response from method ExpressRouteLinks.List.

type ExpressRouteLinksListResult

type ExpressRouteLinksListResult struct {
	ExpressRouteLinkListResult
}

ExpressRouteLinksListResult contains the result from method ExpressRouteLinks.List.

type ExpressRoutePeeringState

type ExpressRoutePeeringState string

ExpressRoutePeeringState - The state of peering.

const (
	ExpressRoutePeeringStateDisabled ExpressRoutePeeringState = "Disabled"
	ExpressRoutePeeringStateEnabled  ExpressRoutePeeringState = "Enabled"
)

func PossibleExpressRoutePeeringStateValues

func PossibleExpressRoutePeeringStateValues() []ExpressRoutePeeringState

PossibleExpressRoutePeeringStateValues returns the possible values for the ExpressRoutePeeringState const type.

func (ExpressRoutePeeringState) ToPtr

ToPtr returns a *ExpressRoutePeeringState pointing to the current value.

type ExpressRoutePeeringType

type ExpressRoutePeeringType string

ExpressRoutePeeringType - The peering type.

const (
	ExpressRoutePeeringTypeAzurePrivatePeering ExpressRoutePeeringType = "AzurePrivatePeering"
	ExpressRoutePeeringTypeAzurePublicPeering  ExpressRoutePeeringType = "AzurePublicPeering"
	ExpressRoutePeeringTypeMicrosoftPeering    ExpressRoutePeeringType = "MicrosoftPeering"
)

func PossibleExpressRoutePeeringTypeValues

func PossibleExpressRoutePeeringTypeValues() []ExpressRoutePeeringType

PossibleExpressRoutePeeringTypeValues returns the possible values for the ExpressRoutePeeringType const type.

func (ExpressRoutePeeringType) ToPtr

ToPtr returns a *ExpressRoutePeeringType pointing to the current value.

type ExpressRoutePort

type ExpressRoutePort struct {
	Resource
	// The identity of ExpressRoutePort, if configured.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// ExpressRoutePort properties.
	Properties *ExpressRoutePortPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ExpressRoutePort resource definition.

func (ExpressRoutePort) MarshalJSON

func (e ExpressRoutePort) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRoutePort.

type ExpressRoutePortListResult

type ExpressRoutePortListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of ExpressRoutePort resources.
	Value []*ExpressRoutePort `json:"value,omitempty"`
}

ExpressRoutePortListResult - Response for ListExpressRoutePorts API service call.

func (ExpressRoutePortListResult) MarshalJSON

func (e ExpressRoutePortListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRoutePortListResult.

type ExpressRoutePortPropertiesFormat

type ExpressRoutePortPropertiesFormat struct {
	// Bandwidth of procured ports in Gbps.
	BandwidthInGbps *int32 `json:"bandwidthInGbps,omitempty"`

	// Encapsulation method on physical ports.
	Encapsulation *ExpressRoutePortsEncapsulation `json:"encapsulation,omitempty"`

	// The set of physical links of the ExpressRoutePort resource.
	Links []*ExpressRouteLink `json:"links,omitempty"`

	// The name of the peering location that the ExpressRoutePort is mapped to physically.
	PeeringLocation *string `json:"peeringLocation,omitempty"`

	// READ-ONLY; Date of the physical port allocation to be used in Letter of Authorization.
	AllocationDate *string `json:"allocationDate,omitempty" azure:"ro"`

	// READ-ONLY; Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
	Circuits []*SubResource `json:"circuits,omitempty" azure:"ro"`

	// READ-ONLY; Ether type of the physical port.
	EtherType *string `json:"etherType,omitempty" azure:"ro"`

	// READ-ONLY; Maximum transmission unit of the physical port pair(s).
	Mtu *string `json:"mtu,omitempty" azure:"ro"`

	// READ-ONLY; Aggregate Gbps of associated circuit bandwidths.
	ProvisionedBandwidthInGbps *float32 `json:"provisionedBandwidthInGbps,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route port resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the express route port resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

ExpressRoutePortPropertiesFormat - Properties specific to ExpressRoutePort resources.

func (ExpressRoutePortPropertiesFormat) MarshalJSON

func (e ExpressRoutePortPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRoutePortPropertiesFormat.

type ExpressRoutePortsBeginCreateOrUpdateOptions

type ExpressRoutePortsBeginCreateOrUpdateOptions struct {
}

ExpressRoutePortsBeginCreateOrUpdateOptions contains the optional parameters for the ExpressRoutePorts.BeginCreateOrUpdate method.

type ExpressRoutePortsBeginDeleteOptions

type ExpressRoutePortsBeginDeleteOptions struct {
}

ExpressRoutePortsBeginDeleteOptions contains the optional parameters for the ExpressRoutePorts.BeginDelete method.

type ExpressRoutePortsClient

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

ExpressRoutePortsClient contains the methods for the ExpressRoutePorts group. Don't use this type directly, use NewExpressRoutePortsClient() instead.

func NewExpressRoutePortsClient

func NewExpressRoutePortsClient(con *arm.Connection, subscriptionID string) *ExpressRoutePortsClient

NewExpressRoutePortsClient creates a new instance of ExpressRoutePortsClient with the specified values.

func (*ExpressRoutePortsClient) BeginCreateOrUpdate

func (client *ExpressRoutePortsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters ExpressRoutePort, options *ExpressRoutePortsBeginCreateOrUpdateOptions) (ExpressRoutePortsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified ExpressRoutePort resource. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsClient) BeginDelete

func (client *ExpressRoutePortsClient) BeginDelete(ctx context.Context, resourceGroupName string, expressRoutePortName string, options *ExpressRoutePortsBeginDeleteOptions) (ExpressRoutePortsDeletePollerResponse, error)

BeginDelete - Deletes the specified ExpressRoutePort resource. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsClient) GenerateLOA

GenerateLOA - Generate a letter of authorization for the requested ExpressRoutePort resource. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsClient) Get

func (client *ExpressRoutePortsClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string, options *ExpressRoutePortsGetOptions) (ExpressRoutePortsGetResponse, error)

Get - Retrieves the requested ExpressRoutePort resource. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsClient) List

List - List all the ExpressRoutePort resources in the specified subscription. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsClient) ListByResourceGroup

ListByResourceGroup - List all the ExpressRoutePort resources in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsClient) UpdateTags

func (client *ExpressRoutePortsClient) UpdateTags(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters TagsObject, options *ExpressRoutePortsUpdateTagsOptions) (ExpressRoutePortsUpdateTagsResponse, error)

UpdateTags - Update ExpressRoutePort tags. If the operation fails it returns the *CloudError error type.

type ExpressRoutePortsCreateOrUpdatePoller

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

ExpressRoutePortsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRoutePortsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRoutePortsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRoutePortsCreateOrUpdateResponse will be returned.

func (*ExpressRoutePortsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRoutePortsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRoutePortsCreateOrUpdatePollerResponse

type ExpressRoutePortsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRoutePortsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsCreateOrUpdatePollerResponse contains the response from method ExpressRoutePorts.CreateOrUpdate.

func (ExpressRoutePortsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRoutePortsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ExpressRoutePortsCreateOrUpdatePollerResponse from the provided client and resume token.

type ExpressRoutePortsCreateOrUpdateResponse

type ExpressRoutePortsCreateOrUpdateResponse struct {
	ExpressRoutePortsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsCreateOrUpdateResponse contains the response from method ExpressRoutePorts.CreateOrUpdate.

type ExpressRoutePortsCreateOrUpdateResult

type ExpressRoutePortsCreateOrUpdateResult struct {
	ExpressRoutePort
}

ExpressRoutePortsCreateOrUpdateResult contains the result from method ExpressRoutePorts.CreateOrUpdate.

type ExpressRoutePortsDeletePoller

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

ExpressRoutePortsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ExpressRoutePortsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ExpressRoutePortsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExpressRoutePortsDeleteResponse will be returned.

func (*ExpressRoutePortsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ExpressRoutePortsDeletePoller) ResumeToken

func (p *ExpressRoutePortsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ExpressRoutePortsDeletePollerResponse

type ExpressRoutePortsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ExpressRoutePortsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsDeletePollerResponse contains the response from method ExpressRoutePorts.Delete.

func (ExpressRoutePortsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ExpressRoutePortsDeletePollerResponse) Resume

Resume rehydrates a ExpressRoutePortsDeletePollerResponse from the provided client and resume token.

type ExpressRoutePortsDeleteResponse

type ExpressRoutePortsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsDeleteResponse contains the response from method ExpressRoutePorts.Delete.

type ExpressRoutePortsEncapsulation

type ExpressRoutePortsEncapsulation string

ExpressRoutePortsEncapsulation - Encapsulation method on physical ports.

const (
	ExpressRoutePortsEncapsulationDot1Q ExpressRoutePortsEncapsulation = "Dot1Q"
	ExpressRoutePortsEncapsulationQinQ  ExpressRoutePortsEncapsulation = "QinQ"
)

func PossibleExpressRoutePortsEncapsulationValues

func PossibleExpressRoutePortsEncapsulationValues() []ExpressRoutePortsEncapsulation

PossibleExpressRoutePortsEncapsulationValues returns the possible values for the ExpressRoutePortsEncapsulation const type.

func (ExpressRoutePortsEncapsulation) ToPtr

ToPtr returns a *ExpressRoutePortsEncapsulation pointing to the current value.

type ExpressRoutePortsGenerateLOAOptions

type ExpressRoutePortsGenerateLOAOptions struct {
}

ExpressRoutePortsGenerateLOAOptions contains the optional parameters for the ExpressRoutePorts.GenerateLOA method.

type ExpressRoutePortsGenerateLOAResponse

type ExpressRoutePortsGenerateLOAResponse struct {
	ExpressRoutePortsGenerateLOAResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsGenerateLOAResponse contains the response from method ExpressRoutePorts.GenerateLOA.

type ExpressRoutePortsGenerateLOAResult

type ExpressRoutePortsGenerateLOAResult struct {
	GenerateExpressRoutePortsLOAResult
}

ExpressRoutePortsGenerateLOAResult contains the result from method ExpressRoutePorts.GenerateLOA.

type ExpressRoutePortsGetOptions

type ExpressRoutePortsGetOptions struct {
}

ExpressRoutePortsGetOptions contains the optional parameters for the ExpressRoutePorts.Get method.

type ExpressRoutePortsGetResponse

type ExpressRoutePortsGetResponse struct {
	ExpressRoutePortsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsGetResponse contains the response from method ExpressRoutePorts.Get.

type ExpressRoutePortsGetResult

type ExpressRoutePortsGetResult struct {
	ExpressRoutePort
}

ExpressRoutePortsGetResult contains the result from method ExpressRoutePorts.Get.

type ExpressRoutePortsListByResourceGroupOptions

type ExpressRoutePortsListByResourceGroupOptions struct {
}

ExpressRoutePortsListByResourceGroupOptions contains the optional parameters for the ExpressRoutePorts.ListByResourceGroup method.

type ExpressRoutePortsListByResourceGroupPager

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

ExpressRoutePortsListByResourceGroupPager provides operations for iterating over paged responses.

func (*ExpressRoutePortsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*ExpressRoutePortsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRoutePortsListByResourceGroupPager) PageResponse

PageResponse returns the current ExpressRoutePortsListByResourceGroupResponse page.

type ExpressRoutePortsListByResourceGroupResponse

type ExpressRoutePortsListByResourceGroupResponse struct {
	ExpressRoutePortsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsListByResourceGroupResponse contains the response from method ExpressRoutePorts.ListByResourceGroup.

type ExpressRoutePortsListByResourceGroupResult

type ExpressRoutePortsListByResourceGroupResult struct {
	ExpressRoutePortListResult
}

ExpressRoutePortsListByResourceGroupResult contains the result from method ExpressRoutePorts.ListByResourceGroup.

type ExpressRoutePortsListOptions

type ExpressRoutePortsListOptions struct {
}

ExpressRoutePortsListOptions contains the optional parameters for the ExpressRoutePorts.List method.

type ExpressRoutePortsListPager

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

ExpressRoutePortsListPager provides operations for iterating over paged responses.

func (*ExpressRoutePortsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRoutePortsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRoutePortsListPager) PageResponse

PageResponse returns the current ExpressRoutePortsListResponse page.

type ExpressRoutePortsListResponse

type ExpressRoutePortsListResponse struct {
	ExpressRoutePortsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsListResponse contains the response from method ExpressRoutePorts.List.

type ExpressRoutePortsListResult

type ExpressRoutePortsListResult struct {
	ExpressRoutePortListResult
}

ExpressRoutePortsListResult contains the result from method ExpressRoutePorts.List.

type ExpressRoutePortsLocation

type ExpressRoutePortsLocation struct {
	Resource
	// ExpressRoutePort peering location properties.
	Properties *ExpressRoutePortsLocationPropertiesFormat `json:"properties,omitempty"`
}

ExpressRoutePortsLocation - Definition of the ExpressRoutePorts peering location resource.

func (ExpressRoutePortsLocation) MarshalJSON

func (e ExpressRoutePortsLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRoutePortsLocation.

type ExpressRoutePortsLocationBandwidths

type ExpressRoutePortsLocationBandwidths struct {
	// READ-ONLY; Bandwidth descriptive name.
	OfferName *string `json:"offerName,omitempty" azure:"ro"`

	// READ-ONLY; Bandwidth value in Gbps.
	ValueInGbps *int32 `json:"valueInGbps,omitempty" azure:"ro"`
}

ExpressRoutePortsLocationBandwidths - Real-time inventory of available ExpressRoute port bandwidths.

type ExpressRoutePortsLocationListResult

type ExpressRoutePortsLocationListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of all ExpressRoutePort peering locations.
	Value []*ExpressRoutePortsLocation `json:"value,omitempty"`
}

ExpressRoutePortsLocationListResult - Response for ListExpressRoutePortsLocations API service call.

func (ExpressRoutePortsLocationListResult) MarshalJSON

func (e ExpressRoutePortsLocationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRoutePortsLocationListResult.

type ExpressRoutePortsLocationPropertiesFormat

type ExpressRoutePortsLocationPropertiesFormat struct {
	// The inventory of available ExpressRoutePort bandwidths.
	AvailableBandwidths []*ExpressRoutePortsLocationBandwidths `json:"availableBandwidths,omitempty"`

	// READ-ONLY; Address of peering location.
	Address *string `json:"address,omitempty" azure:"ro"`

	// READ-ONLY; Contact details of peering locations.
	Contact *string `json:"contact,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the express route port location resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ExpressRoutePortsLocationPropertiesFormat - Properties specific to ExpressRoutePorts peering location resources.

func (ExpressRoutePortsLocationPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ExpressRoutePortsLocationPropertiesFormat.

type ExpressRoutePortsLocationsClient

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

ExpressRoutePortsLocationsClient contains the methods for the ExpressRoutePortsLocations group. Don't use this type directly, use NewExpressRoutePortsLocationsClient() instead.

func NewExpressRoutePortsLocationsClient

func NewExpressRoutePortsLocationsClient(con *arm.Connection, subscriptionID string) *ExpressRoutePortsLocationsClient

NewExpressRoutePortsLocationsClient creates a new instance of ExpressRoutePortsLocationsClient with the specified values.

func (*ExpressRoutePortsLocationsClient) Get

Get - Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. If the operation fails it returns the *CloudError error type.

func (*ExpressRoutePortsLocationsClient) List

List - Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location. If the operation fails it returns the *CloudError error type.

type ExpressRoutePortsLocationsGetOptions

type ExpressRoutePortsLocationsGetOptions struct {
}

ExpressRoutePortsLocationsGetOptions contains the optional parameters for the ExpressRoutePortsLocations.Get method.

type ExpressRoutePortsLocationsGetResponse

type ExpressRoutePortsLocationsGetResponse struct {
	ExpressRoutePortsLocationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsLocationsGetResponse contains the response from method ExpressRoutePortsLocations.Get.

type ExpressRoutePortsLocationsGetResult

type ExpressRoutePortsLocationsGetResult struct {
	ExpressRoutePortsLocation
}

ExpressRoutePortsLocationsGetResult contains the result from method ExpressRoutePortsLocations.Get.

type ExpressRoutePortsLocationsListOptions

type ExpressRoutePortsLocationsListOptions struct {
}

ExpressRoutePortsLocationsListOptions contains the optional parameters for the ExpressRoutePortsLocations.List method.

type ExpressRoutePortsLocationsListPager

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

ExpressRoutePortsLocationsListPager provides operations for iterating over paged responses.

func (*ExpressRoutePortsLocationsListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRoutePortsLocationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRoutePortsLocationsListPager) PageResponse

PageResponse returns the current ExpressRoutePortsLocationsListResponse page.

type ExpressRoutePortsLocationsListResponse

type ExpressRoutePortsLocationsListResponse struct {
	ExpressRoutePortsLocationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsLocationsListResponse contains the response from method ExpressRoutePortsLocations.List.

type ExpressRoutePortsLocationsListResult

type ExpressRoutePortsLocationsListResult struct {
	ExpressRoutePortsLocationListResult
}

ExpressRoutePortsLocationsListResult contains the result from method ExpressRoutePortsLocations.List.

type ExpressRoutePortsUpdateTagsOptions

type ExpressRoutePortsUpdateTagsOptions struct {
}

ExpressRoutePortsUpdateTagsOptions contains the optional parameters for the ExpressRoutePorts.UpdateTags method.

type ExpressRoutePortsUpdateTagsResponse

type ExpressRoutePortsUpdateTagsResponse struct {
	ExpressRoutePortsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRoutePortsUpdateTagsResponse contains the response from method ExpressRoutePorts.UpdateTags.

type ExpressRoutePortsUpdateTagsResult

type ExpressRoutePortsUpdateTagsResult struct {
	ExpressRoutePort
}

ExpressRoutePortsUpdateTagsResult contains the result from method ExpressRoutePorts.UpdateTags.

type ExpressRouteServiceProvider

type ExpressRouteServiceProvider struct {
	Resource
	// Properties of the express route service provider.
	Properties *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"`
}

ExpressRouteServiceProvider - A ExpressRouteResourceProvider object.

func (ExpressRouteServiceProvider) MarshalJSON

func (e ExpressRouteServiceProvider) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteServiceProvider.

type ExpressRouteServiceProviderBandwidthsOffered

type ExpressRouteServiceProviderBandwidthsOffered struct {
	// The OfferName.
	OfferName *string `json:"offerName,omitempty"`

	// The ValueInMbps.
	ValueInMbps *int32 `json:"valueInMbps,omitempty"`
}

ExpressRouteServiceProviderBandwidthsOffered - Contains bandwidths offered in ExpressRouteServiceProvider resources.

type ExpressRouteServiceProviderListResult

type ExpressRouteServiceProviderListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of ExpressRouteResourceProvider resources.
	Value []*ExpressRouteServiceProvider `json:"value,omitempty"`
}

ExpressRouteServiceProviderListResult - Response for the ListExpressRouteServiceProvider API service call.

func (ExpressRouteServiceProviderListResult) MarshalJSON

func (e ExpressRouteServiceProviderListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExpressRouteServiceProviderListResult.

type ExpressRouteServiceProviderPropertiesFormat

type ExpressRouteServiceProviderPropertiesFormat struct {
	// A list of bandwidths offered.
	BandwidthsOffered []*ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`

	// A list of peering locations.
	PeeringLocations []*string `json:"peeringLocations,omitempty"`

	// READ-ONLY; The provisioning state of the express route service provider resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ExpressRouteServiceProviderPropertiesFormat - Properties of ExpressRouteServiceProvider.

func (ExpressRouteServiceProviderPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ExpressRouteServiceProviderPropertiesFormat.

type ExpressRouteServiceProvidersClient

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

ExpressRouteServiceProvidersClient contains the methods for the ExpressRouteServiceProviders group. Don't use this type directly, use NewExpressRouteServiceProvidersClient() instead.

func NewExpressRouteServiceProvidersClient

func NewExpressRouteServiceProvidersClient(con *arm.Connection, subscriptionID string) *ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClient creates a new instance of ExpressRouteServiceProvidersClient with the specified values.

func (*ExpressRouteServiceProvidersClient) List

List - Gets all the available express route service providers. If the operation fails it returns the *CloudError error type.

type ExpressRouteServiceProvidersListOptions

type ExpressRouteServiceProvidersListOptions struct {
}

ExpressRouteServiceProvidersListOptions contains the optional parameters for the ExpressRouteServiceProviders.List method.

type ExpressRouteServiceProvidersListPager

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

ExpressRouteServiceProvidersListPager provides operations for iterating over paged responses.

func (*ExpressRouteServiceProvidersListPager) Err

Err returns the last error encountered while paging.

func (*ExpressRouteServiceProvidersListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ExpressRouteServiceProvidersListPager) PageResponse

PageResponse returns the current ExpressRouteServiceProvidersListResponse page.

type ExpressRouteServiceProvidersListResponse

type ExpressRouteServiceProvidersListResponse struct {
	ExpressRouteServiceProvidersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ExpressRouteServiceProvidersListResponse contains the response from method ExpressRouteServiceProviders.List.

type ExpressRouteServiceProvidersListResult

type ExpressRouteServiceProvidersListResult struct {
	ExpressRouteServiceProviderListResult
}

ExpressRouteServiceProvidersListResult contains the result from method ExpressRouteServiceProviders.List.

type ExtendedLocation

type ExtendedLocation struct {
	// The name of the extended location.
	Name *string `json:"name,omitempty"`

	// The type of the extended location.
	Type *ExtendedLocationTypes `json:"type,omitempty"`
}

ExtendedLocation complex type.

type ExtendedLocationTypes

type ExtendedLocationTypes string

ExtendedLocationTypes - The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network resources.

const (
	ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone"
)

func PossibleExtendedLocationTypesValues

func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes

PossibleExtendedLocationTypesValues returns the possible values for the ExtendedLocationTypes const type.

func (ExtendedLocationTypes) ToPtr

ToPtr returns a *ExtendedLocationTypes pointing to the current value.

type FirewallPoliciesBeginCreateOrUpdateOptions

type FirewallPoliciesBeginCreateOrUpdateOptions struct {
}

FirewallPoliciesBeginCreateOrUpdateOptions contains the optional parameters for the FirewallPolicies.BeginCreateOrUpdate method.

type FirewallPoliciesBeginDeleteOptions

type FirewallPoliciesBeginDeleteOptions struct {
}

FirewallPoliciesBeginDeleteOptions contains the optional parameters for the FirewallPolicies.BeginDelete method.

type FirewallPoliciesClient

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

FirewallPoliciesClient contains the methods for the FirewallPolicies group. Don't use this type directly, use NewFirewallPoliciesClient() instead.

func NewFirewallPoliciesClient

func NewFirewallPoliciesClient(con *arm.Connection, subscriptionID string) *FirewallPoliciesClient

NewFirewallPoliciesClient creates a new instance of FirewallPoliciesClient with the specified values.

func (*FirewallPoliciesClient) BeginCreateOrUpdate

func (client *FirewallPoliciesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters FirewallPolicy, options *FirewallPoliciesBeginCreateOrUpdateOptions) (FirewallPoliciesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Firewall Policy. If the operation fails it returns the *CloudError error type.

func (*FirewallPoliciesClient) BeginDelete

func (client *FirewallPoliciesClient) BeginDelete(ctx context.Context, resourceGroupName string, firewallPolicyName string, options *FirewallPoliciesBeginDeleteOptions) (FirewallPoliciesDeletePollerResponse, error)

BeginDelete - Deletes the specified Firewall Policy. If the operation fails it returns the *CloudError error type.

func (*FirewallPoliciesClient) Get

func (client *FirewallPoliciesClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, options *FirewallPoliciesGetOptions) (FirewallPoliciesGetResponse, error)

Get - Gets the specified Firewall Policy. If the operation fails it returns the *CloudError error type.

func (*FirewallPoliciesClient) List

func (client *FirewallPoliciesClient) List(resourceGroupName string, options *FirewallPoliciesListOptions) *FirewallPoliciesListPager

List - Lists all Firewall Policies in a resource group. If the operation fails it returns the *CloudError error type.

func (*FirewallPoliciesClient) ListAll

ListAll - Gets all the Firewall Policies in a subscription. If the operation fails it returns the *CloudError error type.

type FirewallPoliciesCreateOrUpdatePoller

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

FirewallPoliciesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*FirewallPoliciesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*FirewallPoliciesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final FirewallPoliciesCreateOrUpdateResponse will be returned.

func (*FirewallPoliciesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*FirewallPoliciesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type FirewallPoliciesCreateOrUpdatePollerResponse

type FirewallPoliciesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *FirewallPoliciesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesCreateOrUpdatePollerResponse contains the response from method FirewallPolicies.CreateOrUpdate.

func (FirewallPoliciesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*FirewallPoliciesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a FirewallPoliciesCreateOrUpdatePollerResponse from the provided client and resume token.

type FirewallPoliciesCreateOrUpdateResponse

type FirewallPoliciesCreateOrUpdateResponse struct {
	FirewallPoliciesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesCreateOrUpdateResponse contains the response from method FirewallPolicies.CreateOrUpdate.

type FirewallPoliciesCreateOrUpdateResult

type FirewallPoliciesCreateOrUpdateResult struct {
	FirewallPolicy
}

FirewallPoliciesCreateOrUpdateResult contains the result from method FirewallPolicies.CreateOrUpdate.

type FirewallPoliciesDeletePoller

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

FirewallPoliciesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*FirewallPoliciesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*FirewallPoliciesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final FirewallPoliciesDeleteResponse will be returned.

func (*FirewallPoliciesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*FirewallPoliciesDeletePoller) ResumeToken

func (p *FirewallPoliciesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type FirewallPoliciesDeletePollerResponse

type FirewallPoliciesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *FirewallPoliciesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesDeletePollerResponse contains the response from method FirewallPolicies.Delete.

func (FirewallPoliciesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*FirewallPoliciesDeletePollerResponse) Resume

Resume rehydrates a FirewallPoliciesDeletePollerResponse from the provided client and resume token.

type FirewallPoliciesDeleteResponse

type FirewallPoliciesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesDeleteResponse contains the response from method FirewallPolicies.Delete.

type FirewallPoliciesGetOptions

type FirewallPoliciesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

FirewallPoliciesGetOptions contains the optional parameters for the FirewallPolicies.Get method.

type FirewallPoliciesGetResponse

type FirewallPoliciesGetResponse struct {
	FirewallPoliciesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesGetResponse contains the response from method FirewallPolicies.Get.

type FirewallPoliciesGetResult

type FirewallPoliciesGetResult struct {
	FirewallPolicy
}

FirewallPoliciesGetResult contains the result from method FirewallPolicies.Get.

type FirewallPoliciesListAllOptions

type FirewallPoliciesListAllOptions struct {
}

FirewallPoliciesListAllOptions contains the optional parameters for the FirewallPolicies.ListAll method.

type FirewallPoliciesListAllPager

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

FirewallPoliciesListAllPager provides operations for iterating over paged responses.

func (*FirewallPoliciesListAllPager) Err

Err returns the last error encountered while paging.

func (*FirewallPoliciesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*FirewallPoliciesListAllPager) PageResponse

PageResponse returns the current FirewallPoliciesListAllResponse page.

type FirewallPoliciesListAllResponse

type FirewallPoliciesListAllResponse struct {
	FirewallPoliciesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesListAllResponse contains the response from method FirewallPolicies.ListAll.

type FirewallPoliciesListAllResult

type FirewallPoliciesListAllResult struct {
	FirewallPolicyListResult
}

FirewallPoliciesListAllResult contains the result from method FirewallPolicies.ListAll.

type FirewallPoliciesListOptions

type FirewallPoliciesListOptions struct {
}

FirewallPoliciesListOptions contains the optional parameters for the FirewallPolicies.List method.

type FirewallPoliciesListPager

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

FirewallPoliciesListPager provides operations for iterating over paged responses.

func (*FirewallPoliciesListPager) Err

Err returns the last error encountered while paging.

func (*FirewallPoliciesListPager) NextPage

func (p *FirewallPoliciesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*FirewallPoliciesListPager) PageResponse

PageResponse returns the current FirewallPoliciesListResponse page.

type FirewallPoliciesListResponse

type FirewallPoliciesListResponse struct {
	FirewallPoliciesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPoliciesListResponse contains the response from method FirewallPolicies.List.

type FirewallPoliciesListResult

type FirewallPoliciesListResult struct {
	FirewallPolicyListResult
}

FirewallPoliciesListResult contains the result from method FirewallPolicies.List.

type FirewallPolicy

type FirewallPolicy struct {
	Resource
	// The identity of the firewall policy.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Properties of the firewall policy.
	Properties *FirewallPolicyPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

FirewallPolicy Resource.

func (FirewallPolicy) MarshalJSON

func (f FirewallPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicy.

type FirewallPolicyCertificateAuthority

type FirewallPolicyCertificateAuthority struct {
	// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
	KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"`

	// Name of the CA certificate.
	Name *string `json:"name,omitempty"`
}

FirewallPolicyCertificateAuthority - Trusted Root certificates properties for tls.

type FirewallPolicyFilterRuleCollection

type FirewallPolicyFilterRuleCollection struct {
	FirewallPolicyRuleCollection
	// The action type of a Filter rule collection.
	Action *FirewallPolicyFilterRuleCollectionAction `json:"action,omitempty"`

	// List of rules included in a rule collection.
	Rules []FirewallPolicyRuleClassification `json:"rules,omitempty"`
}

FirewallPolicyFilterRuleCollection - Firewall Policy Filter Rule Collection.

func (FirewallPolicyFilterRuleCollection) MarshalJSON

func (f FirewallPolicyFilterRuleCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyFilterRuleCollection.

func (*FirewallPolicyFilterRuleCollection) UnmarshalJSON

func (f *FirewallPolicyFilterRuleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FirewallPolicyFilterRuleCollection.

type FirewallPolicyFilterRuleCollectionAction

type FirewallPolicyFilterRuleCollectionAction struct {
	// The type of action.
	Type *FirewallPolicyFilterRuleCollectionActionType `json:"type,omitempty"`
}

FirewallPolicyFilterRuleCollectionAction - Properties of the FirewallPolicyFilterRuleCollectionAction.

type FirewallPolicyFilterRuleCollectionActionType

type FirewallPolicyFilterRuleCollectionActionType string

FirewallPolicyFilterRuleCollectionActionType - The action type of a rule.

const (
	FirewallPolicyFilterRuleCollectionActionTypeAllow FirewallPolicyFilterRuleCollectionActionType = "Allow"
	FirewallPolicyFilterRuleCollectionActionTypeDeny  FirewallPolicyFilterRuleCollectionActionType = "Deny"
)

func PossibleFirewallPolicyFilterRuleCollectionActionTypeValues

func PossibleFirewallPolicyFilterRuleCollectionActionTypeValues() []FirewallPolicyFilterRuleCollectionActionType

PossibleFirewallPolicyFilterRuleCollectionActionTypeValues returns the possible values for the FirewallPolicyFilterRuleCollectionActionType const type.

func (FirewallPolicyFilterRuleCollectionActionType) ToPtr

ToPtr returns a *FirewallPolicyFilterRuleCollectionActionType pointing to the current value.

type FirewallPolicyInsights

type FirewallPolicyInsights struct {
	// A flag to indicate if the insights are enabled on the policy.
	IsEnabled *bool `json:"isEnabled,omitempty"`

	// Workspaces needed to configure the Firewall Policy Insights.
	LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `json:"logAnalyticsResources,omitempty"`

	// Number of days the insights should be enabled on the policy.
	RetentionDays *int32 `json:"retentionDays,omitempty"`
}

FirewallPolicyInsights - Firewall Policy Insights.

type FirewallPolicyIntrusionDetection

type FirewallPolicyIntrusionDetection struct {
	// Intrusion detection configuration properties.
	Configuration *FirewallPolicyIntrusionDetectionConfiguration `json:"configuration,omitempty"`

	// Intrusion detection general state.
	Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"`
}

FirewallPolicyIntrusionDetection - Configuration for intrusion detection mode and rules.

type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications

type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct {
	// Description of the bypass traffic rule.
	Description *string `json:"description,omitempty"`

	// List of destination IP addresses or ranges for this rule.
	DestinationAddresses []*string `json:"destinationAddresses,omitempty"`

	// List of destination IpGroups for this rule.
	DestinationIPGroups []*string `json:"destinationIpGroups,omitempty"`

	// List of destination ports or ranges.
	DestinationPorts []*string `json:"destinationPorts,omitempty"`

	// Name of the bypass traffic rule.
	Name *string `json:"name,omitempty"`

	// The rule bypass protocol.
	Protocol *FirewallPolicyIntrusionDetectionProtocol `json:"protocol,omitempty"`

	// List of source IP addresses or ranges for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`
}

FirewallPolicyIntrusionDetectionBypassTrafficSpecifications - Intrusion detection bypass traffic specification.

func (FirewallPolicyIntrusionDetectionBypassTrafficSpecifications) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.

type FirewallPolicyIntrusionDetectionConfiguration

type FirewallPolicyIntrusionDetectionConfiguration struct {
	// List of rules for traffic to bypass.
	BypassTrafficSettings []*FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `json:"bypassTrafficSettings,omitempty"`

	// List of specific signatures states.
	SignatureOverrides []*FirewallPolicyIntrusionDetectionSignatureSpecification `json:"signatureOverrides,omitempty"`
}

FirewallPolicyIntrusionDetectionConfiguration - The operation for configuring intrusion detection.

func (FirewallPolicyIntrusionDetectionConfiguration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyIntrusionDetectionConfiguration.

type FirewallPolicyIntrusionDetectionProtocol

type FirewallPolicyIntrusionDetectionProtocol string

FirewallPolicyIntrusionDetectionProtocol - Possible intrusion detection bypass traffic protocols.

const (
	FirewallPolicyIntrusionDetectionProtocolANY  FirewallPolicyIntrusionDetectionProtocol = "ANY"
	FirewallPolicyIntrusionDetectionProtocolICMP FirewallPolicyIntrusionDetectionProtocol = "ICMP"
	FirewallPolicyIntrusionDetectionProtocolTCP  FirewallPolicyIntrusionDetectionProtocol = "TCP"
	FirewallPolicyIntrusionDetectionProtocolUDP  FirewallPolicyIntrusionDetectionProtocol = "UDP"
)

func PossibleFirewallPolicyIntrusionDetectionProtocolValues

func PossibleFirewallPolicyIntrusionDetectionProtocolValues() []FirewallPolicyIntrusionDetectionProtocol

PossibleFirewallPolicyIntrusionDetectionProtocolValues returns the possible values for the FirewallPolicyIntrusionDetectionProtocol const type.

func (FirewallPolicyIntrusionDetectionProtocol) ToPtr

ToPtr returns a *FirewallPolicyIntrusionDetectionProtocol pointing to the current value.

type FirewallPolicyIntrusionDetectionSignatureSpecification

type FirewallPolicyIntrusionDetectionSignatureSpecification struct {
	// Signature id.
	ID *string `json:"id,omitempty"`

	// The signature state.
	Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"`
}

FirewallPolicyIntrusionDetectionSignatureSpecification - Intrusion detection signatures specification states.

type FirewallPolicyIntrusionDetectionStateType

type FirewallPolicyIntrusionDetectionStateType string

FirewallPolicyIntrusionDetectionStateType - Possible state values.

const (
	FirewallPolicyIntrusionDetectionStateTypeAlert FirewallPolicyIntrusionDetectionStateType = "Alert"
	FirewallPolicyIntrusionDetectionStateTypeDeny  FirewallPolicyIntrusionDetectionStateType = "Deny"
	FirewallPolicyIntrusionDetectionStateTypeOff   FirewallPolicyIntrusionDetectionStateType = "Off"
)

func PossibleFirewallPolicyIntrusionDetectionStateTypeValues

func PossibleFirewallPolicyIntrusionDetectionStateTypeValues() []FirewallPolicyIntrusionDetectionStateType

PossibleFirewallPolicyIntrusionDetectionStateTypeValues returns the possible values for the FirewallPolicyIntrusionDetectionStateType const type.

func (FirewallPolicyIntrusionDetectionStateType) ToPtr

ToPtr returns a *FirewallPolicyIntrusionDetectionStateType pointing to the current value.

type FirewallPolicyListResult

type FirewallPolicyListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Firewall Policies in a resource group.
	Value []*FirewallPolicy `json:"value,omitempty"`
}

FirewallPolicyListResult - Response for ListFirewallPolicies API service call.

func (FirewallPolicyListResult) MarshalJSON

func (f FirewallPolicyListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyListResult.

type FirewallPolicyLogAnalyticsResources

type FirewallPolicyLogAnalyticsResources struct {
	// The default workspace Id for Firewall Policy Insights.
	DefaultWorkspaceID *SubResource `json:"defaultWorkspaceId,omitempty"`

	// List of workspaces for Firewall Policy Insights.
	Workspaces []*FirewallPolicyLogAnalyticsWorkspace `json:"workspaces,omitempty"`
}

FirewallPolicyLogAnalyticsResources - Log Analytics Resources for Firewall Policy Insights.

func (FirewallPolicyLogAnalyticsResources) MarshalJSON

func (f FirewallPolicyLogAnalyticsResources) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyLogAnalyticsResources.

type FirewallPolicyLogAnalyticsWorkspace

type FirewallPolicyLogAnalyticsWorkspace struct {
	// Region to configure the Workspace.
	Region *string `json:"region,omitempty"`

	// The workspace Id for Firewall Policy Insights.
	WorkspaceID *SubResource `json:"workspaceId,omitempty"`
}

FirewallPolicyLogAnalyticsWorkspace - Log Analytics Workspace for Firewall Policy Insights.

type FirewallPolicyNatRuleCollection

type FirewallPolicyNatRuleCollection struct {
	FirewallPolicyRuleCollection
	// The action type of a Nat rule collection.
	Action *FirewallPolicyNatRuleCollectionAction `json:"action,omitempty"`

	// List of rules included in a rule collection.
	Rules []FirewallPolicyRuleClassification `json:"rules,omitempty"`
}

FirewallPolicyNatRuleCollection - Firewall Policy NAT Rule Collection.

func (FirewallPolicyNatRuleCollection) MarshalJSON

func (f FirewallPolicyNatRuleCollection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyNatRuleCollection.

func (*FirewallPolicyNatRuleCollection) UnmarshalJSON

func (f *FirewallPolicyNatRuleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FirewallPolicyNatRuleCollection.

type FirewallPolicyNatRuleCollectionAction

type FirewallPolicyNatRuleCollectionAction struct {
	// The type of action.
	Type *FirewallPolicyNatRuleCollectionActionType `json:"type,omitempty"`
}

FirewallPolicyNatRuleCollectionAction - Properties of the FirewallPolicyNatRuleCollectionAction.

type FirewallPolicyNatRuleCollectionActionType

type FirewallPolicyNatRuleCollectionActionType string

FirewallPolicyNatRuleCollectionActionType - The action type of a rule.

const (
	FirewallPolicyNatRuleCollectionActionTypeDNAT FirewallPolicyNatRuleCollectionActionType = "DNAT"
)

func PossibleFirewallPolicyNatRuleCollectionActionTypeValues

func PossibleFirewallPolicyNatRuleCollectionActionTypeValues() []FirewallPolicyNatRuleCollectionActionType

PossibleFirewallPolicyNatRuleCollectionActionTypeValues returns the possible values for the FirewallPolicyNatRuleCollectionActionType const type.

func (FirewallPolicyNatRuleCollectionActionType) ToPtr

ToPtr returns a *FirewallPolicyNatRuleCollectionActionType pointing to the current value.

type FirewallPolicyPropertiesFormat

type FirewallPolicyPropertiesFormat struct {
	// The parent firewall policy from which rules are inherited.
	BasePolicy *SubResource `json:"basePolicy,omitempty"`

	// DNS Proxy Settings definition.
	DNSSettings *DNSSettings `json:"dnsSettings,omitempty"`

	// Explicit Proxy Settings definition.
	ExplicitProxySettings *ExplicitProxySettings `json:"explicitProxySettings,omitempty"`

	// Insights on Firewall Policy.
	Insights *FirewallPolicyInsights `json:"insights,omitempty"`

	// The configuration for Intrusion detection.
	IntrusionDetection *FirewallPolicyIntrusionDetection `json:"intrusionDetection,omitempty"`

	// The Firewall Policy SKU.
	SKU *FirewallPolicySKU `json:"sku,omitempty"`

	// SQL Settings definition.
	SQL *FirewallPolicySQL `json:"sql,omitempty"`

	// The private IP addresses/IP ranges to which traffic will not be SNAT.
	Snat *FirewallPolicySNAT `json:"snat,omitempty"`

	// The operation mode for Threat Intelligence.
	ThreatIntelMode *AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"`

	// ThreatIntel Whitelist for Firewall Policy.
	ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"`

	// TLS Configuration definition.
	TransportSecurity *FirewallPolicyTransportSecurity `json:"transportSecurity,omitempty"`

	// READ-ONLY; List of references to Child Firewall Policies.
	ChildPolicies []*SubResource `json:"childPolicies,omitempty" azure:"ro"`

	// READ-ONLY; List of references to Azure Firewalls that this Firewall Policy is associated with.
	Firewalls []*SubResource `json:"firewalls,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the firewall policy resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; List of references to FirewallPolicyRuleCollectionGroups.
	RuleCollectionGroups []*SubResource `json:"ruleCollectionGroups,omitempty" azure:"ro"`
}

FirewallPolicyPropertiesFormat - Firewall Policy definition.

func (FirewallPolicyPropertiesFormat) MarshalJSON

func (f FirewallPolicyPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyPropertiesFormat.

type FirewallPolicyRule

type FirewallPolicyRule struct {
	// REQUIRED; Rule Type.
	RuleType *FirewallPolicyRuleType `json:"ruleType,omitempty"`

	// Description of the rule.
	Description *string `json:"description,omitempty"`

	// Name of the rule.
	Name *string `json:"name,omitempty"`
}

FirewallPolicyRule - Properties of a rule.

func (*FirewallPolicyRule) GetFirewallPolicyRule

func (f *FirewallPolicyRule) GetFirewallPolicyRule() *FirewallPolicyRule

GetFirewallPolicyRule implements the FirewallPolicyRuleClassification interface for type FirewallPolicyRule.

func (*FirewallPolicyRule) UnmarshalJSON

func (f *FirewallPolicyRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FirewallPolicyRule.

type FirewallPolicyRuleApplicationProtocol

type FirewallPolicyRuleApplicationProtocol struct {
	// Port number for the protocol, cannot be greater than 64000.
	Port *int32 `json:"port,omitempty"`

	// Protocol type.
	ProtocolType *FirewallPolicyRuleApplicationProtocolType `json:"protocolType,omitempty"`
}

FirewallPolicyRuleApplicationProtocol - Properties of the application rule protocol.

type FirewallPolicyRuleApplicationProtocolType

type FirewallPolicyRuleApplicationProtocolType string

FirewallPolicyRuleApplicationProtocolType - The application protocol type of a Rule.

const (
	FirewallPolicyRuleApplicationProtocolTypeHTTP  FirewallPolicyRuleApplicationProtocolType = "Http"
	FirewallPolicyRuleApplicationProtocolTypeHTTPS FirewallPolicyRuleApplicationProtocolType = "Https"
)

func PossibleFirewallPolicyRuleApplicationProtocolTypeValues

func PossibleFirewallPolicyRuleApplicationProtocolTypeValues() []FirewallPolicyRuleApplicationProtocolType

PossibleFirewallPolicyRuleApplicationProtocolTypeValues returns the possible values for the FirewallPolicyRuleApplicationProtocolType const type.

func (FirewallPolicyRuleApplicationProtocolType) ToPtr

ToPtr returns a *FirewallPolicyRuleApplicationProtocolType pointing to the current value.

type FirewallPolicyRuleClassification

type FirewallPolicyRuleClassification interface {
	// GetFirewallPolicyRule returns the FirewallPolicyRule content of the underlying type.
	GetFirewallPolicyRule() *FirewallPolicyRule
}

FirewallPolicyRuleClassification provides polymorphic access to related types. Call the interface's GetFirewallPolicyRule() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *ApplicationRule, *FirewallPolicyRule, *NatRule, *NetworkRule

type FirewallPolicyRuleCollection

type FirewallPolicyRuleCollection struct {
	// REQUIRED; The type of the rule collection.
	RuleCollectionType *FirewallPolicyRuleCollectionType `json:"ruleCollectionType,omitempty"`

	// The name of the rule collection.
	Name *string `json:"name,omitempty"`

	// Priority of the Firewall Policy Rule Collection resource.
	Priority *int32 `json:"priority,omitempty"`
}

FirewallPolicyRuleCollection - Properties of the rule collection.

func (*FirewallPolicyRuleCollection) GetFirewallPolicyRuleCollection

func (f *FirewallPolicyRuleCollection) GetFirewallPolicyRuleCollection() *FirewallPolicyRuleCollection

GetFirewallPolicyRuleCollection implements the FirewallPolicyRuleCollectionClassification interface for type FirewallPolicyRuleCollection.

func (*FirewallPolicyRuleCollection) UnmarshalJSON

func (f *FirewallPolicyRuleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FirewallPolicyRuleCollection.

type FirewallPolicyRuleCollectionClassification

type FirewallPolicyRuleCollectionClassification interface {
	// GetFirewallPolicyRuleCollection returns the FirewallPolicyRuleCollection content of the underlying type.
	GetFirewallPolicyRuleCollection() *FirewallPolicyRuleCollection
}

FirewallPolicyRuleCollectionClassification provides polymorphic access to related types. Call the interface's GetFirewallPolicyRuleCollection() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *FirewallPolicyFilterRuleCollection, *FirewallPolicyNatRuleCollection, *FirewallPolicyRuleCollection

type FirewallPolicyRuleCollectionGroup

type FirewallPolicyRuleCollectionGroup struct {
	SubResource
	// 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"`

	// The properties of the firewall policy rule collection group.
	Properties *FirewallPolicyRuleCollectionGroupProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Rule Group type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

FirewallPolicyRuleCollectionGroup - Rule Collection Group resource.

func (FirewallPolicyRuleCollectionGroup) MarshalJSON

func (f FirewallPolicyRuleCollectionGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyRuleCollectionGroup.

type FirewallPolicyRuleCollectionGroupListResult

type FirewallPolicyRuleCollectionGroupListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy.
	Value []*FirewallPolicyRuleCollectionGroup `json:"value,omitempty"`
}

FirewallPolicyRuleCollectionGroupListResult - Response for ListFirewallPolicyRuleCollectionGroups API service call.

func (FirewallPolicyRuleCollectionGroupListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyRuleCollectionGroupListResult.

type FirewallPolicyRuleCollectionGroupProperties

type FirewallPolicyRuleCollectionGroupProperties struct {
	// Priority of the Firewall Policy Rule Collection Group resource.
	Priority *int32 `json:"priority,omitempty"`

	// Group of Firewall Policy rule collections.
	RuleCollections []FirewallPolicyRuleCollectionClassification `json:"ruleCollections,omitempty"`

	// READ-ONLY; The provisioning state of the firewall policy rule collection group resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

FirewallPolicyRuleCollectionGroupProperties - Properties of the rule collection group.

func (FirewallPolicyRuleCollectionGroupProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyRuleCollectionGroupProperties.

func (*FirewallPolicyRuleCollectionGroupProperties) UnmarshalJSON

func (f *FirewallPolicyRuleCollectionGroupProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FirewallPolicyRuleCollectionGroupProperties.

type FirewallPolicyRuleCollectionGroupsBeginCreateOrUpdateOptions

type FirewallPolicyRuleCollectionGroupsBeginCreateOrUpdateOptions struct {
}

FirewallPolicyRuleCollectionGroupsBeginCreateOrUpdateOptions contains the optional parameters for the FirewallPolicyRuleCollectionGroups.BeginCreateOrUpdate method.

type FirewallPolicyRuleCollectionGroupsBeginDeleteOptions

type FirewallPolicyRuleCollectionGroupsBeginDeleteOptions struct {
}

FirewallPolicyRuleCollectionGroupsBeginDeleteOptions contains the optional parameters for the FirewallPolicyRuleCollectionGroups.BeginDelete method.

type FirewallPolicyRuleCollectionGroupsClient

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

FirewallPolicyRuleCollectionGroupsClient contains the methods for the FirewallPolicyRuleCollectionGroups group. Don't use this type directly, use NewFirewallPolicyRuleCollectionGroupsClient() instead.

func NewFirewallPolicyRuleCollectionGroupsClient

func NewFirewallPolicyRuleCollectionGroupsClient(con *arm.Connection, subscriptionID string) *FirewallPolicyRuleCollectionGroupsClient

NewFirewallPolicyRuleCollectionGroupsClient creates a new instance of FirewallPolicyRuleCollectionGroupsClient with the specified values.

func (*FirewallPolicyRuleCollectionGroupsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates the specified FirewallPolicyRuleCollectionGroup. If the operation fails it returns the *CloudError error type.

func (*FirewallPolicyRuleCollectionGroupsClient) BeginDelete

BeginDelete - Deletes the specified FirewallPolicyRuleCollectionGroup. If the operation fails it returns the *CloudError error type.

func (*FirewallPolicyRuleCollectionGroupsClient) Get

func (client *FirewallPolicyRuleCollectionGroupsClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string, options *FirewallPolicyRuleCollectionGroupsGetOptions) (FirewallPolicyRuleCollectionGroupsGetResponse, error)

Get - Gets the specified FirewallPolicyRuleCollectionGroup. If the operation fails it returns the *CloudError error type.

func (*FirewallPolicyRuleCollectionGroupsClient) List

List - Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. If the operation fails it returns the *CloudError error type.

type FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller

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

FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final FirewallPolicyRuleCollectionGroupsCreateOrUpdateResponse will be returned.

func (*FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type FirewallPolicyRuleCollectionGroupsCreateOrUpdatePollerResponse

type FirewallPolicyRuleCollectionGroupsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *FirewallPolicyRuleCollectionGroupsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPolicyRuleCollectionGroupsCreateOrUpdatePollerResponse contains the response from method FirewallPolicyRuleCollectionGroups.CreateOrUpdate.

func (FirewallPolicyRuleCollectionGroupsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*FirewallPolicyRuleCollectionGroupsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a FirewallPolicyRuleCollectionGroupsCreateOrUpdatePollerResponse from the provided client and resume token.

type FirewallPolicyRuleCollectionGroupsCreateOrUpdateResponse

type FirewallPolicyRuleCollectionGroupsCreateOrUpdateResponse struct {
	FirewallPolicyRuleCollectionGroupsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPolicyRuleCollectionGroupsCreateOrUpdateResponse contains the response from method FirewallPolicyRuleCollectionGroups.CreateOrUpdate.

type FirewallPolicyRuleCollectionGroupsCreateOrUpdateResult

type FirewallPolicyRuleCollectionGroupsCreateOrUpdateResult struct {
	FirewallPolicyRuleCollectionGroup
}

FirewallPolicyRuleCollectionGroupsCreateOrUpdateResult contains the result from method FirewallPolicyRuleCollectionGroups.CreateOrUpdate.

type FirewallPolicyRuleCollectionGroupsDeletePoller

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

FirewallPolicyRuleCollectionGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*FirewallPolicyRuleCollectionGroupsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*FirewallPolicyRuleCollectionGroupsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final FirewallPolicyRuleCollectionGroupsDeleteResponse will be returned.

func (*FirewallPolicyRuleCollectionGroupsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*FirewallPolicyRuleCollectionGroupsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type FirewallPolicyRuleCollectionGroupsDeletePollerResponse

type FirewallPolicyRuleCollectionGroupsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *FirewallPolicyRuleCollectionGroupsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPolicyRuleCollectionGroupsDeletePollerResponse contains the response from method FirewallPolicyRuleCollectionGroups.Delete.

func (FirewallPolicyRuleCollectionGroupsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*FirewallPolicyRuleCollectionGroupsDeletePollerResponse) Resume

Resume rehydrates a FirewallPolicyRuleCollectionGroupsDeletePollerResponse from the provided client and resume token.

type FirewallPolicyRuleCollectionGroupsDeleteResponse

type FirewallPolicyRuleCollectionGroupsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPolicyRuleCollectionGroupsDeleteResponse contains the response from method FirewallPolicyRuleCollectionGroups.Delete.

type FirewallPolicyRuleCollectionGroupsGetOptions

type FirewallPolicyRuleCollectionGroupsGetOptions struct {
}

FirewallPolicyRuleCollectionGroupsGetOptions contains the optional parameters for the FirewallPolicyRuleCollectionGroups.Get method.

type FirewallPolicyRuleCollectionGroupsGetResponse

type FirewallPolicyRuleCollectionGroupsGetResponse struct {
	FirewallPolicyRuleCollectionGroupsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPolicyRuleCollectionGroupsGetResponse contains the response from method FirewallPolicyRuleCollectionGroups.Get.

type FirewallPolicyRuleCollectionGroupsGetResult

type FirewallPolicyRuleCollectionGroupsGetResult struct {
	FirewallPolicyRuleCollectionGroup
}

FirewallPolicyRuleCollectionGroupsGetResult contains the result from method FirewallPolicyRuleCollectionGroups.Get.

type FirewallPolicyRuleCollectionGroupsListOptions

type FirewallPolicyRuleCollectionGroupsListOptions struct {
}

FirewallPolicyRuleCollectionGroupsListOptions contains the optional parameters for the FirewallPolicyRuleCollectionGroups.List method.

type FirewallPolicyRuleCollectionGroupsListPager

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

FirewallPolicyRuleCollectionGroupsListPager provides operations for iterating over paged responses.

func (*FirewallPolicyRuleCollectionGroupsListPager) Err

Err returns the last error encountered while paging.

func (*FirewallPolicyRuleCollectionGroupsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*FirewallPolicyRuleCollectionGroupsListPager) PageResponse

PageResponse returns the current FirewallPolicyRuleCollectionGroupsListResponse page.

type FirewallPolicyRuleCollectionGroupsListResponse

type FirewallPolicyRuleCollectionGroupsListResponse struct {
	FirewallPolicyRuleCollectionGroupsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallPolicyRuleCollectionGroupsListResponse contains the response from method FirewallPolicyRuleCollectionGroups.List.

type FirewallPolicyRuleCollectionGroupsListResult

type FirewallPolicyRuleCollectionGroupsListResult struct {
	FirewallPolicyRuleCollectionGroupListResult
}

FirewallPolicyRuleCollectionGroupsListResult contains the result from method FirewallPolicyRuleCollectionGroups.List.

type FirewallPolicyRuleCollectionType

type FirewallPolicyRuleCollectionType string

FirewallPolicyRuleCollectionType - The type of the rule collection.

const (
	FirewallPolicyRuleCollectionTypeFirewallPolicyFilterRuleCollection FirewallPolicyRuleCollectionType = "FirewallPolicyFilterRuleCollection"
	FirewallPolicyRuleCollectionTypeFirewallPolicyNatRuleCollection    FirewallPolicyRuleCollectionType = "FirewallPolicyNatRuleCollection"
)

func PossibleFirewallPolicyRuleCollectionTypeValues

func PossibleFirewallPolicyRuleCollectionTypeValues() []FirewallPolicyRuleCollectionType

PossibleFirewallPolicyRuleCollectionTypeValues returns the possible values for the FirewallPolicyRuleCollectionType const type.

func (FirewallPolicyRuleCollectionType) ToPtr

ToPtr returns a *FirewallPolicyRuleCollectionType pointing to the current value.

type FirewallPolicyRuleNetworkProtocol

type FirewallPolicyRuleNetworkProtocol string

FirewallPolicyRuleNetworkProtocol - The Network protocol of a Rule.

const (
	FirewallPolicyRuleNetworkProtocolAny  FirewallPolicyRuleNetworkProtocol = "Any"
	FirewallPolicyRuleNetworkProtocolICMP FirewallPolicyRuleNetworkProtocol = "ICMP"
	FirewallPolicyRuleNetworkProtocolTCP  FirewallPolicyRuleNetworkProtocol = "TCP"
	FirewallPolicyRuleNetworkProtocolUDP  FirewallPolicyRuleNetworkProtocol = "UDP"
)

func PossibleFirewallPolicyRuleNetworkProtocolValues

func PossibleFirewallPolicyRuleNetworkProtocolValues() []FirewallPolicyRuleNetworkProtocol

PossibleFirewallPolicyRuleNetworkProtocolValues returns the possible values for the FirewallPolicyRuleNetworkProtocol const type.

func (FirewallPolicyRuleNetworkProtocol) ToPtr

ToPtr returns a *FirewallPolicyRuleNetworkProtocol pointing to the current value.

type FirewallPolicyRuleType

type FirewallPolicyRuleType string

FirewallPolicyRuleType - Rule Type.

const (
	FirewallPolicyRuleTypeApplicationRule FirewallPolicyRuleType = "ApplicationRule"
	FirewallPolicyRuleTypeNatRule         FirewallPolicyRuleType = "NatRule"
	FirewallPolicyRuleTypeNetworkRule     FirewallPolicyRuleType = "NetworkRule"
)

func PossibleFirewallPolicyRuleTypeValues

func PossibleFirewallPolicyRuleTypeValues() []FirewallPolicyRuleType

PossibleFirewallPolicyRuleTypeValues returns the possible values for the FirewallPolicyRuleType const type.

func (FirewallPolicyRuleType) ToPtr

ToPtr returns a *FirewallPolicyRuleType pointing to the current value.

type FirewallPolicySKU

type FirewallPolicySKU struct {
	// Tier of Firewall Policy.
	Tier *FirewallPolicySKUTier `json:"tier,omitempty"`
}

FirewallPolicySKU - SKU of Firewall policy.

type FirewallPolicySKUTier

type FirewallPolicySKUTier string

FirewallPolicySKUTier - Tier of Firewall Policy.

const (
	FirewallPolicySKUTierPremium  FirewallPolicySKUTier = "Premium"
	FirewallPolicySKUTierStandard FirewallPolicySKUTier = "Standard"
)

func PossibleFirewallPolicySKUTierValues

func PossibleFirewallPolicySKUTierValues() []FirewallPolicySKUTier

PossibleFirewallPolicySKUTierValues returns the possible values for the FirewallPolicySKUTier const type.

func (FirewallPolicySKUTier) ToPtr

ToPtr returns a *FirewallPolicySKUTier pointing to the current value.

type FirewallPolicySNAT

type FirewallPolicySNAT struct {
	// List of private IP addresses/IP address ranges to not be SNAT.
	PrivateRanges []*string `json:"privateRanges,omitempty"`
}

FirewallPolicySNAT - The private IP addresses/IP ranges to which traffic will not be SNAT.

func (FirewallPolicySNAT) MarshalJSON

func (f FirewallPolicySNAT) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicySNAT.

type FirewallPolicySQL

type FirewallPolicySQL struct {
	// A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.
	AllowSQLRedirect *bool `json:"allowSqlRedirect,omitempty"`
}

FirewallPolicySQL - SQL Settings in Firewall Policy.

type FirewallPolicyThreatIntelWhitelist

type FirewallPolicyThreatIntelWhitelist struct {
	// List of FQDNs for the ThreatIntel Whitelist.
	Fqdns []*string `json:"fqdns,omitempty"`

	// List of IP addresses for the ThreatIntel Whitelist.
	IPAddresses []*string `json:"ipAddresses,omitempty"`
}

FirewallPolicyThreatIntelWhitelist - ThreatIntel Whitelist for Firewall Policy.

func (FirewallPolicyThreatIntelWhitelist) MarshalJSON

func (f FirewallPolicyThreatIntelWhitelist) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallPolicyThreatIntelWhitelist.

type FirewallPolicyTransportSecurity

type FirewallPolicyTransportSecurity struct {
	// The CA used for intermediate CA generation.
	CertificateAuthority *FirewallPolicyCertificateAuthority `json:"certificateAuthority,omitempty"`
}

FirewallPolicyTransportSecurity - Configuration needed to perform TLS termination & initiation.

type FlowLog

type FlowLog struct {
	Resource
	// Properties of the flow log.
	Properties *FlowLogPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

FlowLog - A flow log resource.

func (FlowLog) MarshalJSON

func (f FlowLog) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowLog.

type FlowLogFormatParameters

type FlowLogFormatParameters struct {
	// The file type of flow log.
	Type *FlowLogFormatType `json:"type,omitempty"`

	// The version (revision) of the flow log.
	Version *int32 `json:"version,omitempty"`
}

FlowLogFormatParameters - Parameters that define the flow log format.

type FlowLogFormatType

type FlowLogFormatType string

FlowLogFormatType - The file type of flow log.

const (
	FlowLogFormatTypeJSON FlowLogFormatType = "JSON"
)

func PossibleFlowLogFormatTypeValues

func PossibleFlowLogFormatTypeValues() []FlowLogFormatType

PossibleFlowLogFormatTypeValues returns the possible values for the FlowLogFormatType const type.

func (FlowLogFormatType) ToPtr

ToPtr returns a *FlowLogFormatType pointing to the current value.

type FlowLogInformation

type FlowLogInformation struct {
	// REQUIRED; Properties of the flow log.
	Properties *FlowLogProperties `json:"properties,omitempty"`

	// REQUIRED; The ID of the resource to configure for flow log and traffic analytics (optional) .
	TargetResourceID *string `json:"targetResourceId,omitempty"`

	// Parameters that define the configuration of traffic analytics.
	FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"`
}

FlowLogInformation - Information on the configuration of flow log and traffic analytics (optional) .

type FlowLogListResult

type FlowLogListResult struct {
	// Information about flow log resource.
	Value []*FlowLog `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

FlowLogListResult - List of flow logs.

func (FlowLogListResult) MarshalJSON

func (f FlowLogListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FlowLogListResult.

type FlowLogProperties

type FlowLogProperties struct {
	// REQUIRED; Flag to enable/disable flow logging.
	Enabled *bool `json:"enabled,omitempty"`

	// REQUIRED; ID of the storage account which is used to store the flow log.
	StorageID *string `json:"storageId,omitempty"`

	// Parameters that define the flow log format.
	Format *FlowLogFormatParameters `json:"format,omitempty"`

	// Parameters that define the retention policy for flow log.
	RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"`
}

FlowLogProperties - Parameters that define the configuration of flow log.

type FlowLogPropertiesFormat

type FlowLogPropertiesFormat struct {
	// REQUIRED; ID of the storage account which is used to store the flow log.
	StorageID *string `json:"storageId,omitempty"`

	// REQUIRED; ID of network security group to which flow log will be applied.
	TargetResourceID *string `json:"targetResourceId,omitempty"`

	// Flag to enable/disable flow logging.
	Enabled *bool `json:"enabled,omitempty"`

	// Parameters that define the configuration of traffic analytics.
	FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"`

	// Parameters that define the flow log format.
	Format *FlowLogFormatParameters `json:"format,omitempty"`

	// Parameters that define the retention policy for flow log.
	RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"`

	// READ-ONLY; The provisioning state of the flow log.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Guid of network security group to which flow log will be applied.
	TargetResourceGUID *string `json:"targetResourceGuid,omitempty" azure:"ro"`
}

FlowLogPropertiesFormat - Parameters that define the configuration of flow log.

type FlowLogStatusParameters

type FlowLogStatusParameters struct {
	// REQUIRED; The target resource where getting the flow log and traffic analytics (optional) status.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

FlowLogStatusParameters - Parameters that define a resource to query flow log and traffic analytics (optional) status.

type FlowLogsBeginCreateOrUpdateOptions

type FlowLogsBeginCreateOrUpdateOptions struct {
}

FlowLogsBeginCreateOrUpdateOptions contains the optional parameters for the FlowLogs.BeginCreateOrUpdate method.

type FlowLogsBeginDeleteOptions

type FlowLogsBeginDeleteOptions struct {
}

FlowLogsBeginDeleteOptions contains the optional parameters for the FlowLogs.BeginDelete method.

type FlowLogsClient

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

FlowLogsClient contains the methods for the FlowLogs group. Don't use this type directly, use NewFlowLogsClient() instead.

func NewFlowLogsClient

func NewFlowLogsClient(con *arm.Connection, subscriptionID string) *FlowLogsClient

NewFlowLogsClient creates a new instance of FlowLogsClient with the specified values.

func (*FlowLogsClient) BeginCreateOrUpdate

func (client *FlowLogsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, parameters FlowLog, options *FlowLogsBeginCreateOrUpdateOptions) (FlowLogsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Create or update a flow log for the specified network security group. If the operation fails it returns the *ErrorResponse error type.

func (*FlowLogsClient) BeginDelete

func (client *FlowLogsClient) BeginDelete(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, options *FlowLogsBeginDeleteOptions) (FlowLogsDeletePollerResponse, error)

BeginDelete - Deletes the specified flow log resource. If the operation fails it returns the *ErrorResponse error type.

func (*FlowLogsClient) Get

func (client *FlowLogsClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, options *FlowLogsGetOptions) (FlowLogsGetResponse, error)

Get - Gets a flow log resource by name. If the operation fails it returns the *ErrorResponse error type.

func (*FlowLogsClient) List

func (client *FlowLogsClient) List(resourceGroupName string, networkWatcherName string, options *FlowLogsListOptions) *FlowLogsListPager

List - Lists all flow log resources for the specified Network Watcher. If the operation fails it returns the *ErrorResponse error type.

func (*FlowLogsClient) UpdateTags

func (client *FlowLogsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, flowLogName string, parameters TagsObject, options *FlowLogsUpdateTagsOptions) (FlowLogsUpdateTagsResponse, error)

UpdateTags - Update tags of the specified flow log. If the operation fails it returns the *ErrorResponse error type.

type FlowLogsCreateOrUpdatePoller

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

FlowLogsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*FlowLogsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*FlowLogsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final FlowLogsCreateOrUpdateResponse will be returned.

func (*FlowLogsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*FlowLogsCreateOrUpdatePoller) ResumeToken

func (p *FlowLogsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type FlowLogsCreateOrUpdatePollerResponse

type FlowLogsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *FlowLogsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsCreateOrUpdatePollerResponse contains the response from method FlowLogs.CreateOrUpdate.

func (FlowLogsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*FlowLogsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a FlowLogsCreateOrUpdatePollerResponse from the provided client and resume token.

type FlowLogsCreateOrUpdateResponse

type FlowLogsCreateOrUpdateResponse struct {
	FlowLogsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsCreateOrUpdateResponse contains the response from method FlowLogs.CreateOrUpdate.

type FlowLogsCreateOrUpdateResult

type FlowLogsCreateOrUpdateResult struct {
	FlowLog
}

FlowLogsCreateOrUpdateResult contains the result from method FlowLogs.CreateOrUpdate.

type FlowLogsDeletePoller

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

FlowLogsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*FlowLogsDeletePoller) Done

func (p *FlowLogsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*FlowLogsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final FlowLogsDeleteResponse will be returned.

func (*FlowLogsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*FlowLogsDeletePoller) ResumeToken

func (p *FlowLogsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type FlowLogsDeletePollerResponse

type FlowLogsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *FlowLogsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsDeletePollerResponse contains the response from method FlowLogs.Delete.

func (FlowLogsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*FlowLogsDeletePollerResponse) Resume

func (l *FlowLogsDeletePollerResponse) Resume(ctx context.Context, client *FlowLogsClient, token string) error

Resume rehydrates a FlowLogsDeletePollerResponse from the provided client and resume token.

type FlowLogsDeleteResponse

type FlowLogsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsDeleteResponse contains the response from method FlowLogs.Delete.

type FlowLogsGetOptions

type FlowLogsGetOptions struct {
}

FlowLogsGetOptions contains the optional parameters for the FlowLogs.Get method.

type FlowLogsGetResponse

type FlowLogsGetResponse struct {
	FlowLogsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsGetResponse contains the response from method FlowLogs.Get.

type FlowLogsGetResult

type FlowLogsGetResult struct {
	FlowLog
}

FlowLogsGetResult contains the result from method FlowLogs.Get.

type FlowLogsListOptions

type FlowLogsListOptions struct {
}

FlowLogsListOptions contains the optional parameters for the FlowLogs.List method.

type FlowLogsListPager

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

FlowLogsListPager provides operations for iterating over paged responses.

func (*FlowLogsListPager) Err

func (p *FlowLogsListPager) Err() error

Err returns the last error encountered while paging.

func (*FlowLogsListPager) NextPage

func (p *FlowLogsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*FlowLogsListPager) PageResponse

func (p *FlowLogsListPager) PageResponse() FlowLogsListResponse

PageResponse returns the current FlowLogsListResponse page.

type FlowLogsListResponse

type FlowLogsListResponse struct {
	FlowLogsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsListResponse contains the response from method FlowLogs.List.

type FlowLogsListResult

type FlowLogsListResult struct {
	FlowLogListResult
}

FlowLogsListResult contains the result from method FlowLogs.List.

type FlowLogsUpdateTagsOptions

type FlowLogsUpdateTagsOptions struct {
}

FlowLogsUpdateTagsOptions contains the optional parameters for the FlowLogs.UpdateTags method.

type FlowLogsUpdateTagsResponse

type FlowLogsUpdateTagsResponse struct {
	FlowLogsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FlowLogsUpdateTagsResponse contains the response from method FlowLogs.UpdateTags.

type FlowLogsUpdateTagsResult

type FlowLogsUpdateTagsResult struct {
	FlowLog
}

FlowLogsUpdateTagsResult contains the result from method FlowLogs.UpdateTags.

type FrontendIPConfiguration

type FrontendIPConfiguration struct {
	SubResource
	// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of the load balancer probe.
	Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

FrontendIPConfiguration - Frontend IP address of the load balancer.

func (FrontendIPConfiguration) MarshalJSON

func (f FrontendIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FrontendIPConfiguration.

type FrontendIPConfigurationPropertiesFormat

type FrontendIPConfigurationPropertiesFormat struct {
	// The reference to gateway load balancer frontend IP.
	GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"`

	// The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
	PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"`

	// The Private IP allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// The reference to the Public IP resource.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`

	// The reference to the Public IP Prefix resource.
	PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`

	// The reference to the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`

	// READ-ONLY; An array of references to inbound pools that use this frontend IP.
	InboundNatPools []*SubResource `json:"inboundNatPools,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to inbound rules that use this frontend IP.
	InboundNatRules []*SubResource `json:"inboundNatRules,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to load balancing rules that use this frontend IP.
	LoadBalancingRules []*SubResource `json:"loadBalancingRules,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to outbound rules that use this frontend IP.
	OutboundRules []*SubResource `json:"outboundRules,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the frontend IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

FrontendIPConfigurationPropertiesFormat - Properties of Frontend IP Configuration of the load balancer.

func (FrontendIPConfigurationPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type FrontendIPConfigurationPropertiesFormat.

type GatewayLoadBalancerTunnelInterface

type GatewayLoadBalancerTunnelInterface struct {
	// Identifier of gateway load balancer tunnel interface.
	Identifier *int32 `json:"identifier,omitempty"`

	// Port of gateway load balancer tunnel interface.
	Port *int32 `json:"port,omitempty"`

	// Protocol of gateway load balancer tunnel interface.
	Protocol *GatewayLoadBalancerTunnelProtocol `json:"protocol,omitempty"`

	// Traffic type of gateway load balancer tunnel interface.
	Type *GatewayLoadBalancerTunnelInterfaceType `json:"type,omitempty"`
}

GatewayLoadBalancerTunnelInterface - Gateway load balancer tunnel interface of a load balancer backend address pool.

type GatewayLoadBalancerTunnelInterfaceType

type GatewayLoadBalancerTunnelInterfaceType string

GatewayLoadBalancerTunnelInterfaceType - Traffic type of gateway load balancer tunnel interface.

const (
	GatewayLoadBalancerTunnelInterfaceTypeExternal GatewayLoadBalancerTunnelInterfaceType = "External"
	GatewayLoadBalancerTunnelInterfaceTypeInternal GatewayLoadBalancerTunnelInterfaceType = "Internal"
	GatewayLoadBalancerTunnelInterfaceTypeNone     GatewayLoadBalancerTunnelInterfaceType = "None"
)

func PossibleGatewayLoadBalancerTunnelInterfaceTypeValues

func PossibleGatewayLoadBalancerTunnelInterfaceTypeValues() []GatewayLoadBalancerTunnelInterfaceType

PossibleGatewayLoadBalancerTunnelInterfaceTypeValues returns the possible values for the GatewayLoadBalancerTunnelInterfaceType const type.

func (GatewayLoadBalancerTunnelInterfaceType) ToPtr

ToPtr returns a *GatewayLoadBalancerTunnelInterfaceType pointing to the current value.

type GatewayLoadBalancerTunnelProtocol

type GatewayLoadBalancerTunnelProtocol string

GatewayLoadBalancerTunnelProtocol - Protocol of gateway load balancer tunnel interface.

const (
	GatewayLoadBalancerTunnelProtocolNative GatewayLoadBalancerTunnelProtocol = "Native"
	GatewayLoadBalancerTunnelProtocolNone   GatewayLoadBalancerTunnelProtocol = "None"
	GatewayLoadBalancerTunnelProtocolVXLAN  GatewayLoadBalancerTunnelProtocol = "VXLAN"
)

func PossibleGatewayLoadBalancerTunnelProtocolValues

func PossibleGatewayLoadBalancerTunnelProtocolValues() []GatewayLoadBalancerTunnelProtocol

PossibleGatewayLoadBalancerTunnelProtocolValues returns the possible values for the GatewayLoadBalancerTunnelProtocol const type.

func (GatewayLoadBalancerTunnelProtocol) ToPtr

ToPtr returns a *GatewayLoadBalancerTunnelProtocol pointing to the current value.

type GatewayRoute

type GatewayRoute struct {
	// READ-ONLY; The route's AS path sequence.
	AsPath *string `json:"asPath,omitempty" azure:"ro"`

	// READ-ONLY; The gateway's local address.
	LocalAddress *string `json:"localAddress,omitempty" azure:"ro"`

	// READ-ONLY; The route's network prefix.
	Network *string `json:"network,omitempty" azure:"ro"`

	// READ-ONLY; The route's next hop.
	NextHop *string `json:"nextHop,omitempty" azure:"ro"`

	// READ-ONLY; The source this route was learned from.
	Origin *string `json:"origin,omitempty" azure:"ro"`

	// READ-ONLY; The peer this route was learned from.
	SourcePeer *string `json:"sourcePeer,omitempty" azure:"ro"`

	// READ-ONLY; The route's weight.
	Weight *int32 `json:"weight,omitempty" azure:"ro"`
}

GatewayRoute - Gateway routing details.

type GatewayRouteListResult

type GatewayRouteListResult struct {
	// List of gateway routes.
	Value []*GatewayRoute `json:"value,omitempty"`
}

GatewayRouteListResult - List of virtual network gateway routes.

func (GatewayRouteListResult) MarshalJSON

func (g GatewayRouteListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GatewayRouteListResult.

type GenerateExpressRoutePortsLOARequest

type GenerateExpressRoutePortsLOARequest struct {
	// REQUIRED; The customer name.
	CustomerName *string `json:"customerName,omitempty"`
}

GenerateExpressRoutePortsLOARequest - The customer name to be printed on a letter of authorization.

type GenerateExpressRoutePortsLOAResult

type GenerateExpressRoutePortsLOAResult struct {
	// The content as a base64 encoded string.
	EncodedContent *string `json:"encodedContent,omitempty"`
}

GenerateExpressRoutePortsLOAResult - Response for GenerateExpressRoutePortsLOA API service call.

type GetVPNSitesConfigurationRequest

type GetVPNSitesConfigurationRequest struct {
	// REQUIRED; The sas-url to download the configurations for vpn-sites.
	OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"`

	// List of resource-ids of the vpn-sites for which config is to be downloaded.
	VPNSites []*string `json:"vpnSites,omitempty"`
}

GetVPNSitesConfigurationRequest - List of Vpn-Sites.

func (GetVPNSitesConfigurationRequest) MarshalJSON

func (g GetVPNSitesConfigurationRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GetVPNSitesConfigurationRequest.

type HTTPConfiguration

type HTTPConfiguration struct {
	// List of HTTP headers.
	Headers []*HTTPHeader `json:"headers,omitempty"`

	// HTTP method.
	Method *HTTPMethod `json:"method,omitempty"`

	// Valid status codes.
	ValidStatusCodes []*int32 `json:"validStatusCodes,omitempty"`
}

HTTPConfiguration - HTTP configuration of the connectivity check.

func (HTTPConfiguration) MarshalJSON

func (h HTTPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HTTPConfiguration.

type HTTPConfigurationMethod

type HTTPConfigurationMethod string

HTTPConfigurationMethod - The HTTP method to use.

const (
	HTTPConfigurationMethodGet  HTTPConfigurationMethod = "Get"
	HTTPConfigurationMethodPost HTTPConfigurationMethod = "Post"
)

func PossibleHTTPConfigurationMethodValues

func PossibleHTTPConfigurationMethodValues() []HTTPConfigurationMethod

PossibleHTTPConfigurationMethodValues returns the possible values for the HTTPConfigurationMethod const type.

func (HTTPConfigurationMethod) ToPtr

ToPtr returns a *HTTPConfigurationMethod pointing to the current value.

type HTTPHeader

type HTTPHeader struct {
	// The name in HTTP header.
	Name *string `json:"name,omitempty"`

	// The value in HTTP header.
	Value *string `json:"value,omitempty"`
}

HTTPHeader - The HTTP header.

type HTTPMethod

type HTTPMethod string

HTTPMethod - HTTP method.

const (
	HTTPMethodGet HTTPMethod = "Get"
)

func PossibleHTTPMethodValues

func PossibleHTTPMethodValues() []HTTPMethod

PossibleHTTPMethodValues returns the possible values for the HTTPMethod const type.

func (HTTPMethod) ToPtr

func (c HTTPMethod) ToPtr() *HTTPMethod

ToPtr returns a *HTTPMethod pointing to the current value.

type HopLink struct {
	// Hop link properties.
	Properties *HopLinkProperties `json:"properties,omitempty"`

	// READ-ONLY; Provides additional context on links.
	Context map[string]*string `json:"context,omitempty" azure:"ro"`

	// READ-ONLY; List of issues.
	Issues []*ConnectivityIssue `json:"issues,omitempty" azure:"ro"`

	// READ-ONLY; Link type.
	LinkType *string `json:"linkType,omitempty" azure:"ro"`

	// READ-ONLY; The ID of the next hop.
	NextHopID *string `json:"nextHopId,omitempty" azure:"ro"`

	// READ-ONLY; Resource ID.
	ResourceID *string `json:"resourceId,omitempty" azure:"ro"`
}

HopLink - Hop link.

func (HopLink) MarshalJSON

func (h HopLink) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HopLink.

type HopLinkProperties

type HopLinkProperties struct {
	// READ-ONLY; Average roundtrip time in milliseconds.
	RoundTripTimeAvg *int64 `json:"roundTripTimeAvg,omitempty" azure:"ro"`

	// READ-ONLY; Maximum roundtrip time in milliseconds.
	RoundTripTimeMax *int64 `json:"roundTripTimeMax,omitempty" azure:"ro"`

	// READ-ONLY; Minimum roundtrip time in milliseconds.
	RoundTripTimeMin *int64 `json:"roundTripTimeMin,omitempty" azure:"ro"`
}

HopLinkProperties - Hop link properties.

type HubBgpConnectionStatus

type HubBgpConnectionStatus string

HubBgpConnectionStatus - The current state of the VirtualHub to Peer.

const (
	HubBgpConnectionStatusConnected    HubBgpConnectionStatus = "Connected"
	HubBgpConnectionStatusConnecting   HubBgpConnectionStatus = "Connecting"
	HubBgpConnectionStatusNotConnected HubBgpConnectionStatus = "NotConnected"
	HubBgpConnectionStatusUnknown      HubBgpConnectionStatus = "Unknown"
)

func PossibleHubBgpConnectionStatusValues

func PossibleHubBgpConnectionStatusValues() []HubBgpConnectionStatus

PossibleHubBgpConnectionStatusValues returns the possible values for the HubBgpConnectionStatus const type.

func (HubBgpConnectionStatus) ToPtr

ToPtr returns a *HubBgpConnectionStatus pointing to the current value.

type HubIPAddresses

type HubIPAddresses struct {
	// Private IP Address associated with azure firewall.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// Public IP addresses associated with azure firewall.
	PublicIPs *HubPublicIPAddresses `json:"publicIPs,omitempty"`
}

HubIPAddresses - IP addresses associated with azure firewall.

type HubIPConfiguration

type HubIPConfiguration struct {
	SubResource
	// Name of the Ip Configuration.
	Name *string `json:"name,omitempty"`

	// The properties of the Virtual Hub IPConfigurations.
	Properties *HubIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Ipconfiguration type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HubIPConfiguration - IpConfigurations.

func (HubIPConfiguration) MarshalJSON

func (h HubIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HubIPConfiguration.

type HubIPConfigurationPropertiesFormat

type HubIPConfigurationPropertiesFormat struct {
	// The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// The reference to the public IP resource.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`

	// The reference to the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

HubIPConfigurationPropertiesFormat - Properties of IP configuration.

type HubPublicIPAddresses

type HubPublicIPAddresses struct {
	// The list of Public IP addresses associated with azure firewall or IP addresses to be retained.
	Addresses []*AzureFirewallPublicIPAddress `json:"addresses,omitempty"`

	// The number of Public IP addresses associated with azure firewall.
	Count *int32 `json:"count,omitempty"`
}

HubPublicIPAddresses - Public IP addresses associated with azure firewall.

func (HubPublicIPAddresses) MarshalJSON

func (h HubPublicIPAddresses) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HubPublicIPAddresses.

type HubRoute

type HubRoute struct {
	// REQUIRED; The type of destinations (eg: CIDR, ResourceId, Service).
	DestinationType *string `json:"destinationType,omitempty"`

	// REQUIRED; List of all destinations.
	Destinations []*string `json:"destinations,omitempty"`

	// REQUIRED; The name of the Route that is unique within a RouteTable. This name can be used to access this route.
	Name *string `json:"name,omitempty"`

	// REQUIRED; NextHop resource ID.
	NextHop *string `json:"nextHop,omitempty"`

	// REQUIRED; The type of next hop (eg: ResourceId).
	NextHopType *string `json:"nextHopType,omitempty"`
}

HubRoute - RouteTable route.

func (HubRoute) MarshalJSON

func (h HubRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HubRoute.

type HubRouteTable

type HubRouteTable struct {
	SubResource
	// 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"`

	// Properties of the RouteTable resource.
	Properties *HubRouteTableProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

HubRouteTable - RouteTable resource in a virtual hub.

func (HubRouteTable) MarshalJSON

func (h HubRouteTable) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HubRouteTable.

type HubRouteTableProperties

type HubRouteTableProperties struct {
	// List of labels associated with this route table.
	Labels []*string `json:"labels,omitempty"`

	// List of all routes.
	Routes []*HubRoute `json:"routes,omitempty"`

	// READ-ONLY; List of all connections associated with this route table.
	AssociatedConnections []*string `json:"associatedConnections,omitempty" azure:"ro"`

	// READ-ONLY; List of all connections that advertise to this route table.
	PropagatingConnections []*string `json:"propagatingConnections,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the RouteTable resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

HubRouteTableProperties - Parameters for RouteTable.

func (HubRouteTableProperties) MarshalJSON

func (h HubRouteTableProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HubRouteTableProperties.

type HubRouteTablesBeginCreateOrUpdateOptions

type HubRouteTablesBeginCreateOrUpdateOptions struct {
}

HubRouteTablesBeginCreateOrUpdateOptions contains the optional parameters for the HubRouteTables.BeginCreateOrUpdate method.

type HubRouteTablesBeginDeleteOptions

type HubRouteTablesBeginDeleteOptions struct {
}

HubRouteTablesBeginDeleteOptions contains the optional parameters for the HubRouteTables.BeginDelete method.

type HubRouteTablesClient

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

HubRouteTablesClient contains the methods for the HubRouteTables group. Don't use this type directly, use NewHubRouteTablesClient() instead.

func NewHubRouteTablesClient

func NewHubRouteTablesClient(con *arm.Connection, subscriptionID string) *HubRouteTablesClient

NewHubRouteTablesClient creates a new instance of HubRouteTablesClient with the specified values.

func (*HubRouteTablesClient) BeginCreateOrUpdate

func (client *HubRouteTablesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, routeTableParameters HubRouteTable, options *HubRouteTablesBeginCreateOrUpdateOptions) (HubRouteTablesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. If the operation fails it returns the *CloudError error type.

func (*HubRouteTablesClient) BeginDelete

func (client *HubRouteTablesClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, options *HubRouteTablesBeginDeleteOptions) (HubRouteTablesDeletePollerResponse, error)

BeginDelete - Deletes a RouteTable. If the operation fails it returns the *CloudError error type.

func (*HubRouteTablesClient) Get

func (client *HubRouteTablesClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, options *HubRouteTablesGetOptions) (HubRouteTablesGetResponse, error)

Get - Retrieves the details of a RouteTable. If the operation fails it returns the *CloudError error type.

func (*HubRouteTablesClient) List

func (client *HubRouteTablesClient) List(resourceGroupName string, virtualHubName string, options *HubRouteTablesListOptions) *HubRouteTablesListPager

List - Retrieves the details of all RouteTables. If the operation fails it returns the *CloudError error type.

type HubRouteTablesCreateOrUpdatePoller

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

HubRouteTablesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*HubRouteTablesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*HubRouteTablesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final HubRouteTablesCreateOrUpdateResponse will be returned.

func (*HubRouteTablesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*HubRouteTablesCreateOrUpdatePoller) ResumeToken

func (p *HubRouteTablesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type HubRouteTablesCreateOrUpdatePollerResponse

type HubRouteTablesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *HubRouteTablesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubRouteTablesCreateOrUpdatePollerResponse contains the response from method HubRouteTables.CreateOrUpdate.

func (HubRouteTablesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*HubRouteTablesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a HubRouteTablesCreateOrUpdatePollerResponse from the provided client and resume token.

type HubRouteTablesCreateOrUpdateResponse

type HubRouteTablesCreateOrUpdateResponse struct {
	HubRouteTablesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubRouteTablesCreateOrUpdateResponse contains the response from method HubRouteTables.CreateOrUpdate.

type HubRouteTablesCreateOrUpdateResult

type HubRouteTablesCreateOrUpdateResult struct {
	HubRouteTable
}

HubRouteTablesCreateOrUpdateResult contains the result from method HubRouteTables.CreateOrUpdate.

type HubRouteTablesDeletePoller

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

HubRouteTablesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*HubRouteTablesDeletePoller) Done

func (p *HubRouteTablesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*HubRouteTablesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final HubRouteTablesDeleteResponse will be returned.

func (*HubRouteTablesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*HubRouteTablesDeletePoller) ResumeToken

func (p *HubRouteTablesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type HubRouteTablesDeletePollerResponse

type HubRouteTablesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *HubRouteTablesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubRouteTablesDeletePollerResponse contains the response from method HubRouteTables.Delete.

func (HubRouteTablesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*HubRouteTablesDeletePollerResponse) Resume

Resume rehydrates a HubRouteTablesDeletePollerResponse from the provided client and resume token.

type HubRouteTablesDeleteResponse

type HubRouteTablesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubRouteTablesDeleteResponse contains the response from method HubRouteTables.Delete.

type HubRouteTablesGetOptions

type HubRouteTablesGetOptions struct {
}

HubRouteTablesGetOptions contains the optional parameters for the HubRouteTables.Get method.

type HubRouteTablesGetResponse

type HubRouteTablesGetResponse struct {
	HubRouteTablesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubRouteTablesGetResponse contains the response from method HubRouteTables.Get.

type HubRouteTablesGetResult

type HubRouteTablesGetResult struct {
	HubRouteTable
}

HubRouteTablesGetResult contains the result from method HubRouteTables.Get.

type HubRouteTablesListOptions

type HubRouteTablesListOptions struct {
}

HubRouteTablesListOptions contains the optional parameters for the HubRouteTables.List method.

type HubRouteTablesListPager

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

HubRouteTablesListPager provides operations for iterating over paged responses.

func (*HubRouteTablesListPager) Err

func (p *HubRouteTablesListPager) Err() error

Err returns the last error encountered while paging.

func (*HubRouteTablesListPager) NextPage

func (p *HubRouteTablesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*HubRouteTablesListPager) PageResponse

PageResponse returns the current HubRouteTablesListResponse page.

type HubRouteTablesListResponse

type HubRouteTablesListResponse struct {
	HubRouteTablesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubRouteTablesListResponse contains the response from method HubRouteTables.List.

type HubRouteTablesListResult

type HubRouteTablesListResult struct {
	ListHubRouteTablesResult
}

HubRouteTablesListResult contains the result from method HubRouteTables.List.

type HubVirtualNetworkConnection

type HubVirtualNetworkConnection struct {
	SubResource
	// 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"`

	// Properties of the hub virtual network connection.
	Properties *HubVirtualNetworkConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

HubVirtualNetworkConnection Resource.

func (HubVirtualNetworkConnection) MarshalJSON

func (h HubVirtualNetworkConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HubVirtualNetworkConnection.

type HubVirtualNetworkConnectionProperties

type HubVirtualNetworkConnectionProperties struct {
	// Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
	AllowHubToRemoteVnetTransit *bool `json:"allowHubToRemoteVnetTransit,omitempty"`

	// Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
	AllowRemoteVnetToUseHubVnetGateways *bool `json:"allowRemoteVnetToUseHubVnetGateways,omitempty"`

	// Enable internet security.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`

	// Reference to the remote virtual network.
	RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"`

	// The Routing Configuration indicating the associated and propagated route tables on this connection.
	RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"`

	// READ-ONLY; The provisioning state of the hub virtual network connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

HubVirtualNetworkConnectionProperties - Parameters for HubVirtualNetworkConnection.

type HubVirtualNetworkConnectionStatus

type HubVirtualNetworkConnectionStatus string

HubVirtualNetworkConnectionStatus - The current state of the VirtualHub to vnet connection.

const (
	HubVirtualNetworkConnectionStatusConnected    HubVirtualNetworkConnectionStatus = "Connected"
	HubVirtualNetworkConnectionStatusConnecting   HubVirtualNetworkConnectionStatus = "Connecting"
	HubVirtualNetworkConnectionStatusNotConnected HubVirtualNetworkConnectionStatus = "NotConnected"
	HubVirtualNetworkConnectionStatusUnknown      HubVirtualNetworkConnectionStatus = "Unknown"
)

func PossibleHubVirtualNetworkConnectionStatusValues

func PossibleHubVirtualNetworkConnectionStatusValues() []HubVirtualNetworkConnectionStatus

PossibleHubVirtualNetworkConnectionStatusValues returns the possible values for the HubVirtualNetworkConnectionStatus const type.

func (HubVirtualNetworkConnectionStatus) ToPtr

ToPtr returns a *HubVirtualNetworkConnectionStatus pointing to the current value.

type HubVirtualNetworkConnectionsBeginCreateOrUpdateOptions

type HubVirtualNetworkConnectionsBeginCreateOrUpdateOptions struct {
}

HubVirtualNetworkConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the HubVirtualNetworkConnections.BeginCreateOrUpdate method.

type HubVirtualNetworkConnectionsBeginDeleteOptions

type HubVirtualNetworkConnectionsBeginDeleteOptions struct {
}

HubVirtualNetworkConnectionsBeginDeleteOptions contains the optional parameters for the HubVirtualNetworkConnections.BeginDelete method.

type HubVirtualNetworkConnectionsClient

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

HubVirtualNetworkConnectionsClient contains the methods for the HubVirtualNetworkConnections group. Don't use this type directly, use NewHubVirtualNetworkConnectionsClient() instead.

func NewHubVirtualNetworkConnectionsClient

func NewHubVirtualNetworkConnectionsClient(con *arm.Connection, subscriptionID string) *HubVirtualNetworkConnectionsClient

NewHubVirtualNetworkConnectionsClient creates a new instance of HubVirtualNetworkConnectionsClient with the specified values.

func (*HubVirtualNetworkConnectionsClient) BeginCreateOrUpdate

func (client *HubVirtualNetworkConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, hubVirtualNetworkConnectionParameters HubVirtualNetworkConnection, options *HubVirtualNetworkConnectionsBeginCreateOrUpdateOptions) (HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a hub virtual network connection if it doesn't exist else updates the existing one. If the operation fails it returns the *CloudError error type.

func (*HubVirtualNetworkConnectionsClient) BeginDelete

BeginDelete - Deletes a HubVirtualNetworkConnection. If the operation fails it returns the *CloudError error type.

func (*HubVirtualNetworkConnectionsClient) Get

Get - Retrieves the details of a HubVirtualNetworkConnection. If the operation fails it returns the *CloudError error type.

func (*HubVirtualNetworkConnectionsClient) List

List - Retrieves the details of all HubVirtualNetworkConnections. If the operation fails it returns the *CloudError error type.

type HubVirtualNetworkConnectionsCreateOrUpdatePoller

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

HubVirtualNetworkConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*HubVirtualNetworkConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*HubVirtualNetworkConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final HubVirtualNetworkConnectionsCreateOrUpdateResponse will be returned.

func (*HubVirtualNetworkConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*HubVirtualNetworkConnectionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse

type HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *HubVirtualNetworkConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse contains the response from method HubVirtualNetworkConnections.CreateOrUpdate.

func (HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a HubVirtualNetworkConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type HubVirtualNetworkConnectionsCreateOrUpdateResponse

type HubVirtualNetworkConnectionsCreateOrUpdateResponse struct {
	HubVirtualNetworkConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubVirtualNetworkConnectionsCreateOrUpdateResponse contains the response from method HubVirtualNetworkConnections.CreateOrUpdate.

type HubVirtualNetworkConnectionsCreateOrUpdateResult

type HubVirtualNetworkConnectionsCreateOrUpdateResult struct {
	HubVirtualNetworkConnection
}

HubVirtualNetworkConnectionsCreateOrUpdateResult contains the result from method HubVirtualNetworkConnections.CreateOrUpdate.

type HubVirtualNetworkConnectionsDeletePoller

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

HubVirtualNetworkConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*HubVirtualNetworkConnectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*HubVirtualNetworkConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final HubVirtualNetworkConnectionsDeleteResponse will be returned.

func (*HubVirtualNetworkConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*HubVirtualNetworkConnectionsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type HubVirtualNetworkConnectionsDeletePollerResponse

type HubVirtualNetworkConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *HubVirtualNetworkConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubVirtualNetworkConnectionsDeletePollerResponse contains the response from method HubVirtualNetworkConnections.Delete.

func (HubVirtualNetworkConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*HubVirtualNetworkConnectionsDeletePollerResponse) Resume

Resume rehydrates a HubVirtualNetworkConnectionsDeletePollerResponse from the provided client and resume token.

type HubVirtualNetworkConnectionsDeleteResponse

type HubVirtualNetworkConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubVirtualNetworkConnectionsDeleteResponse contains the response from method HubVirtualNetworkConnections.Delete.

type HubVirtualNetworkConnectionsGetOptions

type HubVirtualNetworkConnectionsGetOptions struct {
}

HubVirtualNetworkConnectionsGetOptions contains the optional parameters for the HubVirtualNetworkConnections.Get method.

type HubVirtualNetworkConnectionsGetResponse

type HubVirtualNetworkConnectionsGetResponse struct {
	HubVirtualNetworkConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubVirtualNetworkConnectionsGetResponse contains the response from method HubVirtualNetworkConnections.Get.

type HubVirtualNetworkConnectionsGetResult

type HubVirtualNetworkConnectionsGetResult struct {
	HubVirtualNetworkConnection
}

HubVirtualNetworkConnectionsGetResult contains the result from method HubVirtualNetworkConnections.Get.

type HubVirtualNetworkConnectionsListOptions

type HubVirtualNetworkConnectionsListOptions struct {
}

HubVirtualNetworkConnectionsListOptions contains the optional parameters for the HubVirtualNetworkConnections.List method.

type HubVirtualNetworkConnectionsListPager

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

HubVirtualNetworkConnectionsListPager provides operations for iterating over paged responses.

func (*HubVirtualNetworkConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*HubVirtualNetworkConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*HubVirtualNetworkConnectionsListPager) PageResponse

PageResponse returns the current HubVirtualNetworkConnectionsListResponse page.

type HubVirtualNetworkConnectionsListResponse

type HubVirtualNetworkConnectionsListResponse struct {
	HubVirtualNetworkConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

HubVirtualNetworkConnectionsListResponse contains the response from method HubVirtualNetworkConnections.List.

type HubVirtualNetworkConnectionsListResult

type HubVirtualNetworkConnectionsListResult struct {
	ListHubVirtualNetworkConnectionsResult
}

HubVirtualNetworkConnectionsListResult contains the result from method HubVirtualNetworkConnections.List.

type IPAddressAvailabilityResult

type IPAddressAvailabilityResult struct {
	// Private IP address availability.
	Available *bool `json:"available,omitempty"`

	// Contains other available private IP addresses if the asked for address is taken.
	AvailableIPAddresses []*string `json:"availableIPAddresses,omitempty"`

	// Private IP address platform reserved.
	IsPlatformReserved *bool `json:"isPlatformReserved,omitempty"`
}

IPAddressAvailabilityResult - Response for CheckIPAddressAvailability API service call.

func (IPAddressAvailabilityResult) MarshalJSON

func (i IPAddressAvailabilityResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAddressAvailabilityResult.

type IPAllocation

type IPAllocation struct {
	Resource
	// Properties of the IpAllocation.
	Properties *IPAllocationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

IPAllocation - IpAllocation resource.

func (IPAllocation) MarshalJSON

func (i IPAllocation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAllocation.

type IPAllocationListResult

type IPAllocationListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of IpAllocation resources.
	Value []*IPAllocation `json:"value,omitempty"`
}

IPAllocationListResult - Response for the ListIpAllocations API service call.

func (IPAllocationListResult) MarshalJSON

func (i IPAllocationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAllocationListResult.

type IPAllocationMethod

type IPAllocationMethod string

IPAllocationMethod - IP address allocation method.

const (
	IPAllocationMethodDynamic IPAllocationMethod = "Dynamic"
	IPAllocationMethodStatic  IPAllocationMethod = "Static"
)

func PossibleIPAllocationMethodValues

func PossibleIPAllocationMethodValues() []IPAllocationMethod

PossibleIPAllocationMethodValues returns the possible values for the IPAllocationMethod const type.

func (IPAllocationMethod) ToPtr

ToPtr returns a *IPAllocationMethod pointing to the current value.

type IPAllocationPropertiesFormat

type IPAllocationPropertiesFormat struct {
	// IpAllocation tags.
	AllocationTags map[string]*string `json:"allocationTags,omitempty"`

	// The IPAM allocation ID.
	IpamAllocationID *string `json:"ipamAllocationId,omitempty"`

	// The address prefix for the IpAllocation.
	Prefix *string `json:"prefix,omitempty"`

	// The address prefix length for the IpAllocation.
	PrefixLength *int32 `json:"prefixLength,omitempty"`

	// The address prefix Type for the IpAllocation.
	PrefixType *IPVersion `json:"prefixType,omitempty"`

	// The type for the IpAllocation.
	Type *IPAllocationType `json:"type,omitempty"`

	// READ-ONLY; The Subnet that using the prefix of this IpAllocation resource.
	Subnet *SubResource `json:"subnet,omitempty" azure:"ro"`

	// READ-ONLY; The VirtualNetwork that using the prefix of this IpAllocation resource.
	VirtualNetwork *SubResource `json:"virtualNetwork,omitempty" azure:"ro"`
}

IPAllocationPropertiesFormat - Properties of the IpAllocation.

func (IPAllocationPropertiesFormat) MarshalJSON

func (i IPAllocationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPAllocationPropertiesFormat.

type IPAllocationType

type IPAllocationType string

IPAllocationType - IpAllocation type.

const (
	IPAllocationTypeHypernet  IPAllocationType = "Hypernet"
	IPAllocationTypeUndefined IPAllocationType = "Undefined"
)

func PossibleIPAllocationTypeValues

func PossibleIPAllocationTypeValues() []IPAllocationType

PossibleIPAllocationTypeValues returns the possible values for the IPAllocationType const type.

func (IPAllocationType) ToPtr

ToPtr returns a *IPAllocationType pointing to the current value.

type IPAllocationsBeginCreateOrUpdateOptions

type IPAllocationsBeginCreateOrUpdateOptions struct {
}

IPAllocationsBeginCreateOrUpdateOptions contains the optional parameters for the IPAllocations.BeginCreateOrUpdate method.

type IPAllocationsBeginDeleteOptions

type IPAllocationsBeginDeleteOptions struct {
}

IPAllocationsBeginDeleteOptions contains the optional parameters for the IPAllocations.BeginDelete method.

type IPAllocationsClient

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

IPAllocationsClient contains the methods for the IPAllocations group. Don't use this type directly, use NewIPAllocationsClient() instead.

func NewIPAllocationsClient

func NewIPAllocationsClient(con *arm.Connection, subscriptionID string) *IPAllocationsClient

NewIPAllocationsClient creates a new instance of IPAllocationsClient with the specified values.

func (*IPAllocationsClient) BeginCreateOrUpdate

func (client *IPAllocationsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, ipAllocationName string, parameters IPAllocation, options *IPAllocationsBeginCreateOrUpdateOptions) (IPAllocationsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates an IpAllocation in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*IPAllocationsClient) BeginDelete

func (client *IPAllocationsClient) BeginDelete(ctx context.Context, resourceGroupName string, ipAllocationName string, options *IPAllocationsBeginDeleteOptions) (IPAllocationsDeletePollerResponse, error)

BeginDelete - Deletes the specified IpAllocation. If the operation fails it returns the *CloudError error type.

func (*IPAllocationsClient) Get

func (client *IPAllocationsClient) Get(ctx context.Context, resourceGroupName string, ipAllocationName string, options *IPAllocationsGetOptions) (IPAllocationsGetResponse, error)

Get - Gets the specified IpAllocation by resource group. If the operation fails it returns the *CloudError error type.

func (*IPAllocationsClient) List

List - Gets all IpAllocations in a subscription. If the operation fails it returns the *CloudError error type.

func (*IPAllocationsClient) ListByResourceGroup

func (client *IPAllocationsClient) ListByResourceGroup(resourceGroupName string, options *IPAllocationsListByResourceGroupOptions) *IPAllocationsListByResourceGroupPager

ListByResourceGroup - Gets all IpAllocations in a resource group. If the operation fails it returns the *CloudError error type.

func (*IPAllocationsClient) UpdateTags

func (client *IPAllocationsClient) UpdateTags(ctx context.Context, resourceGroupName string, ipAllocationName string, parameters TagsObject, options *IPAllocationsUpdateTagsOptions) (IPAllocationsUpdateTagsResponse, error)

UpdateTags - Updates a IpAllocation tags. If the operation fails it returns the *CloudError error type.

type IPAllocationsCreateOrUpdatePoller

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

IPAllocationsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*IPAllocationsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*IPAllocationsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final IPAllocationsCreateOrUpdateResponse will be returned.

func (*IPAllocationsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*IPAllocationsCreateOrUpdatePoller) ResumeToken

func (p *IPAllocationsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type IPAllocationsCreateOrUpdatePollerResponse

type IPAllocationsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *IPAllocationsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsCreateOrUpdatePollerResponse contains the response from method IPAllocations.CreateOrUpdate.

func (IPAllocationsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*IPAllocationsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a IPAllocationsCreateOrUpdatePollerResponse from the provided client and resume token.

type IPAllocationsCreateOrUpdateResponse

type IPAllocationsCreateOrUpdateResponse struct {
	IPAllocationsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsCreateOrUpdateResponse contains the response from method IPAllocations.CreateOrUpdate.

type IPAllocationsCreateOrUpdateResult

type IPAllocationsCreateOrUpdateResult struct {
	IPAllocation
}

IPAllocationsCreateOrUpdateResult contains the result from method IPAllocations.CreateOrUpdate.

type IPAllocationsDeletePoller

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

IPAllocationsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*IPAllocationsDeletePoller) Done

func (p *IPAllocationsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*IPAllocationsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final IPAllocationsDeleteResponse will be returned.

func (*IPAllocationsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*IPAllocationsDeletePoller) ResumeToken

func (p *IPAllocationsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type IPAllocationsDeletePollerResponse

type IPAllocationsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *IPAllocationsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsDeletePollerResponse contains the response from method IPAllocations.Delete.

func (IPAllocationsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*IPAllocationsDeletePollerResponse) Resume

Resume rehydrates a IPAllocationsDeletePollerResponse from the provided client and resume token.

type IPAllocationsDeleteResponse

type IPAllocationsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsDeleteResponse contains the response from method IPAllocations.Delete.

type IPAllocationsGetOptions

type IPAllocationsGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

IPAllocationsGetOptions contains the optional parameters for the IPAllocations.Get method.

type IPAllocationsGetResponse

type IPAllocationsGetResponse struct {
	IPAllocationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsGetResponse contains the response from method IPAllocations.Get.

type IPAllocationsGetResult

type IPAllocationsGetResult struct {
	IPAllocation
}

IPAllocationsGetResult contains the result from method IPAllocations.Get.

type IPAllocationsListByResourceGroupOptions

type IPAllocationsListByResourceGroupOptions struct {
}

IPAllocationsListByResourceGroupOptions contains the optional parameters for the IPAllocations.ListByResourceGroup method.

type IPAllocationsListByResourceGroupPager

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

IPAllocationsListByResourceGroupPager provides operations for iterating over paged responses.

func (*IPAllocationsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*IPAllocationsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*IPAllocationsListByResourceGroupPager) PageResponse

PageResponse returns the current IPAllocationsListByResourceGroupResponse page.

type IPAllocationsListByResourceGroupResponse

type IPAllocationsListByResourceGroupResponse struct {
	IPAllocationsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsListByResourceGroupResponse contains the response from method IPAllocations.ListByResourceGroup.

type IPAllocationsListByResourceGroupResult

type IPAllocationsListByResourceGroupResult struct {
	IPAllocationListResult
}

IPAllocationsListByResourceGroupResult contains the result from method IPAllocations.ListByResourceGroup.

type IPAllocationsListOptions

type IPAllocationsListOptions struct {
}

IPAllocationsListOptions contains the optional parameters for the IPAllocations.List method.

type IPAllocationsListPager

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

IPAllocationsListPager provides operations for iterating over paged responses.

func (*IPAllocationsListPager) Err

func (p *IPAllocationsListPager) Err() error

Err returns the last error encountered while paging.

func (*IPAllocationsListPager) NextPage

func (p *IPAllocationsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*IPAllocationsListPager) PageResponse

PageResponse returns the current IPAllocationsListResponse page.

type IPAllocationsListResponse

type IPAllocationsListResponse struct {
	IPAllocationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsListResponse contains the response from method IPAllocations.List.

type IPAllocationsListResult

type IPAllocationsListResult struct {
	IPAllocationListResult
}

IPAllocationsListResult contains the result from method IPAllocations.List.

type IPAllocationsUpdateTagsOptions

type IPAllocationsUpdateTagsOptions struct {
}

IPAllocationsUpdateTagsOptions contains the optional parameters for the IPAllocations.UpdateTags method.

type IPAllocationsUpdateTagsResponse

type IPAllocationsUpdateTagsResponse struct {
	IPAllocationsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPAllocationsUpdateTagsResponse contains the response from method IPAllocations.UpdateTags.

type IPAllocationsUpdateTagsResult

type IPAllocationsUpdateTagsResult struct {
	IPAllocation
}

IPAllocationsUpdateTagsResult contains the result from method IPAllocations.UpdateTags.

type IPConfiguration

type IPConfiguration struct {
	SubResource
	// 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"`

	// Properties of the IP configuration.
	Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

IPConfiguration - IP configuration.

func (IPConfiguration) MarshalJSON

func (i IPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPConfiguration.

type IPConfigurationBgpPeeringAddress

type IPConfigurationBgpPeeringAddress struct {
	// The list of custom BGP peering addresses which belong to IP configuration.
	CustomBgpIPAddresses []*string `json:"customBgpIpAddresses,omitempty"`

	// The ID of IP configuration which belongs to gateway.
	IPConfigurationID *string `json:"ipconfigurationId,omitempty"`

	// READ-ONLY; The list of default BGP peering addresses which belong to IP configuration.
	DefaultBgpIPAddresses []*string `json:"defaultBgpIpAddresses,omitempty" azure:"ro"`

	// READ-ONLY; The list of tunnel public IP addresses which belong to IP configuration.
	TunnelIPAddresses []*string `json:"tunnelIpAddresses,omitempty" azure:"ro"`
}

IPConfigurationBgpPeeringAddress - Properties of IPConfigurationBgpPeeringAddress.

func (IPConfigurationBgpPeeringAddress) MarshalJSON

func (i IPConfigurationBgpPeeringAddress) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPConfigurationBgpPeeringAddress.

type IPConfigurationProfile

type IPConfigurationProfile struct {
	SubResource
	// The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of the IP configuration profile.
	Properties *IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

IPConfigurationProfile - IP configuration profile child resource.

func (IPConfigurationProfile) MarshalJSON

func (i IPConfigurationProfile) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPConfigurationProfile.

type IPConfigurationProfilePropertiesFormat

type IPConfigurationProfilePropertiesFormat struct {
	// The reference to the subnet resource to create a container network interface ip configuration.
	Subnet *Subnet `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the IP configuration profile resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

IPConfigurationProfilePropertiesFormat - IP configuration profile properties.

type IPConfigurationPropertiesFormat

type IPConfigurationPropertiesFormat struct {
	// The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// The reference to the public IP resource.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`

	// The reference to the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

IPConfigurationPropertiesFormat - Properties of IP configuration.

type IPFlowProtocol

type IPFlowProtocol string

IPFlowProtocol - Protocol to be verified on.

const (
	IPFlowProtocolTCP IPFlowProtocol = "TCP"
	IPFlowProtocolUDP IPFlowProtocol = "UDP"
)

func PossibleIPFlowProtocolValues

func PossibleIPFlowProtocolValues() []IPFlowProtocol

PossibleIPFlowProtocolValues returns the possible values for the IPFlowProtocol const type.

func (IPFlowProtocol) ToPtr

func (c IPFlowProtocol) ToPtr() *IPFlowProtocol

ToPtr returns a *IPFlowProtocol pointing to the current value.

type IPGroup

type IPGroup struct {
	Resource
	// Properties of the IpGroups.
	Properties *IPGroupPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

IPGroup - The IpGroups resource information.

func (IPGroup) MarshalJSON

func (i IPGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPGroup.

type IPGroupListResult

type IPGroupListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of IpGroups information resources.
	Value []*IPGroup `json:"value,omitempty"`
}

IPGroupListResult - Response for the ListIpGroups API service call.

func (IPGroupListResult) MarshalJSON

func (i IPGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPGroupListResult.

type IPGroupPropertiesFormat

type IPGroupPropertiesFormat struct {
	// IpAddresses/IpAddressPrefixes in the IpGroups resource.
	IPAddresses []*string `json:"ipAddresses,omitempty"`

	// READ-ONLY; List of references to Firewall Policies resources that this IpGroups is associated with.
	FirewallPolicies []*SubResource `json:"firewallPolicies,omitempty" azure:"ro"`

	// READ-ONLY; List of references to Firewall resources that this IpGroups is associated with.
	Firewalls []*SubResource `json:"firewalls,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the IpGroups resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

IPGroupPropertiesFormat - The IpGroups property information.

func (IPGroupPropertiesFormat) MarshalJSON

func (i IPGroupPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IPGroupPropertiesFormat.

type IPGroupsBeginCreateOrUpdateOptions

type IPGroupsBeginCreateOrUpdateOptions struct {
}

IPGroupsBeginCreateOrUpdateOptions contains the optional parameters for the IPGroups.BeginCreateOrUpdate method.

type IPGroupsBeginDeleteOptions

type IPGroupsBeginDeleteOptions struct {
}

IPGroupsBeginDeleteOptions contains the optional parameters for the IPGroups.BeginDelete method.

type IPGroupsClient

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

IPGroupsClient contains the methods for the IPGroups group. Don't use this type directly, use NewIPGroupsClient() instead.

func NewIPGroupsClient

func NewIPGroupsClient(con *arm.Connection, subscriptionID string) *IPGroupsClient

NewIPGroupsClient creates a new instance of IPGroupsClient with the specified values.

func (*IPGroupsClient) BeginCreateOrUpdate

func (client *IPGroupsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, ipGroupsName string, parameters IPGroup, options *IPGroupsBeginCreateOrUpdateOptions) (IPGroupsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates an ipGroups in a specified resource group. If the operation fails it returns the *Error error type.

func (*IPGroupsClient) BeginDelete

func (client *IPGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, ipGroupsName string, options *IPGroupsBeginDeleteOptions) (IPGroupsDeletePollerResponse, error)

BeginDelete - Deletes the specified ipGroups. If the operation fails it returns the *Error error type.

func (*IPGroupsClient) Get

func (client *IPGroupsClient) Get(ctx context.Context, resourceGroupName string, ipGroupsName string, options *IPGroupsGetOptions) (IPGroupsGetResponse, error)

Get - Gets the specified ipGroups. If the operation fails it returns the *Error error type.

func (*IPGroupsClient) List

func (client *IPGroupsClient) List(options *IPGroupsListOptions) *IPGroupsListPager

List - Gets all IpGroups in a subscription. If the operation fails it returns the *Error error type.

func (*IPGroupsClient) ListByResourceGroup

func (client *IPGroupsClient) ListByResourceGroup(resourceGroupName string, options *IPGroupsListByResourceGroupOptions) *IPGroupsListByResourceGroupPager

ListByResourceGroup - Gets all IpGroups in a resource group. If the operation fails it returns the *Error error type.

func (*IPGroupsClient) UpdateGroups

func (client *IPGroupsClient) UpdateGroups(ctx context.Context, resourceGroupName string, ipGroupsName string, parameters TagsObject, options *IPGroupsUpdateGroupsOptions) (IPGroupsUpdateGroupsResponse, error)

UpdateGroups - Updates tags of an IpGroups resource. If the operation fails it returns the *Error error type.

type IPGroupsCreateOrUpdatePoller

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

IPGroupsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*IPGroupsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*IPGroupsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final IPGroupsCreateOrUpdateResponse will be returned.

func (*IPGroupsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*IPGroupsCreateOrUpdatePoller) ResumeToken

func (p *IPGroupsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type IPGroupsCreateOrUpdatePollerResponse

type IPGroupsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *IPGroupsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsCreateOrUpdatePollerResponse contains the response from method IPGroups.CreateOrUpdate.

func (IPGroupsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*IPGroupsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a IPGroupsCreateOrUpdatePollerResponse from the provided client and resume token.

type IPGroupsCreateOrUpdateResponse

type IPGroupsCreateOrUpdateResponse struct {
	IPGroupsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsCreateOrUpdateResponse contains the response from method IPGroups.CreateOrUpdate.

type IPGroupsCreateOrUpdateResult

type IPGroupsCreateOrUpdateResult struct {
	IPGroup
}

IPGroupsCreateOrUpdateResult contains the result from method IPGroups.CreateOrUpdate.

type IPGroupsDeletePoller

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

IPGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*IPGroupsDeletePoller) Done

func (p *IPGroupsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*IPGroupsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final IPGroupsDeleteResponse will be returned.

func (*IPGroupsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*IPGroupsDeletePoller) ResumeToken

func (p *IPGroupsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type IPGroupsDeletePollerResponse

type IPGroupsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *IPGroupsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsDeletePollerResponse contains the response from method IPGroups.Delete.

func (IPGroupsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*IPGroupsDeletePollerResponse) Resume

func (l *IPGroupsDeletePollerResponse) Resume(ctx context.Context, client *IPGroupsClient, token string) error

Resume rehydrates a IPGroupsDeletePollerResponse from the provided client and resume token.

type IPGroupsDeleteResponse

type IPGroupsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsDeleteResponse contains the response from method IPGroups.Delete.

type IPGroupsGetOptions

type IPGroupsGetOptions struct {
	// Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.
	Expand *string
}

IPGroupsGetOptions contains the optional parameters for the IPGroups.Get method.

type IPGroupsGetResponse

type IPGroupsGetResponse struct {
	IPGroupsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsGetResponse contains the response from method IPGroups.Get.

type IPGroupsGetResult

type IPGroupsGetResult struct {
	IPGroup
}

IPGroupsGetResult contains the result from method IPGroups.Get.

type IPGroupsListByResourceGroupOptions

type IPGroupsListByResourceGroupOptions struct {
}

IPGroupsListByResourceGroupOptions contains the optional parameters for the IPGroups.ListByResourceGroup method.

type IPGroupsListByResourceGroupPager

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

IPGroupsListByResourceGroupPager provides operations for iterating over paged responses.

func (*IPGroupsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*IPGroupsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*IPGroupsListByResourceGroupPager) PageResponse

PageResponse returns the current IPGroupsListByResourceGroupResponse page.

type IPGroupsListByResourceGroupResponse

type IPGroupsListByResourceGroupResponse struct {
	IPGroupsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsListByResourceGroupResponse contains the response from method IPGroups.ListByResourceGroup.

type IPGroupsListByResourceGroupResult

type IPGroupsListByResourceGroupResult struct {
	IPGroupListResult
}

IPGroupsListByResourceGroupResult contains the result from method IPGroups.ListByResourceGroup.

type IPGroupsListOptions

type IPGroupsListOptions struct {
}

IPGroupsListOptions contains the optional parameters for the IPGroups.List method.

type IPGroupsListPager

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

IPGroupsListPager provides operations for iterating over paged responses.

func (*IPGroupsListPager) Err

func (p *IPGroupsListPager) Err() error

Err returns the last error encountered while paging.

func (*IPGroupsListPager) NextPage

func (p *IPGroupsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*IPGroupsListPager) PageResponse

func (p *IPGroupsListPager) PageResponse() IPGroupsListResponse

PageResponse returns the current IPGroupsListResponse page.

type IPGroupsListResponse

type IPGroupsListResponse struct {
	IPGroupsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsListResponse contains the response from method IPGroups.List.

type IPGroupsListResult

type IPGroupsListResult struct {
	IPGroupListResult
}

IPGroupsListResult contains the result from method IPGroups.List.

type IPGroupsUpdateGroupsOptions

type IPGroupsUpdateGroupsOptions struct {
}

IPGroupsUpdateGroupsOptions contains the optional parameters for the IPGroups.UpdateGroups method.

type IPGroupsUpdateGroupsResponse

type IPGroupsUpdateGroupsResponse struct {
	IPGroupsUpdateGroupsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

IPGroupsUpdateGroupsResponse contains the response from method IPGroups.UpdateGroups.

type IPGroupsUpdateGroupsResult

type IPGroupsUpdateGroupsResult struct {
	IPGroup
}

IPGroupsUpdateGroupsResult contains the result from method IPGroups.UpdateGroups.

type IPSecEncryption

type IPSecEncryption string

IPSecEncryption - The IPSec encryption algorithm (IKE phase 1).

const (
	IPSecEncryptionAES128    IPSecEncryption = "AES128"
	IPSecEncryptionAES192    IPSecEncryption = "AES192"
	IPSecEncryptionAES256    IPSecEncryption = "AES256"
	IPSecEncryptionDES       IPSecEncryption = "DES"
	IPSecEncryptionDES3      IPSecEncryption = "DES3"
	IPSecEncryptionGCMAES128 IPSecEncryption = "GCMAES128"
	IPSecEncryptionGCMAES192 IPSecEncryption = "GCMAES192"
	IPSecEncryptionGCMAES256 IPSecEncryption = "GCMAES256"
	IPSecEncryptionNone      IPSecEncryption = "None"
)

func PossibleIPSecEncryptionValues

func PossibleIPSecEncryptionValues() []IPSecEncryption

PossibleIPSecEncryptionValues returns the possible values for the IPSecEncryption const type.

func (IPSecEncryption) ToPtr

func (c IPSecEncryption) ToPtr() *IPSecEncryption

ToPtr returns a *IPSecEncryption pointing to the current value.

type IPSecIntegrity

type IPSecIntegrity string

IPSecIntegrity - The IPSec integrity algorithm (IKE phase 1).

const (
	IPSecIntegrityGCMAES128 IPSecIntegrity = "GCMAES128"
	IPSecIntegrityGCMAES192 IPSecIntegrity = "GCMAES192"
	IPSecIntegrityGCMAES256 IPSecIntegrity = "GCMAES256"
	IPSecIntegrityMD5       IPSecIntegrity = "MD5"
	IPSecIntegritySHA1      IPSecIntegrity = "SHA1"
	IPSecIntegritySHA256    IPSecIntegrity = "SHA256"
)

func PossibleIPSecIntegrityValues

func PossibleIPSecIntegrityValues() []IPSecIntegrity

PossibleIPSecIntegrityValues returns the possible values for the IPSecIntegrity const type.

func (IPSecIntegrity) ToPtr

func (c IPSecIntegrity) ToPtr() *IPSecIntegrity

ToPtr returns a *IPSecIntegrity pointing to the current value.

type IPSecPolicy

type IPSecPolicy struct {
	// REQUIRED; The DH Group used in IKE Phase 1 for initial SA.
	DhGroup *DhGroup `json:"dhGroup,omitempty"`

	// REQUIRED; The IPSec encryption algorithm (IKE phase 1).
	IPSecEncryption *IPSecEncryption `json:"ipsecEncryption,omitempty"`

	// REQUIRED; The IPSec integrity algorithm (IKE phase 1).
	IPSecIntegrity *IPSecIntegrity `json:"ipsecIntegrity,omitempty"`

	// REQUIRED; The IKE encryption algorithm (IKE phase 2).
	IkeEncryption *IkeEncryption `json:"ikeEncryption,omitempty"`

	// REQUIRED; The IKE integrity algorithm (IKE phase 2).
	IkeIntegrity *IkeIntegrity `json:"ikeIntegrity,omitempty"`

	// REQUIRED; The Pfs Group used in IKE Phase 2 for new child SA.
	PfsGroup *PfsGroup `json:"pfsGroup,omitempty"`

	// REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
	SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"`

	// REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
	SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"`
}

IPSecPolicy - An IPSec Policy configuration for a virtual network gateway connection.

type IPTag

type IPTag struct {
	// The IP tag type. Example: FirstPartyUsage.
	IPTagType *string `json:"ipTagType,omitempty"`

	// The value of the IP tag associated with the public IP. Example: SQL.
	Tag *string `json:"tag,omitempty"`
}

IPTag - Contains the IpTag associated with the object.

type IPVersion

type IPVersion string

IPVersion - IP address version.

const (
	IPVersionIPv4 IPVersion = "IPv4"
	IPVersionIPv6 IPVersion = "IPv6"
)

func PossibleIPVersionValues

func PossibleIPVersionValues() []IPVersion

PossibleIPVersionValues returns the possible values for the IPVersion const type.

func (IPVersion) ToPtr

func (c IPVersion) ToPtr() *IPVersion

ToPtr returns a *IPVersion pointing to the current value.

type IPv6CircuitConnectionConfig

type IPv6CircuitConnectionConfig struct {
	// /125 IP address space to carve out customer addresses for global reach.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// READ-ONLY; Express Route Circuit connection state.
	CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty" azure:"ro"`
}

IPv6CircuitConnectionConfig - IPv6 Circuit Connection properties for global reach.

type IPv6ExpressRouteCircuitPeeringConfig

type IPv6ExpressRouteCircuitPeeringConfig struct {
	// The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`

	// The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`

	// The reference to the RouteFilter resource.
	RouteFilter *SubResource `json:"routeFilter,omitempty"`

	// The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`

	// The state of peering.
	State *ExpressRouteCircuitPeeringState `json:"state,omitempty"`
}

IPv6ExpressRouteCircuitPeeringConfig - Contains IPv6 peering config.

type IkeEncryption

type IkeEncryption string

IkeEncryption - The IKE encryption algorithm (IKE phase 2).

const (
	IkeEncryptionAES128    IkeEncryption = "AES128"
	IkeEncryptionAES192    IkeEncryption = "AES192"
	IkeEncryptionAES256    IkeEncryption = "AES256"
	IkeEncryptionDES       IkeEncryption = "DES"
	IkeEncryptionDES3      IkeEncryption = "DES3"
	IkeEncryptionGCMAES128 IkeEncryption = "GCMAES128"
	IkeEncryptionGCMAES256 IkeEncryption = "GCMAES256"
)

func PossibleIkeEncryptionValues

func PossibleIkeEncryptionValues() []IkeEncryption

PossibleIkeEncryptionValues returns the possible values for the IkeEncryption const type.

func (IkeEncryption) ToPtr

func (c IkeEncryption) ToPtr() *IkeEncryption

ToPtr returns a *IkeEncryption pointing to the current value.

type IkeIntegrity

type IkeIntegrity string

IkeIntegrity - The IKE integrity algorithm (IKE phase 2).

const (
	IkeIntegrityGCMAES128 IkeIntegrity = "GCMAES128"
	IkeIntegrityGCMAES256 IkeIntegrity = "GCMAES256"
	IkeIntegrityMD5       IkeIntegrity = "MD5"
	IkeIntegritySHA1      IkeIntegrity = "SHA1"
	IkeIntegritySHA256    IkeIntegrity = "SHA256"
	IkeIntegritySHA384    IkeIntegrity = "SHA384"
)

func PossibleIkeIntegrityValues

func PossibleIkeIntegrityValues() []IkeIntegrity

PossibleIkeIntegrityValues returns the possible values for the IkeIntegrity const type.

func (IkeIntegrity) ToPtr

func (c IkeIntegrity) ToPtr() *IkeIntegrity

ToPtr returns a *IkeIntegrity pointing to the current value.

type InboundNatPool

type InboundNatPool struct {
	SubResource
	// The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of load balancer inbound nat pool.
	Properties *InboundNatPoolPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

InboundNatPool - Inbound NAT pool of the load balancer.

func (InboundNatPool) MarshalJSON

func (i InboundNatPool) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InboundNatPool.

type InboundNatPoolPropertiesFormat

type InboundNatPoolPropertiesFormat struct {
	// REQUIRED; The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
	BackendPort *int32 `json:"backendPort,omitempty"`

	// REQUIRED; The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable
	// values range between 1 and 65535.
	FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"`

	// REQUIRED; The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable
	// values range between 1 and 65534.
	FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"`

	// REQUIRED; The reference to the transport protocol used by the inbound NAT pool.
	Protocol *TransportProtocol `json:"protocol,omitempty"`

	// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required
	// when using the SQL AlwaysOn Availability Groups
	// in SQL server. This setting can't be changed after you create the endpoint.
	EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`

	// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to
	// TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`

	// A reference to frontend IP addresses.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`

	// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when
	// the protocol is set to TCP.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`

	// READ-ONLY; The provisioning state of the inbound NAT pool resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

InboundNatPoolPropertiesFormat - Properties of Inbound NAT pool.

type InboundNatRule

type InboundNatRule struct {
	SubResource
	// The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of load balancer inbound nat rule.
	Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

InboundNatRule - Inbound NAT rule of the load balancer.

func (InboundNatRule) MarshalJSON

func (i InboundNatRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InboundNatRule.

type InboundNatRuleListResult

type InboundNatRuleListResult struct {
	// A list of inbound nat rules in a load balancer.
	Value []*InboundNatRule `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

InboundNatRuleListResult - Response for ListInboundNatRule API service call.

func (InboundNatRuleListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type InboundNatRuleListResult.

type InboundNatRulePropertiesFormat

type InboundNatRulePropertiesFormat struct {
	// A reference to backendAddressPool resource.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// The port used for the internal endpoint. Acceptable values range from 1 to 65535.
	BackendPort *int32 `json:"backendPort,omitempty"`

	// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required
	// when using the SQL AlwaysOn Availability Groups
	// in SQL server. This setting can't be changed after you create the endpoint.
	EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`

	// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to
	// TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`

	// A reference to frontend IP addresses.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`

	// The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
	FrontendPort *int32 `json:"frontendPort,omitempty"`

	// The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT
	// rule port mappings will be created for each
	// backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
	FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"`

	// The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT
	// rule port mappings will be created for each
	// backend address from BackendAddressPool. Acceptable values range from 1 to 65534.
	FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"`

	// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when
	// the protocol is set to TCP.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`

	// The reference to the transport protocol used by the load balancing rule.
	Protocol *TransportProtocol `json:"protocol,omitempty"`

	// READ-ONLY; A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations
	// is forwarded to the backend IP.
	BackendIPConfiguration *NetworkInterfaceIPConfiguration `json:"backendIPConfiguration,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the inbound NAT rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

InboundNatRulePropertiesFormat - Properties of the inbound NAT rule.

type InboundNatRulesBeginCreateOrUpdateOptions

type InboundNatRulesBeginCreateOrUpdateOptions struct {
}

InboundNatRulesBeginCreateOrUpdateOptions contains the optional parameters for the InboundNatRules.BeginCreateOrUpdate method.

type InboundNatRulesBeginDeleteOptions

type InboundNatRulesBeginDeleteOptions struct {
}

InboundNatRulesBeginDeleteOptions contains the optional parameters for the InboundNatRules.BeginDelete method.

type InboundNatRulesClient

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

InboundNatRulesClient contains the methods for the InboundNatRules group. Don't use this type directly, use NewInboundNatRulesClient() instead.

func NewInboundNatRulesClient

func NewInboundNatRulesClient(con *arm.Connection, subscriptionID string) *InboundNatRulesClient

NewInboundNatRulesClient creates a new instance of InboundNatRulesClient with the specified values.

func (*InboundNatRulesClient) BeginCreateOrUpdate

func (client *InboundNatRulesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule, options *InboundNatRulesBeginCreateOrUpdateOptions) (InboundNatRulesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a load balancer inbound nat rule. If the operation fails it returns the *CloudError error type.

func (*InboundNatRulesClient) BeginDelete

func (client *InboundNatRulesClient) BeginDelete(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, options *InboundNatRulesBeginDeleteOptions) (InboundNatRulesDeletePollerResponse, error)

BeginDelete - Deletes the specified load balancer inbound nat rule. If the operation fails it returns the *CloudError error type.

func (*InboundNatRulesClient) Get

func (client *InboundNatRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, options *InboundNatRulesGetOptions) (InboundNatRulesGetResponse, error)

Get - Gets the specified load balancer inbound nat rule. If the operation fails it returns the *CloudError error type.

func (*InboundNatRulesClient) List

func (client *InboundNatRulesClient) List(resourceGroupName string, loadBalancerName string, options *InboundNatRulesListOptions) *InboundNatRulesListPager

List - Gets all the inbound nat rules in a load balancer. If the operation fails it returns the *CloudError error type.

type InboundNatRulesCreateOrUpdatePoller

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

InboundNatRulesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*InboundNatRulesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*InboundNatRulesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final InboundNatRulesCreateOrUpdateResponse will be returned.

func (*InboundNatRulesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*InboundNatRulesCreateOrUpdatePoller) ResumeToken

func (p *InboundNatRulesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type InboundNatRulesCreateOrUpdatePollerResponse

type InboundNatRulesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *InboundNatRulesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundNatRulesCreateOrUpdatePollerResponse contains the response from method InboundNatRules.CreateOrUpdate.

func (InboundNatRulesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*InboundNatRulesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a InboundNatRulesCreateOrUpdatePollerResponse from the provided client and resume token.

type InboundNatRulesCreateOrUpdateResponse

type InboundNatRulesCreateOrUpdateResponse struct {
	InboundNatRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundNatRulesCreateOrUpdateResponse contains the response from method InboundNatRules.CreateOrUpdate.

type InboundNatRulesCreateOrUpdateResult

type InboundNatRulesCreateOrUpdateResult struct {
	InboundNatRule
}

InboundNatRulesCreateOrUpdateResult contains the result from method InboundNatRules.CreateOrUpdate.

type InboundNatRulesDeletePoller

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

InboundNatRulesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*InboundNatRulesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*InboundNatRulesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final InboundNatRulesDeleteResponse will be returned.

func (*InboundNatRulesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*InboundNatRulesDeletePoller) ResumeToken

func (p *InboundNatRulesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type InboundNatRulesDeletePollerResponse

type InboundNatRulesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *InboundNatRulesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundNatRulesDeletePollerResponse contains the response from method InboundNatRules.Delete.

func (InboundNatRulesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*InboundNatRulesDeletePollerResponse) Resume

Resume rehydrates a InboundNatRulesDeletePollerResponse from the provided client and resume token.

type InboundNatRulesDeleteResponse

type InboundNatRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundNatRulesDeleteResponse contains the response from method InboundNatRules.Delete.

type InboundNatRulesGetOptions

type InboundNatRulesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

InboundNatRulesGetOptions contains the optional parameters for the InboundNatRules.Get method.

type InboundNatRulesGetResponse

type InboundNatRulesGetResponse struct {
	InboundNatRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundNatRulesGetResponse contains the response from method InboundNatRules.Get.

type InboundNatRulesGetResult

type InboundNatRulesGetResult struct {
	InboundNatRule
}

InboundNatRulesGetResult contains the result from method InboundNatRules.Get.

type InboundNatRulesListOptions

type InboundNatRulesListOptions struct {
}

InboundNatRulesListOptions contains the optional parameters for the InboundNatRules.List method.

type InboundNatRulesListPager

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

InboundNatRulesListPager provides operations for iterating over paged responses.

func (*InboundNatRulesListPager) Err

Err returns the last error encountered while paging.

func (*InboundNatRulesListPager) NextPage

func (p *InboundNatRulesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*InboundNatRulesListPager) PageResponse

PageResponse returns the current InboundNatRulesListResponse page.

type InboundNatRulesListResponse

type InboundNatRulesListResponse struct {
	InboundNatRulesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundNatRulesListResponse contains the response from method InboundNatRules.List.

type InboundNatRulesListResult

type InboundNatRulesListResult struct {
	InboundNatRuleListResult
}

InboundNatRulesListResult contains the result from method InboundNatRules.List.

type InboundSecurityRule

type InboundSecurityRule struct {
	SubResource
	// Name of security rule collection.
	Name *string `json:"name,omitempty"`

	// The properties of the Inbound Security Rules.
	Properties *InboundSecurityRuleProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; NVA inbound security rule type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

InboundSecurityRule - NVA Inbound Security Rule resource.

func (InboundSecurityRule) MarshalJSON

func (i InboundSecurityRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InboundSecurityRule.

type InboundSecurityRuleBeginCreateOrUpdateOptions

type InboundSecurityRuleBeginCreateOrUpdateOptions struct {
}

InboundSecurityRuleBeginCreateOrUpdateOptions contains the optional parameters for the InboundSecurityRule.BeginCreateOrUpdate method.

type InboundSecurityRuleClient

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

InboundSecurityRuleClient contains the methods for the InboundSecurityRule group. Don't use this type directly, use NewInboundSecurityRuleClient() instead.

func NewInboundSecurityRuleClient

func NewInboundSecurityRuleClient(con *arm.Connection, subscriptionID string) *InboundSecurityRuleClient

NewInboundSecurityRuleClient creates a new instance of InboundSecurityRuleClient with the specified values.

func (*InboundSecurityRuleClient) BeginCreateOrUpdate

func (client *InboundSecurityRuleClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, ruleCollectionName string, parameters InboundSecurityRule, options *InboundSecurityRuleBeginCreateOrUpdateOptions) (InboundSecurityRuleCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Network Virtual Appliance Inbound Security Rules. If the operation fails it returns the *CloudError error type.

type InboundSecurityRuleCreateOrUpdatePoller

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

InboundSecurityRuleCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*InboundSecurityRuleCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*InboundSecurityRuleCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final InboundSecurityRuleCreateOrUpdateResponse will be returned.

func (*InboundSecurityRuleCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*InboundSecurityRuleCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type InboundSecurityRuleCreateOrUpdatePollerResponse

type InboundSecurityRuleCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *InboundSecurityRuleCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundSecurityRuleCreateOrUpdatePollerResponse contains the response from method InboundSecurityRule.CreateOrUpdate.

func (InboundSecurityRuleCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*InboundSecurityRuleCreateOrUpdatePollerResponse) Resume

Resume rehydrates a InboundSecurityRuleCreateOrUpdatePollerResponse from the provided client and resume token.

type InboundSecurityRuleCreateOrUpdateResponse

type InboundSecurityRuleCreateOrUpdateResponse struct {
	InboundSecurityRuleCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

InboundSecurityRuleCreateOrUpdateResponse contains the response from method InboundSecurityRule.CreateOrUpdate.

type InboundSecurityRuleCreateOrUpdateResult

type InboundSecurityRuleCreateOrUpdateResult struct {
	InboundSecurityRule
}

InboundSecurityRuleCreateOrUpdateResult contains the result from method InboundSecurityRule.CreateOrUpdate.

type InboundSecurityRuleProperties

type InboundSecurityRuleProperties struct {
	// List of allowed rules.
	Rules []*InboundSecurityRules `json:"rules,omitempty"`

	// READ-ONLY; The provisioning state of the resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

InboundSecurityRuleProperties - Properties of the Inbound Security Rules resource.

func (InboundSecurityRuleProperties) MarshalJSON

func (i InboundSecurityRuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type InboundSecurityRuleProperties.

type InboundSecurityRules

type InboundSecurityRules struct {
	// NVA port ranges to be opened up. One needs to provide specific ports.
	DestinationPortRange *int32 `json:"destinationPortRange,omitempty"`

	// Protocol. This should be either TCP or UDP.
	Protocol *InboundSecurityRulesProtocol `json:"protocol,omitempty"`

	// The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed.
	SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
}

InboundSecurityRules - Properties of the Inbound Security Rules resource.

type InboundSecurityRulesProtocol

type InboundSecurityRulesProtocol string

InboundSecurityRulesProtocol - Protocol. This should be either TCP or UDP.

const (
	InboundSecurityRulesProtocolTCP InboundSecurityRulesProtocol = "TCP"
	InboundSecurityRulesProtocolUDP InboundSecurityRulesProtocol = "UDP"
)

func PossibleInboundSecurityRulesProtocolValues

func PossibleInboundSecurityRulesProtocolValues() []InboundSecurityRulesProtocol

PossibleInboundSecurityRulesProtocolValues returns the possible values for the InboundSecurityRulesProtocol const type.

func (InboundSecurityRulesProtocol) ToPtr

ToPtr returns a *InboundSecurityRulesProtocol pointing to the current value.

type IssueType

type IssueType string

IssueType - The type of issue.

const (
	IssueTypeAgentStopped        IssueType = "AgentStopped"
	IssueTypeDNSResolution       IssueType = "DnsResolution"
	IssueTypeGuestFirewall       IssueType = "GuestFirewall"
	IssueTypeNetworkSecurityRule IssueType = "NetworkSecurityRule"
	IssueTypePlatform            IssueType = "Platform"
	IssueTypePortThrottled       IssueType = "PortThrottled"
	IssueTypeSocketBind          IssueType = "SocketBind"
	IssueTypeUnknown             IssueType = "Unknown"
	IssueTypeUserDefinedRoute    IssueType = "UserDefinedRoute"
)

func PossibleIssueTypeValues

func PossibleIssueTypeValues() []IssueType

PossibleIssueTypeValues returns the possible values for the IssueType const type.

func (IssueType) ToPtr

func (c IssueType) ToPtr() *IssueType

ToPtr returns a *IssueType pointing to the current value.

type ListHubRouteTablesResult

type ListHubRouteTablesResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of RouteTables.
	Value []*HubRouteTable `json:"value,omitempty"`
}

ListHubRouteTablesResult - List of RouteTables and a URL nextLink to get the next set of results.

func (ListHubRouteTablesResult) MarshalJSON

func (l ListHubRouteTablesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListHubRouteTablesResult.

type ListHubVirtualNetworkConnectionsResult

type ListHubVirtualNetworkConnectionsResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of HubVirtualNetworkConnections.
	Value []*HubVirtualNetworkConnection `json:"value,omitempty"`
}

ListHubVirtualNetworkConnectionsResult - List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.

func (ListHubVirtualNetworkConnectionsResult) MarshalJSON

func (l ListHubVirtualNetworkConnectionsResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListHubVirtualNetworkConnectionsResult.

type ListP2SVPNGatewaysResult

type ListP2SVPNGatewaysResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of P2SVpnGateways.
	Value []*P2SVPNGateway `json:"value,omitempty"`
}

ListP2SVPNGatewaysResult - Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.

func (ListP2SVPNGatewaysResult) MarshalJSON

func (l ListP2SVPNGatewaysResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListP2SVPNGatewaysResult.

type ListVPNConnectionsResult

type ListVPNConnectionsResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Vpn Connections.
	Value []*VPNConnection `json:"value,omitempty"`
}

ListVPNConnectionsResult - Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.

func (ListVPNConnectionsResult) MarshalJSON

func (l ListVPNConnectionsResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNConnectionsResult.

type ListVPNGatewayNatRulesResult

type ListVPNGatewayNatRulesResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Nat Rules.
	Value []*VPNGatewayNatRule `json:"value,omitempty"`
}

ListVPNGatewayNatRulesResult - Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results.

func (ListVPNGatewayNatRulesResult) MarshalJSON

func (l ListVPNGatewayNatRulesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNGatewayNatRulesResult.

type ListVPNGatewaysResult

type ListVPNGatewaysResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VpnGateways.
	Value []*VPNGateway `json:"value,omitempty"`
}

ListVPNGatewaysResult - Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.

func (ListVPNGatewaysResult) MarshalJSON

func (l ListVPNGatewaysResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNGatewaysResult.

type ListVPNServerConfigurationsResult

type ListVPNServerConfigurationsResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VpnServerConfigurations.
	Value []*VPNServerConfiguration `json:"value,omitempty"`
}

ListVPNServerConfigurationsResult - Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results.

func (ListVPNServerConfigurationsResult) MarshalJSON

func (l ListVPNServerConfigurationsResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNServerConfigurationsResult.

type ListVPNSiteLinkConnectionsResult

type ListVPNSiteLinkConnectionsResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VpnSiteLinkConnections.
	Value []*VPNSiteLinkConnection `json:"value,omitempty"`
}

ListVPNSiteLinkConnectionsResult - Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.

func (ListVPNSiteLinkConnectionsResult) MarshalJSON

func (l ListVPNSiteLinkConnectionsResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNSiteLinkConnectionsResult.

type ListVPNSiteLinksResult

type ListVPNSiteLinksResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VpnSitesLinks.
	Value []*VPNSiteLink `json:"value,omitempty"`
}

ListVPNSiteLinksResult - Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results.

func (ListVPNSiteLinksResult) MarshalJSON

func (l ListVPNSiteLinksResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNSiteLinksResult.

type ListVPNSitesResult

type ListVPNSitesResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VpnSites.
	Value []*VPNSite `json:"value,omitempty"`
}

ListVPNSitesResult - Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.

func (ListVPNSitesResult) MarshalJSON

func (l ListVPNSitesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVPNSitesResult.

type ListVirtualHubBgpConnectionResults

type ListVirtualHubBgpConnectionResults struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of VirtualHubBgpConnections.
	Value []*BgpConnection `json:"value,omitempty"`
}

ListVirtualHubBgpConnectionResults - VirtualHubBgpConnections list.

func (ListVirtualHubBgpConnectionResults) MarshalJSON

func (l ListVirtualHubBgpConnectionResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVirtualHubBgpConnectionResults.

type ListVirtualHubIPConfigurationResults

type ListVirtualHubIPConfigurationResults struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of VirtualHubIpConfigurations.
	Value []*HubIPConfiguration `json:"value,omitempty"`
}

ListVirtualHubIPConfigurationResults - VirtualHubIpConfigurations list.

func (ListVirtualHubIPConfigurationResults) MarshalJSON

func (l ListVirtualHubIPConfigurationResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVirtualHubIPConfigurationResults.

type ListVirtualHubRouteTableV2SResult

type ListVirtualHubRouteTableV2SResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VirtualHubRouteTableV2s.
	Value []*VirtualHubRouteTableV2 `json:"value,omitempty"`
}

ListVirtualHubRouteTableV2SResult - List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results.

func (ListVirtualHubRouteTableV2SResult) MarshalJSON

func (l ListVirtualHubRouteTableV2SResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVirtualHubRouteTableV2SResult.

type ListVirtualHubsResult

type ListVirtualHubsResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VirtualHubs.
	Value []*VirtualHub `json:"value,omitempty"`
}

ListVirtualHubsResult - Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.

func (ListVirtualHubsResult) MarshalJSON

func (l ListVirtualHubsResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVirtualHubsResult.

type ListVirtualNetworkGatewayNatRulesResult

type ListVirtualNetworkGatewayNatRulesResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Nat Rules.
	Value []*VirtualNetworkGatewayNatRule `json:"value,omitempty"`
}

ListVirtualNetworkGatewayNatRulesResult - Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results.

func (ListVirtualNetworkGatewayNatRulesResult) MarshalJSON

func (l ListVirtualNetworkGatewayNatRulesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVirtualNetworkGatewayNatRulesResult.

type ListVirtualWANsResult

type ListVirtualWANsResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VirtualWANs.
	Value []*VirtualWAN `json:"value,omitempty"`
}

ListVirtualWANsResult - Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.

func (ListVirtualWANsResult) MarshalJSON

func (l ListVirtualWANsResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListVirtualWANsResult.

type LoadBalancer

type LoadBalancer struct {
	Resource
	// The extended location of the load balancer.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Properties of load balancer.
	Properties *LoadBalancerPropertiesFormat `json:"properties,omitempty"`

	// The load balancer SKU.
	SKU *LoadBalancerSKU `json:"sku,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

LoadBalancer resource.

func (LoadBalancer) MarshalJSON

func (l LoadBalancer) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoadBalancer.

type LoadBalancerBackendAddress

type LoadBalancerBackendAddress struct {
	// Name of the backend address.
	Name *string `json:"name,omitempty"`

	// Properties of load balancer backend address pool.
	Properties *LoadBalancerBackendAddressPropertiesFormat `json:"properties,omitempty"`
}

LoadBalancerBackendAddress - Load balancer backend addresses.

type LoadBalancerBackendAddressPoolListResult

type LoadBalancerBackendAddressPoolListResult struct {
	// A list of backend address pools in a load balancer.
	Value []*BackendAddressPool `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LoadBalancerBackendAddressPoolListResult - Response for ListBackendAddressPool API service call.

func (LoadBalancerBackendAddressPoolListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type LoadBalancerBackendAddressPoolListResult.

type LoadBalancerBackendAddressPoolsBeginCreateOrUpdateOptions

type LoadBalancerBackendAddressPoolsBeginCreateOrUpdateOptions struct {
}

LoadBalancerBackendAddressPoolsBeginCreateOrUpdateOptions contains the optional parameters for the LoadBalancerBackendAddressPools.BeginCreateOrUpdate method.

type LoadBalancerBackendAddressPoolsBeginDeleteOptions

type LoadBalancerBackendAddressPoolsBeginDeleteOptions struct {
}

LoadBalancerBackendAddressPoolsBeginDeleteOptions contains the optional parameters for the LoadBalancerBackendAddressPools.BeginDelete method.

type LoadBalancerBackendAddressPoolsClient

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

LoadBalancerBackendAddressPoolsClient contains the methods for the LoadBalancerBackendAddressPools group. Don't use this type directly, use NewLoadBalancerBackendAddressPoolsClient() instead.

func NewLoadBalancerBackendAddressPoolsClient

func NewLoadBalancerBackendAddressPoolsClient(con *arm.Connection, subscriptionID string) *LoadBalancerBackendAddressPoolsClient

NewLoadBalancerBackendAddressPoolsClient creates a new instance of LoadBalancerBackendAddressPoolsClient with the specified values.

func (*LoadBalancerBackendAddressPoolsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates a load balancer backend address pool. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerBackendAddressPoolsClient) BeginDelete

func (client *LoadBalancerBackendAddressPoolsClient) BeginDelete(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string, options *LoadBalancerBackendAddressPoolsBeginDeleteOptions) (LoadBalancerBackendAddressPoolsDeletePollerResponse, error)

BeginDelete - Deletes the specified load balancer backend address pool. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerBackendAddressPoolsClient) Get

func (client *LoadBalancerBackendAddressPoolsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string, options *LoadBalancerBackendAddressPoolsGetOptions) (LoadBalancerBackendAddressPoolsGetResponse, error)

Get - Gets load balancer backend address pool. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerBackendAddressPoolsClient) List

List - Gets all the load balancer backed address pools. If the operation fails it returns the *CloudError error type.

type LoadBalancerBackendAddressPoolsCreateOrUpdatePoller

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

LoadBalancerBackendAddressPoolsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*LoadBalancerBackendAddressPoolsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*LoadBalancerBackendAddressPoolsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LoadBalancerBackendAddressPoolsCreateOrUpdateResponse will be returned.

func (*LoadBalancerBackendAddressPoolsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LoadBalancerBackendAddressPoolsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LoadBalancerBackendAddressPoolsCreateOrUpdatePollerResponse

type LoadBalancerBackendAddressPoolsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LoadBalancerBackendAddressPoolsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerBackendAddressPoolsCreateOrUpdatePollerResponse contains the response from method LoadBalancerBackendAddressPools.CreateOrUpdate.

func (LoadBalancerBackendAddressPoolsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LoadBalancerBackendAddressPoolsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a LoadBalancerBackendAddressPoolsCreateOrUpdatePollerResponse from the provided client and resume token.

type LoadBalancerBackendAddressPoolsCreateOrUpdateResponse

type LoadBalancerBackendAddressPoolsCreateOrUpdateResponse struct {
	LoadBalancerBackendAddressPoolsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerBackendAddressPoolsCreateOrUpdateResponse contains the response from method LoadBalancerBackendAddressPools.CreateOrUpdate.

type LoadBalancerBackendAddressPoolsCreateOrUpdateResult

type LoadBalancerBackendAddressPoolsCreateOrUpdateResult struct {
	BackendAddressPool
}

LoadBalancerBackendAddressPoolsCreateOrUpdateResult contains the result from method LoadBalancerBackendAddressPools.CreateOrUpdate.

type LoadBalancerBackendAddressPoolsDeletePoller

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

LoadBalancerBackendAddressPoolsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*LoadBalancerBackendAddressPoolsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*LoadBalancerBackendAddressPoolsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LoadBalancerBackendAddressPoolsDeleteResponse will be returned.

func (*LoadBalancerBackendAddressPoolsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LoadBalancerBackendAddressPoolsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LoadBalancerBackendAddressPoolsDeletePollerResponse

type LoadBalancerBackendAddressPoolsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LoadBalancerBackendAddressPoolsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerBackendAddressPoolsDeletePollerResponse contains the response from method LoadBalancerBackendAddressPools.Delete.

func (LoadBalancerBackendAddressPoolsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LoadBalancerBackendAddressPoolsDeletePollerResponse) Resume

Resume rehydrates a LoadBalancerBackendAddressPoolsDeletePollerResponse from the provided client and resume token.

type LoadBalancerBackendAddressPoolsDeleteResponse

type LoadBalancerBackendAddressPoolsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerBackendAddressPoolsDeleteResponse contains the response from method LoadBalancerBackendAddressPools.Delete.

type LoadBalancerBackendAddressPoolsGetOptions

type LoadBalancerBackendAddressPoolsGetOptions struct {
}

LoadBalancerBackendAddressPoolsGetOptions contains the optional parameters for the LoadBalancerBackendAddressPools.Get method.

type LoadBalancerBackendAddressPoolsGetResponse

type LoadBalancerBackendAddressPoolsGetResponse struct {
	LoadBalancerBackendAddressPoolsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerBackendAddressPoolsGetResponse contains the response from method LoadBalancerBackendAddressPools.Get.

type LoadBalancerBackendAddressPoolsGetResult

type LoadBalancerBackendAddressPoolsGetResult struct {
	BackendAddressPool
}

LoadBalancerBackendAddressPoolsGetResult contains the result from method LoadBalancerBackendAddressPools.Get.

type LoadBalancerBackendAddressPoolsListOptions

type LoadBalancerBackendAddressPoolsListOptions struct {
}

LoadBalancerBackendAddressPoolsListOptions contains the optional parameters for the LoadBalancerBackendAddressPools.List method.

type LoadBalancerBackendAddressPoolsListPager

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

LoadBalancerBackendAddressPoolsListPager provides operations for iterating over paged responses.

func (*LoadBalancerBackendAddressPoolsListPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancerBackendAddressPoolsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancerBackendAddressPoolsListPager) PageResponse

PageResponse returns the current LoadBalancerBackendAddressPoolsListResponse page.

type LoadBalancerBackendAddressPoolsListResponse

type LoadBalancerBackendAddressPoolsListResponse struct {
	LoadBalancerBackendAddressPoolsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerBackendAddressPoolsListResponse contains the response from method LoadBalancerBackendAddressPools.List.

type LoadBalancerBackendAddressPoolsListResult

type LoadBalancerBackendAddressPoolsListResult struct {
	LoadBalancerBackendAddressPoolListResult
}

LoadBalancerBackendAddressPoolsListResult contains the result from method LoadBalancerBackendAddressPools.List.

type LoadBalancerBackendAddressPropertiesFormat

type LoadBalancerBackendAddressPropertiesFormat struct {
	// IP Address belonging to the referenced virtual network.
	IPAddress *string `json:"ipAddress,omitempty"`

	// Reference to the frontend ip address configuration defined in regional loadbalancer.
	LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIPConfiguration,omitempty"`

	// Reference to an existing subnet.
	Subnet *SubResource `json:"subnet,omitempty"`

	// Reference to an existing virtual network.
	VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"`

	// READ-ONLY; Reference to IP address defined in network interfaces.
	NetworkInterfaceIPConfiguration *SubResource `json:"networkInterfaceIPConfiguration,omitempty" azure:"ro"`
}

LoadBalancerBackendAddressPropertiesFormat - Properties of the load balancer backend addresses.

type LoadBalancerFrontendIPConfigurationListResult

type LoadBalancerFrontendIPConfigurationListResult struct {
	// A list of frontend IP configurations in a load balancer.
	Value []*FrontendIPConfiguration `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LoadBalancerFrontendIPConfigurationListResult - Response for ListFrontendIPConfiguration API service call.

func (LoadBalancerFrontendIPConfigurationListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type LoadBalancerFrontendIPConfigurationListResult.

type LoadBalancerFrontendIPConfigurationsClient

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

LoadBalancerFrontendIPConfigurationsClient contains the methods for the LoadBalancerFrontendIPConfigurations group. Don't use this type directly, use NewLoadBalancerFrontendIPConfigurationsClient() instead.

func NewLoadBalancerFrontendIPConfigurationsClient

func NewLoadBalancerFrontendIPConfigurationsClient(con *arm.Connection, subscriptionID string) *LoadBalancerFrontendIPConfigurationsClient

NewLoadBalancerFrontendIPConfigurationsClient creates a new instance of LoadBalancerFrontendIPConfigurationsClient with the specified values.

func (*LoadBalancerFrontendIPConfigurationsClient) Get

Get - Gets load balancer frontend IP configuration. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerFrontendIPConfigurationsClient) List

List - Gets all the load balancer frontend IP configurations. If the operation fails it returns the *CloudError error type.

type LoadBalancerFrontendIPConfigurationsGetOptions

type LoadBalancerFrontendIPConfigurationsGetOptions struct {
}

LoadBalancerFrontendIPConfigurationsGetOptions contains the optional parameters for the LoadBalancerFrontendIPConfigurations.Get method.

type LoadBalancerFrontendIPConfigurationsGetResponse

type LoadBalancerFrontendIPConfigurationsGetResponse struct {
	LoadBalancerFrontendIPConfigurationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerFrontendIPConfigurationsGetResponse contains the response from method LoadBalancerFrontendIPConfigurations.Get.

type LoadBalancerFrontendIPConfigurationsGetResult

type LoadBalancerFrontendIPConfigurationsGetResult struct {
	FrontendIPConfiguration
}

LoadBalancerFrontendIPConfigurationsGetResult contains the result from method LoadBalancerFrontendIPConfigurations.Get.

type LoadBalancerFrontendIPConfigurationsListOptions

type LoadBalancerFrontendIPConfigurationsListOptions struct {
}

LoadBalancerFrontendIPConfigurationsListOptions contains the optional parameters for the LoadBalancerFrontendIPConfigurations.List method.

type LoadBalancerFrontendIPConfigurationsListPager

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

LoadBalancerFrontendIPConfigurationsListPager provides operations for iterating over paged responses.

func (*LoadBalancerFrontendIPConfigurationsListPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancerFrontendIPConfigurationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancerFrontendIPConfigurationsListPager) PageResponse

PageResponse returns the current LoadBalancerFrontendIPConfigurationsListResponse page.

type LoadBalancerFrontendIPConfigurationsListResponse

type LoadBalancerFrontendIPConfigurationsListResponse struct {
	LoadBalancerFrontendIPConfigurationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerFrontendIPConfigurationsListResponse contains the response from method LoadBalancerFrontendIPConfigurations.List.

type LoadBalancerFrontendIPConfigurationsListResult

type LoadBalancerFrontendIPConfigurationsListResult struct {
	LoadBalancerFrontendIPConfigurationListResult
}

LoadBalancerFrontendIPConfigurationsListResult contains the result from method LoadBalancerFrontendIPConfigurations.List.

type LoadBalancerListResult

type LoadBalancerListResult struct {
	// A list of load balancers in a resource group.
	Value []*LoadBalancer `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LoadBalancerListResult - Response for ListLoadBalancers API service call.

func (LoadBalancerListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type LoadBalancerListResult.

type LoadBalancerLoadBalancingRuleListResult

type LoadBalancerLoadBalancingRuleListResult struct {
	// A list of load balancing rules in a load balancer.
	Value []*LoadBalancingRule `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LoadBalancerLoadBalancingRuleListResult - Response for ListLoadBalancingRule API service call.

func (LoadBalancerLoadBalancingRuleListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type LoadBalancerLoadBalancingRuleListResult.

type LoadBalancerLoadBalancingRulesClient

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

LoadBalancerLoadBalancingRulesClient contains the methods for the LoadBalancerLoadBalancingRules group. Don't use this type directly, use NewLoadBalancerLoadBalancingRulesClient() instead.

func NewLoadBalancerLoadBalancingRulesClient

func NewLoadBalancerLoadBalancingRulesClient(con *arm.Connection, subscriptionID string) *LoadBalancerLoadBalancingRulesClient

NewLoadBalancerLoadBalancingRulesClient creates a new instance of LoadBalancerLoadBalancingRulesClient with the specified values.

func (*LoadBalancerLoadBalancingRulesClient) Get

func (client *LoadBalancerLoadBalancingRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, loadBalancingRuleName string, options *LoadBalancerLoadBalancingRulesGetOptions) (LoadBalancerLoadBalancingRulesGetResponse, error)

Get - Gets the specified load balancer load balancing rule. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerLoadBalancingRulesClient) List

List - Gets all the load balancing rules in a load balancer. If the operation fails it returns the *CloudError error type.

type LoadBalancerLoadBalancingRulesGetOptions

type LoadBalancerLoadBalancingRulesGetOptions struct {
}

LoadBalancerLoadBalancingRulesGetOptions contains the optional parameters for the LoadBalancerLoadBalancingRules.Get method.

type LoadBalancerLoadBalancingRulesGetResponse

type LoadBalancerLoadBalancingRulesGetResponse struct {
	LoadBalancerLoadBalancingRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerLoadBalancingRulesGetResponse contains the response from method LoadBalancerLoadBalancingRules.Get.

type LoadBalancerLoadBalancingRulesGetResult

type LoadBalancerLoadBalancingRulesGetResult struct {
	LoadBalancingRule
}

LoadBalancerLoadBalancingRulesGetResult contains the result from method LoadBalancerLoadBalancingRules.Get.

type LoadBalancerLoadBalancingRulesListOptions

type LoadBalancerLoadBalancingRulesListOptions struct {
}

LoadBalancerLoadBalancingRulesListOptions contains the optional parameters for the LoadBalancerLoadBalancingRules.List method.

type LoadBalancerLoadBalancingRulesListPager

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

LoadBalancerLoadBalancingRulesListPager provides operations for iterating over paged responses.

func (*LoadBalancerLoadBalancingRulesListPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancerLoadBalancingRulesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancerLoadBalancingRulesListPager) PageResponse

PageResponse returns the current LoadBalancerLoadBalancingRulesListResponse page.

type LoadBalancerLoadBalancingRulesListResponse

type LoadBalancerLoadBalancingRulesListResponse struct {
	LoadBalancerLoadBalancingRulesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerLoadBalancingRulesListResponse contains the response from method LoadBalancerLoadBalancingRules.List.

type LoadBalancerLoadBalancingRulesListResult

type LoadBalancerLoadBalancingRulesListResult struct {
	LoadBalancerLoadBalancingRuleListResult
}

LoadBalancerLoadBalancingRulesListResult contains the result from method LoadBalancerLoadBalancingRules.List.

type LoadBalancerNetworkInterfacesClient

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

LoadBalancerNetworkInterfacesClient contains the methods for the LoadBalancerNetworkInterfaces group. Don't use this type directly, use NewLoadBalancerNetworkInterfacesClient() instead.

func NewLoadBalancerNetworkInterfacesClient

func NewLoadBalancerNetworkInterfacesClient(con *arm.Connection, subscriptionID string) *LoadBalancerNetworkInterfacesClient

NewLoadBalancerNetworkInterfacesClient creates a new instance of LoadBalancerNetworkInterfacesClient with the specified values.

func (*LoadBalancerNetworkInterfacesClient) List

List - Gets associated load balancer network interfaces. If the operation fails it returns the *CloudError error type.

type LoadBalancerNetworkInterfacesListOptions

type LoadBalancerNetworkInterfacesListOptions struct {
}

LoadBalancerNetworkInterfacesListOptions contains the optional parameters for the LoadBalancerNetworkInterfaces.List method.

type LoadBalancerNetworkInterfacesListPager

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

LoadBalancerNetworkInterfacesListPager provides operations for iterating over paged responses.

func (*LoadBalancerNetworkInterfacesListPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancerNetworkInterfacesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancerNetworkInterfacesListPager) PageResponse

PageResponse returns the current LoadBalancerNetworkInterfacesListResponse page.

type LoadBalancerNetworkInterfacesListResponse

type LoadBalancerNetworkInterfacesListResponse struct {
	LoadBalancerNetworkInterfacesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerNetworkInterfacesListResponse contains the response from method LoadBalancerNetworkInterfaces.List.

type LoadBalancerNetworkInterfacesListResult

type LoadBalancerNetworkInterfacesListResult struct {
	NetworkInterfaceListResult
}

LoadBalancerNetworkInterfacesListResult contains the result from method LoadBalancerNetworkInterfaces.List.

type LoadBalancerOutboundRuleListResult

type LoadBalancerOutboundRuleListResult struct {
	// A list of outbound rules in a load balancer.
	Value []*OutboundRule `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LoadBalancerOutboundRuleListResult - Response for ListOutboundRule API service call.

func (LoadBalancerOutboundRuleListResult) MarshalJSON

func (l LoadBalancerOutboundRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoadBalancerOutboundRuleListResult.

type LoadBalancerOutboundRuleProtocol

type LoadBalancerOutboundRuleProtocol string

LoadBalancerOutboundRuleProtocol - The protocol for the outbound rule in load balancer.

const (
	LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All"
	LoadBalancerOutboundRuleProtocolTCP LoadBalancerOutboundRuleProtocol = "Tcp"
	LoadBalancerOutboundRuleProtocolUDP LoadBalancerOutboundRuleProtocol = "Udp"
)

func PossibleLoadBalancerOutboundRuleProtocolValues

func PossibleLoadBalancerOutboundRuleProtocolValues() []LoadBalancerOutboundRuleProtocol

PossibleLoadBalancerOutboundRuleProtocolValues returns the possible values for the LoadBalancerOutboundRuleProtocol const type.

func (LoadBalancerOutboundRuleProtocol) ToPtr

ToPtr returns a *LoadBalancerOutboundRuleProtocol pointing to the current value.

type LoadBalancerOutboundRulesClient

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

LoadBalancerOutboundRulesClient contains the methods for the LoadBalancerOutboundRules group. Don't use this type directly, use NewLoadBalancerOutboundRulesClient() instead.

func NewLoadBalancerOutboundRulesClient

func NewLoadBalancerOutboundRulesClient(con *arm.Connection, subscriptionID string) *LoadBalancerOutboundRulesClient

NewLoadBalancerOutboundRulesClient creates a new instance of LoadBalancerOutboundRulesClient with the specified values.

func (*LoadBalancerOutboundRulesClient) Get

func (client *LoadBalancerOutboundRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, outboundRuleName string, options *LoadBalancerOutboundRulesGetOptions) (LoadBalancerOutboundRulesGetResponse, error)

Get - Gets the specified load balancer outbound rule. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerOutboundRulesClient) List

List - Gets all the outbound rules in a load balancer. If the operation fails it returns the *CloudError error type.

type LoadBalancerOutboundRulesGetOptions

type LoadBalancerOutboundRulesGetOptions struct {
}

LoadBalancerOutboundRulesGetOptions contains the optional parameters for the LoadBalancerOutboundRules.Get method.

type LoadBalancerOutboundRulesGetResponse

type LoadBalancerOutboundRulesGetResponse struct {
	LoadBalancerOutboundRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerOutboundRulesGetResponse contains the response from method LoadBalancerOutboundRules.Get.

type LoadBalancerOutboundRulesGetResult

type LoadBalancerOutboundRulesGetResult struct {
	OutboundRule
}

LoadBalancerOutboundRulesGetResult contains the result from method LoadBalancerOutboundRules.Get.

type LoadBalancerOutboundRulesListOptions

type LoadBalancerOutboundRulesListOptions struct {
}

LoadBalancerOutboundRulesListOptions contains the optional parameters for the LoadBalancerOutboundRules.List method.

type LoadBalancerOutboundRulesListPager

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

LoadBalancerOutboundRulesListPager provides operations for iterating over paged responses.

func (*LoadBalancerOutboundRulesListPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancerOutboundRulesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancerOutboundRulesListPager) PageResponse

PageResponse returns the current LoadBalancerOutboundRulesListResponse page.

type LoadBalancerOutboundRulesListResponse

type LoadBalancerOutboundRulesListResponse struct {
	LoadBalancerOutboundRulesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerOutboundRulesListResponse contains the response from method LoadBalancerOutboundRules.List.

type LoadBalancerOutboundRulesListResult

type LoadBalancerOutboundRulesListResult struct {
	LoadBalancerOutboundRuleListResult
}

LoadBalancerOutboundRulesListResult contains the result from method LoadBalancerOutboundRules.List.

type LoadBalancerProbeListResult

type LoadBalancerProbeListResult struct {
	// A list of probes in a load balancer.
	Value []*Probe `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LoadBalancerProbeListResult - Response for ListProbe API service call.

func (LoadBalancerProbeListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type LoadBalancerProbeListResult.

type LoadBalancerProbesClient

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

LoadBalancerProbesClient contains the methods for the LoadBalancerProbes group. Don't use this type directly, use NewLoadBalancerProbesClient() instead.

func NewLoadBalancerProbesClient

func NewLoadBalancerProbesClient(con *arm.Connection, subscriptionID string) *LoadBalancerProbesClient

NewLoadBalancerProbesClient creates a new instance of LoadBalancerProbesClient with the specified values.

func (*LoadBalancerProbesClient) Get

func (client *LoadBalancerProbesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, probeName string, options *LoadBalancerProbesGetOptions) (LoadBalancerProbesGetResponse, error)

Get - Gets load balancer probe. If the operation fails it returns the *CloudError error type.

func (*LoadBalancerProbesClient) List

func (client *LoadBalancerProbesClient) List(resourceGroupName string, loadBalancerName string, options *LoadBalancerProbesListOptions) *LoadBalancerProbesListPager

List - Gets all the load balancer probes. If the operation fails it returns the *CloudError error type.

type LoadBalancerProbesGetOptions

type LoadBalancerProbesGetOptions struct {
}

LoadBalancerProbesGetOptions contains the optional parameters for the LoadBalancerProbes.Get method.

type LoadBalancerProbesGetResponse

type LoadBalancerProbesGetResponse struct {
	LoadBalancerProbesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerProbesGetResponse contains the response from method LoadBalancerProbes.Get.

type LoadBalancerProbesGetResult

type LoadBalancerProbesGetResult struct {
	Probe
}

LoadBalancerProbesGetResult contains the result from method LoadBalancerProbes.Get.

type LoadBalancerProbesListOptions

type LoadBalancerProbesListOptions struct {
}

LoadBalancerProbesListOptions contains the optional parameters for the LoadBalancerProbes.List method.

type LoadBalancerProbesListPager

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

LoadBalancerProbesListPager provides operations for iterating over paged responses.

func (*LoadBalancerProbesListPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancerProbesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancerProbesListPager) PageResponse

PageResponse returns the current LoadBalancerProbesListResponse page.

type LoadBalancerProbesListResponse

type LoadBalancerProbesListResponse struct {
	LoadBalancerProbesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancerProbesListResponse contains the response from method LoadBalancerProbes.List.

type LoadBalancerProbesListResult

type LoadBalancerProbesListResult struct {
	LoadBalancerProbeListResult
}

LoadBalancerProbesListResult contains the result from method LoadBalancerProbes.List.

type LoadBalancerPropertiesFormat

type LoadBalancerPropertiesFormat struct {
	// Collection of backend address pools used by a load balancer.
	BackendAddressPools []*BackendAddressPool `json:"backendAddressPools,omitempty"`

	// Object representing the frontend IPs to be used for the load balancer.
	FrontendIPConfigurations []*FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`

	// Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically
	// for each NIC associated with the Load
	// Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules.
	// Inbound NAT pools are referenced from virtual
	// machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual
	// inbound NAT rules.
	InboundNatPools []*InboundNatPool `json:"inboundNatPools,omitempty"`

	// Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound
	// NAT pool. Inbound NAT pools are referenced from
	// virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual
	// inbound NAT rules.
	InboundNatRules []*InboundNatRule `json:"inboundNatRules,omitempty"`

	// Object collection representing the load balancing rules Gets the provisioning.
	LoadBalancingRules []*LoadBalancingRule `json:"loadBalancingRules,omitempty"`

	// The outbound rules.
	OutboundRules []*OutboundRule `json:"outboundRules,omitempty"`

	// Collection of probe objects used in the load balancer.
	Probes []*Probe `json:"probes,omitempty"`

	// READ-ONLY; The provisioning state of the load balancer resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the load balancer resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

LoadBalancerPropertiesFormat - Properties of the load balancer.

func (LoadBalancerPropertiesFormat) MarshalJSON

func (l LoadBalancerPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoadBalancerPropertiesFormat.

type LoadBalancerSKU

type LoadBalancerSKU struct {
	// Name of a load balancer SKU.
	Name *LoadBalancerSKUName `json:"name,omitempty"`

	// Tier of a load balancer SKU.
	Tier *LoadBalancerSKUTier `json:"tier,omitempty"`
}

LoadBalancerSKU - SKU of a load balancer.

type LoadBalancerSKUName

type LoadBalancerSKUName string

LoadBalancerSKUName - Name of a load balancer SKU.

const (
	LoadBalancerSKUNameBasic    LoadBalancerSKUName = "Basic"
	LoadBalancerSKUNameGateway  LoadBalancerSKUName = "Gateway"
	LoadBalancerSKUNameStandard LoadBalancerSKUName = "Standard"
)

func PossibleLoadBalancerSKUNameValues

func PossibleLoadBalancerSKUNameValues() []LoadBalancerSKUName

PossibleLoadBalancerSKUNameValues returns the possible values for the LoadBalancerSKUName const type.

func (LoadBalancerSKUName) ToPtr

ToPtr returns a *LoadBalancerSKUName pointing to the current value.

type LoadBalancerSKUTier

type LoadBalancerSKUTier string

LoadBalancerSKUTier - Tier of a load balancer SKU.

const (
	LoadBalancerSKUTierGlobal   LoadBalancerSKUTier = "Global"
	LoadBalancerSKUTierRegional LoadBalancerSKUTier = "Regional"
)

func PossibleLoadBalancerSKUTierValues

func PossibleLoadBalancerSKUTierValues() []LoadBalancerSKUTier

PossibleLoadBalancerSKUTierValues returns the possible values for the LoadBalancerSKUTier const type.

func (LoadBalancerSKUTier) ToPtr

ToPtr returns a *LoadBalancerSKUTier pointing to the current value.

type LoadBalancerVipSwapRequest

type LoadBalancerVipSwapRequest struct {
	// A list of frontend IP configuration resources that should swap VIPs.
	FrontendIPConfigurations []*LoadBalancerVipSwapRequestFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
}

LoadBalancerVipSwapRequest - The request for a VIP swap.

func (LoadBalancerVipSwapRequest) MarshalJSON

func (l LoadBalancerVipSwapRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoadBalancerVipSwapRequest.

type LoadBalancerVipSwapRequestFrontendIPConfiguration

type LoadBalancerVipSwapRequestFrontendIPConfiguration struct {
	// The ID of frontend IP configuration resource.
	ID *string `json:"id,omitempty"`

	// The properties of VIP swap request's frontend IP configuration object.
	Properties *LoadBalancerVipSwapRequestFrontendIPConfigurationProperties `json:"properties,omitempty"`
}

LoadBalancerVipSwapRequestFrontendIPConfiguration - VIP swap request's frontend IP configuration object.

type LoadBalancerVipSwapRequestFrontendIPConfigurationProperties

type LoadBalancerVipSwapRequestFrontendIPConfigurationProperties struct {
	// A reference to public IP address resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
}

LoadBalancerVipSwapRequestFrontendIPConfigurationProperties - The properties of VIP swap request's frontend IP configuration object.

type LoadBalancersBeginCreateOrUpdateOptions

type LoadBalancersBeginCreateOrUpdateOptions struct {
}

LoadBalancersBeginCreateOrUpdateOptions contains the optional parameters for the LoadBalancers.BeginCreateOrUpdate method.

type LoadBalancersBeginDeleteOptions

type LoadBalancersBeginDeleteOptions struct {
}

LoadBalancersBeginDeleteOptions contains the optional parameters for the LoadBalancers.BeginDelete method.

type LoadBalancersBeginSwapPublicIPAddressesOptions

type LoadBalancersBeginSwapPublicIPAddressesOptions struct {
}

LoadBalancersBeginSwapPublicIPAddressesOptions contains the optional parameters for the LoadBalancers.BeginSwapPublicIPAddresses method.

type LoadBalancersClient

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

LoadBalancersClient contains the methods for the LoadBalancers group. Don't use this type directly, use NewLoadBalancersClient() instead.

func NewLoadBalancersClient

func NewLoadBalancersClient(con *arm.Connection, subscriptionID string) *LoadBalancersClient

NewLoadBalancersClient creates a new instance of LoadBalancersClient with the specified values.

func (*LoadBalancersClient) BeginCreateOrUpdate

func (client *LoadBalancersClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer, options *LoadBalancersBeginCreateOrUpdateOptions) (LoadBalancersCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a load balancer. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"fmt"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	// populate the following variables with your specific information
	resourceGroupName := "<resource group name>"
	location := "<Azure location>"
	loadBalancerName := "<load balancer name>"
	frontEndIPConfigName := "<frontend IP config name>"
	backEndAddressPoolName := "<backend address pool name>"
	probeName := "<probe name>"
	idPrefix := fmt.Sprintf("/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/loadBalancers", "<subscription ID>", resourceGroupName)
	// Replace the "ipAddress" variable with a call to armnetwork.PublicIPAddressesClient.Get to retreive the
	// public IP address instance that will be assigned to the load balancer.
	var ipAddress *armnetwork.PublicIPAddress

	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewLoadBalancersClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		resourceGroupName,
		loadBalancerName,
		armnetwork.LoadBalancer{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr(loadBalancerName),
				Location: to.StringPtr(location),
			},
			Properties: &armnetwork.LoadBalancerPropertiesFormat{
				FrontendIPConfigurations: []*armnetwork.FrontendIPConfiguration{
					{
						Name: to.StringPtr(frontEndIPConfigName),
						Properties: &armnetwork.FrontendIPConfigurationPropertiesFormat{
							PrivateIPAllocationMethod: armnetwork.IPAllocationMethodDynamic.ToPtr(),
							PublicIPAddress:           ipAddress,
						},
					},
				},
				BackendAddressPools: []*armnetwork.BackendAddressPool{
					{
						Name: &backEndAddressPoolName,
					},
				},
				Probes: []*armnetwork.Probe{
					{
						Name: &probeName,
						Properties: &armnetwork.ProbePropertiesFormat{
							Protocol:          armnetwork.ProbeProtocolHTTP.ToPtr(),
							Port:              to.Int32Ptr(80),
							IntervalInSeconds: to.Int32Ptr(15),
							NumberOfProbes:    to.Int32Ptr(4),
							RequestPath:       to.StringPtr("healthprobe.aspx"),
						},
					},
				},
				LoadBalancingRules: []*armnetwork.LoadBalancingRule{
					{
						Name: to.StringPtr("lbRule"),
						Properties: &armnetwork.LoadBalancingRulePropertiesFormat{
							Protocol:             armnetwork.TransportProtocolTCP.ToPtr(),
							FrontendPort:         to.Int32Ptr(80),
							BackendPort:          to.Int32Ptr(80),
							IdleTimeoutInMinutes: to.Int32Ptr(4),
							EnableFloatingIP:     to.BoolPtr(false),
							LoadDistribution:     armnetwork.LoadDistributionDefault.ToPtr(),
							FrontendIPConfiguration: &armnetwork.SubResource{
								ID: to.StringPtr(fmt.Sprintf("/%s/%s/frontendIPConfigurations/%s", idPrefix, loadBalancerName, frontEndIPConfigName)),
							},
							BackendAddressPool: &armnetwork.SubResource{
								ID: to.StringPtr(fmt.Sprintf("/%s/%s/backendAddressPools/%s", idPrefix, loadBalancerName, backEndAddressPoolName)),
							},
							Probe: &armnetwork.SubResource{
								ID: to.StringPtr(fmt.Sprintf("/%s/%s/probes/%s", idPrefix, loadBalancerName, probeName)),
							},
						},
					},
				},
				InboundNatRules: []*armnetwork.InboundNatRule{
					{
						Name: to.StringPtr("natRule1"),
						Properties: &armnetwork.InboundNatRulePropertiesFormat{
							Protocol:             armnetwork.TransportProtocolTCP.ToPtr(),
							FrontendPort:         to.Int32Ptr(21),
							BackendPort:          to.Int32Ptr(22),
							EnableFloatingIP:     to.BoolPtr(false),
							IdleTimeoutInMinutes: to.Int32Ptr(4),
							FrontendIPConfiguration: &armnetwork.SubResource{
								ID: to.StringPtr(fmt.Sprintf("/%s/%s/frontendIPConfigurations/%s", idPrefix, loadBalancerName, frontEndIPConfigName)),
							},
						},
					},
					{
						Name: to.StringPtr("natRule2"),
						Properties: &armnetwork.InboundNatRulePropertiesFormat{
							Protocol:             armnetwork.TransportProtocolTCP.ToPtr(),
							FrontendPort:         to.Int32Ptr(23),
							BackendPort:          to.Int32Ptr(22),
							EnableFloatingIP:     to.BoolPtr(false),
							IdleTimeoutInMinutes: to.Int32Ptr(4),
							FrontendIPConfiguration: &armnetwork.SubResource{
								ID: to.StringPtr(fmt.Sprintf("/%s/%s/frontendIPConfigurations/%s", idPrefix, loadBalancerName, frontEndIPConfigName)),
							},
						},
					},
				},
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("load balancer ID: %v", *resp.LoadBalancer.ID)
}
Output:

func (*LoadBalancersClient) BeginDelete

func (client *LoadBalancersClient) BeginDelete(ctx context.Context, resourceGroupName string, loadBalancerName string, options *LoadBalancersBeginDeleteOptions) (LoadBalancersDeletePollerResponse, error)

BeginDelete - Deletes the specified load balancer. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewLoadBalancersClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.BeginDelete(context.Background(), "<resource group name>", "<load balancer name>", nil)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	_, err = resp.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to delete resource: %v", err)
	}
}
Output:

func (*LoadBalancersClient) BeginSwapPublicIPAddresses

BeginSwapPublicIPAddresses - Swaps VIPs between two load balancers. If the operation fails it returns the *CloudError error type.

func (*LoadBalancersClient) Get

func (client *LoadBalancersClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, options *LoadBalancersGetOptions) (LoadBalancersGetResponse, error)

Get - Gets the specified load balancer. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewLoadBalancersClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.Get(context.Background(), "<resource group name>", "<load balancer name>", nil)
	if err != nil {
		log.Fatalf("failed to get resource: %v", err)
	}
	log.Printf("load balancer ID: %v", *resp.LoadBalancer.ID)
}
Output:

func (*LoadBalancersClient) List

func (client *LoadBalancersClient) List(resourceGroupName string, options *LoadBalancersListOptions) *LoadBalancersListPager

List - Gets all the load balancers in a resource group. If the operation fails it returns the *CloudError error type.

func (*LoadBalancersClient) ListAll

ListAll - Gets all the load balancers in a subscription. If the operation fails it returns the *CloudError error type.

func (*LoadBalancersClient) UpdateTags

func (client *LoadBalancersClient) UpdateTags(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters TagsObject, options *LoadBalancersUpdateTagsOptions) (LoadBalancersUpdateTagsResponse, error)

UpdateTags - Updates a load balancer tags. If the operation fails it returns the *CloudError error type.

type LoadBalancersCreateOrUpdatePoller

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

LoadBalancersCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*LoadBalancersCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*LoadBalancersCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LoadBalancersCreateOrUpdateResponse will be returned.

func (*LoadBalancersCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LoadBalancersCreateOrUpdatePoller) ResumeToken

func (p *LoadBalancersCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LoadBalancersCreateOrUpdatePollerResponse

type LoadBalancersCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LoadBalancersCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersCreateOrUpdatePollerResponse contains the response from method LoadBalancers.CreateOrUpdate.

func (LoadBalancersCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LoadBalancersCreateOrUpdatePollerResponse) Resume

Resume rehydrates a LoadBalancersCreateOrUpdatePollerResponse from the provided client and resume token.

type LoadBalancersCreateOrUpdateResponse

type LoadBalancersCreateOrUpdateResponse struct {
	LoadBalancersCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersCreateOrUpdateResponse contains the response from method LoadBalancers.CreateOrUpdate.

type LoadBalancersCreateOrUpdateResult

type LoadBalancersCreateOrUpdateResult struct {
	LoadBalancer
}

LoadBalancersCreateOrUpdateResult contains the result from method LoadBalancers.CreateOrUpdate.

type LoadBalancersDeletePoller

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

LoadBalancersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*LoadBalancersDeletePoller) Done

func (p *LoadBalancersDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*LoadBalancersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LoadBalancersDeleteResponse will be returned.

func (*LoadBalancersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LoadBalancersDeletePoller) ResumeToken

func (p *LoadBalancersDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LoadBalancersDeletePollerResponse

type LoadBalancersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LoadBalancersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersDeletePollerResponse contains the response from method LoadBalancers.Delete.

func (LoadBalancersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LoadBalancersDeletePollerResponse) Resume

Resume rehydrates a LoadBalancersDeletePollerResponse from the provided client and resume token.

type LoadBalancersDeleteResponse

type LoadBalancersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersDeleteResponse contains the response from method LoadBalancers.Delete.

type LoadBalancersGetOptions

type LoadBalancersGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

LoadBalancersGetOptions contains the optional parameters for the LoadBalancers.Get method.

type LoadBalancersGetResponse

type LoadBalancersGetResponse struct {
	LoadBalancersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersGetResponse contains the response from method LoadBalancers.Get.

type LoadBalancersGetResult

type LoadBalancersGetResult struct {
	LoadBalancer
}

LoadBalancersGetResult contains the result from method LoadBalancers.Get.

type LoadBalancersListAllOptions

type LoadBalancersListAllOptions struct {
}

LoadBalancersListAllOptions contains the optional parameters for the LoadBalancers.ListAll method.

type LoadBalancersListAllPager

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

LoadBalancersListAllPager provides operations for iterating over paged responses.

func (*LoadBalancersListAllPager) Err

Err returns the last error encountered while paging.

func (*LoadBalancersListAllPager) NextPage

func (p *LoadBalancersListAllPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancersListAllPager) PageResponse

PageResponse returns the current LoadBalancersListAllResponse page.

type LoadBalancersListAllResponse

type LoadBalancersListAllResponse struct {
	LoadBalancersListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersListAllResponse contains the response from method LoadBalancers.ListAll.

type LoadBalancersListAllResult

type LoadBalancersListAllResult struct {
	LoadBalancerListResult
}

LoadBalancersListAllResult contains the result from method LoadBalancers.ListAll.

type LoadBalancersListOptions

type LoadBalancersListOptions struct {
}

LoadBalancersListOptions contains the optional parameters for the LoadBalancers.List method.

type LoadBalancersListPager

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

LoadBalancersListPager provides operations for iterating over paged responses.

func (*LoadBalancersListPager) Err

func (p *LoadBalancersListPager) Err() error

Err returns the last error encountered while paging.

func (*LoadBalancersListPager) NextPage

func (p *LoadBalancersListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LoadBalancersListPager) PageResponse

PageResponse returns the current LoadBalancersListResponse page.

type LoadBalancersListResponse

type LoadBalancersListResponse struct {
	LoadBalancersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersListResponse contains the response from method LoadBalancers.List.

type LoadBalancersListResult

type LoadBalancersListResult struct {
	LoadBalancerListResult
}

LoadBalancersListResult contains the result from method LoadBalancers.List.

type LoadBalancersSwapPublicIPAddressesPoller

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

LoadBalancersSwapPublicIPAddressesPoller provides polling facilities until the operation reaches a terminal state.

func (*LoadBalancersSwapPublicIPAddressesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*LoadBalancersSwapPublicIPAddressesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LoadBalancersSwapPublicIPAddressesResponse will be returned.

func (*LoadBalancersSwapPublicIPAddressesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LoadBalancersSwapPublicIPAddressesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LoadBalancersSwapPublicIPAddressesPollerResponse

type LoadBalancersSwapPublicIPAddressesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LoadBalancersSwapPublicIPAddressesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersSwapPublicIPAddressesPollerResponse contains the response from method LoadBalancers.SwapPublicIPAddresses.

func (LoadBalancersSwapPublicIPAddressesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LoadBalancersSwapPublicIPAddressesPollerResponse) Resume

Resume rehydrates a LoadBalancersSwapPublicIPAddressesPollerResponse from the provided client and resume token.

type LoadBalancersSwapPublicIPAddressesResponse

type LoadBalancersSwapPublicIPAddressesResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersSwapPublicIPAddressesResponse contains the response from method LoadBalancers.SwapPublicIPAddresses.

type LoadBalancersUpdateTagsOptions

type LoadBalancersUpdateTagsOptions struct {
}

LoadBalancersUpdateTagsOptions contains the optional parameters for the LoadBalancers.UpdateTags method.

type LoadBalancersUpdateTagsResponse

type LoadBalancersUpdateTagsResponse struct {
	LoadBalancersUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LoadBalancersUpdateTagsResponse contains the response from method LoadBalancers.UpdateTags.

type LoadBalancersUpdateTagsResult

type LoadBalancersUpdateTagsResult struct {
	LoadBalancer
}

LoadBalancersUpdateTagsResult contains the result from method LoadBalancers.UpdateTags.

type LoadBalancingRule

type LoadBalancingRule struct {
	SubResource
	// The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of load balancer load balancing rule.
	Properties *LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

LoadBalancingRule - A load balancing rule for a load balancer.

func (LoadBalancingRule) MarshalJSON

func (l LoadBalancingRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoadBalancingRule.

type LoadBalancingRulePropertiesFormat

type LoadBalancingRulePropertiesFormat struct {
	// REQUIRED; The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and
	// 65534. Note that value 0 enables "Any Port".
	FrontendPort *int32 `json:"frontendPort,omitempty"`

	// REQUIRED; The reference to the transport protocol used by the load balancing rule.
	Protocol *TransportProtocol `json:"protocol,omitempty"`

	// A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// An array of references to pool of DIPs.
	BackendAddressPools []*SubResource `json:"backendAddressPools,omitempty"`

	// The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
	BackendPort *int32 `json:"backendPort,omitempty"`

	// Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
	DisableOutboundSnat *bool `json:"disableOutboundSnat,omitempty"`

	// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required
	// when using the SQL AlwaysOn Availability Groups
	// in SQL server. This setting can't be changed after you create the endpoint.
	EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`

	// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to
	// TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`

	// A reference to frontend IP addresses.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`

	// The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when
	// the protocol is set to TCP.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`

	// The load distribution policy for this rule.
	LoadDistribution *LoadDistribution `json:"loadDistribution,omitempty"`

	// The reference to the load balancer probe used by the load balancing rule.
	Probe *SubResource `json:"probe,omitempty"`

	// READ-ONLY; The provisioning state of the load balancing rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

LoadBalancingRulePropertiesFormat - Properties of the load balancer.

func (LoadBalancingRulePropertiesFormat) MarshalJSON

func (l LoadBalancingRulePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LoadBalancingRulePropertiesFormat.

type LoadDistribution

type LoadDistribution string

LoadDistribution - The load distribution policy for this rule.

const (
	LoadDistributionDefault          LoadDistribution = "Default"
	LoadDistributionSourceIP         LoadDistribution = "SourceIP"
	LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol"
)

func PossibleLoadDistributionValues

func PossibleLoadDistributionValues() []LoadDistribution

PossibleLoadDistributionValues returns the possible values for the LoadDistribution const type.

func (LoadDistribution) ToPtr

ToPtr returns a *LoadDistribution pointing to the current value.

type LocalNetworkGateway

type LocalNetworkGateway struct {
	Resource
	// REQUIRED; Properties of the local network gateway.
	Properties *LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

LocalNetworkGateway - A common class for general resource information.

func (LocalNetworkGateway) MarshalJSON

func (l LocalNetworkGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LocalNetworkGateway.

type LocalNetworkGatewayListResult

type LocalNetworkGatewayListResult struct {
	// A list of local network gateways that exists in a resource group.
	Value []*LocalNetworkGateway `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

LocalNetworkGatewayListResult - Response for ListLocalNetworkGateways API service call.

func (LocalNetworkGatewayListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type LocalNetworkGatewayListResult.

type LocalNetworkGatewayPropertiesFormat

type LocalNetworkGatewayPropertiesFormat struct {
	// Local network gateway's BGP speaker settings.
	BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`

	// FQDN of local network gateway.
	Fqdn *string `json:"fqdn,omitempty"`

	// IP address of local network gateway.
	GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"`

	// Local network site address space.
	LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"`

	// READ-ONLY; The provisioning state of the local network gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the local network gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

LocalNetworkGatewayPropertiesFormat - LocalNetworkGateway properties.

type LocalNetworkGatewaysBeginCreateOrUpdateOptions

type LocalNetworkGatewaysBeginCreateOrUpdateOptions struct {
}

LocalNetworkGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the LocalNetworkGateways.BeginCreateOrUpdate method.

type LocalNetworkGatewaysBeginDeleteOptions

type LocalNetworkGatewaysBeginDeleteOptions struct {
}

LocalNetworkGatewaysBeginDeleteOptions contains the optional parameters for the LocalNetworkGateways.BeginDelete method.

type LocalNetworkGatewaysClient

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

LocalNetworkGatewaysClient contains the methods for the LocalNetworkGateways group. Don't use this type directly, use NewLocalNetworkGatewaysClient() instead.

func NewLocalNetworkGatewaysClient

func NewLocalNetworkGatewaysClient(con *arm.Connection, subscriptionID string) *LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClient creates a new instance of LocalNetworkGatewaysClient with the specified values.

func (*LocalNetworkGatewaysClient) BeginCreateOrUpdate

func (client *LocalNetworkGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway, options *LocalNetworkGatewaysBeginCreateOrUpdateOptions) (LocalNetworkGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a local network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*LocalNetworkGatewaysClient) BeginDelete

func (client *LocalNetworkGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, options *LocalNetworkGatewaysBeginDeleteOptions) (LocalNetworkGatewaysDeletePollerResponse, error)

BeginDelete - Deletes the specified local network gateway. If the operation fails it returns the *CloudError error type.

func (*LocalNetworkGatewaysClient) Get

func (client *LocalNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, options *LocalNetworkGatewaysGetOptions) (LocalNetworkGatewaysGetResponse, error)

Get - Gets the specified local network gateway in a resource group. If the operation fails it returns the *CloudError error type.

func (*LocalNetworkGatewaysClient) List

List - Gets all the local network gateways in a resource group. If the operation fails it returns the *CloudError error type.

func (*LocalNetworkGatewaysClient) UpdateTags

func (client *LocalNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters TagsObject, options *LocalNetworkGatewaysUpdateTagsOptions) (LocalNetworkGatewaysUpdateTagsResponse, error)

UpdateTags - Updates a local network gateway tags. If the operation fails it returns the *CloudError error type.

type LocalNetworkGatewaysCreateOrUpdatePoller

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

LocalNetworkGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*LocalNetworkGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*LocalNetworkGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LocalNetworkGatewaysCreateOrUpdateResponse will be returned.

func (*LocalNetworkGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LocalNetworkGatewaysCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LocalNetworkGatewaysCreateOrUpdatePollerResponse

type LocalNetworkGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LocalNetworkGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysCreateOrUpdatePollerResponse contains the response from method LocalNetworkGateways.CreateOrUpdate.

func (LocalNetworkGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LocalNetworkGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a LocalNetworkGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type LocalNetworkGatewaysCreateOrUpdateResponse

type LocalNetworkGatewaysCreateOrUpdateResponse struct {
	LocalNetworkGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysCreateOrUpdateResponse contains the response from method LocalNetworkGateways.CreateOrUpdate.

type LocalNetworkGatewaysCreateOrUpdateResult

type LocalNetworkGatewaysCreateOrUpdateResult struct {
	LocalNetworkGateway
}

LocalNetworkGatewaysCreateOrUpdateResult contains the result from method LocalNetworkGateways.CreateOrUpdate.

type LocalNetworkGatewaysDeletePoller

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

LocalNetworkGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*LocalNetworkGatewaysDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*LocalNetworkGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final LocalNetworkGatewaysDeleteResponse will be returned.

func (*LocalNetworkGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*LocalNetworkGatewaysDeletePoller) ResumeToken

func (p *LocalNetworkGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type LocalNetworkGatewaysDeletePollerResponse

type LocalNetworkGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *LocalNetworkGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysDeletePollerResponse contains the response from method LocalNetworkGateways.Delete.

func (LocalNetworkGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*LocalNetworkGatewaysDeletePollerResponse) Resume

Resume rehydrates a LocalNetworkGatewaysDeletePollerResponse from the provided client and resume token.

type LocalNetworkGatewaysDeleteResponse

type LocalNetworkGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysDeleteResponse contains the response from method LocalNetworkGateways.Delete.

type LocalNetworkGatewaysGetOptions

type LocalNetworkGatewaysGetOptions struct {
}

LocalNetworkGatewaysGetOptions contains the optional parameters for the LocalNetworkGateways.Get method.

type LocalNetworkGatewaysGetResponse

type LocalNetworkGatewaysGetResponse struct {
	LocalNetworkGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysGetResponse contains the response from method LocalNetworkGateways.Get.

type LocalNetworkGatewaysGetResult

type LocalNetworkGatewaysGetResult struct {
	LocalNetworkGateway
}

LocalNetworkGatewaysGetResult contains the result from method LocalNetworkGateways.Get.

type LocalNetworkGatewaysListOptions

type LocalNetworkGatewaysListOptions struct {
}

LocalNetworkGatewaysListOptions contains the optional parameters for the LocalNetworkGateways.List method.

type LocalNetworkGatewaysListPager

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

LocalNetworkGatewaysListPager provides operations for iterating over paged responses.

func (*LocalNetworkGatewaysListPager) Err

Err returns the last error encountered while paging.

func (*LocalNetworkGatewaysListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*LocalNetworkGatewaysListPager) PageResponse

PageResponse returns the current LocalNetworkGatewaysListResponse page.

type LocalNetworkGatewaysListResponse

type LocalNetworkGatewaysListResponse struct {
	LocalNetworkGatewaysListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysListResponse contains the response from method LocalNetworkGateways.List.

type LocalNetworkGatewaysListResult

type LocalNetworkGatewaysListResult struct {
	LocalNetworkGatewayListResult
}

LocalNetworkGatewaysListResult contains the result from method LocalNetworkGateways.List.

type LocalNetworkGatewaysUpdateTagsOptions

type LocalNetworkGatewaysUpdateTagsOptions struct {
}

LocalNetworkGatewaysUpdateTagsOptions contains the optional parameters for the LocalNetworkGateways.UpdateTags method.

type LocalNetworkGatewaysUpdateTagsResponse

type LocalNetworkGatewaysUpdateTagsResponse struct {
	LocalNetworkGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocalNetworkGatewaysUpdateTagsResponse contains the response from method LocalNetworkGateways.UpdateTags.

type LocalNetworkGatewaysUpdateTagsResult

type LocalNetworkGatewaysUpdateTagsResult struct {
	LocalNetworkGateway
}

LocalNetworkGatewaysUpdateTagsResult contains the result from method LocalNetworkGateways.UpdateTags.

type LogSpecification

type LogSpecification struct {
	// Duration of the blob.
	BlobDuration *string `json:"blobDuration,omitempty"`

	// The display name of the specification.
	DisplayName *string `json:"displayName,omitempty"`

	// The name of the specification.
	Name *string `json:"name,omitempty"`
}

LogSpecification - Description of logging specification.

type ManagedRuleEnabledState

type ManagedRuleEnabledState string

ManagedRuleEnabledState - The state of the managed rule. Defaults to Disabled if not specified.

const (
	ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled"
)

func PossibleManagedRuleEnabledStateValues

func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState

PossibleManagedRuleEnabledStateValues returns the possible values for the ManagedRuleEnabledState const type.

func (ManagedRuleEnabledState) ToPtr

ToPtr returns a *ManagedRuleEnabledState pointing to the current value.

type ManagedRuleGroupOverride

type ManagedRuleGroupOverride struct {
	// REQUIRED; The managed rule group to override.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`

	// List of rules that will be disabled. If none specified, all rules in the group will be disabled.
	Rules []*ManagedRuleOverride `json:"rules,omitempty"`
}

ManagedRuleGroupOverride - Defines a managed rule group override setting.

func (ManagedRuleGroupOverride) MarshalJSON

func (m ManagedRuleGroupOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedRuleGroupOverride.

type ManagedRuleOverride

type ManagedRuleOverride struct {
	// REQUIRED; Identifier for the managed rule.
	RuleID *string `json:"ruleId,omitempty"`

	// The state of the managed rule. Defaults to Disabled if not specified.
	State *ManagedRuleEnabledState `json:"state,omitempty"`
}

ManagedRuleOverride - Defines a managed rule group override setting.

type ManagedRuleSet

type ManagedRuleSet struct {
	// REQUIRED; Defines the rule set type to use.
	RuleSetType *string `json:"ruleSetType,omitempty"`

	// REQUIRED; Defines the version of the rule set to use.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`

	// Defines the rule group overrides to apply to the rule set.
	RuleGroupOverrides []*ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"`
}

ManagedRuleSet - Defines a managed rule set.

func (ManagedRuleSet) MarshalJSON

func (m ManagedRuleSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedRuleSet.

type ManagedRulesDefinition

type ManagedRulesDefinition struct {
	// REQUIRED; The managed rule sets that are associated with the policy.
	ManagedRuleSets []*ManagedRuleSet `json:"managedRuleSets,omitempty"`

	// The Exclusions that are applied on the policy.
	Exclusions []*OwaspCrsExclusionEntry `json:"exclusions,omitempty"`
}

ManagedRulesDefinition - Allow to exclude some variable satisfy the condition for the WAF check.

func (ManagedRulesDefinition) MarshalJSON

func (m ManagedRulesDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedRulesDefinition.

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned
	// identities. The type 'None' will remove any
	// identities from the virtual machine.
	Type *ResourceIdentityType `json:"type,omitempty"`

	// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	UserAssignedIdentities map[string]*Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties `json:"userAssignedIdentities,omitempty"`

	// READ-ONLY; The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
	TenantID *string `json:"tenantId,omitempty" azure:"ro"`
}

ManagedServiceIdentity - Identity for the resource.

func (ManagedServiceIdentity) MarshalJSON

func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentity.

type MatchCondition

type MatchCondition struct {
	// REQUIRED; Match value.
	MatchValues []*string `json:"matchValues,omitempty"`

	// REQUIRED; List of match variables.
	MatchVariables []*MatchVariable `json:"matchVariables,omitempty"`

	// REQUIRED; The operator to be matched.
	Operator *WebApplicationFirewallOperator `json:"operator,omitempty"`

	// Whether this is negate condition or not.
	NegationConditon *bool `json:"negationConditon,omitempty"`

	// List of transforms.
	Transforms []*WebApplicationFirewallTransform `json:"transforms,omitempty"`
}

MatchCondition - Define match conditions.

func (MatchCondition) MarshalJSON

func (m MatchCondition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MatchCondition.

type MatchVariable

type MatchVariable struct {
	// REQUIRED; Match Variable.
	VariableName *WebApplicationFirewallMatchVariable `json:"variableName,omitempty"`

	// The selector of match variable.
	Selector *string `json:"selector,omitempty"`
}

MatchVariable - Define match variables.

type MatchedRule

type MatchedRule struct {
	// The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.
	Action *string `json:"action,omitempty"`

	// Name of the matched network security rule.
	RuleName *string `json:"ruleName,omitempty"`
}

MatchedRule - Matched rule.

type MetricSpecification

type MetricSpecification struct {
	// The aggregation type.
	AggregationType *string `json:"aggregationType,omitempty"`

	// List of availability.
	Availabilities []*Availability `json:"availabilities,omitempty"`

	// List of dimensions.
	Dimensions []*Dimension `json:"dimensions,omitempty"`

	// The description of the metric.
	DisplayDescription *string `json:"displayDescription,omitempty"`

	// The display name of the metric.
	DisplayName *string `json:"displayName,omitempty"`

	// Whether regional MDM account enabled.
	EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"`

	// Whether gaps would be filled with zeros.
	FillGapWithZero *bool `json:"fillGapWithZero,omitempty"`

	// Whether the metric is internal.
	IsInternal *bool `json:"isInternal,omitempty"`

	// Pattern for the filter of the metric.
	MetricFilterPattern *string `json:"metricFilterPattern,omitempty"`

	// The name of the metric.
	Name *string `json:"name,omitempty"`

	// The resource Id dimension name override.
	ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"`

	// The source MDM account.
	SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`

	// The source MDM namespace.
	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`

	// Units the metric to be displayed in.
	Unit *string `json:"unit,omitempty"`
}

MetricSpecification - Description of metrics specification.

func (MetricSpecification) MarshalJSON

func (m MetricSpecification) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricSpecification.

type NatGateway

type NatGateway struct {
	Resource
	// Nat Gateway properties.
	Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"`

	// The nat gateway SKU.
	SKU *NatGatewaySKU `json:"sku,omitempty"`

	// A list of availability zones denoting the zone in which Nat Gateway should be deployed.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NatGateway - Nat Gateway resource.

func (NatGateway) MarshalJSON

func (n NatGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NatGateway.

type NatGatewayListResult

type NatGatewayListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of Nat Gateways that exists in a resource group.
	Value []*NatGateway `json:"value,omitempty"`
}

NatGatewayListResult - Response for ListNatGateways API service call.

func (NatGatewayListResult) MarshalJSON

func (n NatGatewayListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NatGatewayListResult.

type NatGatewayPropertiesFormat

type NatGatewayPropertiesFormat struct {
	// The idle timeout of the nat gateway.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`

	// An array of public ip addresses associated with the nat gateway resource.
	PublicIPAddresses []*SubResource `json:"publicIpAddresses,omitempty"`

	// An array of public ip prefixes associated with the nat gateway resource.
	PublicIPPrefixes []*SubResource `json:"publicIpPrefixes,omitempty"`

	// READ-ONLY; The provisioning state of the NAT gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the NAT gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to the subnets using this nat gateway resource.
	Subnets []*SubResource `json:"subnets,omitempty" azure:"ro"`
}

NatGatewayPropertiesFormat - Nat Gateway properties.

func (NatGatewayPropertiesFormat) MarshalJSON

func (n NatGatewayPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NatGatewayPropertiesFormat.

type NatGatewaySKU

type NatGatewaySKU struct {
	// Name of Nat Gateway SKU.
	Name *NatGatewaySKUName `json:"name,omitempty"`
}

NatGatewaySKU - SKU of nat gateway.

type NatGatewaySKUName

type NatGatewaySKUName string

NatGatewaySKUName - Name of Nat Gateway SKU.

const (
	NatGatewaySKUNameStandard NatGatewaySKUName = "Standard"
)

func PossibleNatGatewaySKUNameValues

func PossibleNatGatewaySKUNameValues() []NatGatewaySKUName

PossibleNatGatewaySKUNameValues returns the possible values for the NatGatewaySKUName const type.

func (NatGatewaySKUName) ToPtr

ToPtr returns a *NatGatewaySKUName pointing to the current value.

type NatGatewaysBeginCreateOrUpdateOptions

type NatGatewaysBeginCreateOrUpdateOptions struct {
}

NatGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the NatGateways.BeginCreateOrUpdate method.

type NatGatewaysBeginDeleteOptions

type NatGatewaysBeginDeleteOptions struct {
}

NatGatewaysBeginDeleteOptions contains the optional parameters for the NatGateways.BeginDelete method.

type NatGatewaysClient

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

NatGatewaysClient contains the methods for the NatGateways group. Don't use this type directly, use NewNatGatewaysClient() instead.

func NewNatGatewaysClient

func NewNatGatewaysClient(con *arm.Connection, subscriptionID string) *NatGatewaysClient

NewNatGatewaysClient creates a new instance of NatGatewaysClient with the specified values.

func (*NatGatewaysClient) BeginCreateOrUpdate

func (client *NatGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, natGatewayName string, parameters NatGateway, options *NatGatewaysBeginCreateOrUpdateOptions) (NatGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a nat gateway. If the operation fails it returns the *CloudError error type.

func (*NatGatewaysClient) BeginDelete

func (client *NatGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, natGatewayName string, options *NatGatewaysBeginDeleteOptions) (NatGatewaysDeletePollerResponse, error)

BeginDelete - Deletes the specified nat gateway. If the operation fails it returns the *CloudError error type.

func (*NatGatewaysClient) Get

func (client *NatGatewaysClient) Get(ctx context.Context, resourceGroupName string, natGatewayName string, options *NatGatewaysGetOptions) (NatGatewaysGetResponse, error)

Get - Gets the specified nat gateway in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*NatGatewaysClient) List

func (client *NatGatewaysClient) List(resourceGroupName string, options *NatGatewaysListOptions) *NatGatewaysListPager

List - Gets all nat gateways in a resource group. If the operation fails it returns the *CloudError error type.

func (*NatGatewaysClient) ListAll

ListAll - Gets all the Nat Gateways in a subscription. If the operation fails it returns the *CloudError error type.

func (*NatGatewaysClient) UpdateTags

func (client *NatGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, natGatewayName string, parameters TagsObject, options *NatGatewaysUpdateTagsOptions) (NatGatewaysUpdateTagsResponse, error)

UpdateTags - Updates nat gateway tags. If the operation fails it returns the *CloudError error type.

type NatGatewaysCreateOrUpdatePoller

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

NatGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NatGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NatGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NatGatewaysCreateOrUpdateResponse will be returned.

func (*NatGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NatGatewaysCreateOrUpdatePoller) ResumeToken

func (p *NatGatewaysCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NatGatewaysCreateOrUpdatePollerResponse

type NatGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NatGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysCreateOrUpdatePollerResponse contains the response from method NatGateways.CreateOrUpdate.

func (NatGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NatGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NatGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type NatGatewaysCreateOrUpdateResponse

type NatGatewaysCreateOrUpdateResponse struct {
	NatGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysCreateOrUpdateResponse contains the response from method NatGateways.CreateOrUpdate.

type NatGatewaysCreateOrUpdateResult

type NatGatewaysCreateOrUpdateResult struct {
	NatGateway
}

NatGatewaysCreateOrUpdateResult contains the result from method NatGateways.CreateOrUpdate.

type NatGatewaysDeletePoller

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

NatGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NatGatewaysDeletePoller) Done

func (p *NatGatewaysDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*NatGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NatGatewaysDeleteResponse will be returned.

func (*NatGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NatGatewaysDeletePoller) ResumeToken

func (p *NatGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NatGatewaysDeletePollerResponse

type NatGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NatGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysDeletePollerResponse contains the response from method NatGateways.Delete.

func (NatGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NatGatewaysDeletePollerResponse) Resume

Resume rehydrates a NatGatewaysDeletePollerResponse from the provided client and resume token.

type NatGatewaysDeleteResponse

type NatGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysDeleteResponse contains the response from method NatGateways.Delete.

type NatGatewaysGetOptions

type NatGatewaysGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

NatGatewaysGetOptions contains the optional parameters for the NatGateways.Get method.

type NatGatewaysGetResponse

type NatGatewaysGetResponse struct {
	NatGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysGetResponse contains the response from method NatGateways.Get.

type NatGatewaysGetResult

type NatGatewaysGetResult struct {
	NatGateway
}

NatGatewaysGetResult contains the result from method NatGateways.Get.

type NatGatewaysListAllOptions

type NatGatewaysListAllOptions struct {
}

NatGatewaysListAllOptions contains the optional parameters for the NatGateways.ListAll method.

type NatGatewaysListAllPager

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

NatGatewaysListAllPager provides operations for iterating over paged responses.

func (*NatGatewaysListAllPager) Err

func (p *NatGatewaysListAllPager) Err() error

Err returns the last error encountered while paging.

func (*NatGatewaysListAllPager) NextPage

func (p *NatGatewaysListAllPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NatGatewaysListAllPager) PageResponse

PageResponse returns the current NatGatewaysListAllResponse page.

type NatGatewaysListAllResponse

type NatGatewaysListAllResponse struct {
	NatGatewaysListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysListAllResponse contains the response from method NatGateways.ListAll.

type NatGatewaysListAllResult

type NatGatewaysListAllResult struct {
	NatGatewayListResult
}

NatGatewaysListAllResult contains the result from method NatGateways.ListAll.

type NatGatewaysListOptions

type NatGatewaysListOptions struct {
}

NatGatewaysListOptions contains the optional parameters for the NatGateways.List method.

type NatGatewaysListPager

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

NatGatewaysListPager provides operations for iterating over paged responses.

func (*NatGatewaysListPager) Err

func (p *NatGatewaysListPager) Err() error

Err returns the last error encountered while paging.

func (*NatGatewaysListPager) NextPage

func (p *NatGatewaysListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NatGatewaysListPager) PageResponse

PageResponse returns the current NatGatewaysListResponse page.

type NatGatewaysListResponse

type NatGatewaysListResponse struct {
	NatGatewaysListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysListResponse contains the response from method NatGateways.List.

type NatGatewaysListResult

type NatGatewaysListResult struct {
	NatGatewayListResult
}

NatGatewaysListResult contains the result from method NatGateways.List.

type NatGatewaysUpdateTagsOptions

type NatGatewaysUpdateTagsOptions struct {
}

NatGatewaysUpdateTagsOptions contains the optional parameters for the NatGateways.UpdateTags method.

type NatGatewaysUpdateTagsResponse

type NatGatewaysUpdateTagsResponse struct {
	NatGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatGatewaysUpdateTagsResponse contains the response from method NatGateways.UpdateTags.

type NatGatewaysUpdateTagsResult

type NatGatewaysUpdateTagsResult struct {
	NatGateway
}

NatGatewaysUpdateTagsResult contains the result from method NatGateways.UpdateTags.

type NatRule

type NatRule struct {
	FirewallPolicyRule
	// List of destination IP addresses or Service Tags.
	DestinationAddresses []*string `json:"destinationAddresses,omitempty"`

	// List of destination ports.
	DestinationPorts []*string `json:"destinationPorts,omitempty"`

	// Array of FirewallPolicyRuleNetworkProtocols.
	IPProtocols []*FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"`

	// List of source IP addresses for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`

	// The translated address for this NAT rule.
	TranslatedAddress *string `json:"translatedAddress,omitempty"`

	// The translated FQDN for this NAT rule.
	TranslatedFqdn *string `json:"translatedFqdn,omitempty"`

	// The translated port for this NAT rule.
	TranslatedPort *string `json:"translatedPort,omitempty"`
}

NatRule - Rule of type nat.

func (NatRule) MarshalJSON

func (n NatRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NatRule.

func (*NatRule) UnmarshalJSON

func (n *NatRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NatRule.

type NatRulesBeginCreateOrUpdateOptions

type NatRulesBeginCreateOrUpdateOptions struct {
}

NatRulesBeginCreateOrUpdateOptions contains the optional parameters for the NatRules.BeginCreateOrUpdate method.

type NatRulesBeginDeleteOptions

type NatRulesBeginDeleteOptions struct {
}

NatRulesBeginDeleteOptions contains the optional parameters for the NatRules.BeginDelete method.

type NatRulesClient

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

NatRulesClient contains the methods for the NatRules group. Don't use this type directly, use NewNatRulesClient() instead.

func NewNatRulesClient

func NewNatRulesClient(con *arm.Connection, subscriptionID string) *NatRulesClient

NewNatRulesClient creates a new instance of NatRulesClient with the specified values.

func (*NatRulesClient) BeginCreateOrUpdate

func (client *NatRulesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string, natRuleParameters VPNGatewayNatRule, options *NatRulesBeginCreateOrUpdateOptions) (NatRulesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. If the operation fails it returns the *CloudError error type.

func (*NatRulesClient) BeginDelete

func (client *NatRulesClient) BeginDelete(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string, options *NatRulesBeginDeleteOptions) (NatRulesDeletePollerResponse, error)

BeginDelete - Deletes a nat rule. If the operation fails it returns the *CloudError error type.

func (*NatRulesClient) Get

func (client *NatRulesClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, natRuleName string, options *NatRulesGetOptions) (NatRulesGetResponse, error)

Get - Retrieves the details of a nat ruleGet. If the operation fails it returns the *CloudError error type.

func (*NatRulesClient) ListByVPNGateway

func (client *NatRulesClient) ListByVPNGateway(resourceGroupName string, gatewayName string, options *NatRulesListByVPNGatewayOptions) *NatRulesListByVPNGatewayPager

ListByVPNGateway - Retrieves all nat rules for a particular virtual wan vpn gateway. If the operation fails it returns the *CloudError error type.

type NatRulesCreateOrUpdatePoller

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

NatRulesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NatRulesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NatRulesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NatRulesCreateOrUpdateResponse will be returned.

func (*NatRulesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NatRulesCreateOrUpdatePoller) ResumeToken

func (p *NatRulesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NatRulesCreateOrUpdatePollerResponse

type NatRulesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NatRulesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatRulesCreateOrUpdatePollerResponse contains the response from method NatRules.CreateOrUpdate.

func (NatRulesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NatRulesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NatRulesCreateOrUpdatePollerResponse from the provided client and resume token.

type NatRulesCreateOrUpdateResponse

type NatRulesCreateOrUpdateResponse struct {
	NatRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatRulesCreateOrUpdateResponse contains the response from method NatRules.CreateOrUpdate.

type NatRulesCreateOrUpdateResult

type NatRulesCreateOrUpdateResult struct {
	VPNGatewayNatRule
}

NatRulesCreateOrUpdateResult contains the result from method NatRules.CreateOrUpdate.

type NatRulesDeletePoller

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

NatRulesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NatRulesDeletePoller) Done

func (p *NatRulesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*NatRulesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NatRulesDeleteResponse will be returned.

func (*NatRulesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NatRulesDeletePoller) ResumeToken

func (p *NatRulesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NatRulesDeletePollerResponse

type NatRulesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NatRulesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatRulesDeletePollerResponse contains the response from method NatRules.Delete.

func (NatRulesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NatRulesDeletePollerResponse) Resume

func (l *NatRulesDeletePollerResponse) Resume(ctx context.Context, client *NatRulesClient, token string) error

Resume rehydrates a NatRulesDeletePollerResponse from the provided client and resume token.

type NatRulesDeleteResponse

type NatRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatRulesDeleteResponse contains the response from method NatRules.Delete.

type NatRulesGetOptions

type NatRulesGetOptions struct {
}

NatRulesGetOptions contains the optional parameters for the NatRules.Get method.

type NatRulesGetResponse

type NatRulesGetResponse struct {
	NatRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatRulesGetResponse contains the response from method NatRules.Get.

type NatRulesGetResult

type NatRulesGetResult struct {
	VPNGatewayNatRule
}

NatRulesGetResult contains the result from method NatRules.Get.

type NatRulesListByVPNGatewayOptions

type NatRulesListByVPNGatewayOptions struct {
}

NatRulesListByVPNGatewayOptions contains the optional parameters for the NatRules.ListByVPNGateway method.

type NatRulesListByVPNGatewayPager

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

NatRulesListByVPNGatewayPager provides operations for iterating over paged responses.

func (*NatRulesListByVPNGatewayPager) Err

Err returns the last error encountered while paging.

func (*NatRulesListByVPNGatewayPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NatRulesListByVPNGatewayPager) PageResponse

PageResponse returns the current NatRulesListByVPNGatewayResponse page.

type NatRulesListByVPNGatewayResponse

type NatRulesListByVPNGatewayResponse struct {
	NatRulesListByVPNGatewayResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NatRulesListByVPNGatewayResponse contains the response from method NatRules.ListByVPNGateway.

type NatRulesListByVPNGatewayResult

type NatRulesListByVPNGatewayResult struct {
	ListVPNGatewayNatRulesResult
}

NatRulesListByVPNGatewayResult contains the result from method NatRules.ListByVPNGateway.

type NetworkConfigurationDiagnosticParameters

type NetworkConfigurationDiagnosticParameters struct {
	// REQUIRED; List of network configuration diagnostic profiles.
	Profiles []*NetworkConfigurationDiagnosticProfile `json:"profiles,omitempty"`

	// REQUIRED; 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"`

	// Verbosity level.
	VerbosityLevel *VerbosityLevel `json:"verbosityLevel,omitempty"`
}

NetworkConfigurationDiagnosticParameters - Parameters to get network configuration diagnostic.

func (NetworkConfigurationDiagnosticParameters) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type NetworkConfigurationDiagnosticParameters.

type NetworkConfigurationDiagnosticProfile

type NetworkConfigurationDiagnosticProfile struct {
	// REQUIRED; Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.
	Destination *string `json:"destination,omitempty"`

	// REQUIRED; Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).
	DestinationPort *string `json:"destinationPort,omitempty"`

	// REQUIRED; The direction of the traffic.
	Direction *Direction `json:"direction,omitempty"`

	// REQUIRED; Protocol to be verified on. Accepted values are '*', TCP, UDP.
	Protocol *string `json:"protocol,omitempty"`

	// REQUIRED; Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.
	Source *string `json:"source,omitempty"`
}

NetworkConfigurationDiagnosticProfile - Parameters to compare with network configuration.

type NetworkConfigurationDiagnosticResponse

type NetworkConfigurationDiagnosticResponse struct {
	// READ-ONLY; List of network configuration diagnostic results.
	Results []*NetworkConfigurationDiagnosticResult `json:"results,omitempty" azure:"ro"`
}

NetworkConfigurationDiagnosticResponse - Results of network configuration diagnostic on the target resource.

func (NetworkConfigurationDiagnosticResponse) MarshalJSON

func (n NetworkConfigurationDiagnosticResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkConfigurationDiagnosticResponse.

type NetworkConfigurationDiagnosticResult

type NetworkConfigurationDiagnosticResult struct {
	// Network security group result.
	NetworkSecurityGroupResult *NetworkSecurityGroupResult `json:"networkSecurityGroupResult,omitempty"`

	// Network configuration diagnostic profile.
	Profile *NetworkConfigurationDiagnosticProfile `json:"profile,omitempty"`
}

NetworkConfigurationDiagnosticResult - Network configuration diagnostic result corresponded to provided traffic query.

type NetworkIntentPolicy

type NetworkIntentPolicy struct {
	Resource
	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkIntentPolicy - Network Intent Policy resource.

func (NetworkIntentPolicy) MarshalJSON

func (n NetworkIntentPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkIntentPolicy.

type NetworkIntentPolicyConfiguration

type NetworkIntentPolicyConfiguration struct {
	// The name of the Network Intent Policy for storing in target subscription.
	NetworkIntentPolicyName *string `json:"networkIntentPolicyName,omitempty"`

	// Source network intent policy.
	SourceNetworkIntentPolicy *NetworkIntentPolicy `json:"sourceNetworkIntentPolicy,omitempty"`
}

NetworkIntentPolicyConfiguration - Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.

type NetworkInterface

type NetworkInterface struct {
	Resource
	// The extended location of the network interface.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Properties of the network interface.
	Properties *NetworkInterfacePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkInterface - A network interface in a resource group.

func (NetworkInterface) MarshalJSON

func (n NetworkInterface) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterface.

type NetworkInterfaceAssociation

type NetworkInterfaceAssociation struct {
	// Collection of custom security rules.
	SecurityRules []*SecurityRule `json:"securityRules,omitempty"`

	// READ-ONLY; Network interface ID.
	ID *string `json:"id,omitempty" azure:"ro"`
}

NetworkInterfaceAssociation - Network interface and its custom security rules.

func (NetworkInterfaceAssociation) MarshalJSON

func (n NetworkInterfaceAssociation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceAssociation.

type NetworkInterfaceDNSSettings

type NetworkInterfaceDNSSettings struct {
	// List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with
	// other IPs, it must be the only value in dnsServers
	// collection.
	DNSServers []*string `json:"dnsServers,omitempty"`

	// Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
	InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty"`

	// READ-ONLY; If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are
	// part of the Availability Set. This property is what is
	// configured on each of those VMs.
	AppliedDNSServers []*string `json:"appliedDnsServers,omitempty" azure:"ro"`

	// READ-ONLY; Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating
	// the VM name with the value of
	// internalDomainNameSuffix.
	InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty" azure:"ro"`

	// READ-ONLY; Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
	InternalFqdn *string `json:"internalFqdn,omitempty" azure:"ro"`
}

NetworkInterfaceDNSSettings - DNS settings of a network interface.

func (NetworkInterfaceDNSSettings) MarshalJSON

func (n NetworkInterfaceDNSSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceDNSSettings.

type NetworkInterfaceIPConfiguration

type NetworkInterfaceIPConfiguration struct {
	SubResource
	// 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"`

	// Network interface IP configuration properties.
	Properties *NetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// Resource type.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkInterfaceIPConfiguration - IPConfiguration in a network interface.

func (NetworkInterfaceIPConfiguration) MarshalJSON

func (n NetworkInterfaceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceIPConfiguration.

type NetworkInterfaceIPConfigurationListResult

type NetworkInterfaceIPConfigurationListResult struct {
	// A list of ip configurations.
	Value []*NetworkInterfaceIPConfiguration `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

NetworkInterfaceIPConfigurationListResult - Response for list ip configurations API service call.

func (NetworkInterfaceIPConfigurationListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceIPConfigurationListResult.

type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties

type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties struct {
	// READ-ONLY; List of FQDNs for current private link connection.
	Fqdns []*string `json:"fqdns,omitempty" azure:"ro"`

	// READ-ONLY; The group ID for current private link connection.
	GroupID *string `json:"groupId,omitempty" azure:"ro"`

	// READ-ONLY; The required member name for current private link connection.
	RequiredMemberName *string `json:"requiredMemberName,omitempty" azure:"ro"`
}

NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties - PrivateLinkConnection properties for the network interface.

func (NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.

type NetworkInterfaceIPConfigurationPropertiesFormat

type NetworkInterfaceIPConfigurationPropertiesFormat struct {
	// The reference to ApplicationGatewayBackendAddressPool resource.
	ApplicationGatewayBackendAddressPools []*ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"`

	// Application security groups in which the IP configuration is included.
	ApplicationSecurityGroups []*ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"`

	// The reference to gateway load balancer frontend IP.
	GatewayLoadBalancer *SubResource `json:"gatewayLoadBalancer,omitempty"`

	// The reference to LoadBalancerBackendAddressPool resource.
	LoadBalancerBackendAddressPools []*BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"`

	// A list of references of LoadBalancerInboundNatRules.
	LoadBalancerInboundNatRules []*InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"`

	// Whether this is a primary customer address on the network interface.
	Primary *bool `json:"primary,omitempty"`

	// Private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
	PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"`

	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// Public IP address bound to the IP configuration.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`

	// Subnet bound to the IP configuration.
	Subnet *Subnet `json:"subnet,omitempty"`

	// The reference to Virtual Network Taps.
	VirtualNetworkTaps []*VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"`

	// READ-ONLY; PrivateLinkConnection properties for the network interface.
	PrivateLinkConnectionProperties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the network interface IP configuration.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

NetworkInterfaceIPConfigurationPropertiesFormat - Properties of IP configuration.

func (NetworkInterfaceIPConfigurationPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceIPConfigurationPropertiesFormat.

type NetworkInterfaceIPConfigurationsClient

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

NetworkInterfaceIPConfigurationsClient contains the methods for the NetworkInterfaceIPConfigurations group. Don't use this type directly, use NewNetworkInterfaceIPConfigurationsClient() instead.

func NewNetworkInterfaceIPConfigurationsClient

func NewNetworkInterfaceIPConfigurationsClient(con *arm.Connection, subscriptionID string) *NetworkInterfaceIPConfigurationsClient

NewNetworkInterfaceIPConfigurationsClient creates a new instance of NetworkInterfaceIPConfigurationsClient with the specified values.

func (*NetworkInterfaceIPConfigurationsClient) Get

func (client *NetworkInterfaceIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, ipConfigurationName string, options *NetworkInterfaceIPConfigurationsGetOptions) (NetworkInterfaceIPConfigurationsGetResponse, error)

Get - Gets the specified network interface ip configuration. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfaceIPConfigurationsClient) List

List - Get all ip configurations in a network interface. If the operation fails it returns the *CloudError error type.

type NetworkInterfaceIPConfigurationsGetOptions

type NetworkInterfaceIPConfigurationsGetOptions struct {
}

NetworkInterfaceIPConfigurationsGetOptions contains the optional parameters for the NetworkInterfaceIPConfigurations.Get method.

type NetworkInterfaceIPConfigurationsGetResponse

type NetworkInterfaceIPConfigurationsGetResponse struct {
	NetworkInterfaceIPConfigurationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceIPConfigurationsGetResponse contains the response from method NetworkInterfaceIPConfigurations.Get.

type NetworkInterfaceIPConfigurationsGetResult

type NetworkInterfaceIPConfigurationsGetResult struct {
	NetworkInterfaceIPConfiguration
}

NetworkInterfaceIPConfigurationsGetResult contains the result from method NetworkInterfaceIPConfigurations.Get.

type NetworkInterfaceIPConfigurationsListOptions

type NetworkInterfaceIPConfigurationsListOptions struct {
}

NetworkInterfaceIPConfigurationsListOptions contains the optional parameters for the NetworkInterfaceIPConfigurations.List method.

type NetworkInterfaceIPConfigurationsListPager

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

NetworkInterfaceIPConfigurationsListPager provides operations for iterating over paged responses.

func (*NetworkInterfaceIPConfigurationsListPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfaceIPConfigurationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfaceIPConfigurationsListPager) PageResponse

PageResponse returns the current NetworkInterfaceIPConfigurationsListResponse page.

type NetworkInterfaceIPConfigurationsListResponse

type NetworkInterfaceIPConfigurationsListResponse struct {
	NetworkInterfaceIPConfigurationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceIPConfigurationsListResponse contains the response from method NetworkInterfaceIPConfigurations.List.

type NetworkInterfaceIPConfigurationsListResult

type NetworkInterfaceIPConfigurationsListResult struct {
	NetworkInterfaceIPConfigurationListResult
}

NetworkInterfaceIPConfigurationsListResult contains the result from method NetworkInterfaceIPConfigurations.List.

type NetworkInterfaceListResult

type NetworkInterfaceListResult struct {
	// A list of network interfaces in a resource group.
	Value []*NetworkInterface `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

NetworkInterfaceListResult - Response for the ListNetworkInterface API service call.

func (NetworkInterfaceListResult) MarshalJSON

func (n NetworkInterfaceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceListResult.

type NetworkInterfaceLoadBalancerListResult

type NetworkInterfaceLoadBalancerListResult struct {
	// A list of load balancers.
	Value []*LoadBalancer `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

NetworkInterfaceLoadBalancerListResult - Response for list ip configurations API service call.

func (NetworkInterfaceLoadBalancerListResult) MarshalJSON

func (n NetworkInterfaceLoadBalancerListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceLoadBalancerListResult.

type NetworkInterfaceLoadBalancersClient

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

NetworkInterfaceLoadBalancersClient contains the methods for the NetworkInterfaceLoadBalancers group. Don't use this type directly, use NewNetworkInterfaceLoadBalancersClient() instead.

func NewNetworkInterfaceLoadBalancersClient

func NewNetworkInterfaceLoadBalancersClient(con *arm.Connection, subscriptionID string) *NetworkInterfaceLoadBalancersClient

NewNetworkInterfaceLoadBalancersClient creates a new instance of NetworkInterfaceLoadBalancersClient with the specified values.

func (*NetworkInterfaceLoadBalancersClient) List

List - List all load balancers in a network interface. If the operation fails it returns the *CloudError error type.

type NetworkInterfaceLoadBalancersListOptions

type NetworkInterfaceLoadBalancersListOptions struct {
}

NetworkInterfaceLoadBalancersListOptions contains the optional parameters for the NetworkInterfaceLoadBalancers.List method.

type NetworkInterfaceLoadBalancersListPager

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

NetworkInterfaceLoadBalancersListPager provides operations for iterating over paged responses.

func (*NetworkInterfaceLoadBalancersListPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfaceLoadBalancersListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfaceLoadBalancersListPager) PageResponse

PageResponse returns the current NetworkInterfaceLoadBalancersListResponse page.

type NetworkInterfaceLoadBalancersListResponse

type NetworkInterfaceLoadBalancersListResponse struct {
	NetworkInterfaceLoadBalancersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceLoadBalancersListResponse contains the response from method NetworkInterfaceLoadBalancers.List.

type NetworkInterfaceLoadBalancersListResult

type NetworkInterfaceLoadBalancersListResult struct {
	NetworkInterfaceLoadBalancerListResult
}

NetworkInterfaceLoadBalancersListResult contains the result from method NetworkInterfaceLoadBalancers.List.

type NetworkInterfaceMigrationPhase

type NetworkInterfaceMigrationPhase string

NetworkInterfaceMigrationPhase - Migration phase of Network Interface resource.

const (
	NetworkInterfaceMigrationPhaseAbort     NetworkInterfaceMigrationPhase = "Abort"
	NetworkInterfaceMigrationPhaseCommit    NetworkInterfaceMigrationPhase = "Commit"
	NetworkInterfaceMigrationPhaseCommitted NetworkInterfaceMigrationPhase = "Committed"
	NetworkInterfaceMigrationPhaseNone      NetworkInterfaceMigrationPhase = "None"
	NetworkInterfaceMigrationPhasePrepare   NetworkInterfaceMigrationPhase = "Prepare"
)

func PossibleNetworkInterfaceMigrationPhaseValues

func PossibleNetworkInterfaceMigrationPhaseValues() []NetworkInterfaceMigrationPhase

PossibleNetworkInterfaceMigrationPhaseValues returns the possible values for the NetworkInterfaceMigrationPhase const type.

func (NetworkInterfaceMigrationPhase) ToPtr

ToPtr returns a *NetworkInterfaceMigrationPhase pointing to the current value.

type NetworkInterfaceNicType

type NetworkInterfaceNicType string

NetworkInterfaceNicType - Type of Network Interface resource.

const (
	NetworkInterfaceNicTypeElastic  NetworkInterfaceNicType = "Elastic"
	NetworkInterfaceNicTypeStandard NetworkInterfaceNicType = "Standard"
)

func PossibleNetworkInterfaceNicTypeValues

func PossibleNetworkInterfaceNicTypeValues() []NetworkInterfaceNicType

PossibleNetworkInterfaceNicTypeValues returns the possible values for the NetworkInterfaceNicType const type.

func (NetworkInterfaceNicType) ToPtr

ToPtr returns a *NetworkInterfaceNicType pointing to the current value.

type NetworkInterfacePropertiesFormat

type NetworkInterfacePropertiesFormat struct {
	// The DNS settings in network interface.
	DNSSettings *NetworkInterfaceDNSSettings `json:"dnsSettings,omitempty"`

	// If the network interface is accelerated networking enabled.
	EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`

	// Indicates whether IP forwarding is enabled on this network interface.
	EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`

	// A list of IPConfigurations of the network interface.
	IPConfigurations []*NetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"`

	// Migration phase of Network Interface resource.
	MigrationPhase *NetworkInterfaceMigrationPhase `json:"migrationPhase,omitempty"`

	// The reference to the NetworkSecurityGroup resource.
	NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"`

	// Type of Network Interface resource.
	NicType *NetworkInterfaceNicType `json:"nicType,omitempty"`

	// Privatelinkservice of the network interface resource.
	PrivateLinkService *PrivateLinkService `json:"privateLinkService,omitempty"`

	// WorkloadType of the NetworkInterface for BareMetal resources
	WorkloadType *string `json:"workloadType,omitempty"`

	// READ-ONLY; A reference to the dscp configuration to which the network interface is linked.
	DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty" azure:"ro"`

	// READ-ONLY; A list of references to linked BareMetal resources.
	HostedWorkloads []*string `json:"hostedWorkloads,omitempty" azure:"ro"`

	// READ-ONLY; The MAC address of the network interface.
	MacAddress *string `json:"macAddress,omitempty" azure:"ro"`

	// READ-ONLY; Whether this is a primary network interface on a virtual machine.
	Primary *bool `json:"primary,omitempty" azure:"ro"`

	// READ-ONLY; A reference to the private endpoint to which the network interface is linked.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the network interface resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the network interface resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; A list of TapConfigurations of the network interface.
	TapConfigurations []*NetworkInterfaceTapConfiguration `json:"tapConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; The reference to a virtual machine.
	VirtualMachine *SubResource `json:"virtualMachine,omitempty" azure:"ro"`
}

NetworkInterfacePropertiesFormat - NetworkInterface properties.

func (NetworkInterfacePropertiesFormat) MarshalJSON

func (n NetworkInterfacePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfacePropertiesFormat.

type NetworkInterfaceTapConfiguration

type NetworkInterfaceTapConfiguration struct {
	SubResource
	// 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"`

	// Properties of the Virtual Network Tap configuration.
	Properties *NetworkInterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

NetworkInterfaceTapConfiguration - Tap configuration in a Network Interface.

func (NetworkInterfaceTapConfiguration) MarshalJSON

func (n NetworkInterfaceTapConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceTapConfiguration.

type NetworkInterfaceTapConfigurationListResult

type NetworkInterfaceTapConfigurationListResult struct {
	// A list of tap configurations.
	Value []*NetworkInterfaceTapConfiguration `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

NetworkInterfaceTapConfigurationListResult - Response for list tap configurations API service call.

func (NetworkInterfaceTapConfigurationListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type NetworkInterfaceTapConfigurationListResult.

type NetworkInterfaceTapConfigurationPropertiesFormat

type NetworkInterfaceTapConfigurationPropertiesFormat struct {
	// The reference to the Virtual Network Tap resource.
	VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"`

	// READ-ONLY; The provisioning state of the network interface tap configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

NetworkInterfaceTapConfigurationPropertiesFormat - Properties of Virtual Network Tap configuration.

type NetworkInterfaceTapConfigurationsBeginCreateOrUpdateOptions

type NetworkInterfaceTapConfigurationsBeginCreateOrUpdateOptions struct {
}

NetworkInterfaceTapConfigurationsBeginCreateOrUpdateOptions contains the optional parameters for the NetworkInterfaceTapConfigurations.BeginCreateOrUpdate method.

type NetworkInterfaceTapConfigurationsBeginDeleteOptions

type NetworkInterfaceTapConfigurationsBeginDeleteOptions struct {
}

NetworkInterfaceTapConfigurationsBeginDeleteOptions contains the optional parameters for the NetworkInterfaceTapConfigurations.BeginDelete method.

type NetworkInterfaceTapConfigurationsClient

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

NetworkInterfaceTapConfigurationsClient contains the methods for the NetworkInterfaceTapConfigurations group. Don't use this type directly, use NewNetworkInterfaceTapConfigurationsClient() instead.

func NewNetworkInterfaceTapConfigurationsClient

func NewNetworkInterfaceTapConfigurationsClient(con *arm.Connection, subscriptionID string) *NetworkInterfaceTapConfigurationsClient

NewNetworkInterfaceTapConfigurationsClient creates a new instance of NetworkInterfaceTapConfigurationsClient with the specified values.

func (*NetworkInterfaceTapConfigurationsClient) BeginCreateOrUpdate

func (client *NetworkInterfaceTapConfigurationsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string, tapConfigurationParameters NetworkInterfaceTapConfiguration, options *NetworkInterfaceTapConfigurationsBeginCreateOrUpdateOptions) (NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a Tap configuration in the specified NetworkInterface. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfaceTapConfigurationsClient) BeginDelete

BeginDelete - Deletes the specified tap configuration from the NetworkInterface. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfaceTapConfigurationsClient) Get

func (client *NetworkInterfaceTapConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string, options *NetworkInterfaceTapConfigurationsGetOptions) (NetworkInterfaceTapConfigurationsGetResponse, error)

Get - Get the specified tap configuration on a network interface. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfaceTapConfigurationsClient) List

List - Get all Tap configurations in a network interface. If the operation fails it returns the *CloudError error type.

type NetworkInterfaceTapConfigurationsCreateOrUpdatePoller

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

NetworkInterfaceTapConfigurationsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkInterfaceTapConfigurationsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkInterfaceTapConfigurationsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkInterfaceTapConfigurationsCreateOrUpdateResponse will be returned.

func (*NetworkInterfaceTapConfigurationsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkInterfaceTapConfigurationsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse

type NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkInterfaceTapConfigurationsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse contains the response from method NetworkInterfaceTapConfigurations.CreateOrUpdate.

func (NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NetworkInterfaceTapConfigurationsCreateOrUpdatePollerResponse from the provided client and resume token.

type NetworkInterfaceTapConfigurationsCreateOrUpdateResponse

type NetworkInterfaceTapConfigurationsCreateOrUpdateResponse struct {
	NetworkInterfaceTapConfigurationsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceTapConfigurationsCreateOrUpdateResponse contains the response from method NetworkInterfaceTapConfigurations.CreateOrUpdate.

type NetworkInterfaceTapConfigurationsCreateOrUpdateResult

type NetworkInterfaceTapConfigurationsCreateOrUpdateResult struct {
	NetworkInterfaceTapConfiguration
}

NetworkInterfaceTapConfigurationsCreateOrUpdateResult contains the result from method NetworkInterfaceTapConfigurations.CreateOrUpdate.

type NetworkInterfaceTapConfigurationsDeletePoller

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

NetworkInterfaceTapConfigurationsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkInterfaceTapConfigurationsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkInterfaceTapConfigurationsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkInterfaceTapConfigurationsDeleteResponse will be returned.

func (*NetworkInterfaceTapConfigurationsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkInterfaceTapConfigurationsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkInterfaceTapConfigurationsDeletePollerResponse

type NetworkInterfaceTapConfigurationsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkInterfaceTapConfigurationsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceTapConfigurationsDeletePollerResponse contains the response from method NetworkInterfaceTapConfigurations.Delete.

func (NetworkInterfaceTapConfigurationsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkInterfaceTapConfigurationsDeletePollerResponse) Resume

Resume rehydrates a NetworkInterfaceTapConfigurationsDeletePollerResponse from the provided client and resume token.

type NetworkInterfaceTapConfigurationsDeleteResponse

type NetworkInterfaceTapConfigurationsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceTapConfigurationsDeleteResponse contains the response from method NetworkInterfaceTapConfigurations.Delete.

type NetworkInterfaceTapConfigurationsGetOptions

type NetworkInterfaceTapConfigurationsGetOptions struct {
}

NetworkInterfaceTapConfigurationsGetOptions contains the optional parameters for the NetworkInterfaceTapConfigurations.Get method.

type NetworkInterfaceTapConfigurationsGetResponse

type NetworkInterfaceTapConfigurationsGetResponse struct {
	NetworkInterfaceTapConfigurationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceTapConfigurationsGetResponse contains the response from method NetworkInterfaceTapConfigurations.Get.

type NetworkInterfaceTapConfigurationsGetResult

type NetworkInterfaceTapConfigurationsGetResult struct {
	NetworkInterfaceTapConfiguration
}

NetworkInterfaceTapConfigurationsGetResult contains the result from method NetworkInterfaceTapConfigurations.Get.

type NetworkInterfaceTapConfigurationsListOptions

type NetworkInterfaceTapConfigurationsListOptions struct {
}

NetworkInterfaceTapConfigurationsListOptions contains the optional parameters for the NetworkInterfaceTapConfigurations.List method.

type NetworkInterfaceTapConfigurationsListPager

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

NetworkInterfaceTapConfigurationsListPager provides operations for iterating over paged responses.

func (*NetworkInterfaceTapConfigurationsListPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfaceTapConfigurationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfaceTapConfigurationsListPager) PageResponse

PageResponse returns the current NetworkInterfaceTapConfigurationsListResponse page.

type NetworkInterfaceTapConfigurationsListResponse

type NetworkInterfaceTapConfigurationsListResponse struct {
	NetworkInterfaceTapConfigurationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfaceTapConfigurationsListResponse contains the response from method NetworkInterfaceTapConfigurations.List.

type NetworkInterfaceTapConfigurationsListResult

type NetworkInterfaceTapConfigurationsListResult struct {
	NetworkInterfaceTapConfigurationListResult
}

NetworkInterfaceTapConfigurationsListResult contains the result from method NetworkInterfaceTapConfigurations.List.

type NetworkInterfacesBeginCreateOrUpdateOptions

type NetworkInterfacesBeginCreateOrUpdateOptions struct {
}

NetworkInterfacesBeginCreateOrUpdateOptions contains the optional parameters for the NetworkInterfaces.BeginCreateOrUpdate method.

type NetworkInterfacesBeginDeleteOptions

type NetworkInterfacesBeginDeleteOptions struct {
}

NetworkInterfacesBeginDeleteOptions contains the optional parameters for the NetworkInterfaces.BeginDelete method.

type NetworkInterfacesBeginGetEffectiveRouteTableOptions

type NetworkInterfacesBeginGetEffectiveRouteTableOptions struct {
}

NetworkInterfacesBeginGetEffectiveRouteTableOptions contains the optional parameters for the NetworkInterfaces.BeginGetEffectiveRouteTable method.

type NetworkInterfacesBeginListEffectiveNetworkSecurityGroupsOptions

type NetworkInterfacesBeginListEffectiveNetworkSecurityGroupsOptions struct {
}

NetworkInterfacesBeginListEffectiveNetworkSecurityGroupsOptions contains the optional parameters for the NetworkInterfaces.BeginListEffectiveNetworkSecurityGroups method.

type NetworkInterfacesClient

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

NetworkInterfacesClient contains the methods for the NetworkInterfaces group. Don't use this type directly, use NewNetworkInterfacesClient() instead.

func NewNetworkInterfacesClient

func NewNetworkInterfacesClient(con *arm.Connection, subscriptionID string) *NetworkInterfacesClient

NewNetworkInterfacesClient creates a new instance of NetworkInterfacesClient with the specified values.

func (*NetworkInterfacesClient) BeginCreateOrUpdate

func (client *NetworkInterfacesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters NetworkInterface, options *NetworkInterfacesBeginCreateOrUpdateOptions) (NetworkInterfacesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a network interface. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	// Replace the "subnet" variable with a call to armnetwork.SubnetsClient.Get to retreive the subnet
	// instance that will be assigned to the network interface.
	var subnet *armnetwork.Subnet
	// Replace the "ipAddress" variable with a call to armnetwork.PublicIPAddressesClient.Get to retreive the
	// public IP address instance that will be assigned to the network interface.
	var ipAddress *armnetwork.PublicIPAddress
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkInterfacesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<NIC name>",
		armnetwork.NetworkInterface{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr("<NIC name>"),
				Location: to.StringPtr("<Azure location>"),
			},
			Properties: &armnetwork.NetworkInterfacePropertiesFormat{
				IPConfigurations: []*armnetwork.NetworkInterfaceIPConfiguration{
					{
						Name: to.StringPtr("<NIC name>"),
						Properties: &armnetwork.NetworkInterfaceIPConfigurationPropertiesFormat{
							Subnet:                    subnet,
							PrivateIPAllocationMethod: armnetwork.IPAllocationMethodDynamic.ToPtr(),
							PublicIPAddress:           ipAddress,
						},
					},
				},
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("NIC ID: %v", *resp.NetworkInterface.ID)
}
Output:

func (*NetworkInterfacesClient) BeginDelete

func (client *NetworkInterfacesClient) BeginDelete(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *NetworkInterfacesBeginDeleteOptions) (NetworkInterfacesDeletePollerResponse, error)

BeginDelete - Deletes the specified network interface. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkInterfacesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginDelete(context.Background(), "<resource group name>", "<NIC name>", nil)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	_, err = poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to delete NIC: %v", err)
	}
}
Output:

func (*NetworkInterfacesClient) BeginGetEffectiveRouteTable

func (client *NetworkInterfacesClient) BeginGetEffectiveRouteTable(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *NetworkInterfacesBeginGetEffectiveRouteTableOptions) (NetworkInterfacesGetEffectiveRouteTablePollerResponse, error)

BeginGetEffectiveRouteTable - Gets all route tables applied to a network interface. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) BeginListEffectiveNetworkSecurityGroups

func (client *NetworkInterfacesClient) BeginListEffectiveNetworkSecurityGroups(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *NetworkInterfacesBeginListEffectiveNetworkSecurityGroupsOptions) (NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse, error)

BeginListEffectiveNetworkSecurityGroups - Gets all network security groups applied to a network interface. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) Get

func (client *NetworkInterfacesClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, options *NetworkInterfacesGetOptions) (NetworkInterfacesGetResponse, error)

Get - Gets information about the specified network interface. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkInterfacesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.Get(context.Background(), "<resource group name>", "<NIC name>", nil)
	if err != nil {
		log.Fatalf("failed to get resource: %v", err)
	}
	log.Printf("NIC ID: %v", *resp.NetworkInterface.ID)
}
Output:

func (*NetworkInterfacesClient) GetCloudServiceNetworkInterface

func (client *NetworkInterfacesClient) GetCloudServiceNetworkInterface(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, options *NetworkInterfacesGetCloudServiceNetworkInterfaceOptions) (NetworkInterfacesGetCloudServiceNetworkInterfaceResponse, error)

GetCloudServiceNetworkInterface - Get the specified network interface in a cloud service. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) GetVirtualMachineScaleSetIPConfiguration

func (client *NetworkInterfacesClient) GetVirtualMachineScaleSetIPConfiguration(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, ipConfigurationName string, options *NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationOptions) (NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResponse, error)

GetVirtualMachineScaleSetIPConfiguration - Get the specified network interface ip configuration in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) GetVirtualMachineScaleSetNetworkInterface

func (client *NetworkInterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, options *NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptions) (NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResponse, error)

GetVirtualMachineScaleSetNetworkInterface - Get the specified network interface in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) List

List - Gets all network interfaces in a resource group. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) ListAll

ListAll - Gets all network interfaces in a subscription. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) ListCloudServiceNetworkInterfaces

func (client *NetworkInterfacesClient) ListCloudServiceNetworkInterfaces(resourceGroupName string, cloudServiceName string, options *NetworkInterfacesListCloudServiceNetworkInterfacesOptions) *NetworkInterfacesListCloudServiceNetworkInterfacesPager

ListCloudServiceNetworkInterfaces - Gets all network interfaces in a cloud service. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) ListCloudServiceRoleInstanceNetworkInterfaces

func (client *NetworkInterfacesClient) ListCloudServiceRoleInstanceNetworkInterfaces(resourceGroupName string, cloudServiceName string, roleInstanceName string, options *NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptions) *NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesPager

ListCloudServiceRoleInstanceNetworkInterfaces - Gets information about all network interfaces in a role instance in a cloud service. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) ListVirtualMachineScaleSetIPConfigurations

func (client *NetworkInterfacesClient) ListVirtualMachineScaleSetIPConfigurations(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, options *NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsOptions) *NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsPager

ListVirtualMachineScaleSetIPConfigurations - Get the specified network interface ip configuration in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces

func (client *NetworkInterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(resourceGroupName string, virtualMachineScaleSetName string, options *NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptions) *NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesPager

ListVirtualMachineScaleSetNetworkInterfaces - Gets all network interfaces in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces

func (client *NetworkInterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, options *NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptions) *NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesPager

ListVirtualMachineScaleSetVMNetworkInterfaces - Gets information about all network interfaces in a virtual machine in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*NetworkInterfacesClient) UpdateTags

func (client *NetworkInterfacesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters TagsObject, options *NetworkInterfacesUpdateTagsOptions) (NetworkInterfacesUpdateTagsResponse, error)

UpdateTags - Updates a network interface tags. If the operation fails it returns the *CloudError error type.

type NetworkInterfacesCreateOrUpdatePoller

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

NetworkInterfacesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkInterfacesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkInterfacesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkInterfacesCreateOrUpdateResponse will be returned.

func (*NetworkInterfacesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkInterfacesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkInterfacesCreateOrUpdatePollerResponse

type NetworkInterfacesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkInterfacesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesCreateOrUpdatePollerResponse contains the response from method NetworkInterfaces.CreateOrUpdate.

func (NetworkInterfacesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkInterfacesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NetworkInterfacesCreateOrUpdatePollerResponse from the provided client and resume token.

type NetworkInterfacesCreateOrUpdateResponse

type NetworkInterfacesCreateOrUpdateResponse struct {
	NetworkInterfacesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesCreateOrUpdateResponse contains the response from method NetworkInterfaces.CreateOrUpdate.

type NetworkInterfacesCreateOrUpdateResult

type NetworkInterfacesCreateOrUpdateResult struct {
	NetworkInterface
}

NetworkInterfacesCreateOrUpdateResult contains the result from method NetworkInterfaces.CreateOrUpdate.

type NetworkInterfacesDeletePoller

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

NetworkInterfacesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkInterfacesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkInterfacesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkInterfacesDeleteResponse will be returned.

func (*NetworkInterfacesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkInterfacesDeletePoller) ResumeToken

func (p *NetworkInterfacesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkInterfacesDeletePollerResponse

type NetworkInterfacesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkInterfacesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesDeletePollerResponse contains the response from method NetworkInterfaces.Delete.

func (NetworkInterfacesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkInterfacesDeletePollerResponse) Resume

Resume rehydrates a NetworkInterfacesDeletePollerResponse from the provided client and resume token.

type NetworkInterfacesDeleteResponse

type NetworkInterfacesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesDeleteResponse contains the response from method NetworkInterfaces.Delete.

type NetworkInterfacesGetCloudServiceNetworkInterfaceOptions

type NetworkInterfacesGetCloudServiceNetworkInterfaceOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkInterfacesGetCloudServiceNetworkInterfaceOptions contains the optional parameters for the NetworkInterfaces.GetCloudServiceNetworkInterface method.

type NetworkInterfacesGetCloudServiceNetworkInterfaceResponse

type NetworkInterfacesGetCloudServiceNetworkInterfaceResponse struct {
	NetworkInterfacesGetCloudServiceNetworkInterfaceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesGetCloudServiceNetworkInterfaceResponse contains the response from method NetworkInterfaces.GetCloudServiceNetworkInterface.

type NetworkInterfacesGetCloudServiceNetworkInterfaceResult

type NetworkInterfacesGetCloudServiceNetworkInterfaceResult struct {
	NetworkInterface
}

NetworkInterfacesGetCloudServiceNetworkInterfaceResult contains the result from method NetworkInterfaces.GetCloudServiceNetworkInterface.

type NetworkInterfacesGetEffectiveRouteTablePoller

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

NetworkInterfacesGetEffectiveRouteTablePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkInterfacesGetEffectiveRouteTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkInterfacesGetEffectiveRouteTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkInterfacesGetEffectiveRouteTableResponse will be returned.

func (*NetworkInterfacesGetEffectiveRouteTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkInterfacesGetEffectiveRouteTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkInterfacesGetEffectiveRouteTablePollerResponse

type NetworkInterfacesGetEffectiveRouteTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkInterfacesGetEffectiveRouteTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesGetEffectiveRouteTablePollerResponse contains the response from method NetworkInterfaces.GetEffectiveRouteTable.

func (NetworkInterfacesGetEffectiveRouteTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkInterfacesGetEffectiveRouteTablePollerResponse) Resume

Resume rehydrates a NetworkInterfacesGetEffectiveRouteTablePollerResponse from the provided client and resume token.

type NetworkInterfacesGetEffectiveRouteTableResponse

type NetworkInterfacesGetEffectiveRouteTableResponse struct {
	NetworkInterfacesGetEffectiveRouteTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesGetEffectiveRouteTableResponse contains the response from method NetworkInterfaces.GetEffectiveRouteTable.

type NetworkInterfacesGetEffectiveRouteTableResult

type NetworkInterfacesGetEffectiveRouteTableResult struct {
	EffectiveRouteListResult
}

NetworkInterfacesGetEffectiveRouteTableResult contains the result from method NetworkInterfaces.GetEffectiveRouteTable.

type NetworkInterfacesGetOptions

type NetworkInterfacesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkInterfacesGetOptions contains the optional parameters for the NetworkInterfaces.Get method.

type NetworkInterfacesGetResponse

type NetworkInterfacesGetResponse struct {
	NetworkInterfacesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesGetResponse contains the response from method NetworkInterfaces.Get.

type NetworkInterfacesGetResult

type NetworkInterfacesGetResult struct {
	NetworkInterface
}

NetworkInterfacesGetResult contains the result from method NetworkInterfaces.Get.

type NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationOptions

type NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationOptions contains the optional parameters for the NetworkInterfaces.GetVirtualMachineScaleSetIPConfiguration method.

type NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResponse

type NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResponse struct {
	NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResponse contains the response from method NetworkInterfaces.GetVirtualMachineScaleSetIPConfiguration.

type NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResult

type NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResult struct {
	NetworkInterfaceIPConfiguration
}

NetworkInterfacesGetVirtualMachineScaleSetIPConfigurationResult contains the result from method NetworkInterfaces.GetVirtualMachineScaleSetIPConfiguration.

type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptions

type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptions contains the optional parameters for the NetworkInterfaces.GetVirtualMachineScaleSetNetworkInterface method.

type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResponse

type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResponse struct {
	NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResponse contains the response from method NetworkInterfaces.GetVirtualMachineScaleSetNetworkInterface.

type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResult

type NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResult struct {
	NetworkInterface
}

NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceResult contains the result from method NetworkInterfaces.GetVirtualMachineScaleSetNetworkInterface.

type NetworkInterfacesListAllOptions

type NetworkInterfacesListAllOptions struct {
}

NetworkInterfacesListAllOptions contains the optional parameters for the NetworkInterfaces.ListAll method.

type NetworkInterfacesListAllPager

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

NetworkInterfacesListAllPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListAllPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListAllPager) PageResponse

PageResponse returns the current NetworkInterfacesListAllResponse page.

type NetworkInterfacesListAllResponse

type NetworkInterfacesListAllResponse struct {
	NetworkInterfacesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListAllResponse contains the response from method NetworkInterfaces.ListAll.

type NetworkInterfacesListAllResult

type NetworkInterfacesListAllResult struct {
	NetworkInterfaceListResult
}

NetworkInterfacesListAllResult contains the result from method NetworkInterfaces.ListAll.

type NetworkInterfacesListCloudServiceNetworkInterfacesOptions

type NetworkInterfacesListCloudServiceNetworkInterfacesOptions struct {
}

NetworkInterfacesListCloudServiceNetworkInterfacesOptions contains the optional parameters for the NetworkInterfaces.ListCloudServiceNetworkInterfaces method.

type NetworkInterfacesListCloudServiceNetworkInterfacesPager

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

NetworkInterfacesListCloudServiceNetworkInterfacesPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListCloudServiceNetworkInterfacesPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListCloudServiceNetworkInterfacesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListCloudServiceNetworkInterfacesPager) PageResponse

PageResponse returns the current NetworkInterfacesListCloudServiceNetworkInterfacesResponse page.

type NetworkInterfacesListCloudServiceNetworkInterfacesResponse

type NetworkInterfacesListCloudServiceNetworkInterfacesResponse struct {
	NetworkInterfacesListCloudServiceNetworkInterfacesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListCloudServiceNetworkInterfacesResponse contains the response from method NetworkInterfaces.ListCloudServiceNetworkInterfaces.

type NetworkInterfacesListCloudServiceNetworkInterfacesResult

type NetworkInterfacesListCloudServiceNetworkInterfacesResult struct {
	NetworkInterfaceListResult
}

NetworkInterfacesListCloudServiceNetworkInterfacesResult contains the result from method NetworkInterfaces.ListCloudServiceNetworkInterfaces.

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptions

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptions struct {
}

NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptions contains the optional parameters for the NetworkInterfaces.ListCloudServiceRoleInstanceNetworkInterfaces method.

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesPager

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

NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesPager) PageResponse

PageResponse returns the current NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResponse page.

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResponse

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResponse struct {
	NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResponse contains the response from method NetworkInterfaces.ListCloudServiceRoleInstanceNetworkInterfaces.

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResult

type NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResult struct {
	NetworkInterfaceListResult
}

NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesResult contains the result from method NetworkInterfaces.ListCloudServiceRoleInstanceNetworkInterfaces.

type NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller

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

NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse will be returned.

func (*NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse

type NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkInterfacesListEffectiveNetworkSecurityGroupsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse contains the response from method NetworkInterfaces.ListEffectiveNetworkSecurityGroups.

func (NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse) Resume

Resume rehydrates a NetworkInterfacesListEffectiveNetworkSecurityGroupsPollerResponse from the provided client and resume token.

type NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse

type NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse struct {
	NetworkInterfacesListEffectiveNetworkSecurityGroupsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse contains the response from method NetworkInterfaces.ListEffectiveNetworkSecurityGroups.

type NetworkInterfacesListEffectiveNetworkSecurityGroupsResult

type NetworkInterfacesListEffectiveNetworkSecurityGroupsResult struct {
	EffectiveNetworkSecurityGroupListResult
}

NetworkInterfacesListEffectiveNetworkSecurityGroupsResult contains the result from method NetworkInterfaces.ListEffectiveNetworkSecurityGroups.

type NetworkInterfacesListOptions

type NetworkInterfacesListOptions struct {
}

NetworkInterfacesListOptions contains the optional parameters for the NetworkInterfaces.List method.

type NetworkInterfacesListPager

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

NetworkInterfacesListPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListPager) PageResponse

PageResponse returns the current NetworkInterfacesListResponse page.

type NetworkInterfacesListResponse

type NetworkInterfacesListResponse struct {
	NetworkInterfacesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListResponse contains the response from method NetworkInterfaces.List.

type NetworkInterfacesListResult

type NetworkInterfacesListResult struct {
	NetworkInterfaceListResult
}

NetworkInterfacesListResult contains the result from method NetworkInterfaces.List.

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsOptions

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsOptions contains the optional parameters for the NetworkInterfaces.ListVirtualMachineScaleSetIPConfigurations method.

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsPager

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

NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsPager) PageResponse

PageResponse returns the current NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResponse page.

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResponse

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResponse struct {
	NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResponse contains the response from method NetworkInterfaces.ListVirtualMachineScaleSetIPConfigurations.

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResult

type NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResult struct {
	NetworkInterfaceIPConfigurationListResult
}

NetworkInterfacesListVirtualMachineScaleSetIPConfigurationsResult contains the result from method NetworkInterfaces.ListVirtualMachineScaleSetIPConfigurations.

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptions

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptions struct {
}

NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptions contains the optional parameters for the NetworkInterfaces.ListVirtualMachineScaleSetNetworkInterfaces method.

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesPager

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

NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesPager) PageResponse

PageResponse returns the current NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResponse page.

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResponse

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResponse struct {
	NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResponse contains the response from method NetworkInterfaces.ListVirtualMachineScaleSetNetworkInterfaces.

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResult

type NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResult struct {
	NetworkInterfaceListResult
}

NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesResult contains the result from method NetworkInterfaces.ListVirtualMachineScaleSetNetworkInterfaces.

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptions

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptions struct {
}

NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptions contains the optional parameters for the NetworkInterfaces.ListVirtualMachineScaleSetVMNetworkInterfaces method.

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesPager

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

NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesPager provides operations for iterating over paged responses.

func (*NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesPager) Err

Err returns the last error encountered while paging.

func (*NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesPager) PageResponse

PageResponse returns the current NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResponse page.

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResponse

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResponse struct {
	NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResponse contains the response from method NetworkInterfaces.ListVirtualMachineScaleSetVMNetworkInterfaces.

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResult

type NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResult struct {
	NetworkInterfaceListResult
}

NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesResult contains the result from method NetworkInterfaces.ListVirtualMachineScaleSetVMNetworkInterfaces.

type NetworkInterfacesUpdateTagsOptions

type NetworkInterfacesUpdateTagsOptions struct {
}

NetworkInterfacesUpdateTagsOptions contains the optional parameters for the NetworkInterfaces.UpdateTags method.

type NetworkInterfacesUpdateTagsResponse

type NetworkInterfacesUpdateTagsResponse struct {
	NetworkInterfacesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkInterfacesUpdateTagsResponse contains the response from method NetworkInterfaces.UpdateTags.

type NetworkInterfacesUpdateTagsResult

type NetworkInterfacesUpdateTagsResult struct {
	NetworkInterface
}

NetworkInterfacesUpdateTagsResult contains the result from method NetworkInterfaces.UpdateTags.

type NetworkManagementClient

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

NetworkManagementClient contains the methods for the NetworkManagementClient group. Don't use this type directly, use NewNetworkManagementClient() instead.

func NewNetworkManagementClient

func NewNetworkManagementClient(con *arm.Connection, subscriptionID string) *NetworkManagementClient

NewNetworkManagementClient creates a new instance of NetworkManagementClient with the specified values.

BeginDeleteBastionShareableLink - Deletes the Bastion Shareable Links for all the VMs specified in the request. If the operation fails it returns the *CloudError error type.

func (*NetworkManagementClient) BeginGeneratevirtualwanvpnserverconfigurationvpnprofile

BeginGeneratevirtualwanvpnserverconfigurationvpnprofile - Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*NetworkManagementClient) BeginGetActiveSessions

BeginGetActiveSessions - Returns the list of currently active sessions on the Bastion. If the operation fails it returns the *CloudError error type.

BeginPutBastionShareableLink - Creates a Bastion Shareable Links for all the VMs specified in the request. If the operation fails it returns the *CloudError error type.

func (*NetworkManagementClient) CheckDNSNameAvailability

CheckDNSNameAvailability - Checks whether a domain name in the cloudapp.azure.com zone is available for use. If the operation fails it returns the *CloudError error type.

func (*NetworkManagementClient) DisconnectActiveSessions

func (client *NetworkManagementClient) DisconnectActiveSessions(resourceGroupName string, bastionHostName string, sessionIDs SessionIDs, options *NetworkManagementClientDisconnectActiveSessionsOptions) *NetworkManagementClientDisconnectActiveSessionsPager

DisconnectActiveSessions - Returns the list of currently active sessions on the Bastion. If the operation fails it returns the *CloudError error type.

GetBastionShareableLink - Return the Bastion Shareable Links for all the VMs specified in the request. If the operation fails it returns the *CloudError error type.

func (*NetworkManagementClient) SupportedSecurityProviders

SupportedSecurityProviders - Gives the supported security providers for the virtual wan. If the operation fails it returns the *CloudError error type.

type NetworkManagementClientBeginDeleteBastionShareableLinkOptions

type NetworkManagementClientBeginDeleteBastionShareableLinkOptions struct {
}

NetworkManagementClientBeginDeleteBastionShareableLinkOptions contains the optional parameters for the NetworkManagementClient.BeginDeleteBastionShareableLink method.

type NetworkManagementClientBeginGeneratevirtualwanvpnserverconfigurationvpnprofileOptions

type NetworkManagementClientBeginGeneratevirtualwanvpnserverconfigurationvpnprofileOptions struct {
}

NetworkManagementClientBeginGeneratevirtualwanvpnserverconfigurationvpnprofileOptions contains the optional parameters for the NetworkManagementClient.BeginGeneratevirtualwanvpnserverconfigurationvpnprofile method.

type NetworkManagementClientBeginGetActiveSessionsOptions

type NetworkManagementClientBeginGetActiveSessionsOptions struct {
}

NetworkManagementClientBeginGetActiveSessionsOptions contains the optional parameters for the NetworkManagementClient.BeginGetActiveSessions method.

type NetworkManagementClientBeginPutBastionShareableLinkOptions

type NetworkManagementClientBeginPutBastionShareableLinkOptions struct {
}

NetworkManagementClientBeginPutBastionShareableLinkOptions contains the optional parameters for the NetworkManagementClient.BeginPutBastionShareableLink method.

type NetworkManagementClientCheckDNSNameAvailabilityOptions

type NetworkManagementClientCheckDNSNameAvailabilityOptions struct {
}

NetworkManagementClientCheckDNSNameAvailabilityOptions contains the optional parameters for the NetworkManagementClient.CheckDNSNameAvailability method.

type NetworkManagementClientCheckDNSNameAvailabilityResponse

type NetworkManagementClientCheckDNSNameAvailabilityResponse struct {
	NetworkManagementClientCheckDNSNameAvailabilityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientCheckDNSNameAvailabilityResponse contains the response from method NetworkManagementClient.CheckDNSNameAvailability.

type NetworkManagementClientCheckDNSNameAvailabilityResult

type NetworkManagementClientCheckDNSNameAvailabilityResult struct {
	DNSNameAvailabilityResult
}

NetworkManagementClientCheckDNSNameAvailabilityResult contains the result from method NetworkManagementClient.CheckDNSNameAvailability.

type NetworkManagementClientDeleteBastionShareableLinkPoller

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

NetworkManagementClientDeleteBastionShareableLinkPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkManagementClientDeleteBastionShareableLinkPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkManagementClientDeleteBastionShareableLinkPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkManagementClientDeleteBastionShareableLinkResponse will be returned.

func (*NetworkManagementClientDeleteBastionShareableLinkPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkManagementClientDeleteBastionShareableLinkPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkManagementClientDeleteBastionShareableLinkPollerResponse

type NetworkManagementClientDeleteBastionShareableLinkPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkManagementClientDeleteBastionShareableLinkPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientDeleteBastionShareableLinkPollerResponse contains the response from method NetworkManagementClient.DeleteBastionShareableLink.

func (NetworkManagementClientDeleteBastionShareableLinkPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkManagementClientDeleteBastionShareableLinkPollerResponse) Resume

Resume rehydrates a NetworkManagementClientDeleteBastionShareableLinkPollerResponse from the provided client and resume token.

type NetworkManagementClientDeleteBastionShareableLinkResponse

type NetworkManagementClientDeleteBastionShareableLinkResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientDeleteBastionShareableLinkResponse contains the response from method NetworkManagementClient.DeleteBastionShareableLink.

type NetworkManagementClientDisconnectActiveSessionsOptions

type NetworkManagementClientDisconnectActiveSessionsOptions struct {
}

NetworkManagementClientDisconnectActiveSessionsOptions contains the optional parameters for the NetworkManagementClient.DisconnectActiveSessions method.

type NetworkManagementClientDisconnectActiveSessionsPager

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

NetworkManagementClientDisconnectActiveSessionsPager provides operations for iterating over paged responses.

func (*NetworkManagementClientDisconnectActiveSessionsPager) Err

Err returns the last error encountered while paging.

func (*NetworkManagementClientDisconnectActiveSessionsPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkManagementClientDisconnectActiveSessionsPager) PageResponse

PageResponse returns the current NetworkManagementClientDisconnectActiveSessionsResponse page.

type NetworkManagementClientDisconnectActiveSessionsResponse

type NetworkManagementClientDisconnectActiveSessionsResponse struct {
	NetworkManagementClientDisconnectActiveSessionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientDisconnectActiveSessionsResponse contains the response from method NetworkManagementClient.DisconnectActiveSessions.

type NetworkManagementClientDisconnectActiveSessionsResult

type NetworkManagementClientDisconnectActiveSessionsResult struct {
	BastionSessionDeleteResult
}

NetworkManagementClientDisconnectActiveSessionsResult contains the result from method NetworkManagementClient.DisconnectActiveSessions.

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller

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

NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResponse will be returned.

func (*NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePollerResponse

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePollerResponse contains the response from method NetworkManagementClient.Generatevirtualwanvpnserverconfigurationvpnprofile.

func (NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePollerResponse) Resume

Resume rehydrates a NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofilePollerResponse from the provided client and resume token.

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResponse

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResponse struct {
	NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResponse contains the response from method NetworkManagementClient.Generatevirtualwanvpnserverconfigurationvpnprofile.

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResult

type NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResult struct {
	VPNProfileResponse
}

NetworkManagementClientGeneratevirtualwanvpnserverconfigurationvpnprofileResult contains the result from method NetworkManagementClient.Generatevirtualwanvpnserverconfigurationvpnprofile.

type NetworkManagementClientGetActiveSessionsPager

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

NetworkManagementClientGetActiveSessionsPager provides operations for iterating over paged responses.

func (*NetworkManagementClientGetActiveSessionsPager) Err

Err returns the last error encountered while paging.

func (*NetworkManagementClientGetActiveSessionsPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkManagementClientGetActiveSessionsPager) PageResponse

PageResponse returns the current NetworkManagementClientGetActiveSessionsResponse page.

type NetworkManagementClientGetActiveSessionsPoller

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

NetworkManagementClientGetActiveSessionsPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkManagementClientGetActiveSessionsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkManagementClientGetActiveSessionsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final *NetworkManagementClientGetActiveSessionsPager will be returned.

func (*NetworkManagementClientGetActiveSessionsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkManagementClientGetActiveSessionsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkManagementClientGetActiveSessionsPollerResponse

type NetworkManagementClientGetActiveSessionsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkManagementClientGetActiveSessionsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientGetActiveSessionsPollerResponse contains the response from method NetworkManagementClient.GetActiveSessions.

func (NetworkManagementClientGetActiveSessionsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkManagementClientGetActiveSessionsPollerResponse) Resume

Resume rehydrates a NetworkManagementClientGetActiveSessionsPollerResponse from the provided client and resume token.

type NetworkManagementClientGetActiveSessionsResponse

type NetworkManagementClientGetActiveSessionsResponse struct {
	NetworkManagementClientGetActiveSessionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientGetActiveSessionsResponse contains the response from method NetworkManagementClient.GetActiveSessions.

type NetworkManagementClientGetActiveSessionsResult

type NetworkManagementClientGetActiveSessionsResult struct {
	BastionActiveSessionListResult
}

NetworkManagementClientGetActiveSessionsResult contains the result from method NetworkManagementClient.GetActiveSessions.

type NetworkManagementClientGetBastionShareableLinkOptions

type NetworkManagementClientGetBastionShareableLinkOptions struct {
}

NetworkManagementClientGetBastionShareableLinkOptions contains the optional parameters for the NetworkManagementClient.GetBastionShareableLink method.

type NetworkManagementClientGetBastionShareableLinkPager

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

NetworkManagementClientGetBastionShareableLinkPager provides operations for iterating over paged responses.

func (*NetworkManagementClientGetBastionShareableLinkPager) Err

Err returns the last error encountered while paging.

func (*NetworkManagementClientGetBastionShareableLinkPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkManagementClientGetBastionShareableLinkPager) PageResponse

PageResponse returns the current NetworkManagementClientGetBastionShareableLinkResponse page.

type NetworkManagementClientGetBastionShareableLinkResponse

type NetworkManagementClientGetBastionShareableLinkResponse struct {
	NetworkManagementClientGetBastionShareableLinkResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientGetBastionShareableLinkResponse contains the response from method NetworkManagementClient.GetBastionShareableLink.

type NetworkManagementClientGetBastionShareableLinkResult

type NetworkManagementClientGetBastionShareableLinkResult struct {
	BastionShareableLinkListResult
}

NetworkManagementClientGetBastionShareableLinkResult contains the result from method NetworkManagementClient.GetBastionShareableLink.

type NetworkManagementClientPutBastionShareableLinkPager

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

NetworkManagementClientPutBastionShareableLinkPager provides operations for iterating over paged responses.

func (*NetworkManagementClientPutBastionShareableLinkPager) Err

Err returns the last error encountered while paging.

func (*NetworkManagementClientPutBastionShareableLinkPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkManagementClientPutBastionShareableLinkPager) PageResponse

PageResponse returns the current NetworkManagementClientPutBastionShareableLinkResponse page.

type NetworkManagementClientPutBastionShareableLinkPoller

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

NetworkManagementClientPutBastionShareableLinkPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkManagementClientPutBastionShareableLinkPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkManagementClientPutBastionShareableLinkPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final *NetworkManagementClientPutBastionShareableLinkPager will be returned.

func (*NetworkManagementClientPutBastionShareableLinkPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkManagementClientPutBastionShareableLinkPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkManagementClientPutBastionShareableLinkPollerResponse

type NetworkManagementClientPutBastionShareableLinkPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkManagementClientPutBastionShareableLinkPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientPutBastionShareableLinkPollerResponse contains the response from method NetworkManagementClient.PutBastionShareableLink.

func (NetworkManagementClientPutBastionShareableLinkPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkManagementClientPutBastionShareableLinkPollerResponse) Resume

Resume rehydrates a NetworkManagementClientPutBastionShareableLinkPollerResponse from the provided client and resume token.

type NetworkManagementClientPutBastionShareableLinkResponse

type NetworkManagementClientPutBastionShareableLinkResponse struct {
	NetworkManagementClientPutBastionShareableLinkResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientPutBastionShareableLinkResponse contains the response from method NetworkManagementClient.PutBastionShareableLink.

type NetworkManagementClientPutBastionShareableLinkResult

type NetworkManagementClientPutBastionShareableLinkResult struct {
	BastionShareableLinkListResult
}

NetworkManagementClientPutBastionShareableLinkResult contains the result from method NetworkManagementClient.PutBastionShareableLink.

type NetworkManagementClientSupportedSecurityProvidersOptions

type NetworkManagementClientSupportedSecurityProvidersOptions struct {
}

NetworkManagementClientSupportedSecurityProvidersOptions contains the optional parameters for the NetworkManagementClient.SupportedSecurityProviders method.

type NetworkManagementClientSupportedSecurityProvidersResponse

type NetworkManagementClientSupportedSecurityProvidersResponse struct {
	NetworkManagementClientSupportedSecurityProvidersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkManagementClientSupportedSecurityProvidersResponse contains the response from method NetworkManagementClient.SupportedSecurityProviders.

type NetworkManagementClientSupportedSecurityProvidersResult

type NetworkManagementClientSupportedSecurityProvidersResult struct {
	VirtualWanSecurityProviders
}

NetworkManagementClientSupportedSecurityProvidersResult contains the result from method NetworkManagementClient.SupportedSecurityProviders.

type NetworkOperationStatus

type NetworkOperationStatus string

NetworkOperationStatus - Status of the Azure async operation.

const (
	NetworkOperationStatusFailed     NetworkOperationStatus = "Failed"
	NetworkOperationStatusInProgress NetworkOperationStatus = "InProgress"
	NetworkOperationStatusSucceeded  NetworkOperationStatus = "Succeeded"
)

func PossibleNetworkOperationStatusValues

func PossibleNetworkOperationStatusValues() []NetworkOperationStatus

PossibleNetworkOperationStatusValues returns the possible values for the NetworkOperationStatus const type.

func (NetworkOperationStatus) ToPtr

ToPtr returns a *NetworkOperationStatus pointing to the current value.

type NetworkProfile

type NetworkProfile struct {
	Resource
	// Network profile properties.
	Properties *NetworkProfilePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkProfile - Network profile resource.

func (NetworkProfile) MarshalJSON

func (n NetworkProfile) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkProfile.

type NetworkProfileListResult

type NetworkProfileListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of network profiles that exist in a resource group.
	Value []*NetworkProfile `json:"value,omitempty"`
}

NetworkProfileListResult - Response for ListNetworkProfiles API service call.

func (NetworkProfileListResult) MarshalJSON

func (n NetworkProfileListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkProfileListResult.

type NetworkProfilePropertiesFormat

type NetworkProfilePropertiesFormat struct {
	// List of chid container network interface configurations.
	ContainerNetworkInterfaceConfigurations []*ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfigurations,omitempty"`

	// READ-ONLY; List of child container network interfaces.
	ContainerNetworkInterfaces []*ContainerNetworkInterface `json:"containerNetworkInterfaces,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the network profile resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the network profile resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

NetworkProfilePropertiesFormat - Network profile properties.

func (NetworkProfilePropertiesFormat) MarshalJSON

func (n NetworkProfilePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkProfilePropertiesFormat.

type NetworkProfilesBeginDeleteOptions

type NetworkProfilesBeginDeleteOptions struct {
}

NetworkProfilesBeginDeleteOptions contains the optional parameters for the NetworkProfiles.BeginDelete method.

type NetworkProfilesClient

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

NetworkProfilesClient contains the methods for the NetworkProfiles group. Don't use this type directly, use NewNetworkProfilesClient() instead.

func NewNetworkProfilesClient

func NewNetworkProfilesClient(con *arm.Connection, subscriptionID string) *NetworkProfilesClient

NewNetworkProfilesClient creates a new instance of NetworkProfilesClient with the specified values.

func (*NetworkProfilesClient) BeginDelete

func (client *NetworkProfilesClient) BeginDelete(ctx context.Context, resourceGroupName string, networkProfileName string, options *NetworkProfilesBeginDeleteOptions) (NetworkProfilesDeletePollerResponse, error)

BeginDelete - Deletes the specified network profile. If the operation fails it returns the *CloudError error type.

func (*NetworkProfilesClient) CreateOrUpdate

func (client *NetworkProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkProfileName string, parameters NetworkProfile, options *NetworkProfilesCreateOrUpdateOptions) (NetworkProfilesCreateOrUpdateResponse, error)

CreateOrUpdate - Creates or updates a network profile. If the operation fails it returns the *CloudError error type.

func (*NetworkProfilesClient) Get

func (client *NetworkProfilesClient) Get(ctx context.Context, resourceGroupName string, networkProfileName string, options *NetworkProfilesGetOptions) (NetworkProfilesGetResponse, error)

Get - Gets the specified network profile in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*NetworkProfilesClient) List

func (client *NetworkProfilesClient) List(resourceGroupName string, options *NetworkProfilesListOptions) *NetworkProfilesListPager

List - Gets all network profiles in a resource group. If the operation fails it returns the *CloudError error type.

func (*NetworkProfilesClient) ListAll

ListAll - Gets all the network profiles in a subscription. If the operation fails it returns the *CloudError error type.

func (*NetworkProfilesClient) UpdateTags

func (client *NetworkProfilesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkProfileName string, parameters TagsObject, options *NetworkProfilesUpdateTagsOptions) (NetworkProfilesUpdateTagsResponse, error)

UpdateTags - Updates network profile tags. If the operation fails it returns the *CloudError error type.

type NetworkProfilesCreateOrUpdateOptions

type NetworkProfilesCreateOrUpdateOptions struct {
}

NetworkProfilesCreateOrUpdateOptions contains the optional parameters for the NetworkProfiles.CreateOrUpdate method.

type NetworkProfilesCreateOrUpdateResponse

type NetworkProfilesCreateOrUpdateResponse struct {
	NetworkProfilesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesCreateOrUpdateResponse contains the response from method NetworkProfiles.CreateOrUpdate.

type NetworkProfilesCreateOrUpdateResult

type NetworkProfilesCreateOrUpdateResult struct {
	NetworkProfile
}

NetworkProfilesCreateOrUpdateResult contains the result from method NetworkProfiles.CreateOrUpdate.

type NetworkProfilesDeletePoller

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

NetworkProfilesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkProfilesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkProfilesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkProfilesDeleteResponse will be returned.

func (*NetworkProfilesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkProfilesDeletePoller) ResumeToken

func (p *NetworkProfilesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkProfilesDeletePollerResponse

type NetworkProfilesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkProfilesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesDeletePollerResponse contains the response from method NetworkProfiles.Delete.

func (NetworkProfilesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkProfilesDeletePollerResponse) Resume

Resume rehydrates a NetworkProfilesDeletePollerResponse from the provided client and resume token.

type NetworkProfilesDeleteResponse

type NetworkProfilesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesDeleteResponse contains the response from method NetworkProfiles.Delete.

type NetworkProfilesGetOptions

type NetworkProfilesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkProfilesGetOptions contains the optional parameters for the NetworkProfiles.Get method.

type NetworkProfilesGetResponse

type NetworkProfilesGetResponse struct {
	NetworkProfilesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesGetResponse contains the response from method NetworkProfiles.Get.

type NetworkProfilesGetResult

type NetworkProfilesGetResult struct {
	NetworkProfile
}

NetworkProfilesGetResult contains the result from method NetworkProfiles.Get.

type NetworkProfilesListAllOptions

type NetworkProfilesListAllOptions struct {
}

NetworkProfilesListAllOptions contains the optional parameters for the NetworkProfiles.ListAll method.

type NetworkProfilesListAllPager

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

NetworkProfilesListAllPager provides operations for iterating over paged responses.

func (*NetworkProfilesListAllPager) Err

Err returns the last error encountered while paging.

func (*NetworkProfilesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkProfilesListAllPager) PageResponse

PageResponse returns the current NetworkProfilesListAllResponse page.

type NetworkProfilesListAllResponse

type NetworkProfilesListAllResponse struct {
	NetworkProfilesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesListAllResponse contains the response from method NetworkProfiles.ListAll.

type NetworkProfilesListAllResult

type NetworkProfilesListAllResult struct {
	NetworkProfileListResult
}

NetworkProfilesListAllResult contains the result from method NetworkProfiles.ListAll.

type NetworkProfilesListOptions

type NetworkProfilesListOptions struct {
}

NetworkProfilesListOptions contains the optional parameters for the NetworkProfiles.List method.

type NetworkProfilesListPager

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

NetworkProfilesListPager provides operations for iterating over paged responses.

func (*NetworkProfilesListPager) Err

Err returns the last error encountered while paging.

func (*NetworkProfilesListPager) NextPage

func (p *NetworkProfilesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkProfilesListPager) PageResponse

PageResponse returns the current NetworkProfilesListResponse page.

type NetworkProfilesListResponse

type NetworkProfilesListResponse struct {
	NetworkProfilesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesListResponse contains the response from method NetworkProfiles.List.

type NetworkProfilesListResult

type NetworkProfilesListResult struct {
	NetworkProfileListResult
}

NetworkProfilesListResult contains the result from method NetworkProfiles.List.

type NetworkProfilesUpdateTagsOptions

type NetworkProfilesUpdateTagsOptions struct {
}

NetworkProfilesUpdateTagsOptions contains the optional parameters for the NetworkProfiles.UpdateTags method.

type NetworkProfilesUpdateTagsResponse

type NetworkProfilesUpdateTagsResponse struct {
	NetworkProfilesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkProfilesUpdateTagsResponse contains the response from method NetworkProfiles.UpdateTags.

type NetworkProfilesUpdateTagsResult

type NetworkProfilesUpdateTagsResult struct {
	NetworkProfile
}

NetworkProfilesUpdateTagsResult contains the result from method NetworkProfiles.UpdateTags.

type NetworkRule

type NetworkRule struct {
	FirewallPolicyRule
	// List of destination IP addresses or Service Tags.
	DestinationAddresses []*string `json:"destinationAddresses,omitempty"`

	// List of destination FQDNs.
	DestinationFqdns []*string `json:"destinationFqdns,omitempty"`

	// List of destination IpGroups for this rule.
	DestinationIPGroups []*string `json:"destinationIpGroups,omitempty"`

	// List of destination ports.
	DestinationPorts []*string `json:"destinationPorts,omitempty"`

	// Array of FirewallPolicyRuleNetworkProtocols.
	IPProtocols []*FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"`

	// List of source IP addresses for this rule.
	SourceAddresses []*string `json:"sourceAddresses,omitempty"`

	// List of source IpGroups for this rule.
	SourceIPGroups []*string `json:"sourceIpGroups,omitempty"`
}

NetworkRule - Rule of type network.

func (NetworkRule) MarshalJSON

func (n NetworkRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkRule.

func (*NetworkRule) UnmarshalJSON

func (n *NetworkRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NetworkRule.

type NetworkSecurityGroup

type NetworkSecurityGroup struct {
	Resource
	// Properties of the network security group.
	Properties *NetworkSecurityGroupPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkSecurityGroup resource.

func (NetworkSecurityGroup) MarshalJSON

func (n NetworkSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkSecurityGroup.

type NetworkSecurityGroupListResult

type NetworkSecurityGroupListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of NetworkSecurityGroup resources.
	Value []*NetworkSecurityGroup `json:"value,omitempty"`
}

NetworkSecurityGroupListResult - Response for ListNetworkSecurityGroups API service call.

func (NetworkSecurityGroupListResult) MarshalJSON

func (n NetworkSecurityGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkSecurityGroupListResult.

type NetworkSecurityGroupPropertiesFormat

type NetworkSecurityGroupPropertiesFormat struct {
	// A collection of security rules of the network security group.
	SecurityRules []*SecurityRule `json:"securityRules,omitempty"`

	// READ-ONLY; The default security rules of network security group.
	DefaultSecurityRules []*SecurityRule `json:"defaultSecurityRules,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to flow log resources.
	FlowLogs []*FlowLog `json:"flowLogs,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to network interfaces.
	NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the network security group resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the network security group resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to subnets.
	Subnets []*Subnet `json:"subnets,omitempty" azure:"ro"`
}

NetworkSecurityGroupPropertiesFormat - Network Security Group resource.

func (NetworkSecurityGroupPropertiesFormat) MarshalJSON

func (n NetworkSecurityGroupPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkSecurityGroupPropertiesFormat.

type NetworkSecurityGroupResult

type NetworkSecurityGroupResult struct {
	// The network traffic is allowed or denied.
	SecurityRuleAccessResult *SecurityRuleAccess `json:"securityRuleAccessResult,omitempty"`

	// READ-ONLY; List of results network security groups diagnostic.
	EvaluatedNetworkSecurityGroups []*EvaluatedNetworkSecurityGroup `json:"evaluatedNetworkSecurityGroups,omitempty" azure:"ro"`
}

NetworkSecurityGroupResult - Network configuration diagnostic result corresponded provided traffic query.

func (NetworkSecurityGroupResult) MarshalJSON

func (n NetworkSecurityGroupResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkSecurityGroupResult.

type NetworkSecurityGroupsBeginCreateOrUpdateOptions

type NetworkSecurityGroupsBeginCreateOrUpdateOptions struct {
}

NetworkSecurityGroupsBeginCreateOrUpdateOptions contains the optional parameters for the NetworkSecurityGroups.BeginCreateOrUpdate method.

type NetworkSecurityGroupsBeginDeleteOptions

type NetworkSecurityGroupsBeginDeleteOptions struct {
}

NetworkSecurityGroupsBeginDeleteOptions contains the optional parameters for the NetworkSecurityGroups.BeginDelete method.

type NetworkSecurityGroupsClient

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

NetworkSecurityGroupsClient contains the methods for the NetworkSecurityGroups group. Don't use this type directly, use NewNetworkSecurityGroupsClient() instead.

func NewNetworkSecurityGroupsClient

func NewNetworkSecurityGroupsClient(con *arm.Connection, subscriptionID string) *NetworkSecurityGroupsClient

NewNetworkSecurityGroupsClient creates a new instance of NetworkSecurityGroupsClient with the specified values.

func (*NetworkSecurityGroupsClient) BeginCreateOrUpdate

func (client *NetworkSecurityGroupsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters NetworkSecurityGroup, options *NetworkSecurityGroupsBeginCreateOrUpdateOptions) (NetworkSecurityGroupsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a network security group in the specified resource group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkSecurityGroupsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<network security group name>",
		armnetwork.NetworkSecurityGroup{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr("<network security group name>"),
				Location: to.StringPtr("<Azure location>"),
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("network security group ID: %v", *resp.NetworkSecurityGroup.ID)
}
Output:

Example (WithSSHandHTTPSrules)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkSecurityGroupsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<network security group name>",
		armnetwork.NetworkSecurityGroup{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr("<network security group name>"),
				Location: to.StringPtr("<Azure location>"),
			},
			Properties: &armnetwork.NetworkSecurityGroupPropertiesFormat{
				SecurityRules: []*armnetwork.SecurityRule{
					{
						Name: to.StringPtr("allow_ssh"),
						Properties: &armnetwork.SecurityRulePropertiesFormat{
							Protocol:                 armnetwork.SecurityRuleProtocolTCP.ToPtr(),
							SourceAddressPrefix:      to.StringPtr("0.0.0.0/0"),
							SourcePortRange:          to.StringPtr("1-65535"),
							DestinationAddressPrefix: to.StringPtr("0.0.0.0/0"),
							DestinationPortRange:     to.StringPtr("22"),
							Access:                   armnetwork.SecurityRuleAccessAllow.ToPtr(),
							Direction:                armnetwork.SecurityRuleDirectionInbound.ToPtr(),
							Priority:                 to.Int32Ptr(100),
						},
					},
					{
						Name: to.StringPtr("allow_https"),
						Properties: &armnetwork.SecurityRulePropertiesFormat{
							Protocol:                 armnetwork.SecurityRuleProtocolTCP.ToPtr(),
							SourceAddressPrefix:      to.StringPtr("0.0.0.0/0"),
							SourcePortRange:          to.StringPtr("1-65535"),
							DestinationAddressPrefix: to.StringPtr("0.0.0.0/0"),
							DestinationPortRange:     to.StringPtr("443"),
							Access:                   armnetwork.SecurityRuleAccessAllow.ToPtr(),
							Direction:                armnetwork.SecurityRuleDirectionInbound.ToPtr(),
							Priority:                 to.Int32Ptr(200),
						},
					},
				},
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("network security group ID: %v", *resp.NetworkSecurityGroup.ID)
}
Output:

func (*NetworkSecurityGroupsClient) BeginDelete

func (client *NetworkSecurityGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, options *NetworkSecurityGroupsBeginDeleteOptions) (NetworkSecurityGroupsDeletePollerResponse, error)

BeginDelete - Deletes the specified network security group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkSecurityGroupsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.BeginDelete(context.Background(), "<resource group name>", "<network security group name>", nil)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	_, err = resp.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to delete resource: %v", err)
	}
}
Output:

func (*NetworkSecurityGroupsClient) Get

func (client *NetworkSecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, options *NetworkSecurityGroupsGetOptions) (NetworkSecurityGroupsGetResponse, error)

Get - Gets the specified network security group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewNetworkSecurityGroupsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.Get(context.Background(), "<resource group name>", "<network security group name>", nil)
	if err != nil {
		log.Fatalf("failed to get resource: %v", err)
	}
	log.Printf("network security group ID: %v", *resp.NetworkSecurityGroup.ID)
}
Output:

func (*NetworkSecurityGroupsClient) List

List - Gets all network security groups in a resource group. If the operation fails it returns the *CloudError error type.

func (*NetworkSecurityGroupsClient) ListAll

ListAll - Gets all network security groups in a subscription. If the operation fails it returns the *CloudError error type.

func (*NetworkSecurityGroupsClient) UpdateTags

func (client *NetworkSecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters TagsObject, options *NetworkSecurityGroupsUpdateTagsOptions) (NetworkSecurityGroupsUpdateTagsResponse, error)

UpdateTags - Updates a network security group tags. If the operation fails it returns the *CloudError error type.

type NetworkSecurityGroupsCreateOrUpdatePoller

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

NetworkSecurityGroupsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkSecurityGroupsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkSecurityGroupsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkSecurityGroupsCreateOrUpdateResponse will be returned.

func (*NetworkSecurityGroupsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkSecurityGroupsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkSecurityGroupsCreateOrUpdatePollerResponse

type NetworkSecurityGroupsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkSecurityGroupsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsCreateOrUpdatePollerResponse contains the response from method NetworkSecurityGroups.CreateOrUpdate.

func (NetworkSecurityGroupsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkSecurityGroupsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NetworkSecurityGroupsCreateOrUpdatePollerResponse from the provided client and resume token.

type NetworkSecurityGroupsCreateOrUpdateResponse

type NetworkSecurityGroupsCreateOrUpdateResponse struct {
	NetworkSecurityGroupsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsCreateOrUpdateResponse contains the response from method NetworkSecurityGroups.CreateOrUpdate.

type NetworkSecurityGroupsCreateOrUpdateResult

type NetworkSecurityGroupsCreateOrUpdateResult struct {
	NetworkSecurityGroup
}

NetworkSecurityGroupsCreateOrUpdateResult contains the result from method NetworkSecurityGroups.CreateOrUpdate.

type NetworkSecurityGroupsDeletePoller

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

NetworkSecurityGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkSecurityGroupsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkSecurityGroupsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkSecurityGroupsDeleteResponse will be returned.

func (*NetworkSecurityGroupsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkSecurityGroupsDeletePoller) ResumeToken

func (p *NetworkSecurityGroupsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkSecurityGroupsDeletePollerResponse

type NetworkSecurityGroupsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkSecurityGroupsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsDeletePollerResponse contains the response from method NetworkSecurityGroups.Delete.

func (NetworkSecurityGroupsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkSecurityGroupsDeletePollerResponse) Resume

Resume rehydrates a NetworkSecurityGroupsDeletePollerResponse from the provided client and resume token.

type NetworkSecurityGroupsDeleteResponse

type NetworkSecurityGroupsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsDeleteResponse contains the response from method NetworkSecurityGroups.Delete.

type NetworkSecurityGroupsGetOptions

type NetworkSecurityGroupsGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkSecurityGroupsGetOptions contains the optional parameters for the NetworkSecurityGroups.Get method.

type NetworkSecurityGroupsGetResponse

type NetworkSecurityGroupsGetResponse struct {
	NetworkSecurityGroupsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsGetResponse contains the response from method NetworkSecurityGroups.Get.

type NetworkSecurityGroupsGetResult

type NetworkSecurityGroupsGetResult struct {
	NetworkSecurityGroup
}

NetworkSecurityGroupsGetResult contains the result from method NetworkSecurityGroups.Get.

type NetworkSecurityGroupsListAllOptions

type NetworkSecurityGroupsListAllOptions struct {
}

NetworkSecurityGroupsListAllOptions contains the optional parameters for the NetworkSecurityGroups.ListAll method.

type NetworkSecurityGroupsListAllPager

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

NetworkSecurityGroupsListAllPager provides operations for iterating over paged responses.

func (*NetworkSecurityGroupsListAllPager) Err

Err returns the last error encountered while paging.

func (*NetworkSecurityGroupsListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkSecurityGroupsListAllPager) PageResponse

PageResponse returns the current NetworkSecurityGroupsListAllResponse page.

type NetworkSecurityGroupsListAllResponse

type NetworkSecurityGroupsListAllResponse struct {
	NetworkSecurityGroupsListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsListAllResponse contains the response from method NetworkSecurityGroups.ListAll.

type NetworkSecurityGroupsListAllResult

type NetworkSecurityGroupsListAllResult struct {
	NetworkSecurityGroupListResult
}

NetworkSecurityGroupsListAllResult contains the result from method NetworkSecurityGroups.ListAll.

type NetworkSecurityGroupsListOptions

type NetworkSecurityGroupsListOptions struct {
}

NetworkSecurityGroupsListOptions contains the optional parameters for the NetworkSecurityGroups.List method.

type NetworkSecurityGroupsListPager

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

NetworkSecurityGroupsListPager provides operations for iterating over paged responses.

func (*NetworkSecurityGroupsListPager) Err

Err returns the last error encountered while paging.

func (*NetworkSecurityGroupsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkSecurityGroupsListPager) PageResponse

PageResponse returns the current NetworkSecurityGroupsListResponse page.

type NetworkSecurityGroupsListResponse

type NetworkSecurityGroupsListResponse struct {
	NetworkSecurityGroupsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsListResponse contains the response from method NetworkSecurityGroups.List.

type NetworkSecurityGroupsListResult

type NetworkSecurityGroupsListResult struct {
	NetworkSecurityGroupListResult
}

NetworkSecurityGroupsListResult contains the result from method NetworkSecurityGroups.List.

type NetworkSecurityGroupsUpdateTagsOptions

type NetworkSecurityGroupsUpdateTagsOptions struct {
}

NetworkSecurityGroupsUpdateTagsOptions contains the optional parameters for the NetworkSecurityGroups.UpdateTags method.

type NetworkSecurityGroupsUpdateTagsResponse

type NetworkSecurityGroupsUpdateTagsResponse struct {
	NetworkSecurityGroupsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkSecurityGroupsUpdateTagsResponse contains the response from method NetworkSecurityGroups.UpdateTags.

type NetworkSecurityGroupsUpdateTagsResult

type NetworkSecurityGroupsUpdateTagsResult struct {
	NetworkSecurityGroup
}

NetworkSecurityGroupsUpdateTagsResult contains the result from method NetworkSecurityGroups.UpdateTags.

type NetworkSecurityRulesEvaluationResult

type NetworkSecurityRulesEvaluationResult struct {
	// Value indicating whether destination is matched.
	DestinationMatched *bool `json:"destinationMatched,omitempty"`

	// Value indicating whether destination port is matched.
	DestinationPortMatched *bool `json:"destinationPortMatched,omitempty"`

	// Name of the network security rule.
	Name *string `json:"name,omitempty"`

	// Value indicating whether protocol is matched.
	ProtocolMatched *bool `json:"protocolMatched,omitempty"`

	// Value indicating whether source is matched.
	SourceMatched *bool `json:"sourceMatched,omitempty"`

	// Value indicating whether source port is matched.
	SourcePortMatched *bool `json:"sourcePortMatched,omitempty"`
}

NetworkSecurityRulesEvaluationResult - Network security rules evaluation result.

type NetworkVirtualAppliance

type NetworkVirtualAppliance struct {
	Resource
	// The service principal that has read access to cloud-init and config blob.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Properties of the Network Virtual Appliance.
	Properties *NetworkVirtualAppliancePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkVirtualAppliance Resource.

func (NetworkVirtualAppliance) MarshalJSON

func (n NetworkVirtualAppliance) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualAppliance.

type NetworkVirtualApplianceListResult

type NetworkVirtualApplianceListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Network Virtual Appliances.
	Value []*NetworkVirtualAppliance `json:"value,omitempty"`
}

NetworkVirtualApplianceListResult - Response for ListNetworkVirtualAppliances API service call.

func (NetworkVirtualApplianceListResult) MarshalJSON

func (n NetworkVirtualApplianceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualApplianceListResult.

type NetworkVirtualAppliancePropertiesFormat

type NetworkVirtualAppliancePropertiesFormat struct {
	// BootStrapConfigurationBlobs storage URLs.
	BootStrapConfigurationBlobs []*string `json:"bootStrapConfigurationBlobs,omitempty"`

	// CloudInitConfiguration string in plain text.
	CloudInitConfiguration *string `json:"cloudInitConfiguration,omitempty"`

	// CloudInitConfigurationBlob storage URLs.
	CloudInitConfigurationBlobs []*string `json:"cloudInitConfigurationBlobs,omitempty"`

	// Network Virtual Appliance SKU.
	NvaSKU *VirtualApplianceSKUProperties `json:"nvaSku,omitempty"`

	// Public key for SSH login.
	SSHPublicKey *string `json:"sshPublicKey,omitempty"`

	// VirtualAppliance ASN.
	VirtualApplianceAsn *int64 `json:"virtualApplianceAsn,omitempty"`

	// The Virtual Hub where Network Virtual Appliance is being deployed.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`

	// READ-ONLY; Address Prefix.
	AddressPrefix *string `json:"addressPrefix,omitempty" azure:"ro"`

	// READ-ONLY; List of references to InboundSecurityRules.
	InboundSecurityRules []*SubResource `json:"inboundSecurityRules,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; List of Virtual Appliance Network Interfaces.
	VirtualApplianceNics []*VirtualApplianceNicProperties `json:"virtualApplianceNics,omitempty" azure:"ro"`

	// READ-ONLY; List of references to VirtualApplianceSite.
	VirtualApplianceSites []*SubResource `json:"virtualApplianceSites,omitempty" azure:"ro"`
}

NetworkVirtualAppliancePropertiesFormat - Network Virtual Appliance definition.

func (NetworkVirtualAppliancePropertiesFormat) MarshalJSON

func (n NetworkVirtualAppliancePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualAppliancePropertiesFormat.

type NetworkVirtualApplianceSKU

type NetworkVirtualApplianceSKU struct {
	Resource
	// NetworkVirtualApplianceSku properties.
	Properties *NetworkVirtualApplianceSKUPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkVirtualApplianceSKU - Definition of the NetworkVirtualApplianceSkus resource.

func (NetworkVirtualApplianceSKU) MarshalJSON

func (n NetworkVirtualApplianceSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualApplianceSKU.

type NetworkVirtualApplianceSKUInstances

type NetworkVirtualApplianceSKUInstances struct {
	// READ-ONLY; Instance Count.
	InstanceCount *int32 `json:"instanceCount,omitempty" azure:"ro"`

	// READ-ONLY; Scale Unit.
	ScaleUnit *string `json:"scaleUnit,omitempty" azure:"ro"`
}

NetworkVirtualApplianceSKUInstances - List of available Sku and instances.

type NetworkVirtualApplianceSKUListResult

type NetworkVirtualApplianceSKUListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Network Virtual Appliance Skus that are available.
	Value []*NetworkVirtualApplianceSKU `json:"value,omitempty"`
}

NetworkVirtualApplianceSKUListResult - Response for ListNetworkVirtualApplianceSkus API service call.

func (NetworkVirtualApplianceSKUListResult) MarshalJSON

func (n NetworkVirtualApplianceSKUListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualApplianceSKUListResult.

type NetworkVirtualApplianceSKUPropertiesFormat

type NetworkVirtualApplianceSKUPropertiesFormat struct {
	// The list of scale units available.
	AvailableScaleUnits []*NetworkVirtualApplianceSKUInstances `json:"availableScaleUnits,omitempty"`

	// READ-ONLY; Available Network Virtual Appliance versions.
	AvailableVersions []*string `json:"availableVersions,omitempty" azure:"ro"`

	// READ-ONLY; Network Virtual Appliance Sku vendor.
	Vendor *string `json:"vendor,omitempty" azure:"ro"`
}

NetworkVirtualApplianceSKUPropertiesFormat - Properties specific to NetworkVirtualApplianceSkus.

func (NetworkVirtualApplianceSKUPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualApplianceSKUPropertiesFormat.

type NetworkVirtualApplianceSiteListResult

type NetworkVirtualApplianceSiteListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Network Virtual Appliance sites.
	Value []*VirtualApplianceSite `json:"value,omitempty"`
}

NetworkVirtualApplianceSiteListResult - Response for ListNetworkVirtualApplianceSites API service call.

func (NetworkVirtualApplianceSiteListResult) MarshalJSON

func (n NetworkVirtualApplianceSiteListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkVirtualApplianceSiteListResult.

type NetworkVirtualAppliancesBeginCreateOrUpdateOptions

type NetworkVirtualAppliancesBeginCreateOrUpdateOptions struct {
}

NetworkVirtualAppliancesBeginCreateOrUpdateOptions contains the optional parameters for the NetworkVirtualAppliances.BeginCreateOrUpdate method.

type NetworkVirtualAppliancesBeginDeleteOptions

type NetworkVirtualAppliancesBeginDeleteOptions struct {
}

NetworkVirtualAppliancesBeginDeleteOptions contains the optional parameters for the NetworkVirtualAppliances.BeginDelete method.

type NetworkVirtualAppliancesClient

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

NetworkVirtualAppliancesClient contains the methods for the NetworkVirtualAppliances group. Don't use this type directly, use NewNetworkVirtualAppliancesClient() instead.

func NewNetworkVirtualAppliancesClient

func NewNetworkVirtualAppliancesClient(con *arm.Connection, subscriptionID string) *NetworkVirtualAppliancesClient

NewNetworkVirtualAppliancesClient creates a new instance of NetworkVirtualAppliancesClient with the specified values.

func (*NetworkVirtualAppliancesClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates the specified Network Virtual Appliance. If the operation fails it returns the *CloudError error type.

func (*NetworkVirtualAppliancesClient) BeginDelete

func (client *NetworkVirtualAppliancesClient) BeginDelete(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, options *NetworkVirtualAppliancesBeginDeleteOptions) (NetworkVirtualAppliancesDeletePollerResponse, error)

BeginDelete - Deletes the specified Network Virtual Appliance. If the operation fails it returns the *CloudError error type.

func (*NetworkVirtualAppliancesClient) Get

func (client *NetworkVirtualAppliancesClient) Get(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, options *NetworkVirtualAppliancesGetOptions) (NetworkVirtualAppliancesGetResponse, error)

Get - Gets the specified Network Virtual Appliance. If the operation fails it returns the *CloudError error type.

func (*NetworkVirtualAppliancesClient) List

List - Gets all Network Virtual Appliances in a subscription. If the operation fails it returns the *CloudError error type.

func (*NetworkVirtualAppliancesClient) ListByResourceGroup

ListByResourceGroup - Lists all Network Virtual Appliances in a resource group. If the operation fails it returns the *CloudError error type.

func (*NetworkVirtualAppliancesClient) UpdateTags

func (client *NetworkVirtualAppliancesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, parameters TagsObject, options *NetworkVirtualAppliancesUpdateTagsOptions) (NetworkVirtualAppliancesUpdateTagsResponse, error)

UpdateTags - Updates a Network Virtual Appliance. If the operation fails it returns the *CloudError error type.

type NetworkVirtualAppliancesCreateOrUpdatePoller

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

NetworkVirtualAppliancesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkVirtualAppliancesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkVirtualAppliancesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkVirtualAppliancesCreateOrUpdateResponse will be returned.

func (*NetworkVirtualAppliancesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkVirtualAppliancesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkVirtualAppliancesCreateOrUpdatePollerResponse

type NetworkVirtualAppliancesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkVirtualAppliancesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesCreateOrUpdatePollerResponse contains the response from method NetworkVirtualAppliances.CreateOrUpdate.

func (NetworkVirtualAppliancesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkVirtualAppliancesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NetworkVirtualAppliancesCreateOrUpdatePollerResponse from the provided client and resume token.

type NetworkVirtualAppliancesCreateOrUpdateResponse

type NetworkVirtualAppliancesCreateOrUpdateResponse struct {
	NetworkVirtualAppliancesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesCreateOrUpdateResponse contains the response from method NetworkVirtualAppliances.CreateOrUpdate.

type NetworkVirtualAppliancesCreateOrUpdateResult

type NetworkVirtualAppliancesCreateOrUpdateResult struct {
	NetworkVirtualAppliance
}

NetworkVirtualAppliancesCreateOrUpdateResult contains the result from method NetworkVirtualAppliances.CreateOrUpdate.

type NetworkVirtualAppliancesDeletePoller

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

NetworkVirtualAppliancesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkVirtualAppliancesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkVirtualAppliancesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkVirtualAppliancesDeleteResponse will be returned.

func (*NetworkVirtualAppliancesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkVirtualAppliancesDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkVirtualAppliancesDeletePollerResponse

type NetworkVirtualAppliancesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkVirtualAppliancesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesDeletePollerResponse contains the response from method NetworkVirtualAppliances.Delete.

func (NetworkVirtualAppliancesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkVirtualAppliancesDeletePollerResponse) Resume

Resume rehydrates a NetworkVirtualAppliancesDeletePollerResponse from the provided client and resume token.

type NetworkVirtualAppliancesDeleteResponse

type NetworkVirtualAppliancesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesDeleteResponse contains the response from method NetworkVirtualAppliances.Delete.

type NetworkVirtualAppliancesGetOptions

type NetworkVirtualAppliancesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

NetworkVirtualAppliancesGetOptions contains the optional parameters for the NetworkVirtualAppliances.Get method.

type NetworkVirtualAppliancesGetResponse

type NetworkVirtualAppliancesGetResponse struct {
	NetworkVirtualAppliancesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesGetResponse contains the response from method NetworkVirtualAppliances.Get.

type NetworkVirtualAppliancesGetResult

type NetworkVirtualAppliancesGetResult struct {
	NetworkVirtualAppliance
}

NetworkVirtualAppliancesGetResult contains the result from method NetworkVirtualAppliances.Get.

type NetworkVirtualAppliancesListByResourceGroupOptions

type NetworkVirtualAppliancesListByResourceGroupOptions struct {
}

NetworkVirtualAppliancesListByResourceGroupOptions contains the optional parameters for the NetworkVirtualAppliances.ListByResourceGroup method.

type NetworkVirtualAppliancesListByResourceGroupPager

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

NetworkVirtualAppliancesListByResourceGroupPager provides operations for iterating over paged responses.

func (*NetworkVirtualAppliancesListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*NetworkVirtualAppliancesListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkVirtualAppliancesListByResourceGroupPager) PageResponse

PageResponse returns the current NetworkVirtualAppliancesListByResourceGroupResponse page.

type NetworkVirtualAppliancesListByResourceGroupResponse

type NetworkVirtualAppliancesListByResourceGroupResponse struct {
	NetworkVirtualAppliancesListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesListByResourceGroupResponse contains the response from method NetworkVirtualAppliances.ListByResourceGroup.

type NetworkVirtualAppliancesListByResourceGroupResult

type NetworkVirtualAppliancesListByResourceGroupResult struct {
	NetworkVirtualApplianceListResult
}

NetworkVirtualAppliancesListByResourceGroupResult contains the result from method NetworkVirtualAppliances.ListByResourceGroup.

type NetworkVirtualAppliancesListOptions

type NetworkVirtualAppliancesListOptions struct {
}

NetworkVirtualAppliancesListOptions contains the optional parameters for the NetworkVirtualAppliances.List method.

type NetworkVirtualAppliancesListPager

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

NetworkVirtualAppliancesListPager provides operations for iterating over paged responses.

func (*NetworkVirtualAppliancesListPager) Err

Err returns the last error encountered while paging.

func (*NetworkVirtualAppliancesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*NetworkVirtualAppliancesListPager) PageResponse

PageResponse returns the current NetworkVirtualAppliancesListResponse page.

type NetworkVirtualAppliancesListResponse

type NetworkVirtualAppliancesListResponse struct {
	NetworkVirtualAppliancesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesListResponse contains the response from method NetworkVirtualAppliances.List.

type NetworkVirtualAppliancesListResult

type NetworkVirtualAppliancesListResult struct {
	NetworkVirtualApplianceListResult
}

NetworkVirtualAppliancesListResult contains the result from method NetworkVirtualAppliances.List.

type NetworkVirtualAppliancesUpdateTagsOptions

type NetworkVirtualAppliancesUpdateTagsOptions struct {
}

NetworkVirtualAppliancesUpdateTagsOptions contains the optional parameters for the NetworkVirtualAppliances.UpdateTags method.

type NetworkVirtualAppliancesUpdateTagsResponse

type NetworkVirtualAppliancesUpdateTagsResponse struct {
	NetworkVirtualAppliancesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkVirtualAppliancesUpdateTagsResponse contains the response from method NetworkVirtualAppliances.UpdateTags.

type NetworkVirtualAppliancesUpdateTagsResult

type NetworkVirtualAppliancesUpdateTagsResult struct {
	NetworkVirtualAppliance
}

NetworkVirtualAppliancesUpdateTagsResult contains the result from method NetworkVirtualAppliances.UpdateTags.

type NetworkWatcher

type NetworkWatcher struct {
	Resource
	// Properties of the network watcher.
	Properties *NetworkWatcherPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

NetworkWatcher - Network watcher in a resource group.

func (NetworkWatcher) MarshalJSON

func (n NetworkWatcher) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkWatcher.

type NetworkWatcherListResult

type NetworkWatcherListResult struct {
	// List of network watcher resources.
	Value []*NetworkWatcher `json:"value,omitempty"`
}

NetworkWatcherListResult - Response for ListNetworkWatchers API service call.

func (NetworkWatcherListResult) MarshalJSON

func (n NetworkWatcherListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkWatcherListResult.

type NetworkWatcherPropertiesFormat

type NetworkWatcherPropertiesFormat struct {
	// READ-ONLY; The provisioning state of the network watcher resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

NetworkWatcherPropertiesFormat - The network watcher properties.

type NetworkWatchersBeginCheckConnectivityOptions

type NetworkWatchersBeginCheckConnectivityOptions struct {
}

NetworkWatchersBeginCheckConnectivityOptions contains the optional parameters for the NetworkWatchers.BeginCheckConnectivity method.

type NetworkWatchersBeginDeleteOptions

type NetworkWatchersBeginDeleteOptions struct {
}

NetworkWatchersBeginDeleteOptions contains the optional parameters for the NetworkWatchers.BeginDelete method.

type NetworkWatchersBeginGetAzureReachabilityReportOptions

type NetworkWatchersBeginGetAzureReachabilityReportOptions struct {
}

NetworkWatchersBeginGetAzureReachabilityReportOptions contains the optional parameters for the NetworkWatchers.BeginGetAzureReachabilityReport method.

type NetworkWatchersBeginGetFlowLogStatusOptions

type NetworkWatchersBeginGetFlowLogStatusOptions struct {
}

NetworkWatchersBeginGetFlowLogStatusOptions contains the optional parameters for the NetworkWatchers.BeginGetFlowLogStatus method.

type NetworkWatchersBeginGetNetworkConfigurationDiagnosticOptions

type NetworkWatchersBeginGetNetworkConfigurationDiagnosticOptions struct {
}

NetworkWatchersBeginGetNetworkConfigurationDiagnosticOptions contains the optional parameters for the NetworkWatchers.BeginGetNetworkConfigurationDiagnostic method.

type NetworkWatchersBeginGetNextHopOptions

type NetworkWatchersBeginGetNextHopOptions struct {
}

NetworkWatchersBeginGetNextHopOptions contains the optional parameters for the NetworkWatchers.BeginGetNextHop method.

type NetworkWatchersBeginGetTroubleshootingOptions

type NetworkWatchersBeginGetTroubleshootingOptions struct {
}

NetworkWatchersBeginGetTroubleshootingOptions contains the optional parameters for the NetworkWatchers.BeginGetTroubleshooting method.

type NetworkWatchersBeginGetTroubleshootingResultOptions

type NetworkWatchersBeginGetTroubleshootingResultOptions struct {
}

NetworkWatchersBeginGetTroubleshootingResultOptions contains the optional parameters for the NetworkWatchers.BeginGetTroubleshootingResult method.

type NetworkWatchersBeginGetVMSecurityRulesOptions

type NetworkWatchersBeginGetVMSecurityRulesOptions struct {
}

NetworkWatchersBeginGetVMSecurityRulesOptions contains the optional parameters for the NetworkWatchers.BeginGetVMSecurityRules method.

type NetworkWatchersBeginListAvailableProvidersOptions

type NetworkWatchersBeginListAvailableProvidersOptions struct {
}

NetworkWatchersBeginListAvailableProvidersOptions contains the optional parameters for the NetworkWatchers.BeginListAvailableProviders method.

type NetworkWatchersBeginSetFlowLogConfigurationOptions

type NetworkWatchersBeginSetFlowLogConfigurationOptions struct {
}

NetworkWatchersBeginSetFlowLogConfigurationOptions contains the optional parameters for the NetworkWatchers.BeginSetFlowLogConfiguration method.

type NetworkWatchersBeginVerifyIPFlowOptions

type NetworkWatchersBeginVerifyIPFlowOptions struct {
}

NetworkWatchersBeginVerifyIPFlowOptions contains the optional parameters for the NetworkWatchers.BeginVerifyIPFlow method.

type NetworkWatchersCheckConnectivityPoller

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

NetworkWatchersCheckConnectivityPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersCheckConnectivityPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersCheckConnectivityPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersCheckConnectivityResponse will be returned.

func (*NetworkWatchersCheckConnectivityPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersCheckConnectivityPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersCheckConnectivityPollerResponse

type NetworkWatchersCheckConnectivityPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersCheckConnectivityPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersCheckConnectivityPollerResponse contains the response from method NetworkWatchers.CheckConnectivity.

func (NetworkWatchersCheckConnectivityPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersCheckConnectivityPollerResponse) Resume

Resume rehydrates a NetworkWatchersCheckConnectivityPollerResponse from the provided client and resume token.

type NetworkWatchersCheckConnectivityResponse

type NetworkWatchersCheckConnectivityResponse struct {
	NetworkWatchersCheckConnectivityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersCheckConnectivityResponse contains the response from method NetworkWatchers.CheckConnectivity.

type NetworkWatchersCheckConnectivityResult

type NetworkWatchersCheckConnectivityResult struct {
	ConnectivityInformation
}

NetworkWatchersCheckConnectivityResult contains the result from method NetworkWatchers.CheckConnectivity.

type NetworkWatchersClient

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

NetworkWatchersClient contains the methods for the NetworkWatchers group. Don't use this type directly, use NewNetworkWatchersClient() instead.

func NewNetworkWatchersClient

func NewNetworkWatchersClient(con *arm.Connection, subscriptionID string) *NetworkWatchersClient

NewNetworkWatchersClient creates a new instance of NetworkWatchersClient with the specified values.

func (*NetworkWatchersClient) BeginCheckConnectivity

func (client *NetworkWatchersClient) BeginCheckConnectivity(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters, options *NetworkWatchersBeginCheckConnectivityOptions) (NetworkWatchersCheckConnectivityPollerResponse, error)

BeginCheckConnectivity - Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginDelete

func (client *NetworkWatchersClient) BeginDelete(ctx context.Context, resourceGroupName string, networkWatcherName string, options *NetworkWatchersBeginDeleteOptions) (NetworkWatchersDeletePollerResponse, error)

BeginDelete - Deletes the specified network watcher resource. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetAzureReachabilityReport

BeginGetAzureReachabilityReport - NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetFlowLogStatus

func (client *NetworkWatchersClient) BeginGetFlowLogStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters, options *NetworkWatchersBeginGetFlowLogStatusOptions) (NetworkWatchersGetFlowLogStatusPollerResponse, error)

BeginGetFlowLogStatus - Queries status of flow log and traffic analytics (optional) on a specified resource. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetNetworkConfigurationDiagnostic

BeginGetNetworkConfigurationDiagnostic - Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetNextHop

func (client *NetworkWatchersClient) BeginGetNextHop(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NextHopParameters, options *NetworkWatchersBeginGetNextHopOptions) (NetworkWatchersGetNextHopPollerResponse, error)

BeginGetNextHop - Gets the next hop from the specified VM. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetTroubleshooting

func (client *NetworkWatchersClient) BeginGetTroubleshooting(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters, options *NetworkWatchersBeginGetTroubleshootingOptions) (NetworkWatchersGetTroubleshootingPollerResponse, error)

BeginGetTroubleshooting - Initiate troubleshooting on a specified resource. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetTroubleshootingResult

func (client *NetworkWatchersClient) BeginGetTroubleshootingResult(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters, options *NetworkWatchersBeginGetTroubleshootingResultOptions) (NetworkWatchersGetTroubleshootingResultPollerResponse, error)

BeginGetTroubleshootingResult - Get the last completed troubleshooting result on a specified resource. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginGetVMSecurityRules

func (client *NetworkWatchersClient) BeginGetVMSecurityRules(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters, options *NetworkWatchersBeginGetVMSecurityRulesOptions) (NetworkWatchersGetVMSecurityRulesPollerResponse, error)

BeginGetVMSecurityRules - Gets the configured and effective security group rules on the specified VM. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginListAvailableProviders

BeginListAvailableProviders - NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginSetFlowLogConfiguration

func (client *NetworkWatchersClient) BeginSetFlowLogConfiguration(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogInformation, options *NetworkWatchersBeginSetFlowLogConfigurationOptions) (NetworkWatchersSetFlowLogConfigurationPollerResponse, error)

BeginSetFlowLogConfiguration - Configures flow log and traffic analytics (optional) on a specified resource. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) BeginVerifyIPFlow

func (client *NetworkWatchersClient) BeginVerifyIPFlow(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters, options *NetworkWatchersBeginVerifyIPFlowOptions) (NetworkWatchersVerifyIPFlowPollerResponse, error)

BeginVerifyIPFlow - Verify IP flow from the specified VM to a location given the currently configured NSG rules. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) CreateOrUpdate

func (client *NetworkWatchersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NetworkWatcher, options *NetworkWatchersCreateOrUpdateOptions) (NetworkWatchersCreateOrUpdateResponse, error)

CreateOrUpdate - Creates or updates a network watcher in the specified resource group. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) Get

func (client *NetworkWatchersClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, options *NetworkWatchersGetOptions) (NetworkWatchersGetResponse, error)

Get - Gets the specified network watcher by resource group. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) GetTopology

func (client *NetworkWatchersClient) GetTopology(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TopologyParameters, options *NetworkWatchersGetTopologyOptions) (NetworkWatchersGetTopologyResponse, error)

GetTopology - Gets the current network topology by resource group. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) List

List - Gets all network watchers by resource group. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) ListAll

ListAll - Gets all network watchers by subscription. If the operation fails it returns the *ErrorResponse error type.

func (*NetworkWatchersClient) UpdateTags

func (client *NetworkWatchersClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TagsObject, options *NetworkWatchersUpdateTagsOptions) (NetworkWatchersUpdateTagsResponse, error)

UpdateTags - Updates a network watcher tags. If the operation fails it returns the *ErrorResponse error type.

type NetworkWatchersCreateOrUpdateOptions

type NetworkWatchersCreateOrUpdateOptions struct {
}

NetworkWatchersCreateOrUpdateOptions contains the optional parameters for the NetworkWatchers.CreateOrUpdate method.

type NetworkWatchersCreateOrUpdateResponse

type NetworkWatchersCreateOrUpdateResponse struct {
	NetworkWatchersCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersCreateOrUpdateResponse contains the response from method NetworkWatchers.CreateOrUpdate.

type NetworkWatchersCreateOrUpdateResult

type NetworkWatchersCreateOrUpdateResult struct {
	NetworkWatcher
}

NetworkWatchersCreateOrUpdateResult contains the result from method NetworkWatchers.CreateOrUpdate.

type NetworkWatchersDeletePoller

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

NetworkWatchersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersDeleteResponse will be returned.

func (*NetworkWatchersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersDeletePoller) ResumeToken

func (p *NetworkWatchersDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersDeletePollerResponse

type NetworkWatchersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersDeletePollerResponse contains the response from method NetworkWatchers.Delete.

func (NetworkWatchersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersDeletePollerResponse) Resume

Resume rehydrates a NetworkWatchersDeletePollerResponse from the provided client and resume token.

type NetworkWatchersDeleteResponse

type NetworkWatchersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersDeleteResponse contains the response from method NetworkWatchers.Delete.

type NetworkWatchersGetAzureReachabilityReportPoller

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

NetworkWatchersGetAzureReachabilityReportPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetAzureReachabilityReportPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetAzureReachabilityReportPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetAzureReachabilityReportResponse will be returned.

func (*NetworkWatchersGetAzureReachabilityReportPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetAzureReachabilityReportPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetAzureReachabilityReportPollerResponse

type NetworkWatchersGetAzureReachabilityReportPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetAzureReachabilityReportPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetAzureReachabilityReportPollerResponse contains the response from method NetworkWatchers.GetAzureReachabilityReport.

func (NetworkWatchersGetAzureReachabilityReportPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetAzureReachabilityReportPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetAzureReachabilityReportPollerResponse from the provided client and resume token.

type NetworkWatchersGetAzureReachabilityReportResponse

type NetworkWatchersGetAzureReachabilityReportResponse struct {
	NetworkWatchersGetAzureReachabilityReportResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetAzureReachabilityReportResponse contains the response from method NetworkWatchers.GetAzureReachabilityReport.

type NetworkWatchersGetAzureReachabilityReportResult

type NetworkWatchersGetAzureReachabilityReportResult struct {
	AzureReachabilityReport
}

NetworkWatchersGetAzureReachabilityReportResult contains the result from method NetworkWatchers.GetAzureReachabilityReport.

type NetworkWatchersGetFlowLogStatusPoller

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

NetworkWatchersGetFlowLogStatusPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetFlowLogStatusPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetFlowLogStatusPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetFlowLogStatusResponse will be returned.

func (*NetworkWatchersGetFlowLogStatusPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetFlowLogStatusPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetFlowLogStatusPollerResponse

type NetworkWatchersGetFlowLogStatusPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetFlowLogStatusPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetFlowLogStatusPollerResponse contains the response from method NetworkWatchers.GetFlowLogStatus.

func (NetworkWatchersGetFlowLogStatusPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetFlowLogStatusPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetFlowLogStatusPollerResponse from the provided client and resume token.

type NetworkWatchersGetFlowLogStatusResponse

type NetworkWatchersGetFlowLogStatusResponse struct {
	NetworkWatchersGetFlowLogStatusResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetFlowLogStatusResponse contains the response from method NetworkWatchers.GetFlowLogStatus.

type NetworkWatchersGetFlowLogStatusResult

type NetworkWatchersGetFlowLogStatusResult struct {
	FlowLogInformation
}

NetworkWatchersGetFlowLogStatusResult contains the result from method NetworkWatchers.GetFlowLogStatus.

type NetworkWatchersGetNetworkConfigurationDiagnosticPoller

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

NetworkWatchersGetNetworkConfigurationDiagnosticPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetNetworkConfigurationDiagnosticPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetNetworkConfigurationDiagnosticPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetNetworkConfigurationDiagnosticResponse will be returned.

func (*NetworkWatchersGetNetworkConfigurationDiagnosticPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetNetworkConfigurationDiagnosticPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetNetworkConfigurationDiagnosticPollerResponse

type NetworkWatchersGetNetworkConfigurationDiagnosticPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetNetworkConfigurationDiagnosticPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetNetworkConfigurationDiagnosticPollerResponse contains the response from method NetworkWatchers.GetNetworkConfigurationDiagnostic.

func (NetworkWatchersGetNetworkConfigurationDiagnosticPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetNetworkConfigurationDiagnosticPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetNetworkConfigurationDiagnosticPollerResponse from the provided client and resume token.

type NetworkWatchersGetNetworkConfigurationDiagnosticResponse

type NetworkWatchersGetNetworkConfigurationDiagnosticResponse struct {
	NetworkWatchersGetNetworkConfigurationDiagnosticResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetNetworkConfigurationDiagnosticResponse contains the response from method NetworkWatchers.GetNetworkConfigurationDiagnostic.

type NetworkWatchersGetNetworkConfigurationDiagnosticResult

type NetworkWatchersGetNetworkConfigurationDiagnosticResult struct {
	NetworkConfigurationDiagnosticResponse
}

NetworkWatchersGetNetworkConfigurationDiagnosticResult contains the result from method NetworkWatchers.GetNetworkConfigurationDiagnostic.

type NetworkWatchersGetNextHopPoller

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

NetworkWatchersGetNextHopPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetNextHopPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetNextHopPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetNextHopResponse will be returned.

func (*NetworkWatchersGetNextHopPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetNextHopPoller) ResumeToken

func (p *NetworkWatchersGetNextHopPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetNextHopPollerResponse

type NetworkWatchersGetNextHopPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetNextHopPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetNextHopPollerResponse contains the response from method NetworkWatchers.GetNextHop.

func (NetworkWatchersGetNextHopPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetNextHopPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetNextHopPollerResponse from the provided client and resume token.

type NetworkWatchersGetNextHopResponse

type NetworkWatchersGetNextHopResponse struct {
	NetworkWatchersGetNextHopResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetNextHopResponse contains the response from method NetworkWatchers.GetNextHop.

type NetworkWatchersGetNextHopResult

type NetworkWatchersGetNextHopResult struct {
	NextHopResult
}

NetworkWatchersGetNextHopResult contains the result from method NetworkWatchers.GetNextHop.

type NetworkWatchersGetOptions

type NetworkWatchersGetOptions struct {
}

NetworkWatchersGetOptions contains the optional parameters for the NetworkWatchers.Get method.

type NetworkWatchersGetResponse

type NetworkWatchersGetResponse struct {
	NetworkWatchersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetResponse contains the response from method NetworkWatchers.Get.

type NetworkWatchersGetResult

type NetworkWatchersGetResult struct {
	NetworkWatcher
}

NetworkWatchersGetResult contains the result from method NetworkWatchers.Get.

type NetworkWatchersGetTopologyOptions

type NetworkWatchersGetTopologyOptions struct {
}

NetworkWatchersGetTopologyOptions contains the optional parameters for the NetworkWatchers.GetTopology method.

type NetworkWatchersGetTopologyResponse

type NetworkWatchersGetTopologyResponse struct {
	NetworkWatchersGetTopologyResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetTopologyResponse contains the response from method NetworkWatchers.GetTopology.

type NetworkWatchersGetTopologyResult

type NetworkWatchersGetTopologyResult struct {
	Topology
}

NetworkWatchersGetTopologyResult contains the result from method NetworkWatchers.GetTopology.

type NetworkWatchersGetTroubleshootingPoller

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

NetworkWatchersGetTroubleshootingPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetTroubleshootingPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetTroubleshootingPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetTroubleshootingResponse will be returned.

func (*NetworkWatchersGetTroubleshootingPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetTroubleshootingPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetTroubleshootingPollerResponse

type NetworkWatchersGetTroubleshootingPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetTroubleshootingPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetTroubleshootingPollerResponse contains the response from method NetworkWatchers.GetTroubleshooting.

func (NetworkWatchersGetTroubleshootingPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetTroubleshootingPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetTroubleshootingPollerResponse from the provided client and resume token.

type NetworkWatchersGetTroubleshootingResponse

type NetworkWatchersGetTroubleshootingResponse struct {
	NetworkWatchersGetTroubleshootingResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetTroubleshootingResponse contains the response from method NetworkWatchers.GetTroubleshooting.

type NetworkWatchersGetTroubleshootingResult

type NetworkWatchersGetTroubleshootingResult struct {
	TroubleshootingResult
}

NetworkWatchersGetTroubleshootingResult contains the result from method NetworkWatchers.GetTroubleshooting.

type NetworkWatchersGetTroubleshootingResultPoller

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

NetworkWatchersGetTroubleshootingResultPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetTroubleshootingResultPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetTroubleshootingResultPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetTroubleshootingResultResponse will be returned.

func (*NetworkWatchersGetTroubleshootingResultPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetTroubleshootingResultPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetTroubleshootingResultPollerResponse

type NetworkWatchersGetTroubleshootingResultPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetTroubleshootingResultPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetTroubleshootingResultPollerResponse contains the response from method NetworkWatchers.GetTroubleshootingResult.

func (NetworkWatchersGetTroubleshootingResultPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetTroubleshootingResultPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetTroubleshootingResultPollerResponse from the provided client and resume token.

type NetworkWatchersGetTroubleshootingResultResponse

type NetworkWatchersGetTroubleshootingResultResponse struct {
	NetworkWatchersGetTroubleshootingResultResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetTroubleshootingResultResponse contains the response from method NetworkWatchers.GetTroubleshootingResult.

type NetworkWatchersGetTroubleshootingResultResult

type NetworkWatchersGetTroubleshootingResultResult struct {
	TroubleshootingResult
}

NetworkWatchersGetTroubleshootingResultResult contains the result from method NetworkWatchers.GetTroubleshootingResult.

type NetworkWatchersGetVMSecurityRulesPoller

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

NetworkWatchersGetVMSecurityRulesPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersGetVMSecurityRulesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersGetVMSecurityRulesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersGetVMSecurityRulesResponse will be returned.

func (*NetworkWatchersGetVMSecurityRulesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersGetVMSecurityRulesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersGetVMSecurityRulesPollerResponse

type NetworkWatchersGetVMSecurityRulesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersGetVMSecurityRulesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetVMSecurityRulesPollerResponse contains the response from method NetworkWatchers.GetVMSecurityRules.

func (NetworkWatchersGetVMSecurityRulesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersGetVMSecurityRulesPollerResponse) Resume

Resume rehydrates a NetworkWatchersGetVMSecurityRulesPollerResponse from the provided client and resume token.

type NetworkWatchersGetVMSecurityRulesResponse

type NetworkWatchersGetVMSecurityRulesResponse struct {
	NetworkWatchersGetVMSecurityRulesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersGetVMSecurityRulesResponse contains the response from method NetworkWatchers.GetVMSecurityRules.

type NetworkWatchersGetVMSecurityRulesResult

type NetworkWatchersGetVMSecurityRulesResult struct {
	SecurityGroupViewResult
}

NetworkWatchersGetVMSecurityRulesResult contains the result from method NetworkWatchers.GetVMSecurityRules.

type NetworkWatchersListAllOptions

type NetworkWatchersListAllOptions struct {
}

NetworkWatchersListAllOptions contains the optional parameters for the NetworkWatchers.ListAll method.

type NetworkWatchersListAllResponse

type NetworkWatchersListAllResponse struct {
	NetworkWatchersListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersListAllResponse contains the response from method NetworkWatchers.ListAll.

type NetworkWatchersListAllResult

type NetworkWatchersListAllResult struct {
	NetworkWatcherListResult
}

NetworkWatchersListAllResult contains the result from method NetworkWatchers.ListAll.

type NetworkWatchersListAvailableProvidersPoller

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

NetworkWatchersListAvailableProvidersPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersListAvailableProvidersPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersListAvailableProvidersPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersListAvailableProvidersResponse will be returned.

func (*NetworkWatchersListAvailableProvidersPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersListAvailableProvidersPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersListAvailableProvidersPollerResponse

type NetworkWatchersListAvailableProvidersPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersListAvailableProvidersPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersListAvailableProvidersPollerResponse contains the response from method NetworkWatchers.ListAvailableProviders.

func (NetworkWatchersListAvailableProvidersPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersListAvailableProvidersPollerResponse) Resume

Resume rehydrates a NetworkWatchersListAvailableProvidersPollerResponse from the provided client and resume token.

type NetworkWatchersListAvailableProvidersResponse

type NetworkWatchersListAvailableProvidersResponse struct {
	NetworkWatchersListAvailableProvidersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersListAvailableProvidersResponse contains the response from method NetworkWatchers.ListAvailableProviders.

type NetworkWatchersListAvailableProvidersResult

type NetworkWatchersListAvailableProvidersResult struct {
	AvailableProvidersList
}

NetworkWatchersListAvailableProvidersResult contains the result from method NetworkWatchers.ListAvailableProviders.

type NetworkWatchersListOptions

type NetworkWatchersListOptions struct {
}

NetworkWatchersListOptions contains the optional parameters for the NetworkWatchers.List method.

type NetworkWatchersListResponse

type NetworkWatchersListResponse struct {
	NetworkWatchersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersListResponse contains the response from method NetworkWatchers.List.

type NetworkWatchersListResult

type NetworkWatchersListResult struct {
	NetworkWatcherListResult
}

NetworkWatchersListResult contains the result from method NetworkWatchers.List.

type NetworkWatchersSetFlowLogConfigurationPoller

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

NetworkWatchersSetFlowLogConfigurationPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersSetFlowLogConfigurationPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersSetFlowLogConfigurationPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersSetFlowLogConfigurationResponse will be returned.

func (*NetworkWatchersSetFlowLogConfigurationPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersSetFlowLogConfigurationPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersSetFlowLogConfigurationPollerResponse

type NetworkWatchersSetFlowLogConfigurationPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersSetFlowLogConfigurationPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersSetFlowLogConfigurationPollerResponse contains the response from method NetworkWatchers.SetFlowLogConfiguration.

func (NetworkWatchersSetFlowLogConfigurationPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersSetFlowLogConfigurationPollerResponse) Resume

Resume rehydrates a NetworkWatchersSetFlowLogConfigurationPollerResponse from the provided client and resume token.

type NetworkWatchersSetFlowLogConfigurationResponse

type NetworkWatchersSetFlowLogConfigurationResponse struct {
	NetworkWatchersSetFlowLogConfigurationResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersSetFlowLogConfigurationResponse contains the response from method NetworkWatchers.SetFlowLogConfiguration.

type NetworkWatchersSetFlowLogConfigurationResult

type NetworkWatchersSetFlowLogConfigurationResult struct {
	FlowLogInformation
}

NetworkWatchersSetFlowLogConfigurationResult contains the result from method NetworkWatchers.SetFlowLogConfiguration.

type NetworkWatchersUpdateTagsOptions

type NetworkWatchersUpdateTagsOptions struct {
}

NetworkWatchersUpdateTagsOptions contains the optional parameters for the NetworkWatchers.UpdateTags method.

type NetworkWatchersUpdateTagsResponse

type NetworkWatchersUpdateTagsResponse struct {
	NetworkWatchersUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersUpdateTagsResponse contains the response from method NetworkWatchers.UpdateTags.

type NetworkWatchersUpdateTagsResult

type NetworkWatchersUpdateTagsResult struct {
	NetworkWatcher
}

NetworkWatchersUpdateTagsResult contains the result from method NetworkWatchers.UpdateTags.

type NetworkWatchersVerifyIPFlowPoller

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

NetworkWatchersVerifyIPFlowPoller provides polling facilities until the operation reaches a terminal state.

func (*NetworkWatchersVerifyIPFlowPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NetworkWatchersVerifyIPFlowPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NetworkWatchersVerifyIPFlowResponse will be returned.

func (*NetworkWatchersVerifyIPFlowPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NetworkWatchersVerifyIPFlowPoller) ResumeToken

func (p *NetworkWatchersVerifyIPFlowPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NetworkWatchersVerifyIPFlowPollerResponse

type NetworkWatchersVerifyIPFlowPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NetworkWatchersVerifyIPFlowPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersVerifyIPFlowPollerResponse contains the response from method NetworkWatchers.VerifyIPFlow.

func (NetworkWatchersVerifyIPFlowPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*NetworkWatchersVerifyIPFlowPollerResponse) Resume

Resume rehydrates a NetworkWatchersVerifyIPFlowPollerResponse from the provided client and resume token.

type NetworkWatchersVerifyIPFlowResponse

type NetworkWatchersVerifyIPFlowResponse struct {
	NetworkWatchersVerifyIPFlowResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NetworkWatchersVerifyIPFlowResponse contains the response from method NetworkWatchers.VerifyIPFlow.

type NetworkWatchersVerifyIPFlowResult

type NetworkWatchersVerifyIPFlowResult struct {
	VerificationIPFlowResult
}

NetworkWatchersVerifyIPFlowResult contains the result from method NetworkWatchers.VerifyIPFlow.

type NextHopParameters

type NextHopParameters struct {
	// REQUIRED; The destination IP address.
	DestinationIPAddress *string `json:"destinationIPAddress,omitempty"`

	// REQUIRED; The source IP address.
	SourceIPAddress *string `json:"sourceIPAddress,omitempty"`

	// REQUIRED; The resource identifier of the target resource against which the action is to be performed.
	TargetResourceID *string `json:"targetResourceId,omitempty"`

	// The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).
	TargetNicResourceID *string `json:"targetNicResourceId,omitempty"`
}

NextHopParameters - Parameters that define the source and destination endpoint.

type NextHopResult

type NextHopResult struct {
	// Next hop IP Address.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`

	// Next hop type.
	NextHopType *NextHopType `json:"nextHopType,omitempty"`

	// The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created
	// routes then this field will be the string
	// 'System Route'.
	RouteTableID *string `json:"routeTableId,omitempty"`
}

NextHopResult - The information about next hop from the specified VM.

type NextHopType

type NextHopType string

NextHopType - Next hop type.

const (
	NextHopTypeHyperNetGateway       NextHopType = "HyperNetGateway"
	NextHopTypeInternet              NextHopType = "Internet"
	NextHopTypeNone                  NextHopType = "None"
	NextHopTypeVirtualAppliance      NextHopType = "VirtualAppliance"
	NextHopTypeVirtualNetworkGateway NextHopType = "VirtualNetworkGateway"
	NextHopTypeVnetLocal             NextHopType = "VnetLocal"
)

func PossibleNextHopTypeValues

func PossibleNextHopTypeValues() []NextHopType

PossibleNextHopTypeValues returns the possible values for the NextHopType const type.

func (NextHopType) ToPtr

func (c NextHopType) ToPtr() *NextHopType

ToPtr returns a *NextHopType pointing to the current value.

type O365BreakOutCategoryPolicies

type O365BreakOutCategoryPolicies struct {
	// Flag to control allow category.
	Allow *bool `json:"allow,omitempty"`

	// Flag to control default category.
	Default *bool `json:"default,omitempty"`

	// Flag to control optimize category.
	Optimize *bool `json:"optimize,omitempty"`
}

O365BreakOutCategoryPolicies - Office365 breakout categories.

type O365PolicyProperties

type O365PolicyProperties struct {
	// Office365 breakout categories.
	BreakOutCategories *O365BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"`
}

O365PolicyProperties - The Office365 breakout policy.

type Office365PolicyProperties

type Office365PolicyProperties struct {
	// Office 365 breakout categories.
	BreakOutCategories *BreakOutCategoryPolicies `json:"breakOutCategories,omitempty"`
}

Office365PolicyProperties - Network Virtual Appliance Sku Properties.

type OfficeTrafficCategory

type OfficeTrafficCategory string

OfficeTrafficCategory - The office traffic category.

const (
	OfficeTrafficCategoryAll              OfficeTrafficCategory = "All"
	OfficeTrafficCategoryNone             OfficeTrafficCategory = "None"
	OfficeTrafficCategoryOptimize         OfficeTrafficCategory = "Optimize"
	OfficeTrafficCategoryOptimizeAndAllow OfficeTrafficCategory = "OptimizeAndAllow"
)

func PossibleOfficeTrafficCategoryValues

func PossibleOfficeTrafficCategoryValues() []OfficeTrafficCategory

PossibleOfficeTrafficCategoryValues returns the possible values for the OfficeTrafficCategory const type.

func (OfficeTrafficCategory) ToPtr

ToPtr returns a *OfficeTrafficCategory pointing to the current value.

type Operation

type Operation struct {
	// Display metadata associated with the operation.
	Display *OperationDisplay `json:"display,omitempty"`

	// Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`

	// Origin of the operation.
	Origin *string `json:"origin,omitempty"`

	// Operation properties format.
	Properties *OperationPropertiesFormat `json:"properties,omitempty"`
}

Operation - Network REST API operation definition.

type OperationDisplay

type OperationDisplay struct {
	// Description of the operation.
	Description *string `json:"description,omitempty"`

	// Type of the operation: get, read, delete, etc.
	Operation *string `json:"operation,omitempty"`

	// Service provider: Microsoft Network.
	Provider *string `json:"provider,omitempty"`

	// Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
}

OperationDisplay - Display metadata associated with the operation.

type OperationListResult

type OperationListResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Network operations supported by the Network resource provider.
	Value []*Operation `json:"value,omitempty"`
}

OperationListResult - Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) MarshalJSON

func (o OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationListResult.

type OperationPropertiesFormat

type OperationPropertiesFormat struct {
	// Specification of the service.
	ServiceSpecification *OperationPropertiesFormatServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationPropertiesFormat - Description of operation properties format.

type OperationPropertiesFormatServiceSpecification

type OperationPropertiesFormatServiceSpecification struct {
	// Operation log specification.
	LogSpecifications []*LogSpecification `json:"logSpecifications,omitempty"`

	// Operation service specification.
	MetricSpecifications []*MetricSpecification `json:"metricSpecifications,omitempty"`
}

OperationPropertiesFormatServiceSpecification - Specification of the service.

func (OperationPropertiesFormatServiceSpecification) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type OperationPropertiesFormatServiceSpecification.

type OperationsClient

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

OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.

func NewOperationsClient

func NewOperationsClient(con *arm.Connection) *OperationsClient

NewOperationsClient creates a new instance of OperationsClient with the specified values.

func (*OperationsClient) List

List - Lists all of the available Network Rest API operations. If the operation fails it returns the *CloudError error type.

type OperationsListOptions

type OperationsListOptions struct {
}

OperationsListOptions contains the optional parameters for the Operations.List method.

type OperationsListPager

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

OperationsListPager provides operations for iterating over paged responses.

func (*OperationsListPager) Err

func (p *OperationsListPager) Err() error

Err returns the last error encountered while paging.

func (*OperationsListPager) NextPage

func (p *OperationsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*OperationsListPager) PageResponse

func (p *OperationsListPager) PageResponse() OperationsListResponse

PageResponse returns the current OperationsListResponse page.

type OperationsListResponse

type OperationsListResponse struct {
	OperationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

OperationsListResponse contains the response from method Operations.List.

type OperationsListResult

type OperationsListResult struct {
	OperationListResult
}

OperationsListResult contains the result from method Operations.List.

type Origin

type Origin string

Origin - The origin of the issue.

const (
	OriginInbound  Origin = "Inbound"
	OriginLocal    Origin = "Local"
	OriginOutbound Origin = "Outbound"
)

func PossibleOriginValues

func PossibleOriginValues() []Origin

PossibleOriginValues returns the possible values for the Origin const type.

func (Origin) ToPtr

func (c Origin) ToPtr() *Origin

ToPtr returns a *Origin pointing to the current value.

type OutboundRule

type OutboundRule struct {
	SubResource
	// The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of load balancer outbound rule.
	Properties *OutboundRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

OutboundRule - Outbound rule of the load balancer.

func (OutboundRule) MarshalJSON

func (o OutboundRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OutboundRule.

type OutboundRulePropertiesFormat

type OutboundRulePropertiesFormat struct {
	// REQUIRED; A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`

	// REQUIRED; The Frontend IP addresses of the load balancer.
	FrontendIPConfigurations []*SubResource `json:"frontendIPConfigurations,omitempty"`

	// REQUIRED; The protocol for the outbound rule in load balancer.
	Protocol *LoadBalancerOutboundRuleProtocol `json:"protocol,omitempty"`

	// The number of outbound ports to be used for NAT.
	AllocatedOutboundPorts *int32 `json:"allocatedOutboundPorts,omitempty"`

	// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to
	// TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`

	// The timeout for the TCP idle connection.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`

	// READ-ONLY; The provisioning state of the outbound rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

OutboundRulePropertiesFormat - Outbound rule of the load balancer.

func (OutboundRulePropertiesFormat) MarshalJSON

func (o OutboundRulePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OutboundRulePropertiesFormat.

type OutputType

type OutputType string

OutputType - Connection monitor output destination type. Currently, only "Workspace" is supported.

const (
	OutputTypeWorkspace OutputType = "Workspace"
)

func PossibleOutputTypeValues

func PossibleOutputTypeValues() []OutputType

PossibleOutputTypeValues returns the possible values for the OutputType const type.

func (OutputType) ToPtr

func (c OutputType) ToPtr() *OutputType

ToPtr returns a *OutputType pointing to the current value.

type OwaspCrsExclusionEntry

type OwaspCrsExclusionEntry struct {
	// REQUIRED; The variable to be excluded.
	MatchVariable *OwaspCrsExclusionEntryMatchVariable `json:"matchVariable,omitempty"`

	// REQUIRED; When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
	Selector *string `json:"selector,omitempty"`

	// REQUIRED; When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
	SelectorMatchOperator *OwaspCrsExclusionEntrySelectorMatchOperator `json:"selectorMatchOperator,omitempty"`
}

OwaspCrsExclusionEntry - Allow to exclude some variable satisfy the condition for the WAF check.

type OwaspCrsExclusionEntryMatchVariable

type OwaspCrsExclusionEntryMatchVariable string

OwaspCrsExclusionEntryMatchVariable - The variable to be excluded.

const (
	OwaspCrsExclusionEntryMatchVariableRequestArgNames    OwaspCrsExclusionEntryMatchVariable = "RequestArgNames"
	OwaspCrsExclusionEntryMatchVariableRequestCookieNames OwaspCrsExclusionEntryMatchVariable = "RequestCookieNames"
	OwaspCrsExclusionEntryMatchVariableRequestHeaderNames OwaspCrsExclusionEntryMatchVariable = "RequestHeaderNames"
)

func PossibleOwaspCrsExclusionEntryMatchVariableValues

func PossibleOwaspCrsExclusionEntryMatchVariableValues() []OwaspCrsExclusionEntryMatchVariable

PossibleOwaspCrsExclusionEntryMatchVariableValues returns the possible values for the OwaspCrsExclusionEntryMatchVariable const type.

func (OwaspCrsExclusionEntryMatchVariable) ToPtr

ToPtr returns a *OwaspCrsExclusionEntryMatchVariable pointing to the current value.

type OwaspCrsExclusionEntrySelectorMatchOperator

type OwaspCrsExclusionEntrySelectorMatchOperator string

OwaspCrsExclusionEntrySelectorMatchOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.

const (
	OwaspCrsExclusionEntrySelectorMatchOperatorContains   OwaspCrsExclusionEntrySelectorMatchOperator = "Contains"
	OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith   OwaspCrsExclusionEntrySelectorMatchOperator = "EndsWith"
	OwaspCrsExclusionEntrySelectorMatchOperatorEquals     OwaspCrsExclusionEntrySelectorMatchOperator = "Equals"
	OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny  OwaspCrsExclusionEntrySelectorMatchOperator = "EqualsAny"
	OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith OwaspCrsExclusionEntrySelectorMatchOperator = "StartsWith"
)

func PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues

func PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues() []OwaspCrsExclusionEntrySelectorMatchOperator

PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues returns the possible values for the OwaspCrsExclusionEntrySelectorMatchOperator const type.

func (OwaspCrsExclusionEntrySelectorMatchOperator) ToPtr

ToPtr returns a *OwaspCrsExclusionEntrySelectorMatchOperator pointing to the current value.

type P2SConnectionConfiguration

type P2SConnectionConfiguration struct {
	SubResource
	// 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"`

	// Properties of the P2S connection configuration.
	Properties *P2SConnectionConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

P2SConnectionConfiguration Resource.

func (P2SConnectionConfiguration) MarshalJSON

func (p P2SConnectionConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type P2SConnectionConfiguration.

type P2SConnectionConfigurationProperties

type P2SConnectionConfigurationProperties struct {
	// Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`

	// The Routing Configuration indicating the associated and propagated route tables on this connection.
	RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"`

	// The reference to the address space resource which represents Address space for P2S VpnClient.
	VPNClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"`

	// READ-ONLY; The provisioning state of the P2SConnectionConfiguration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

P2SConnectionConfigurationProperties - Parameters for P2SConnectionConfiguration.

type P2SVPNConnectionHealth

type P2SVPNConnectionHealth struct {
	// Returned sas url of the blob to which the p2s vpn connection detailed health will be written.
	SasURL *string `json:"sasUrl,omitempty"`
}

P2SVPNConnectionHealth - P2S Vpn connection detailed health written to sas url.

type P2SVPNConnectionHealthRequest

type P2SVPNConnectionHealthRequest struct {
	// The sas-url to download the P2S Vpn connection health detail.
	OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"`

	// The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
	VPNUserNamesFilter []*string `json:"vpnUserNamesFilter,omitempty"`
}

P2SVPNConnectionHealthRequest - List of P2S Vpn connection health request.

func (P2SVPNConnectionHealthRequest) MarshalJSON

func (p P2SVPNConnectionHealthRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type P2SVPNConnectionHealthRequest.

type P2SVPNConnectionRequest

type P2SVPNConnectionRequest struct {
	// List of p2s vpn connection Ids.
	VPNConnectionIDs []*string `json:"vpnConnectionIds,omitempty"`
}

P2SVPNConnectionRequest - List of p2s vpn connections to be disconnected.

func (P2SVPNConnectionRequest) MarshalJSON

func (p P2SVPNConnectionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type P2SVPNConnectionRequest.

type P2SVPNGateway

type P2SVPNGateway struct {
	Resource
	// Properties of the P2SVpnGateway.
	Properties *P2SVPNGatewayProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

P2SVPNGateway - P2SVpnGateway Resource.

func (P2SVPNGateway) MarshalJSON

func (p P2SVPNGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type P2SVPNGateway.

type P2SVPNGatewayProperties

type P2SVPNGatewayProperties struct {
	// List of all customer specified DNS servers IP addresses.
	CustomDNSServers []*string `json:"customDnsServers,omitempty"`

	// Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
	IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"`

	// List of all p2s connection configurations of the gateway.
	P2SConnectionConfigurations []*P2SConnectionConfiguration `json:"p2SConnectionConfigurations,omitempty"`

	// The scale unit for this p2s vpn gateway.
	VPNGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"`

	// The VpnServerConfiguration to which the p2sVpnGateway is attached to.
	VPNServerConfiguration *SubResource `json:"vpnServerConfiguration,omitempty"`

	// The VirtualHub to which the gateway belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`

	// READ-ONLY; The provisioning state of the P2S VPN gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; All P2S VPN clients' connection health status.
	VPNClientConnectionHealth *VPNClientConnectionHealth `json:"vpnClientConnectionHealth,omitempty" azure:"ro"`
}

P2SVPNGatewayProperties - Parameters for P2SVpnGateway.

func (P2SVPNGatewayProperties) MarshalJSON

func (p P2SVPNGatewayProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type P2SVPNGatewayProperties.

type P2SVPNGatewaysBeginCreateOrUpdateOptions

type P2SVPNGatewaysBeginCreateOrUpdateOptions struct {
}

P2SVPNGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the P2SVPNGateways.BeginCreateOrUpdate method.

type P2SVPNGatewaysBeginDeleteOptions

type P2SVPNGatewaysBeginDeleteOptions struct {
}

P2SVPNGatewaysBeginDeleteOptions contains the optional parameters for the P2SVPNGateways.BeginDelete method.

type P2SVPNGatewaysBeginDisconnectP2SVPNConnectionsOptions

type P2SVPNGatewaysBeginDisconnectP2SVPNConnectionsOptions struct {
}

P2SVPNGatewaysBeginDisconnectP2SVPNConnectionsOptions contains the optional parameters for the P2SVPNGateways.BeginDisconnectP2SVPNConnections method.

type P2SVPNGatewaysBeginGenerateVPNProfileOptions

type P2SVPNGatewaysBeginGenerateVPNProfileOptions struct {
}

P2SVPNGatewaysBeginGenerateVPNProfileOptions contains the optional parameters for the P2SVPNGateways.BeginGenerateVPNProfile method.

type P2SVPNGatewaysBeginGetP2SVPNConnectionHealthDetailedOptions

type P2SVPNGatewaysBeginGetP2SVPNConnectionHealthDetailedOptions struct {
}

P2SVPNGatewaysBeginGetP2SVPNConnectionHealthDetailedOptions contains the optional parameters for the P2SVPNGateways.BeginGetP2SVPNConnectionHealthDetailed method.

type P2SVPNGatewaysBeginGetP2SVPNConnectionHealthOptions

type P2SVPNGatewaysBeginGetP2SVPNConnectionHealthOptions struct {
}

P2SVPNGatewaysBeginGetP2SVPNConnectionHealthOptions contains the optional parameters for the P2SVPNGateways.BeginGetP2SVPNConnectionHealth method.

type P2SVPNGatewaysBeginResetOptions

type P2SVPNGatewaysBeginResetOptions struct {
}

P2SVPNGatewaysBeginResetOptions contains the optional parameters for the P2SVPNGateways.BeginReset method.

type P2SVPNGatewaysBeginUpdateTagsOptions

type P2SVPNGatewaysBeginUpdateTagsOptions struct {
}

P2SVPNGatewaysBeginUpdateTagsOptions contains the optional parameters for the P2SVPNGateways.BeginUpdateTags method.

type P2SVPNGatewaysClient

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

P2SVPNGatewaysClient contains the methods for the P2SVPNGateways group. Don't use this type directly, use NewP2SVPNGatewaysClient() instead.

func NewP2SVPNGatewaysClient

func NewP2SVPNGatewaysClient(con *arm.Connection, subscriptionID string) *P2SVPNGatewaysClient

NewP2SVPNGatewaysClient creates a new instance of P2SVPNGatewaysClient with the specified values.

func (*P2SVPNGatewaysClient) BeginCreateOrUpdate

func (client *P2SVPNGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, p2SVPNGatewayParameters P2SVPNGateway, options *P2SVPNGatewaysBeginCreateOrUpdateOptions) (P2SVPNGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginDelete

func (client *P2SVPNGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, gatewayName string, options *P2SVPNGatewaysBeginDeleteOptions) (P2SVPNGatewaysDeletePollerResponse, error)

BeginDelete - Deletes a virtual wan p2s vpn gateway. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginDisconnectP2SVPNConnections

func (client *P2SVPNGatewaysClient) BeginDisconnectP2SVPNConnections(ctx context.Context, resourceGroupName string, p2SVPNGatewayName string, request P2SVPNConnectionRequest, options *P2SVPNGatewaysBeginDisconnectP2SVPNConnectionsOptions) (P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse, error)

BeginDisconnectP2SVPNConnections - Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginGenerateVPNProfile

func (client *P2SVPNGatewaysClient) BeginGenerateVPNProfile(ctx context.Context, resourceGroupName string, gatewayName string, parameters P2SVPNProfileParameters, options *P2SVPNGatewaysBeginGenerateVPNProfileOptions) (P2SVPNGatewaysGenerateVPNProfilePollerResponse, error)

BeginGenerateVPNProfile - Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginGetP2SVPNConnectionHealth

func (client *P2SVPNGatewaysClient) BeginGetP2SVPNConnectionHealth(ctx context.Context, resourceGroupName string, gatewayName string, options *P2SVPNGatewaysBeginGetP2SVPNConnectionHealthOptions) (P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse, error)

BeginGetP2SVPNConnectionHealth - Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginGetP2SVPNConnectionHealthDetailed

BeginGetP2SVPNConnectionHealthDetailed - Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginReset

func (client *P2SVPNGatewaysClient) BeginReset(ctx context.Context, resourceGroupName string, gatewayName string, options *P2SVPNGatewaysBeginResetOptions) (P2SVPNGatewaysResetPollerResponse, error)

BeginReset - Resets the primary of the p2s vpn gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) BeginUpdateTags

func (client *P2SVPNGatewaysClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, p2SVPNGatewayParameters TagsObject, options *P2SVPNGatewaysBeginUpdateTagsOptions) (P2SVPNGatewaysUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates virtual wan p2s vpn gateway tags. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) Get

func (client *P2SVPNGatewaysClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, options *P2SVPNGatewaysGetOptions) (P2SVPNGatewaysGetResponse, error)

Get - Retrieves the details of a virtual wan p2s vpn gateway. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) List

List - Lists all the P2SVpnGateways in a subscription. If the operation fails it returns the *CloudError error type.

func (*P2SVPNGatewaysClient) ListByResourceGroup

func (client *P2SVPNGatewaysClient) ListByResourceGroup(resourceGroupName string, options *P2SVPNGatewaysListByResourceGroupOptions) *P2SVPNGatewaysListByResourceGroupPager

ListByResourceGroup - Lists all the P2SVpnGateways in a resource group. If the operation fails it returns the *CloudError error type.

type P2SVPNGatewaysCreateOrUpdatePoller

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

P2SVPNGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysCreateOrUpdateResponse will be returned.

func (*P2SVPNGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysCreateOrUpdatePoller) ResumeToken

func (p *P2SVPNGatewaysCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysCreateOrUpdatePollerResponse

type P2SVPNGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysCreateOrUpdatePollerResponse contains the response from method P2SVPNGateways.CreateOrUpdate.

func (P2SVPNGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type P2SVPNGatewaysCreateOrUpdateResponse

type P2SVPNGatewaysCreateOrUpdateResponse struct {
	P2SVPNGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysCreateOrUpdateResponse contains the response from method P2SVPNGateways.CreateOrUpdate.

type P2SVPNGatewaysCreateOrUpdateResult

type P2SVPNGatewaysCreateOrUpdateResult struct {
	P2SVPNGateway
}

P2SVPNGatewaysCreateOrUpdateResult contains the result from method P2SVPNGateways.CreateOrUpdate.

type P2SVPNGatewaysDeletePoller

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

P2SVPNGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysDeletePoller) Done

func (p *P2SVPNGatewaysDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysDeleteResponse will be returned.

func (*P2SVPNGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysDeletePoller) ResumeToken

func (p *P2SVPNGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysDeletePollerResponse

type P2SVPNGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysDeletePollerResponse contains the response from method P2SVPNGateways.Delete.

func (P2SVPNGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysDeletePollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysDeletePollerResponse from the provided client and resume token.

type P2SVPNGatewaysDeleteResponse

type P2SVPNGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysDeleteResponse contains the response from method P2SVPNGateways.Delete.

type P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller

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

P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysDisconnectP2SVPNConnectionsResponse will be returned.

func (*P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse

type P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysDisconnectP2SVPNConnectionsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse contains the response from method P2SVPNGateways.DisconnectP2SVPNConnections.

func (P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysDisconnectP2SVPNConnectionsPollerResponse from the provided client and resume token.

type P2SVPNGatewaysDisconnectP2SVPNConnectionsResponse

type P2SVPNGatewaysDisconnectP2SVPNConnectionsResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysDisconnectP2SVPNConnectionsResponse contains the response from method P2SVPNGateways.DisconnectP2SVPNConnections.

type P2SVPNGatewaysGenerateVPNProfilePoller

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

P2SVPNGatewaysGenerateVPNProfilePoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysGenerateVPNProfilePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysGenerateVPNProfilePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysGenerateVPNProfileResponse will be returned.

func (*P2SVPNGatewaysGenerateVPNProfilePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysGenerateVPNProfilePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysGenerateVPNProfilePollerResponse

type P2SVPNGatewaysGenerateVPNProfilePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysGenerateVPNProfilePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGenerateVPNProfilePollerResponse contains the response from method P2SVPNGateways.GenerateVPNProfile.

func (P2SVPNGatewaysGenerateVPNProfilePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysGenerateVPNProfilePollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysGenerateVPNProfilePollerResponse from the provided client and resume token.

type P2SVPNGatewaysGenerateVPNProfileResponse

type P2SVPNGatewaysGenerateVPNProfileResponse struct {
	P2SVPNGatewaysGenerateVPNProfileResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGenerateVPNProfileResponse contains the response from method P2SVPNGateways.GenerateVPNProfile.

type P2SVPNGatewaysGenerateVPNProfileResult

type P2SVPNGatewaysGenerateVPNProfileResult struct {
	VPNProfileResponse
}

P2SVPNGatewaysGenerateVPNProfileResult contains the result from method P2SVPNGateways.GenerateVPNProfile.

type P2SVPNGatewaysGetOptions

type P2SVPNGatewaysGetOptions struct {
}

P2SVPNGatewaysGetOptions contains the optional parameters for the P2SVPNGateways.Get method.

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller

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

P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResponse will be returned.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPollerResponse

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPollerResponse contains the response from method P2SVPNGateways.GetP2SVPNConnectionHealthDetailed.

func (P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedPollerResponse from the provided client and resume token.

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResponse

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResponse struct {
	P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResponse contains the response from method P2SVPNGateways.GetP2SVPNConnectionHealthDetailed.

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResult

type P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResult struct {
	P2SVPNConnectionHealth
}

P2SVPNGatewaysGetP2SVPNConnectionHealthDetailedResult contains the result from method P2SVPNGateways.GetP2SVPNConnectionHealthDetailed.

type P2SVPNGatewaysGetP2SVPNConnectionHealthPoller

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

P2SVPNGatewaysGetP2SVPNConnectionHealthPoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysGetP2SVPNConnectionHealthResponse will be returned.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse

type P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysGetP2SVPNConnectionHealthPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse contains the response from method P2SVPNGateways.GetP2SVPNConnectionHealth.

func (P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysGetP2SVPNConnectionHealthPollerResponse from the provided client and resume token.

type P2SVPNGatewaysGetP2SVPNConnectionHealthResponse

type P2SVPNGatewaysGetP2SVPNConnectionHealthResponse struct {
	P2SVPNGatewaysGetP2SVPNConnectionHealthResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGetP2SVPNConnectionHealthResponse contains the response from method P2SVPNGateways.GetP2SVPNConnectionHealth.

type P2SVPNGatewaysGetP2SVPNConnectionHealthResult

type P2SVPNGatewaysGetP2SVPNConnectionHealthResult struct {
	P2SVPNGateway
}

P2SVPNGatewaysGetP2SVPNConnectionHealthResult contains the result from method P2SVPNGateways.GetP2SVPNConnectionHealth.

type P2SVPNGatewaysGetResponse

type P2SVPNGatewaysGetResponse struct {
	P2SVPNGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysGetResponse contains the response from method P2SVPNGateways.Get.

type P2SVPNGatewaysGetResult

type P2SVPNGatewaysGetResult struct {
	P2SVPNGateway
}

P2SVPNGatewaysGetResult contains the result from method P2SVPNGateways.Get.

type P2SVPNGatewaysListByResourceGroupOptions

type P2SVPNGatewaysListByResourceGroupOptions struct {
}

P2SVPNGatewaysListByResourceGroupOptions contains the optional parameters for the P2SVPNGateways.ListByResourceGroup method.

type P2SVPNGatewaysListByResourceGroupPager

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

P2SVPNGatewaysListByResourceGroupPager provides operations for iterating over paged responses.

func (*P2SVPNGatewaysListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*P2SVPNGatewaysListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*P2SVPNGatewaysListByResourceGroupPager) PageResponse

PageResponse returns the current P2SVPNGatewaysListByResourceGroupResponse page.

type P2SVPNGatewaysListByResourceGroupResponse

type P2SVPNGatewaysListByResourceGroupResponse struct {
	P2SVPNGatewaysListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysListByResourceGroupResponse contains the response from method P2SVPNGateways.ListByResourceGroup.

type P2SVPNGatewaysListByResourceGroupResult

type P2SVPNGatewaysListByResourceGroupResult struct {
	ListP2SVPNGatewaysResult
}

P2SVPNGatewaysListByResourceGroupResult contains the result from method P2SVPNGateways.ListByResourceGroup.

type P2SVPNGatewaysListOptions

type P2SVPNGatewaysListOptions struct {
}

P2SVPNGatewaysListOptions contains the optional parameters for the P2SVPNGateways.List method.

type P2SVPNGatewaysListPager

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

P2SVPNGatewaysListPager provides operations for iterating over paged responses.

func (*P2SVPNGatewaysListPager) Err

func (p *P2SVPNGatewaysListPager) Err() error

Err returns the last error encountered while paging.

func (*P2SVPNGatewaysListPager) NextPage

func (p *P2SVPNGatewaysListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*P2SVPNGatewaysListPager) PageResponse

PageResponse returns the current P2SVPNGatewaysListResponse page.

type P2SVPNGatewaysListResponse

type P2SVPNGatewaysListResponse struct {
	P2SVPNGatewaysListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysListResponse contains the response from method P2SVPNGateways.List.

type P2SVPNGatewaysListResult

type P2SVPNGatewaysListResult struct {
	ListP2SVPNGatewaysResult
}

P2SVPNGatewaysListResult contains the result from method P2SVPNGateways.List.

type P2SVPNGatewaysResetPoller

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

P2SVPNGatewaysResetPoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysResetPoller) Done

func (p *P2SVPNGatewaysResetPoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysResetPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysResetResponse will be returned.

func (*P2SVPNGatewaysResetPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysResetPoller) ResumeToken

func (p *P2SVPNGatewaysResetPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysResetPollerResponse

type P2SVPNGatewaysResetPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysResetPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysResetPollerResponse contains the response from method P2SVPNGateways.Reset.

func (P2SVPNGatewaysResetPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysResetPollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysResetPollerResponse from the provided client and resume token.

type P2SVPNGatewaysResetResponse

type P2SVPNGatewaysResetResponse struct {
	P2SVPNGatewaysResetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysResetResponse contains the response from method P2SVPNGateways.Reset.

type P2SVPNGatewaysResetResult

type P2SVPNGatewaysResetResult struct {
	P2SVPNGateway
}

P2SVPNGatewaysResetResult contains the result from method P2SVPNGateways.Reset.

type P2SVPNGatewaysUpdateTagsPoller

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

P2SVPNGatewaysUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*P2SVPNGatewaysUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*P2SVPNGatewaysUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final P2SVPNGatewaysUpdateTagsResponse will be returned.

func (*P2SVPNGatewaysUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*P2SVPNGatewaysUpdateTagsPoller) ResumeToken

func (p *P2SVPNGatewaysUpdateTagsPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type P2SVPNGatewaysUpdateTagsPollerResponse

type P2SVPNGatewaysUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *P2SVPNGatewaysUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysUpdateTagsPollerResponse contains the response from method P2SVPNGateways.UpdateTags.

func (P2SVPNGatewaysUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*P2SVPNGatewaysUpdateTagsPollerResponse) Resume

Resume rehydrates a P2SVPNGatewaysUpdateTagsPollerResponse from the provided client and resume token.

type P2SVPNGatewaysUpdateTagsResponse

type P2SVPNGatewaysUpdateTagsResponse struct {
	P2SVPNGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

P2SVPNGatewaysUpdateTagsResponse contains the response from method P2SVPNGateways.UpdateTags.

type P2SVPNGatewaysUpdateTagsResult

type P2SVPNGatewaysUpdateTagsResult struct {
	P2SVPNGateway
}

P2SVPNGatewaysUpdateTagsResult contains the result from method P2SVPNGateways.UpdateTags.

type P2SVPNProfileParameters

type P2SVPNProfileParameters struct {
	// VPN client authentication method.
	AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"`
}

P2SVPNProfileParameters - Vpn Client Parameters for package generation.

type PacketCapture

type PacketCapture struct {
	// REQUIRED; Properties of the packet capture.
	Properties *PacketCaptureParameters `json:"properties,omitempty"`
}

PacketCapture - Parameters that define the create packet capture operation.

type PacketCaptureFilter

type PacketCaptureFilter struct {
	// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple
	// entries. Multiple ranges not currently
	// supported. Mixing ranges with multiple entries not currently supported. Default = null.
	LocalIPAddress *string `json:"localIPAddress,omitempty"`

	// Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported.
	// Mixing ranges with multiple entries not
	// currently supported. Default = null.
	LocalPort *string `json:"localPort,omitempty"`

	// Protocol to be filtered on.
	Protocol *PcProtocol `json:"protocol,omitempty"`

	// Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple
	// entries. Multiple ranges not currently
	// supported. Mixing ranges with multiple entries not currently supported. Default = null.
	RemoteIPAddress *string `json:"remoteIPAddress,omitempty"`

	// Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently
	// supported. Mixing ranges with multiple entries not
	// currently supported. Default = null.
	RemotePort *string `json:"remotePort,omitempty"`
}

PacketCaptureFilter - Filter that is applied to packet capture request. Multiple filters can be applied.

type PacketCaptureListResult

type PacketCaptureListResult struct {
	// Information about packet capture sessions.
	Value []*PacketCaptureResult `json:"value,omitempty"`
}

PacketCaptureListResult - List of packet capture sessions.

func (PacketCaptureListResult) MarshalJSON

func (p PacketCaptureListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PacketCaptureListResult.

type PacketCaptureParameters

type PacketCaptureParameters struct {
	// REQUIRED; The storage location for a packet capture session.
	StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`

	// REQUIRED; The ID of the targeted resource, only VM is currently supported.
	Target *string `json:"target,omitempty"`

	// Number of bytes captured per packet, the remaining bytes are truncated.
	BytesToCapturePerPacket *int64 `json:"bytesToCapturePerPacket,omitempty"`

	// A list of packet capture filters.
	Filters []*PacketCaptureFilter `json:"filters,omitempty"`

	// Maximum duration of the capture session in seconds.
	TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"`

	// Maximum size of the capture output.
	TotalBytesPerSession *int64 `json:"totalBytesPerSession,omitempty"`
}

PacketCaptureParameters - Parameters that define the create packet capture operation.

func (PacketCaptureParameters) MarshalJSON

func (p PacketCaptureParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PacketCaptureParameters.

type PacketCaptureQueryStatusResult

type PacketCaptureQueryStatusResult struct {
	// The start time of the packet capture session.
	CaptureStartTime *time.Time `json:"captureStartTime,omitempty"`

	// The ID of the packet capture resource.
	ID *string `json:"id,omitempty"`

	// The name of the packet capture resource.
	Name *string `json:"name,omitempty"`

	// List of errors of packet capture session.
	PacketCaptureError []*PcError `json:"packetCaptureError,omitempty"`

	// The status of the packet capture session.
	PacketCaptureStatus *PcStatus `json:"packetCaptureStatus,omitempty"`

	// The reason the current packet capture session was stopped.
	StopReason *string `json:"stopReason,omitempty"`
}

PacketCaptureQueryStatusResult - Status of packet capture session.

func (PacketCaptureQueryStatusResult) MarshalJSON

func (p PacketCaptureQueryStatusResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PacketCaptureQueryStatusResult.

func (*PacketCaptureQueryStatusResult) UnmarshalJSON

func (p *PacketCaptureQueryStatusResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PacketCaptureQueryStatusResult.

type PacketCaptureResult

type PacketCaptureResult struct {
	// Properties of the packet capture result.
	Properties *PacketCaptureResultProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; ID of the packet capture operation.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Name of the packet capture session.
	Name *string `json:"name,omitempty" azure:"ro"`
}

PacketCaptureResult - Information about packet capture session.

type PacketCaptureResultProperties

type PacketCaptureResultProperties struct {
	PacketCaptureParameters
	// READ-ONLY; The provisioning state of the packet capture session.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PacketCaptureResultProperties - The properties of a packet capture session.

func (PacketCaptureResultProperties) MarshalJSON

func (p PacketCaptureResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PacketCaptureResultProperties.

type PacketCaptureStorageLocation

type PacketCaptureStorageLocation struct {
	// A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures.
	// Required if no storage ID is provided, otherwise
	// optional.
	FilePath *string `json:"filePath,omitempty"`

	// The ID of the storage account to save the packet capture session. Required if no local file path is provided.
	StorageID *string `json:"storageId,omitempty"`

	// The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
	StoragePath *string `json:"storagePath,omitempty"`
}

PacketCaptureStorageLocation - The storage location for a packet capture session.

type PacketCapturesBeginCreateOptions

type PacketCapturesBeginCreateOptions struct {
}

PacketCapturesBeginCreateOptions contains the optional parameters for the PacketCaptures.BeginCreate method.

type PacketCapturesBeginDeleteOptions

type PacketCapturesBeginDeleteOptions struct {
}

PacketCapturesBeginDeleteOptions contains the optional parameters for the PacketCaptures.BeginDelete method.

type PacketCapturesBeginGetStatusOptions

type PacketCapturesBeginGetStatusOptions struct {
}

PacketCapturesBeginGetStatusOptions contains the optional parameters for the PacketCaptures.BeginGetStatus method.

type PacketCapturesBeginStopOptions

type PacketCapturesBeginStopOptions struct {
}

PacketCapturesBeginStopOptions contains the optional parameters for the PacketCaptures.BeginStop method.

type PacketCapturesClient

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

PacketCapturesClient contains the methods for the PacketCaptures group. Don't use this type directly, use NewPacketCapturesClient() instead.

func NewPacketCapturesClient

func NewPacketCapturesClient(con *arm.Connection, subscriptionID string) *PacketCapturesClient

NewPacketCapturesClient creates a new instance of PacketCapturesClient with the specified values.

func (*PacketCapturesClient) BeginCreate

func (client *PacketCapturesClient) BeginCreate(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture, options *PacketCapturesBeginCreateOptions) (PacketCapturesCreatePollerResponse, error)

BeginCreate - Create and start a packet capture on the specified VM. If the operation fails it returns the *ErrorResponse error type.

func (*PacketCapturesClient) BeginDelete

func (client *PacketCapturesClient) BeginDelete(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, options *PacketCapturesBeginDeleteOptions) (PacketCapturesDeletePollerResponse, error)

BeginDelete - Deletes the specified packet capture session. If the operation fails it returns the *ErrorResponse error type.

func (*PacketCapturesClient) BeginGetStatus

func (client *PacketCapturesClient) BeginGetStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, options *PacketCapturesBeginGetStatusOptions) (PacketCapturesGetStatusPollerResponse, error)

BeginGetStatus - Query the status of a running packet capture session. If the operation fails it returns the *ErrorResponse error type.

func (*PacketCapturesClient) BeginStop

func (client *PacketCapturesClient) BeginStop(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, options *PacketCapturesBeginStopOptions) (PacketCapturesStopPollerResponse, error)

BeginStop - Stops a specified packet capture session. If the operation fails it returns the *ErrorResponse error type.

func (*PacketCapturesClient) Get

func (client *PacketCapturesClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, options *PacketCapturesGetOptions) (PacketCapturesGetResponse, error)

Get - Gets a packet capture session by name. If the operation fails it returns the *ErrorResponse error type.

func (*PacketCapturesClient) List

func (client *PacketCapturesClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string, options *PacketCapturesListOptions) (PacketCapturesListResponse, error)

List - Lists all packet capture sessions within the specified resource group. If the operation fails it returns the *ErrorResponse error type.

type PacketCapturesCreatePoller

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

PacketCapturesCreatePoller provides polling facilities until the operation reaches a terminal state.

func (*PacketCapturesCreatePoller) Done

func (p *PacketCapturesCreatePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*PacketCapturesCreatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PacketCapturesCreateResponse will be returned.

func (*PacketCapturesCreatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PacketCapturesCreatePoller) ResumeToken

func (p *PacketCapturesCreatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PacketCapturesCreatePollerResponse

type PacketCapturesCreatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PacketCapturesCreatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesCreatePollerResponse contains the response from method PacketCaptures.Create.

func (PacketCapturesCreatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PacketCapturesCreatePollerResponse) Resume

Resume rehydrates a PacketCapturesCreatePollerResponse from the provided client and resume token.

type PacketCapturesCreateResponse

type PacketCapturesCreateResponse struct {
	PacketCapturesCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesCreateResponse contains the response from method PacketCaptures.Create.

type PacketCapturesCreateResult

type PacketCapturesCreateResult struct {
	PacketCaptureResult
}

PacketCapturesCreateResult contains the result from method PacketCaptures.Create.

type PacketCapturesDeletePoller

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

PacketCapturesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PacketCapturesDeletePoller) Done

func (p *PacketCapturesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*PacketCapturesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PacketCapturesDeleteResponse will be returned.

func (*PacketCapturesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PacketCapturesDeletePoller) ResumeToken

func (p *PacketCapturesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PacketCapturesDeletePollerResponse

type PacketCapturesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PacketCapturesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesDeletePollerResponse contains the response from method PacketCaptures.Delete.

func (PacketCapturesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PacketCapturesDeletePollerResponse) Resume

Resume rehydrates a PacketCapturesDeletePollerResponse from the provided client and resume token.

type PacketCapturesDeleteResponse

type PacketCapturesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesDeleteResponse contains the response from method PacketCaptures.Delete.

type PacketCapturesGetOptions

type PacketCapturesGetOptions struct {
}

PacketCapturesGetOptions contains the optional parameters for the PacketCaptures.Get method.

type PacketCapturesGetResponse

type PacketCapturesGetResponse struct {
	PacketCapturesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesGetResponse contains the response from method PacketCaptures.Get.

type PacketCapturesGetResult

type PacketCapturesGetResult struct {
	PacketCaptureResult
}

PacketCapturesGetResult contains the result from method PacketCaptures.Get.

type PacketCapturesGetStatusPoller

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

PacketCapturesGetStatusPoller provides polling facilities until the operation reaches a terminal state.

func (*PacketCapturesGetStatusPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PacketCapturesGetStatusPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PacketCapturesGetStatusResponse will be returned.

func (*PacketCapturesGetStatusPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PacketCapturesGetStatusPoller) ResumeToken

func (p *PacketCapturesGetStatusPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PacketCapturesGetStatusPollerResponse

type PacketCapturesGetStatusPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PacketCapturesGetStatusPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesGetStatusPollerResponse contains the response from method PacketCaptures.GetStatus.

func (PacketCapturesGetStatusPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PacketCapturesGetStatusPollerResponse) Resume

Resume rehydrates a PacketCapturesGetStatusPollerResponse from the provided client and resume token.

type PacketCapturesGetStatusResponse

type PacketCapturesGetStatusResponse struct {
	PacketCapturesGetStatusResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesGetStatusResponse contains the response from method PacketCaptures.GetStatus.

type PacketCapturesGetStatusResult

type PacketCapturesGetStatusResult struct {
	PacketCaptureQueryStatusResult
}

PacketCapturesGetStatusResult contains the result from method PacketCaptures.GetStatus.

type PacketCapturesListOptions

type PacketCapturesListOptions struct {
}

PacketCapturesListOptions contains the optional parameters for the PacketCaptures.List method.

type PacketCapturesListResponse

type PacketCapturesListResponse struct {
	PacketCapturesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesListResponse contains the response from method PacketCaptures.List.

type PacketCapturesListResult

type PacketCapturesListResult struct {
	PacketCaptureListResult
}

PacketCapturesListResult contains the result from method PacketCaptures.List.

type PacketCapturesStopPoller

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

PacketCapturesStopPoller provides polling facilities until the operation reaches a terminal state.

func (*PacketCapturesStopPoller) Done

func (p *PacketCapturesStopPoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*PacketCapturesStopPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PacketCapturesStopResponse will be returned.

func (*PacketCapturesStopPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PacketCapturesStopPoller) ResumeToken

func (p *PacketCapturesStopPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PacketCapturesStopPollerResponse

type PacketCapturesStopPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PacketCapturesStopPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesStopPollerResponse contains the response from method PacketCaptures.Stop.

func (PacketCapturesStopPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PacketCapturesStopPollerResponse) Resume

Resume rehydrates a PacketCapturesStopPollerResponse from the provided client and resume token.

type PacketCapturesStopResponse

type PacketCapturesStopResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PacketCapturesStopResponse contains the response from method PacketCaptures.Stop.

type PatchRouteFilter

type PatchRouteFilter struct {
	SubResource
	// Properties of the route filter.
	Properties *RouteFilterPropertiesFormat `json:"properties,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PatchRouteFilter - Route Filter Resource.

func (PatchRouteFilter) MarshalJSON

func (p PatchRouteFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PatchRouteFilter.

type PatchRouteFilterRule

type PatchRouteFilterRule struct {
	SubResource
	// Properties of the route filter rule.
	Properties *RouteFilterRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty" azure:"ro"`
}

PatchRouteFilterRule - Route Filter Rule Resource.

func (PatchRouteFilterRule) MarshalJSON

func (p PatchRouteFilterRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PatchRouteFilterRule.

type PcError

type PcError string
const (
	PcErrorAgentStopped    PcError = "AgentStopped"
	PcErrorCaptureFailed   PcError = "CaptureFailed"
	PcErrorInternalError   PcError = "InternalError"
	PcErrorLocalFileFailed PcError = "LocalFileFailed"
	PcErrorStorageFailed   PcError = "StorageFailed"
)

func PossiblePcErrorValues

func PossiblePcErrorValues() []PcError

PossiblePcErrorValues returns the possible values for the PcError const type.

func (PcError) ToPtr

func (c PcError) ToPtr() *PcError

ToPtr returns a *PcError pointing to the current value.

type PcProtocol

type PcProtocol string

PcProtocol - Protocol to be filtered on.

const (
	PcProtocolAny PcProtocol = "Any"
	PcProtocolTCP PcProtocol = "TCP"
	PcProtocolUDP PcProtocol = "UDP"
)

func PossiblePcProtocolValues

func PossiblePcProtocolValues() []PcProtocol

PossiblePcProtocolValues returns the possible values for the PcProtocol const type.

func (PcProtocol) ToPtr

func (c PcProtocol) ToPtr() *PcProtocol

ToPtr returns a *PcProtocol pointing to the current value.

type PcStatus

type PcStatus string

PcStatus - The status of the packet capture session.

const (
	PcStatusError      PcStatus = "Error"
	PcStatusNotStarted PcStatus = "NotStarted"
	PcStatusRunning    PcStatus = "Running"
	PcStatusStopped    PcStatus = "Stopped"
	PcStatusUnknown    PcStatus = "Unknown"
)

func PossiblePcStatusValues

func PossiblePcStatusValues() []PcStatus

PossiblePcStatusValues returns the possible values for the PcStatus const type.

func (PcStatus) ToPtr

func (c PcStatus) ToPtr() *PcStatus

ToPtr returns a *PcStatus pointing to the current value.

type PeerExpressRouteCircuitConnection

type PeerExpressRouteCircuitConnection struct {
	SubResource
	// 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"`

	// Properties of the peer express route circuit connection.
	Properties *PeerExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PeerExpressRouteCircuitConnection - Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

func (PeerExpressRouteCircuitConnection) MarshalJSON

func (p PeerExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PeerExpressRouteCircuitConnection.

type PeerExpressRouteCircuitConnectionListResult

type PeerExpressRouteCircuitConnectionListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit.
	Value []*PeerExpressRouteCircuitConnection `json:"value,omitempty"`
}

PeerExpressRouteCircuitConnectionListResult - Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit.

func (PeerExpressRouteCircuitConnectionListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type PeerExpressRouteCircuitConnectionListResult.

type PeerExpressRouteCircuitConnectionPropertiesFormat

type PeerExpressRouteCircuitConnectionPropertiesFormat struct {
	// /29 IP address space to carve out Customer addresses for tunnels.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// The resource guid of the authorization used for the express route circuit connection.
	AuthResourceGUID *string `json:"authResourceGuid,omitempty"`

	// The name of the express route circuit connection resource.
	ConnectionName *string `json:"connectionName,omitempty"`

	// Reference to Express Route Circuit Private Peering Resource of the circuit.
	ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"`

	// Reference to Express Route Circuit Private Peering Resource of the peered circuit.
	PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"`

	// READ-ONLY; Express Route Circuit connection state.
	CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the peer express route circuit connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PeerExpressRouteCircuitConnectionPropertiesFormat - Properties of the peer express route circuit connection.

type PeerExpressRouteCircuitConnectionsClient

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

PeerExpressRouteCircuitConnectionsClient contains the methods for the PeerExpressRouteCircuitConnections group. Don't use this type directly, use NewPeerExpressRouteCircuitConnectionsClient() instead.

func NewPeerExpressRouteCircuitConnectionsClient

func NewPeerExpressRouteCircuitConnectionsClient(con *arm.Connection, subscriptionID string) *PeerExpressRouteCircuitConnectionsClient

NewPeerExpressRouteCircuitConnectionsClient creates a new instance of PeerExpressRouteCircuitConnectionsClient with the specified values.

func (*PeerExpressRouteCircuitConnectionsClient) Get

Get - Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. If the operation fails it returns the *CloudError error type.

func (*PeerExpressRouteCircuitConnectionsClient) List

List - Gets all global reach peer connections associated with a private peering in an express route circuit. If the operation fails it returns the *CloudError error type.

type PeerExpressRouteCircuitConnectionsGetOptions

type PeerExpressRouteCircuitConnectionsGetOptions struct {
}

PeerExpressRouteCircuitConnectionsGetOptions contains the optional parameters for the PeerExpressRouteCircuitConnections.Get method.

type PeerExpressRouteCircuitConnectionsGetResponse

type PeerExpressRouteCircuitConnectionsGetResponse struct {
	PeerExpressRouteCircuitConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PeerExpressRouteCircuitConnectionsGetResponse contains the response from method PeerExpressRouteCircuitConnections.Get.

type PeerExpressRouteCircuitConnectionsGetResult

type PeerExpressRouteCircuitConnectionsGetResult struct {
	PeerExpressRouteCircuitConnection
}

PeerExpressRouteCircuitConnectionsGetResult contains the result from method PeerExpressRouteCircuitConnections.Get.

type PeerExpressRouteCircuitConnectionsListOptions

type PeerExpressRouteCircuitConnectionsListOptions struct {
}

PeerExpressRouteCircuitConnectionsListOptions contains the optional parameters for the PeerExpressRouteCircuitConnections.List method.

type PeerExpressRouteCircuitConnectionsListPager

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

PeerExpressRouteCircuitConnectionsListPager provides operations for iterating over paged responses.

func (*PeerExpressRouteCircuitConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*PeerExpressRouteCircuitConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PeerExpressRouteCircuitConnectionsListPager) PageResponse

PageResponse returns the current PeerExpressRouteCircuitConnectionsListResponse page.

type PeerExpressRouteCircuitConnectionsListResponse

type PeerExpressRouteCircuitConnectionsListResponse struct {
	PeerExpressRouteCircuitConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PeerExpressRouteCircuitConnectionsListResponse contains the response from method PeerExpressRouteCircuitConnections.List.

type PeerExpressRouteCircuitConnectionsListResult

type PeerExpressRouteCircuitConnectionsListResult struct {
	PeerExpressRouteCircuitConnectionListResult
}

PeerExpressRouteCircuitConnectionsListResult contains the result from method PeerExpressRouteCircuitConnections.List.

type PeerRoute

type PeerRoute struct {
	// READ-ONLY; The route's AS path sequence.
	AsPath *string `json:"asPath,omitempty" azure:"ro"`

	// READ-ONLY; The peer's local address.
	LocalAddress *string `json:"localAddress,omitempty" azure:"ro"`

	// READ-ONLY; The route's network prefix.
	Network *string `json:"network,omitempty" azure:"ro"`

	// READ-ONLY; The route's next hop.
	NextHop *string `json:"nextHop,omitempty" azure:"ro"`

	// READ-ONLY; The source this route was learned from.
	Origin *string `json:"origin,omitempty" azure:"ro"`

	// READ-ONLY; The peer this route was learned from.
	SourcePeer *string `json:"sourcePeer,omitempty" azure:"ro"`

	// READ-ONLY; The route's weight.
	Weight *int32 `json:"weight,omitempty" azure:"ro"`
}

PeerRoute - Peer routing details.

type PeerRouteList

type PeerRouteList struct {
	// List of peer routes.
	Value []*PeerRoute `json:"value,omitempty"`
}

PeerRouteList - List of virtual router peer routes.

func (PeerRouteList) MarshalJSON

func (p PeerRouteList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PeerRouteList.

type PfsGroup

type PfsGroup string

PfsGroup - The Pfs Groups used in IKE Phase 2 for new child SA.

const (
	PfsGroupECP256  PfsGroup = "ECP256"
	PfsGroupECP384  PfsGroup = "ECP384"
	PfsGroupNone    PfsGroup = "None"
	PfsGroupPFS1    PfsGroup = "PFS1"
	PfsGroupPFS14   PfsGroup = "PFS14"
	PfsGroupPFS2    PfsGroup = "PFS2"
	PfsGroupPFS2048 PfsGroup = "PFS2048"
	PfsGroupPFS24   PfsGroup = "PFS24"
	PfsGroupPFSMM   PfsGroup = "PFSMM"
)

func PossiblePfsGroupValues

func PossiblePfsGroupValues() []PfsGroup

PossiblePfsGroupValues returns the possible values for the PfsGroup const type.

func (PfsGroup) ToPtr

func (c PfsGroup) ToPtr() *PfsGroup

ToPtr returns a *PfsGroup pointing to the current value.

type PolicySettings

type PolicySettings struct {
	// Maximum file upload size in Mb for WAF.
	FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"`

	// Maximum request body size in Kb for WAF.
	MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"`

	// The mode of the policy.
	Mode *WebApplicationFirewallMode `json:"mode,omitempty"`

	// Whether to allow WAF to check request Body.
	RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"`

	// The state of the policy.
	State *WebApplicationFirewallEnabledState `json:"state,omitempty"`
}

PolicySettings - Defines contents of a web application firewall global configuration.

type PreferredIPVersion

type PreferredIPVersion string

PreferredIPVersion - The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.

const (
	PreferredIPVersionIPv4 PreferredIPVersion = "IPv4"
	PreferredIPVersionIPv6 PreferredIPVersion = "IPv6"
)

func PossiblePreferredIPVersionValues

func PossiblePreferredIPVersionValues() []PreferredIPVersion

PossiblePreferredIPVersionValues returns the possible values for the PreferredIPVersion const type.

func (PreferredIPVersion) ToPtr

ToPtr returns a *PreferredIPVersion pointing to the current value.

type PreferredRoutingGateway

type PreferredRoutingGateway string

PreferredRoutingGateway - The preferred routing gateway types

const (
	PreferredRoutingGatewayExpressRoute PreferredRoutingGateway = "ExpressRoute"
	PreferredRoutingGatewayNone         PreferredRoutingGateway = "None"
	PreferredRoutingGatewayVPNGateway   PreferredRoutingGateway = "VpnGateway"
)

func PossiblePreferredRoutingGatewayValues

func PossiblePreferredRoutingGatewayValues() []PreferredRoutingGateway

PossiblePreferredRoutingGatewayValues returns the possible values for the PreferredRoutingGateway const type.

func (PreferredRoutingGateway) ToPtr

ToPtr returns a *PreferredRoutingGateway pointing to the current value.

type PrepareNetworkPoliciesRequest

type PrepareNetworkPoliciesRequest struct {
	// A list of NetworkIntentPolicyConfiguration.
	NetworkIntentPolicyConfigurations []*NetworkIntentPolicyConfiguration `json:"networkIntentPolicyConfigurations,omitempty"`

	// The name of the service for which subnet is being prepared for.
	ServiceName *string `json:"serviceName,omitempty"`
}

PrepareNetworkPoliciesRequest - Details of PrepareNetworkPolicies for Subnet.

func (PrepareNetworkPoliciesRequest) MarshalJSON

func (p PrepareNetworkPoliciesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrepareNetworkPoliciesRequest.

type PrivateDNSZoneConfig

type PrivateDNSZoneConfig struct {
	// 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"`

	// Properties of the private dns zone configuration.
	Properties *PrivateDNSZonePropertiesFormat `json:"properties,omitempty"`
}

PrivateDNSZoneConfig - PrivateDnsZoneConfig resource.

type PrivateDNSZoneGroup

type PrivateDNSZoneGroup struct {
	SubResource
	// 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"`

	// Properties of the private dns zone group.
	Properties *PrivateDNSZoneGroupPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

PrivateDNSZoneGroup - Private dns zone group resource.

func (PrivateDNSZoneGroup) MarshalJSON

func (p PrivateDNSZoneGroup) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateDNSZoneGroup.

type PrivateDNSZoneGroupListResult

type PrivateDNSZoneGroupListResult struct {
	// A list of private dns zone group resources in a private endpoint.
	Value []*PrivateDNSZoneGroup `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PrivateDNSZoneGroupListResult - Response for the ListPrivateDnsZoneGroups API service call.

func (PrivateDNSZoneGroupListResult) MarshalJSON

func (p PrivateDNSZoneGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateDNSZoneGroupListResult.

type PrivateDNSZoneGroupPropertiesFormat

type PrivateDNSZoneGroupPropertiesFormat struct {
	// A collection of private dns zone configurations of the private dns zone group.
	PrivateDNSZoneConfigs []*PrivateDNSZoneConfig `json:"privateDnsZoneConfigs,omitempty"`

	// READ-ONLY; The provisioning state of the private dns zone group resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PrivateDNSZoneGroupPropertiesFormat - Properties of the private dns zone group.

func (PrivateDNSZoneGroupPropertiesFormat) MarshalJSON

func (p PrivateDNSZoneGroupPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateDNSZoneGroupPropertiesFormat.

type PrivateDNSZoneGroupsBeginCreateOrUpdateOptions

type PrivateDNSZoneGroupsBeginCreateOrUpdateOptions struct {
}

PrivateDNSZoneGroupsBeginCreateOrUpdateOptions contains the optional parameters for the PrivateDNSZoneGroups.BeginCreateOrUpdate method.

type PrivateDNSZoneGroupsBeginDeleteOptions

type PrivateDNSZoneGroupsBeginDeleteOptions struct {
}

PrivateDNSZoneGroupsBeginDeleteOptions contains the optional parameters for the PrivateDNSZoneGroups.BeginDelete method.

type PrivateDNSZoneGroupsClient

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

PrivateDNSZoneGroupsClient contains the methods for the PrivateDNSZoneGroups group. Don't use this type directly, use NewPrivateDNSZoneGroupsClient() instead.

func NewPrivateDNSZoneGroupsClient

func NewPrivateDNSZoneGroupsClient(con *arm.Connection, subscriptionID string) *PrivateDNSZoneGroupsClient

NewPrivateDNSZoneGroupsClient creates a new instance of PrivateDNSZoneGroupsClient with the specified values.

func (*PrivateDNSZoneGroupsClient) BeginCreateOrUpdate

func (client *PrivateDNSZoneGroupsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string, parameters PrivateDNSZoneGroup, options *PrivateDNSZoneGroupsBeginCreateOrUpdateOptions) (PrivateDNSZoneGroupsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a private dns zone group in the specified private endpoint. If the operation fails it returns the *CloudError error type.

func (*PrivateDNSZoneGroupsClient) BeginDelete

func (client *PrivateDNSZoneGroupsClient) BeginDelete(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string, options *PrivateDNSZoneGroupsBeginDeleteOptions) (PrivateDNSZoneGroupsDeletePollerResponse, error)

BeginDelete - Deletes the specified private dns zone group. If the operation fails it returns the *CloudError error type.

func (*PrivateDNSZoneGroupsClient) Get

func (client *PrivateDNSZoneGroupsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, privateDNSZoneGroupName string, options *PrivateDNSZoneGroupsGetOptions) (PrivateDNSZoneGroupsGetResponse, error)

Get - Gets the private dns zone group resource by specified private dns zone group name. If the operation fails it returns the *CloudError error type.

func (*PrivateDNSZoneGroupsClient) List

func (client *PrivateDNSZoneGroupsClient) List(privateEndpointName string, resourceGroupName string, options *PrivateDNSZoneGroupsListOptions) *PrivateDNSZoneGroupsListPager

List - Gets all private dns zone groups in a private endpoint. If the operation fails it returns the *Error error type.

type PrivateDNSZoneGroupsCreateOrUpdatePoller

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

PrivateDNSZoneGroupsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateDNSZoneGroupsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateDNSZoneGroupsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateDNSZoneGroupsCreateOrUpdateResponse will be returned.

func (*PrivateDNSZoneGroupsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateDNSZoneGroupsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateDNSZoneGroupsCreateOrUpdatePollerResponse

type PrivateDNSZoneGroupsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateDNSZoneGroupsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateDNSZoneGroupsCreateOrUpdatePollerResponse contains the response from method PrivateDNSZoneGroups.CreateOrUpdate.

func (PrivateDNSZoneGroupsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateDNSZoneGroupsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a PrivateDNSZoneGroupsCreateOrUpdatePollerResponse from the provided client and resume token.

type PrivateDNSZoneGroupsCreateOrUpdateResponse

type PrivateDNSZoneGroupsCreateOrUpdateResponse struct {
	PrivateDNSZoneGroupsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateDNSZoneGroupsCreateOrUpdateResponse contains the response from method PrivateDNSZoneGroups.CreateOrUpdate.

type PrivateDNSZoneGroupsCreateOrUpdateResult

type PrivateDNSZoneGroupsCreateOrUpdateResult struct {
	PrivateDNSZoneGroup
}

PrivateDNSZoneGroupsCreateOrUpdateResult contains the result from method PrivateDNSZoneGroups.CreateOrUpdate.

type PrivateDNSZoneGroupsDeletePoller

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

PrivateDNSZoneGroupsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateDNSZoneGroupsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateDNSZoneGroupsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateDNSZoneGroupsDeleteResponse will be returned.

func (*PrivateDNSZoneGroupsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateDNSZoneGroupsDeletePoller) ResumeToken

func (p *PrivateDNSZoneGroupsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateDNSZoneGroupsDeletePollerResponse

type PrivateDNSZoneGroupsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateDNSZoneGroupsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateDNSZoneGroupsDeletePollerResponse contains the response from method PrivateDNSZoneGroups.Delete.

func (PrivateDNSZoneGroupsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateDNSZoneGroupsDeletePollerResponse) Resume

Resume rehydrates a PrivateDNSZoneGroupsDeletePollerResponse from the provided client and resume token.

type PrivateDNSZoneGroupsDeleteResponse

type PrivateDNSZoneGroupsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateDNSZoneGroupsDeleteResponse contains the response from method PrivateDNSZoneGroups.Delete.

type PrivateDNSZoneGroupsGetOptions

type PrivateDNSZoneGroupsGetOptions struct {
}

PrivateDNSZoneGroupsGetOptions contains the optional parameters for the PrivateDNSZoneGroups.Get method.

type PrivateDNSZoneGroupsGetResponse

type PrivateDNSZoneGroupsGetResponse struct {
	PrivateDNSZoneGroupsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateDNSZoneGroupsGetResponse contains the response from method PrivateDNSZoneGroups.Get.

type PrivateDNSZoneGroupsGetResult

type PrivateDNSZoneGroupsGetResult struct {
	PrivateDNSZoneGroup
}

PrivateDNSZoneGroupsGetResult contains the result from method PrivateDNSZoneGroups.Get.

type PrivateDNSZoneGroupsListOptions

type PrivateDNSZoneGroupsListOptions struct {
}

PrivateDNSZoneGroupsListOptions contains the optional parameters for the PrivateDNSZoneGroups.List method.

type PrivateDNSZoneGroupsListPager

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

PrivateDNSZoneGroupsListPager provides operations for iterating over paged responses.

func (*PrivateDNSZoneGroupsListPager) Err

Err returns the last error encountered while paging.

func (*PrivateDNSZoneGroupsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateDNSZoneGroupsListPager) PageResponse

PageResponse returns the current PrivateDNSZoneGroupsListResponse page.

type PrivateDNSZoneGroupsListResponse

type PrivateDNSZoneGroupsListResponse struct {
	PrivateDNSZoneGroupsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateDNSZoneGroupsListResponse contains the response from method PrivateDNSZoneGroups.List.

type PrivateDNSZoneGroupsListResult

type PrivateDNSZoneGroupsListResult struct {
	PrivateDNSZoneGroupListResult
}

PrivateDNSZoneGroupsListResult contains the result from method PrivateDNSZoneGroups.List.

type PrivateDNSZonePropertiesFormat

type PrivateDNSZonePropertiesFormat struct {
	// The resource id of the private dns zone.
	PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty"`

	// READ-ONLY; A collection of information regarding a recordSet, holding information to identify private resources.
	RecordSets []*RecordSet `json:"recordSets,omitempty" azure:"ro"`
}

PrivateDNSZonePropertiesFormat - Properties of the private dns zone configuration resource.

func (PrivateDNSZonePropertiesFormat) MarshalJSON

func (p PrivateDNSZonePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateDNSZonePropertiesFormat.

type PrivateEndpoint

type PrivateEndpoint struct {
	Resource
	// The extended location of the load balancer.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Properties of the private endpoint.
	Properties *PrivateEndpointProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

PrivateEndpoint - Private endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (p PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	SubResource
	// 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"`

	// Properties of the private end point connection.
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PrivateEndpointConnection resource.

func (PrivateEndpointConnection) MarshalJSON

func (p PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnection.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	// A list of PrivateEndpointConnection resources for a specific private link service.
	Value []*PrivateEndpointConnection `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PrivateEndpointConnectionListResult - Response for the ListPrivateEndpointConnection API service call.

func (PrivateEndpointConnectionListResult) MarshalJSON

func (p PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnectionListResult.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`

	// READ-ONLY; The consumer link id.
	LinkIdentifier *string `json:"linkIdentifier,omitempty" azure:"ro"`

	// READ-ONLY; The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the private endpoint connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PrivateEndpointConnectionProperties - Properties of the PrivateEndpointConnectProperties.

type PrivateEndpointIPConfiguration

type PrivateEndpointIPConfiguration struct {
	// The name of the resource that is unique within a resource group.
	Name *string `json:"name,omitempty"`

	// Properties of private endpoint IP configurations.
	Properties *PrivateEndpointIPConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PrivateEndpointIPConfiguration - An IP Configuration of the private endpoint.

type PrivateEndpointIPConfigurationProperties

type PrivateEndpointIPConfigurationProperties struct {
	// The ID of a group obtained from the remote resource that this private endpoint should connect to.
	GroupID *string `json:"groupId,omitempty"`

	// The member name of a group obtained from the remote resource that this private endpoint should connect to.
	MemberName *string `json:"memberName,omitempty"`

	// A private ip address obtained from the private endpoint's subnet.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
}

PrivateEndpointIPConfigurationProperties - Properties of an IP Configuration of the private endpoint.

type PrivateEndpointListResult

type PrivateEndpointListResult struct {
	// A list of private endpoint resources in a resource group.
	Value []*PrivateEndpoint `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PrivateEndpointListResult - Response for the ListPrivateEndpoints API service call.

func (PrivateEndpointListResult) MarshalJSON

func (p PrivateEndpointListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointListResult.

type PrivateEndpointProperties

type PrivateEndpointProperties struct {
	// Application security groups in which the private endpoint IP configuration is included.
	ApplicationSecurityGroups []*ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"`

	// An array of custom dns configurations.
	CustomDNSConfigs []*CustomDNSConfigPropertiesFormat `json:"customDnsConfigs,omitempty"`

	// The custom name of the network interface attached to the private endpoint.
	CustomNetworkInterfaceName *string `json:"customNetworkInterfaceName,omitempty"`

	// A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.
	IPConfigurations []*PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"`

	// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the
	// remote resource.
	ManualPrivateLinkServiceConnections []*PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"`

	// A grouping of information about the connection to the remote resource.
	PrivateLinkServiceConnections []*PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"`

	// The ID of the subnet from which the private IP will be allocated.
	Subnet *Subnet `json:"subnet,omitempty"`

	// READ-ONLY; An array of references to the network interfaces created for this private endpoint.
	NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the private endpoint resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PrivateEndpointProperties - Properties of the private endpoint.

func (PrivateEndpointProperties) MarshalJSON

func (p PrivateEndpointProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointProperties.

type PrivateEndpointsBeginCreateOrUpdateOptions

type PrivateEndpointsBeginCreateOrUpdateOptions struct {
}

PrivateEndpointsBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpoints.BeginCreateOrUpdate method.

type PrivateEndpointsBeginDeleteOptions

type PrivateEndpointsBeginDeleteOptions struct {
}

PrivateEndpointsBeginDeleteOptions contains the optional parameters for the PrivateEndpoints.BeginDelete method.

type PrivateEndpointsClient

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

PrivateEndpointsClient contains the methods for the PrivateEndpoints group. Don't use this type directly, use NewPrivateEndpointsClient() instead.

func NewPrivateEndpointsClient

func NewPrivateEndpointsClient(con *arm.Connection, subscriptionID string) *PrivateEndpointsClient

NewPrivateEndpointsClient creates a new instance of PrivateEndpointsClient with the specified values.

func (*PrivateEndpointsClient) BeginCreateOrUpdate

func (client *PrivateEndpointsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint, options *PrivateEndpointsBeginCreateOrUpdateOptions) (PrivateEndpointsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates an private endpoint in the specified resource group. If the operation fails it returns the *Error error type.

func (*PrivateEndpointsClient) BeginDelete

func (client *PrivateEndpointsClient) BeginDelete(ctx context.Context, resourceGroupName string, privateEndpointName string, options *PrivateEndpointsBeginDeleteOptions) (PrivateEndpointsDeletePollerResponse, error)

BeginDelete - Deletes the specified private endpoint. If the operation fails it returns the *Error error type.

func (*PrivateEndpointsClient) Get

func (client *PrivateEndpointsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, options *PrivateEndpointsGetOptions) (PrivateEndpointsGetResponse, error)

Get - Gets the specified private endpoint by resource group. If the operation fails it returns the *Error error type.

func (*PrivateEndpointsClient) List

func (client *PrivateEndpointsClient) List(resourceGroupName string, options *PrivateEndpointsListOptions) *PrivateEndpointsListPager

List - Gets all private endpoints in a resource group. If the operation fails it returns the *Error error type.

func (*PrivateEndpointsClient) ListBySubscription

ListBySubscription - Gets all private endpoints in a subscription. If the operation fails it returns the *Error error type.

type PrivateEndpointsCreateOrUpdatePoller

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

PrivateEndpointsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateEndpointsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateEndpointsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateEndpointsCreateOrUpdateResponse will be returned.

func (*PrivateEndpointsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateEndpointsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateEndpointsCreateOrUpdatePollerResponse

type PrivateEndpointsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateEndpointsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsCreateOrUpdatePollerResponse contains the response from method PrivateEndpoints.CreateOrUpdate.

func (PrivateEndpointsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateEndpointsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a PrivateEndpointsCreateOrUpdatePollerResponse from the provided client and resume token.

type PrivateEndpointsCreateOrUpdateResponse

type PrivateEndpointsCreateOrUpdateResponse struct {
	PrivateEndpointsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsCreateOrUpdateResponse contains the response from method PrivateEndpoints.CreateOrUpdate.

type PrivateEndpointsCreateOrUpdateResult

type PrivateEndpointsCreateOrUpdateResult struct {
	PrivateEndpoint
}

PrivateEndpointsCreateOrUpdateResult contains the result from method PrivateEndpoints.CreateOrUpdate.

type PrivateEndpointsDeletePoller

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

PrivateEndpointsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateEndpointsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateEndpointsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateEndpointsDeleteResponse will be returned.

func (*PrivateEndpointsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateEndpointsDeletePoller) ResumeToken

func (p *PrivateEndpointsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateEndpointsDeletePollerResponse

type PrivateEndpointsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateEndpointsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsDeletePollerResponse contains the response from method PrivateEndpoints.Delete.

func (PrivateEndpointsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateEndpointsDeletePollerResponse) Resume

Resume rehydrates a PrivateEndpointsDeletePollerResponse from the provided client and resume token.

type PrivateEndpointsDeleteResponse

type PrivateEndpointsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsDeleteResponse contains the response from method PrivateEndpoints.Delete.

type PrivateEndpointsGetOptions

type PrivateEndpointsGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

PrivateEndpointsGetOptions contains the optional parameters for the PrivateEndpoints.Get method.

type PrivateEndpointsGetResponse

type PrivateEndpointsGetResponse struct {
	PrivateEndpointsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsGetResponse contains the response from method PrivateEndpoints.Get.

type PrivateEndpointsGetResult

type PrivateEndpointsGetResult struct {
	PrivateEndpoint
}

PrivateEndpointsGetResult contains the result from method PrivateEndpoints.Get.

type PrivateEndpointsListBySubscriptionOptions

type PrivateEndpointsListBySubscriptionOptions struct {
}

PrivateEndpointsListBySubscriptionOptions contains the optional parameters for the PrivateEndpoints.ListBySubscription method.

type PrivateEndpointsListBySubscriptionPager

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

PrivateEndpointsListBySubscriptionPager provides operations for iterating over paged responses.

func (*PrivateEndpointsListBySubscriptionPager) Err

Err returns the last error encountered while paging.

func (*PrivateEndpointsListBySubscriptionPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateEndpointsListBySubscriptionPager) PageResponse

PageResponse returns the current PrivateEndpointsListBySubscriptionResponse page.

type PrivateEndpointsListBySubscriptionResponse

type PrivateEndpointsListBySubscriptionResponse struct {
	PrivateEndpointsListBySubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsListBySubscriptionResponse contains the response from method PrivateEndpoints.ListBySubscription.

type PrivateEndpointsListBySubscriptionResult

type PrivateEndpointsListBySubscriptionResult struct {
	PrivateEndpointListResult
}

PrivateEndpointsListBySubscriptionResult contains the result from method PrivateEndpoints.ListBySubscription.

type PrivateEndpointsListOptions

type PrivateEndpointsListOptions struct {
}

PrivateEndpointsListOptions contains the optional parameters for the PrivateEndpoints.List method.

type PrivateEndpointsListPager

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

PrivateEndpointsListPager provides operations for iterating over paged responses.

func (*PrivateEndpointsListPager) Err

Err returns the last error encountered while paging.

func (*PrivateEndpointsListPager) NextPage

func (p *PrivateEndpointsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateEndpointsListPager) PageResponse

PageResponse returns the current PrivateEndpointsListResponse page.

type PrivateEndpointsListResponse

type PrivateEndpointsListResponse struct {
	PrivateEndpointsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointsListResponse contains the response from method PrivateEndpoints.List.

type PrivateEndpointsListResult

type PrivateEndpointsListResult struct {
	PrivateEndpointListResult
}

PrivateEndpointsListResult contains the result from method PrivateEndpoints.List.

type PrivateLinkService

type PrivateLinkService struct {
	Resource
	// The extended location of the load balancer.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Properties of the private link service.
	Properties *PrivateLinkServiceProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

PrivateLinkService - Private link service resource.

func (PrivateLinkService) MarshalJSON

func (p PrivateLinkService) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkService.

type PrivateLinkServiceConnection

type PrivateLinkServiceConnection struct {
	SubResource
	// 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"`

	// Properties of the private link service connection.
	Properties *PrivateLinkServiceConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PrivateLinkServiceConnection resource.

func (PrivateLinkServiceConnection) MarshalJSON

func (p PrivateLinkServiceConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkServiceConnection.

type PrivateLinkServiceConnectionProperties

type PrivateLinkServiceConnectionProperties struct {
	// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
	GroupIDs []*string `json:"groupIds,omitempty"`

	// A collection of read-only information about the state of the connection to the remote resource.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`

	// The resource id of private link service.
	PrivateLinkServiceID *string `json:"privateLinkServiceId,omitempty"`

	// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
	RequestMessage *string `json:"requestMessage,omitempty"`

	// READ-ONLY; The provisioning state of the private link service connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PrivateLinkServiceConnectionProperties - Properties of the PrivateLinkServiceConnection.

func (PrivateLinkServiceConnectionProperties) MarshalJSON

func (p PrivateLinkServiceConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkServiceConnectionProperties.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`

	// The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`

	// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
	Status *string `json:"status,omitempty"`
}

PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.

type PrivateLinkServiceIPConfiguration

type PrivateLinkServiceIPConfiguration struct {
	SubResource
	// The name of private link service ip configuration.
	Name *string `json:"name,omitempty"`

	// Properties of the private link service ip configuration.
	Properties *PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

PrivateLinkServiceIPConfiguration - The private link service ip configuration.

func (PrivateLinkServiceIPConfiguration) MarshalJSON

func (p PrivateLinkServiceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkServiceIPConfiguration.

type PrivateLinkServiceIPConfigurationProperties

type PrivateLinkServiceIPConfigurationProperties struct {
	// Whether the ip configuration is primary or not.
	Primary *bool `json:"primary,omitempty"`

	// The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`

	// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
	PrivateIPAddressVersion *IPVersion `json:"privateIPAddressVersion,omitempty"`

	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// The reference to the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`

	// READ-ONLY; The provisioning state of the private link service IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PrivateLinkServiceIPConfigurationProperties - Properties of private link service IP configuration.

type PrivateLinkServiceListResult

type PrivateLinkServiceListResult struct {
	// A list of PrivateLinkService resources in a resource group.
	Value []*PrivateLinkService `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

PrivateLinkServiceListResult - Response for the ListPrivateLinkService API service call.

func (PrivateLinkServiceListResult) MarshalJSON

func (p PrivateLinkServiceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkServiceListResult.

type PrivateLinkServiceProperties

type PrivateLinkServiceProperties struct {
	// The auto-approval list of the private link service.
	AutoApproval *PrivateLinkServicePropertiesAutoApproval `json:"autoApproval,omitempty"`

	// Whether the private link service is enabled for proxy protocol or not.
	EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty"`

	// The list of Fqdn.
	Fqdns []*string `json:"fqdns,omitempty"`

	// An array of private link service IP configurations.
	IPConfigurations []*PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"`

	// An array of references to the load balancer IP configurations.
	LoadBalancerFrontendIPConfigurations []*FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"`

	// The visibility list of the private link service.
	Visibility *PrivateLinkServicePropertiesVisibility `json:"visibility,omitempty"`

	// READ-ONLY; The alias of the private link service.
	Alias *string `json:"alias,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to the network interfaces created for this private link service.
	NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty" azure:"ro"`

	// READ-ONLY; An array of list about connections to the private endpoint.
	PrivateEndpointConnections []*PrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the private link service resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

PrivateLinkServiceProperties - Properties of the private link service.

func (PrivateLinkServiceProperties) MarshalJSON

func (p PrivateLinkServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkServiceProperties.

type PrivateLinkServicePropertiesAutoApproval

type PrivateLinkServicePropertiesAutoApproval struct {
	ResourceSet
}

PrivateLinkServicePropertiesAutoApproval - The auto-approval list of the private link service.

type PrivateLinkServicePropertiesVisibility

type PrivateLinkServicePropertiesVisibility struct {
	ResourceSet
}

PrivateLinkServicePropertiesVisibility - The visibility list of the private link service.

type PrivateLinkServiceVisibility

type PrivateLinkServiceVisibility struct {
	// Private Link Service Visibility (True/False).
	Visible *bool `json:"visible,omitempty"`
}

PrivateLinkServiceVisibility - Response for the CheckPrivateLinkServiceVisibility API service call.

type PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityByResourceGroupOptions

type PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityByResourceGroupOptions struct {
}

PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityByResourceGroupOptions contains the optional parameters for the PrivateLinkServices.BeginCheckPrivateLinkServiceVisibilityByResourceGroup method.

type PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityOptions

type PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityOptions struct {
}

PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityOptions contains the optional parameters for the PrivateLinkServices.BeginCheckPrivateLinkServiceVisibility method.

type PrivateLinkServicesBeginCreateOrUpdateOptions

type PrivateLinkServicesBeginCreateOrUpdateOptions struct {
}

PrivateLinkServicesBeginCreateOrUpdateOptions contains the optional parameters for the PrivateLinkServices.BeginCreateOrUpdate method.

type PrivateLinkServicesBeginDeleteOptions

type PrivateLinkServicesBeginDeleteOptions struct {
}

PrivateLinkServicesBeginDeleteOptions contains the optional parameters for the PrivateLinkServices.BeginDelete method.

type PrivateLinkServicesBeginDeletePrivateEndpointConnectionOptions

type PrivateLinkServicesBeginDeletePrivateEndpointConnectionOptions struct {
}

PrivateLinkServicesBeginDeletePrivateEndpointConnectionOptions contains the optional parameters for the PrivateLinkServices.BeginDeletePrivateEndpointConnection method.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller

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

PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResponse will be returned.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPollerResponse

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPollerResponse contains the response from method PrivateLinkServices.CheckPrivateLinkServiceVisibilityByResourceGroup.

func (PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPollerResponse) Resume

Resume rehydrates a PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupPollerResponse from the provided client and resume token.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResponse

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResponse struct {
	PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResponse contains the response from method PrivateLinkServices.CheckPrivateLinkServiceVisibilityByResourceGroup.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResult

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResult struct {
	PrivateLinkServiceVisibility
}

PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResult contains the result from method PrivateLinkServices.CheckPrivateLinkServiceVisibilityByResourceGroup.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller

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

PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateLinkServicesCheckPrivateLinkServiceVisibilityResponse will be returned.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityPollerResponse

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateLinkServicesCheckPrivateLinkServiceVisibilityPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesCheckPrivateLinkServiceVisibilityPollerResponse contains the response from method PrivateLinkServices.CheckPrivateLinkServiceVisibility.

func (PrivateLinkServicesCheckPrivateLinkServiceVisibilityPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateLinkServicesCheckPrivateLinkServiceVisibilityPollerResponse) Resume

Resume rehydrates a PrivateLinkServicesCheckPrivateLinkServiceVisibilityPollerResponse from the provided client and resume token.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityResponse

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityResponse struct {
	PrivateLinkServicesCheckPrivateLinkServiceVisibilityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesCheckPrivateLinkServiceVisibilityResponse contains the response from method PrivateLinkServices.CheckPrivateLinkServiceVisibility.

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityResult

type PrivateLinkServicesCheckPrivateLinkServiceVisibilityResult struct {
	PrivateLinkServiceVisibility
}

PrivateLinkServicesCheckPrivateLinkServiceVisibilityResult contains the result from method PrivateLinkServices.CheckPrivateLinkServiceVisibility.

type PrivateLinkServicesClient

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

PrivateLinkServicesClient contains the methods for the PrivateLinkServices group. Don't use this type directly, use NewPrivateLinkServicesClient() instead.

func NewPrivateLinkServicesClient

func NewPrivateLinkServicesClient(con *arm.Connection, subscriptionID string) *PrivateLinkServicesClient

NewPrivateLinkServicesClient creates a new instance of PrivateLinkServicesClient with the specified values.

func (*PrivateLinkServicesClient) BeginCheckPrivateLinkServiceVisibility

BeginCheckPrivateLinkServiceVisibility - Checks whether the subscription is visible to private link service. If the operation fails it returns the *CloudError error type.

func (*PrivateLinkServicesClient) BeginCheckPrivateLinkServiceVisibilityByResourceGroup

BeginCheckPrivateLinkServiceVisibilityByResourceGroup - Checks whether the subscription is visible to private link service in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*PrivateLinkServicesClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates an private link service in the specified resource group. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) BeginDelete

BeginDelete - Deletes the specified private link service. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) BeginDeletePrivateEndpointConnection

func (client *PrivateLinkServicesClient) BeginDeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, options *PrivateLinkServicesBeginDeletePrivateEndpointConnectionOptions) (PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse, error)

BeginDeletePrivateEndpointConnection - Delete private end point connection for a private link service in a subscription. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) Get

func (client *PrivateLinkServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, options *PrivateLinkServicesGetOptions) (PrivateLinkServicesGetResponse, error)

Get - Gets the specified private link service by resource group. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) GetPrivateEndpointConnection

func (client *PrivateLinkServicesClient) GetPrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, options *PrivateLinkServicesGetPrivateEndpointConnectionOptions) (PrivateLinkServicesGetPrivateEndpointConnectionResponse, error)

GetPrivateEndpointConnection - Get the specific private end point connection by specific private link service in the resource group. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) List

List - Gets all private link services in a resource group. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServices

ListAutoApprovedPrivateLinkServices - Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. If the operation fails it returns the *CloudError error type.

func (*PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroup

ListAutoApprovedPrivateLinkServicesByResourceGroup - Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. If the operation fails it returns the *CloudError error type.

func (*PrivateLinkServicesClient) ListBySubscription

ListBySubscription - Gets all private link service in a subscription. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) ListPrivateEndpointConnections

ListPrivateEndpointConnections - Gets all private end point connections for a specific private link service. If the operation fails it returns the *Error error type.

func (*PrivateLinkServicesClient) UpdatePrivateEndpointConnection

func (client *PrivateLinkServicesClient) UpdatePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, parameters PrivateEndpointConnection, options *PrivateLinkServicesUpdatePrivateEndpointConnectionOptions) (PrivateLinkServicesUpdatePrivateEndpointConnectionResponse, error)

UpdatePrivateEndpointConnection - Approve or reject private end point connection for a private link service in a subscription. If the operation fails it returns the *Error error type.

type PrivateLinkServicesCreateOrUpdatePoller

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

PrivateLinkServicesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateLinkServicesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateLinkServicesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateLinkServicesCreateOrUpdateResponse will be returned.

func (*PrivateLinkServicesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateLinkServicesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateLinkServicesCreateOrUpdatePollerResponse

type PrivateLinkServicesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateLinkServicesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesCreateOrUpdatePollerResponse contains the response from method PrivateLinkServices.CreateOrUpdate.

func (PrivateLinkServicesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateLinkServicesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a PrivateLinkServicesCreateOrUpdatePollerResponse from the provided client and resume token.

type PrivateLinkServicesCreateOrUpdateResponse

type PrivateLinkServicesCreateOrUpdateResponse struct {
	PrivateLinkServicesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesCreateOrUpdateResponse contains the response from method PrivateLinkServices.CreateOrUpdate.

type PrivateLinkServicesCreateOrUpdateResult

type PrivateLinkServicesCreateOrUpdateResult struct {
	PrivateLinkService
}

PrivateLinkServicesCreateOrUpdateResult contains the result from method PrivateLinkServices.CreateOrUpdate.

type PrivateLinkServicesDeletePoller

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

PrivateLinkServicesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateLinkServicesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateLinkServicesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateLinkServicesDeleteResponse will be returned.

func (*PrivateLinkServicesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateLinkServicesDeletePoller) ResumeToken

func (p *PrivateLinkServicesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateLinkServicesDeletePollerResponse

type PrivateLinkServicesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateLinkServicesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesDeletePollerResponse contains the response from method PrivateLinkServices.Delete.

func (PrivateLinkServicesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateLinkServicesDeletePollerResponse) Resume

Resume rehydrates a PrivateLinkServicesDeletePollerResponse from the provided client and resume token.

type PrivateLinkServicesDeletePrivateEndpointConnectionPoller

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

PrivateLinkServicesDeletePrivateEndpointConnectionPoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateLinkServicesDeletePrivateEndpointConnectionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateLinkServicesDeletePrivateEndpointConnectionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateLinkServicesDeletePrivateEndpointConnectionResponse will be returned.

func (*PrivateLinkServicesDeletePrivateEndpointConnectionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateLinkServicesDeletePrivateEndpointConnectionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse

type PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateLinkServicesDeletePrivateEndpointConnectionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse contains the response from method PrivateLinkServices.DeletePrivateEndpointConnection.

func (PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse) Resume

Resume rehydrates a PrivateLinkServicesDeletePrivateEndpointConnectionPollerResponse from the provided client and resume token.

type PrivateLinkServicesDeletePrivateEndpointConnectionResponse

type PrivateLinkServicesDeletePrivateEndpointConnectionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesDeletePrivateEndpointConnectionResponse contains the response from method PrivateLinkServices.DeletePrivateEndpointConnection.

type PrivateLinkServicesDeleteResponse

type PrivateLinkServicesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesDeleteResponse contains the response from method PrivateLinkServices.Delete.

type PrivateLinkServicesGetOptions

type PrivateLinkServicesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

PrivateLinkServicesGetOptions contains the optional parameters for the PrivateLinkServices.Get method.

type PrivateLinkServicesGetPrivateEndpointConnectionOptions

type PrivateLinkServicesGetPrivateEndpointConnectionOptions struct {
	// Expands referenced resources.
	Expand *string
}

PrivateLinkServicesGetPrivateEndpointConnectionOptions contains the optional parameters for the PrivateLinkServices.GetPrivateEndpointConnection method.

type PrivateLinkServicesGetPrivateEndpointConnectionResponse

type PrivateLinkServicesGetPrivateEndpointConnectionResponse struct {
	PrivateLinkServicesGetPrivateEndpointConnectionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesGetPrivateEndpointConnectionResponse contains the response from method PrivateLinkServices.GetPrivateEndpointConnection.

type PrivateLinkServicesGetPrivateEndpointConnectionResult

type PrivateLinkServicesGetPrivateEndpointConnectionResult struct {
	PrivateEndpointConnection
}

PrivateLinkServicesGetPrivateEndpointConnectionResult contains the result from method PrivateLinkServices.GetPrivateEndpointConnection.

type PrivateLinkServicesGetResponse

type PrivateLinkServicesGetResponse struct {
	PrivateLinkServicesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesGetResponse contains the response from method PrivateLinkServices.Get.

type PrivateLinkServicesGetResult

type PrivateLinkServicesGetResult struct {
	PrivateLinkService
}

PrivateLinkServicesGetResult contains the result from method PrivateLinkServices.Get.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupOptions

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupOptions struct {
}

PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupOptions contains the optional parameters for the PrivateLinkServices.ListAutoApprovedPrivateLinkServicesByResourceGroup method.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupPager

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

PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupPager provides operations for iterating over paged responses.

func (*PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupPager) PageResponse

PageResponse returns the current PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResponse page.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResponse

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResponse struct {
	PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResponse contains the response from method PrivateLinkServices.ListAutoApprovedPrivateLinkServicesByResourceGroup.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResult

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResult struct {
	AutoApprovedPrivateLinkServicesResult
}

PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResult contains the result from method PrivateLinkServices.ListAutoApprovedPrivateLinkServicesByResourceGroup.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesOptions

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesOptions struct {
}

PrivateLinkServicesListAutoApprovedPrivateLinkServicesOptions contains the optional parameters for the PrivateLinkServices.ListAutoApprovedPrivateLinkServices method.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesPager

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

PrivateLinkServicesListAutoApprovedPrivateLinkServicesPager provides operations for iterating over paged responses.

func (*PrivateLinkServicesListAutoApprovedPrivateLinkServicesPager) Err

Err returns the last error encountered while paging.

func (*PrivateLinkServicesListAutoApprovedPrivateLinkServicesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateLinkServicesListAutoApprovedPrivateLinkServicesPager) PageResponse

PageResponse returns the current PrivateLinkServicesListAutoApprovedPrivateLinkServicesResponse page.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesResponse

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesResponse struct {
	PrivateLinkServicesListAutoApprovedPrivateLinkServicesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesListAutoApprovedPrivateLinkServicesResponse contains the response from method PrivateLinkServices.ListAutoApprovedPrivateLinkServices.

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesResult

type PrivateLinkServicesListAutoApprovedPrivateLinkServicesResult struct {
	AutoApprovedPrivateLinkServicesResult
}

PrivateLinkServicesListAutoApprovedPrivateLinkServicesResult contains the result from method PrivateLinkServices.ListAutoApprovedPrivateLinkServices.

type PrivateLinkServicesListBySubscriptionOptions

type PrivateLinkServicesListBySubscriptionOptions struct {
}

PrivateLinkServicesListBySubscriptionOptions contains the optional parameters for the PrivateLinkServices.ListBySubscription method.

type PrivateLinkServicesListBySubscriptionPager

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

PrivateLinkServicesListBySubscriptionPager provides operations for iterating over paged responses.

func (*PrivateLinkServicesListBySubscriptionPager) Err

Err returns the last error encountered while paging.

func (*PrivateLinkServicesListBySubscriptionPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateLinkServicesListBySubscriptionPager) PageResponse

PageResponse returns the current PrivateLinkServicesListBySubscriptionResponse page.

type PrivateLinkServicesListBySubscriptionResponse

type PrivateLinkServicesListBySubscriptionResponse struct {
	PrivateLinkServicesListBySubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesListBySubscriptionResponse contains the response from method PrivateLinkServices.ListBySubscription.

type PrivateLinkServicesListBySubscriptionResult

type PrivateLinkServicesListBySubscriptionResult struct {
	PrivateLinkServiceListResult
}

PrivateLinkServicesListBySubscriptionResult contains the result from method PrivateLinkServices.ListBySubscription.

type PrivateLinkServicesListOptions

type PrivateLinkServicesListOptions struct {
}

PrivateLinkServicesListOptions contains the optional parameters for the PrivateLinkServices.List method.

type PrivateLinkServicesListPager

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

PrivateLinkServicesListPager provides operations for iterating over paged responses.

func (*PrivateLinkServicesListPager) Err

Err returns the last error encountered while paging.

func (*PrivateLinkServicesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateLinkServicesListPager) PageResponse

PageResponse returns the current PrivateLinkServicesListResponse page.

type PrivateLinkServicesListPrivateEndpointConnectionsOptions

type PrivateLinkServicesListPrivateEndpointConnectionsOptions struct {
}

PrivateLinkServicesListPrivateEndpointConnectionsOptions contains the optional parameters for the PrivateLinkServices.ListPrivateEndpointConnections method.

type PrivateLinkServicesListPrivateEndpointConnectionsPager

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

PrivateLinkServicesListPrivateEndpointConnectionsPager provides operations for iterating over paged responses.

func (*PrivateLinkServicesListPrivateEndpointConnectionsPager) Err

Err returns the last error encountered while paging.

func (*PrivateLinkServicesListPrivateEndpointConnectionsPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PrivateLinkServicesListPrivateEndpointConnectionsPager) PageResponse

PageResponse returns the current PrivateLinkServicesListPrivateEndpointConnectionsResponse page.

type PrivateLinkServicesListPrivateEndpointConnectionsResponse

type PrivateLinkServicesListPrivateEndpointConnectionsResponse struct {
	PrivateLinkServicesListPrivateEndpointConnectionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesListPrivateEndpointConnectionsResponse contains the response from method PrivateLinkServices.ListPrivateEndpointConnections.

type PrivateLinkServicesListPrivateEndpointConnectionsResult

type PrivateLinkServicesListPrivateEndpointConnectionsResult struct {
	PrivateEndpointConnectionListResult
}

PrivateLinkServicesListPrivateEndpointConnectionsResult contains the result from method PrivateLinkServices.ListPrivateEndpointConnections.

type PrivateLinkServicesListResponse

type PrivateLinkServicesListResponse struct {
	PrivateLinkServicesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesListResponse contains the response from method PrivateLinkServices.List.

type PrivateLinkServicesListResult

type PrivateLinkServicesListResult struct {
	PrivateLinkServiceListResult
}

PrivateLinkServicesListResult contains the result from method PrivateLinkServices.List.

type PrivateLinkServicesUpdatePrivateEndpointConnectionOptions

type PrivateLinkServicesUpdatePrivateEndpointConnectionOptions struct {
}

PrivateLinkServicesUpdatePrivateEndpointConnectionOptions contains the optional parameters for the PrivateLinkServices.UpdatePrivateEndpointConnection method.

type PrivateLinkServicesUpdatePrivateEndpointConnectionResponse

type PrivateLinkServicesUpdatePrivateEndpointConnectionResponse struct {
	PrivateLinkServicesUpdatePrivateEndpointConnectionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkServicesUpdatePrivateEndpointConnectionResponse contains the response from method PrivateLinkServices.UpdatePrivateEndpointConnection.

type PrivateLinkServicesUpdatePrivateEndpointConnectionResult

type PrivateLinkServicesUpdatePrivateEndpointConnectionResult struct {
	PrivateEndpointConnection
}

PrivateLinkServicesUpdatePrivateEndpointConnectionResult contains the result from method PrivateLinkServices.UpdatePrivateEndpointConnection.

type Probe

type Probe struct {
	SubResource
	// The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties of load balancer probe.
	Properties *ProbePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Probe - A load balancer probe.

func (Probe) MarshalJSON

func (p Probe) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Probe.

type ProbePropertiesFormat

type ProbePropertiesFormat struct {
	// REQUIRED; The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
	Port *int32 `json:"port,omitempty"`

	// REQUIRED; The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified,
	// a 200 OK response from the specifies URI is required
	// for the probe to be successful.
	Protocol *ProbeProtocol `json:"protocol,omitempty"`

	// The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated
	// timeout period (in seconds) which allows two full
	// probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
	IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`

	// The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints
	// to be taken out of rotation faster or slower than
	// the typical times used in Azure.
	NumberOfProbes *int32 `json:"numberOfProbes,omitempty"`

	// The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default
	// value.
	RequestPath *string `json:"requestPath,omitempty"`

	// READ-ONLY; The load balancer rules that use this probe.
	LoadBalancingRules []*SubResource `json:"loadBalancingRules,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the probe resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ProbePropertiesFormat - Load balancer probe resource.

func (ProbePropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type ProbePropertiesFormat.

type ProbeProtocol

type ProbeProtocol string

ProbeProtocol - The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.

const (
	ProbeProtocolHTTP  ProbeProtocol = "Http"
	ProbeProtocolHTTPS ProbeProtocol = "Https"
	ProbeProtocolTCP   ProbeProtocol = "Tcp"
)

func PossibleProbeProtocolValues

func PossibleProbeProtocolValues() []ProbeProtocol

PossibleProbeProtocolValues returns the possible values for the ProbeProtocol const type.

func (ProbeProtocol) ToPtr

func (c ProbeProtocol) ToPtr() *ProbeProtocol

ToPtr returns a *ProbeProtocol pointing to the current value.

type ProcessorArchitecture

type ProcessorArchitecture string

ProcessorArchitecture - VPN client Processor Architecture.

const (
	ProcessorArchitectureAmd64 ProcessorArchitecture = "Amd64"
	ProcessorArchitectureX86   ProcessorArchitecture = "X86"
)

func PossibleProcessorArchitectureValues

func PossibleProcessorArchitectureValues() []ProcessorArchitecture

PossibleProcessorArchitectureValues returns the possible values for the ProcessorArchitecture const type.

func (ProcessorArchitecture) ToPtr

ToPtr returns a *ProcessorArchitecture pointing to the current value.

type PropagatedRouteTable

type PropagatedRouteTable struct {
	// The list of resource ids of all the RouteTables.
	IDs []*SubResource `json:"ids,omitempty"`

	// The list of labels.
	Labels []*string `json:"labels,omitempty"`
}

PropagatedRouteTable - The list of RouteTables to advertise the routes to.

func (PropagatedRouteTable) MarshalJSON

func (p PropagatedRouteTable) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PropagatedRouteTable.

type Protocol

type Protocol string

Protocol - Network protocol.

const (
	ProtocolHTTP  Protocol = "Http"
	ProtocolHTTPS Protocol = "Https"
	ProtocolIcmp  Protocol = "Icmp"
	ProtocolTCP   Protocol = "Tcp"
)

func PossibleProtocolValues

func PossibleProtocolValues() []Protocol

PossibleProtocolValues returns the possible values for the Protocol const type.

func (Protocol) ToPtr

func (c Protocol) ToPtr() *Protocol

ToPtr returns a *Protocol pointing to the current value.

type ProtocolConfiguration

type ProtocolConfiguration struct {
	// HTTP configuration of the connectivity check.
	HTTPConfiguration *HTTPConfiguration `json:"HTTPConfiguration,omitempty"`
}

ProtocolConfiguration - Configuration of the protocol.

type ProtocolCustomSettingsFormat

type ProtocolCustomSettingsFormat struct {
	// The protocol for which the DDoS protection policy is being customized.
	Protocol *DdosCustomPolicyProtocol `json:"protocol,omitempty"`

	// The customized DDoS protection source rate.
	SourceRateOverride *string `json:"sourceRateOverride,omitempty"`

	// The customized DDoS protection trigger rate.
	TriggerRateOverride *string `json:"triggerRateOverride,omitempty"`

	// The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger
	// rate set with moderate sensitivity w.r.t. normal
	// traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.
	TriggerSensitivityOverride *DdosCustomPolicyTriggerSensitivityOverride `json:"triggerSensitivityOverride,omitempty"`
}

ProtocolCustomSettingsFormat - DDoS custom policy properties.

type ProtocolType

type ProtocolType string

ProtocolType - RNM supported protocol types.

const (
	ProtocolTypeAh       ProtocolType = "Ah"
	ProtocolTypeAll      ProtocolType = "All"
	ProtocolTypeDoNotUse ProtocolType = "DoNotUse"
	ProtocolTypeEsp      ProtocolType = "Esp"
	ProtocolTypeGre      ProtocolType = "Gre"
	ProtocolTypeIcmp     ProtocolType = "Icmp"
	ProtocolTypeTCP      ProtocolType = "Tcp"
	ProtocolTypeUDP      ProtocolType = "Udp"
	ProtocolTypeVxlan    ProtocolType = "Vxlan"
)

func PossibleProtocolTypeValues

func PossibleProtocolTypeValues() []ProtocolType

PossibleProtocolTypeValues returns the possible values for the ProtocolType const type.

func (ProtocolType) ToPtr

func (c ProtocolType) ToPtr() *ProtocolType

ToPtr returns a *ProtocolType pointing to the current value.

type ProvisioningState

type ProvisioningState string

ProvisioningState - The current provisioning state.

const (
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.

func (ProvisioningState) ToPtr

ToPtr returns a *ProvisioningState pointing to the current value.

type PublicIPAddress

type PublicIPAddress struct {
	Resource
	// The extended location of the public ip address.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Public IP address properties.
	Properties *PublicIPAddressPropertiesFormat `json:"properties,omitempty"`

	// The public IP address SKU.
	SKU *PublicIPAddressSKU `json:"sku,omitempty"`

	// A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

PublicIPAddress - Public IP address resource.

func (PublicIPAddress) MarshalJSON

func (p PublicIPAddress) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicIPAddress.

type PublicIPAddressDNSSettings

type PublicIPAddressDNSSettings struct {
	// The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with
	// the public IP address. If a domain name label is
	// specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
	DomainNameLabel *string `json:"domainNameLabel,omitempty"`

	// The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized
	// DNS zone.
	Fqdn *string `json:"fqdn,omitempty"`

	// The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS
	// record is created pointing from the IP address in
	// the in-addr.arpa domain to the reverse FQDN.
	ReverseFqdn *string `json:"reverseFqdn,omitempty"`
}

PublicIPAddressDNSSettings - Contains FQDN of the DNS record associated with the public IP address.

type PublicIPAddressListResult

type PublicIPAddressListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of public IP addresses that exists in a resource group.
	Value []*PublicIPAddress `json:"value,omitempty"`
}

PublicIPAddressListResult - Response for ListPublicIpAddresses API service call.

func (PublicIPAddressListResult) MarshalJSON

func (p PublicIPAddressListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicIPAddressListResult.

type PublicIPAddressMigrationPhase

type PublicIPAddressMigrationPhase string

PublicIPAddressMigrationPhase - Migration phase of Public IP Address.

const (
	PublicIPAddressMigrationPhaseAbort     PublicIPAddressMigrationPhase = "Abort"
	PublicIPAddressMigrationPhaseCommit    PublicIPAddressMigrationPhase = "Commit"
	PublicIPAddressMigrationPhaseCommitted PublicIPAddressMigrationPhase = "Committed"
	PublicIPAddressMigrationPhaseNone      PublicIPAddressMigrationPhase = "None"
	PublicIPAddressMigrationPhasePrepare   PublicIPAddressMigrationPhase = "Prepare"
)

func PossiblePublicIPAddressMigrationPhaseValues

func PossiblePublicIPAddressMigrationPhaseValues() []PublicIPAddressMigrationPhase

PossiblePublicIPAddressMigrationPhaseValues returns the possible values for the PublicIPAddressMigrationPhase const type.

func (PublicIPAddressMigrationPhase) ToPtr

ToPtr returns a *PublicIPAddressMigrationPhase pointing to the current value.

type PublicIPAddressPropertiesFormat

type PublicIPAddressPropertiesFormat struct {
	// The FQDN of the DNS record associated with the public IP address.
	DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"`

	// The DDoS protection custom policy associated with the public IP address.
	DdosSettings *DdosSettings `json:"ddosSettings,omitempty"`

	// Specify what happens to the public IP address when the VM using it is deleted
	DeleteOption *DeleteOptions `json:"deleteOption,omitempty"`

	// The IP address associated with the public IP address resource.
	IPAddress *string `json:"ipAddress,omitempty"`

	// The list of tags associated with the public IP address.
	IPTags []*IPTag `json:"ipTags,omitempty"`

	// The idle timeout of the public IP address.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`

	// The linked public IP address of the public IP address resource.
	LinkedPublicIPAddress *PublicIPAddress `json:"linkedPublicIPAddress,omitempty"`

	// Migration phase of Public IP Address.
	MigrationPhase *PublicIPAddressMigrationPhase `json:"migrationPhase,omitempty"`

	// The NatGateway for the Public IP address.
	NatGateway *NatGateway `json:"natGateway,omitempty"`

	// The public IP address version.
	PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"`

	// The public IP address allocation method.
	PublicIPAllocationMethod *IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"`

	// The Public IP Prefix this Public IP Address should be allocated from.
	PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`

	// The service public IP address of the public IP address resource.
	ServicePublicIPAddress *PublicIPAddress `json:"servicePublicIPAddress,omitempty"`

	// READ-ONLY; The IP configuration associated with the public IP address.
	IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the public IP address resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the public IP address resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

PublicIPAddressPropertiesFormat - Public IP address properties.

func (PublicIPAddressPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type PublicIPAddressPropertiesFormat.

type PublicIPAddressSKU

type PublicIPAddressSKU struct {
	// Name of a public IP address SKU.
	Name *PublicIPAddressSKUName `json:"name,omitempty"`

	// Tier of a public IP address SKU.
	Tier *PublicIPAddressSKUTier `json:"tier,omitempty"`
}

PublicIPAddressSKU - SKU of a public IP address.

type PublicIPAddressSKUName

type PublicIPAddressSKUName string

PublicIPAddressSKUName - Name of a public IP address SKU.

const (
	PublicIPAddressSKUNameBasic    PublicIPAddressSKUName = "Basic"
	PublicIPAddressSKUNameStandard PublicIPAddressSKUName = "Standard"
)

func PossiblePublicIPAddressSKUNameValues

func PossiblePublicIPAddressSKUNameValues() []PublicIPAddressSKUName

PossiblePublicIPAddressSKUNameValues returns the possible values for the PublicIPAddressSKUName const type.

func (PublicIPAddressSKUName) ToPtr

ToPtr returns a *PublicIPAddressSKUName pointing to the current value.

type PublicIPAddressSKUTier

type PublicIPAddressSKUTier string

PublicIPAddressSKUTier - Tier of a public IP address SKU.

const (
	PublicIPAddressSKUTierGlobal   PublicIPAddressSKUTier = "Global"
	PublicIPAddressSKUTierRegional PublicIPAddressSKUTier = "Regional"
)

func PossiblePublicIPAddressSKUTierValues

func PossiblePublicIPAddressSKUTierValues() []PublicIPAddressSKUTier

PossiblePublicIPAddressSKUTierValues returns the possible values for the PublicIPAddressSKUTier const type.

func (PublicIPAddressSKUTier) ToPtr

ToPtr returns a *PublicIPAddressSKUTier pointing to the current value.

type PublicIPAddressesBeginCreateOrUpdateOptions

type PublicIPAddressesBeginCreateOrUpdateOptions struct {
}

PublicIPAddressesBeginCreateOrUpdateOptions contains the optional parameters for the PublicIPAddresses.BeginCreateOrUpdate method.

type PublicIPAddressesBeginDeleteOptions

type PublicIPAddressesBeginDeleteOptions struct {
}

PublicIPAddressesBeginDeleteOptions contains the optional parameters for the PublicIPAddresses.BeginDelete method.

type PublicIPAddressesClient

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

PublicIPAddressesClient contains the methods for the PublicIPAddresses group. Don't use this type directly, use NewPublicIPAddressesClient() instead.

func NewPublicIPAddressesClient

func NewPublicIPAddressesClient(con *arm.Connection, subscriptionID string) *PublicIPAddressesClient

NewPublicIPAddressesClient creates a new instance of PublicIPAddressesClient with the specified values.

func (*PublicIPAddressesClient) BeginCreateOrUpdate

func (client *PublicIPAddressesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, options *PublicIPAddressesBeginCreateOrUpdateOptions) (PublicIPAddressesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a static or dynamic public IP address. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewPublicIPAddressesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<IP name>",
		armnetwork.PublicIPAddress{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr("<IP name>"),
				Location: to.StringPtr("<Azure location>"),
			},
			Properties: &armnetwork.PublicIPAddressPropertiesFormat{
				PublicIPAddressVersion:   armnetwork.IPVersionIPv4.ToPtr(),
				PublicIPAllocationMethod: armnetwork.IPAllocationMethodStatic.ToPtr(),
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("public IP address ID: %v", *resp.PublicIPAddress.ID)
}
Output:

func (*PublicIPAddressesClient) BeginDelete

func (client *PublicIPAddressesClient) BeginDelete(ctx context.Context, resourceGroupName string, publicIPAddressName string, options *PublicIPAddressesBeginDeleteOptions) (PublicIPAddressesDeletePollerResponse, error)

BeginDelete - Deletes the specified public IP address. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewPublicIPAddressesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.BeginDelete(context.Background(), "<resource group name>", "<IP name>", nil)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	_, err = resp.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to delete resource: %v", err)
	}
}
Output:

func (*PublicIPAddressesClient) Get

func (client *PublicIPAddressesClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, options *PublicIPAddressesGetOptions) (PublicIPAddressesGetResponse, error)

Get - Gets the specified public IP address in a specified resource group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewPublicIPAddressesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.Get(context.Background(), "<resource group name>", "<IP name>", nil)
	if err != nil {
		log.Fatalf("failed to get resource: %v", err)
	}
	log.Printf("public IP address ID: %v", *resp.PublicIPAddress.ID)
}
Output:

func (*PublicIPAddressesClient) GetCloudServicePublicIPAddress

func (client *PublicIPAddressesClient) GetCloudServicePublicIPAddress(ctx context.Context, resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, ipConfigurationName string, publicIPAddressName string, options *PublicIPAddressesGetCloudServicePublicIPAddressOptions) (PublicIPAddressesGetCloudServicePublicIPAddressResponse, error)

GetCloudServicePublicIPAddress - Get the specified public IP address in a cloud service. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress

func (client *PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, ipConfigurationName string, publicIPAddressName string, options *PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOptions) (PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResponse, error)

GetVirtualMachineScaleSetPublicIPAddress - Get the specified public IP address in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) List

List - Gets all public IP addresses in a resource group. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) ListAll

ListAll - Gets all the public IP addresses in a subscription. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) ListCloudServicePublicIPAddresses

func (client *PublicIPAddressesClient) ListCloudServicePublicIPAddresses(resourceGroupName string, cloudServiceName string, options *PublicIPAddressesListCloudServicePublicIPAddressesOptions) *PublicIPAddressesListCloudServicePublicIPAddressesPager

ListCloudServicePublicIPAddresses - Gets information about all public IP addresses on a cloud service level. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddresses

func (client *PublicIPAddressesClient) ListCloudServiceRoleInstancePublicIPAddresses(resourceGroupName string, cloudServiceName string, roleInstanceName string, networkInterfaceName string, ipConfigurationName string, options *PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesOptions) *PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesPager

ListCloudServiceRoleInstancePublicIPAddresses - Gets information about all public IP addresses in a role instance IP configuration in a cloud service. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses

func (client *PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses(resourceGroupName string, virtualMachineScaleSetName string, options *PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesOptions) *PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesPager

ListVirtualMachineScaleSetPublicIPAddresses - Gets information about all public IP addresses on a virtual machine scale set level. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses

func (client *PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, ipConfigurationName string, options *PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesOptions) *PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesPager

ListVirtualMachineScaleSetVMPublicIPAddresses - Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set. If the operation fails it returns the *CloudError error type.

func (*PublicIPAddressesClient) UpdateTags

func (client *PublicIPAddressesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters TagsObject, options *PublicIPAddressesUpdateTagsOptions) (PublicIPAddressesUpdateTagsResponse, error)

UpdateTags - Updates public IP address tags. If the operation fails it returns the *CloudError error type.

type PublicIPAddressesCreateOrUpdatePoller

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

PublicIPAddressesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*PublicIPAddressesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PublicIPAddressesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PublicIPAddressesCreateOrUpdateResponse will be returned.

func (*PublicIPAddressesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PublicIPAddressesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PublicIPAddressesCreateOrUpdatePollerResponse

type PublicIPAddressesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PublicIPAddressesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesCreateOrUpdatePollerResponse contains the response from method PublicIPAddresses.CreateOrUpdate.

func (PublicIPAddressesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PublicIPAddressesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a PublicIPAddressesCreateOrUpdatePollerResponse from the provided client and resume token.

type PublicIPAddressesCreateOrUpdateResponse

type PublicIPAddressesCreateOrUpdateResponse struct {
	PublicIPAddressesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesCreateOrUpdateResponse contains the response from method PublicIPAddresses.CreateOrUpdate.

type PublicIPAddressesCreateOrUpdateResult

type PublicIPAddressesCreateOrUpdateResult struct {
	PublicIPAddress
}

PublicIPAddressesCreateOrUpdateResult contains the result from method PublicIPAddresses.CreateOrUpdate.

type PublicIPAddressesDeletePoller

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

PublicIPAddressesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PublicIPAddressesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PublicIPAddressesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PublicIPAddressesDeleteResponse will be returned.

func (*PublicIPAddressesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PublicIPAddressesDeletePoller) ResumeToken

func (p *PublicIPAddressesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PublicIPAddressesDeletePollerResponse

type PublicIPAddressesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PublicIPAddressesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesDeletePollerResponse contains the response from method PublicIPAddresses.Delete.

func (PublicIPAddressesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PublicIPAddressesDeletePollerResponse) Resume

Resume rehydrates a PublicIPAddressesDeletePollerResponse from the provided client and resume token.

type PublicIPAddressesDeleteResponse

type PublicIPAddressesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesDeleteResponse contains the response from method PublicIPAddresses.Delete.

type PublicIPAddressesGetCloudServicePublicIPAddressOptions

type PublicIPAddressesGetCloudServicePublicIPAddressOptions struct {
	// Expands referenced resources.
	Expand *string
}

PublicIPAddressesGetCloudServicePublicIPAddressOptions contains the optional parameters for the PublicIPAddresses.GetCloudServicePublicIPAddress method.

type PublicIPAddressesGetCloudServicePublicIPAddressResponse

type PublicIPAddressesGetCloudServicePublicIPAddressResponse struct {
	PublicIPAddressesGetCloudServicePublicIPAddressResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesGetCloudServicePublicIPAddressResponse contains the response from method PublicIPAddresses.GetCloudServicePublicIPAddress.

type PublicIPAddressesGetCloudServicePublicIPAddressResult

type PublicIPAddressesGetCloudServicePublicIPAddressResult struct {
	PublicIPAddress
}

PublicIPAddressesGetCloudServicePublicIPAddressResult contains the result from method PublicIPAddresses.GetCloudServicePublicIPAddress.

type PublicIPAddressesGetOptions

type PublicIPAddressesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

PublicIPAddressesGetOptions contains the optional parameters for the PublicIPAddresses.Get method.

type PublicIPAddressesGetResponse

type PublicIPAddressesGetResponse struct {
	PublicIPAddressesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesGetResponse contains the response from method PublicIPAddresses.Get.

type PublicIPAddressesGetResult

type PublicIPAddressesGetResult struct {
	PublicIPAddress
}

PublicIPAddressesGetResult contains the result from method PublicIPAddresses.Get.

type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOptions

type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOptions struct {
	// Expands referenced resources.
	Expand *string
}

PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressOptions contains the optional parameters for the PublicIPAddresses.GetVirtualMachineScaleSetPublicIPAddress method.

type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResponse

type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResponse struct {
	PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResponse contains the response from method PublicIPAddresses.GetVirtualMachineScaleSetPublicIPAddress.

type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResult

type PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResult struct {
	PublicIPAddress
}

PublicIPAddressesGetVirtualMachineScaleSetPublicIPAddressResult contains the result from method PublicIPAddresses.GetVirtualMachineScaleSetPublicIPAddress.

type PublicIPAddressesListAllOptions

type PublicIPAddressesListAllOptions struct {
}

PublicIPAddressesListAllOptions contains the optional parameters for the PublicIPAddresses.ListAll method.

type PublicIPAddressesListAllPager

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

PublicIPAddressesListAllPager provides operations for iterating over paged responses.

func (*PublicIPAddressesListAllPager) Err

Err returns the last error encountered while paging.

func (*PublicIPAddressesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPAddressesListAllPager) PageResponse

PageResponse returns the current PublicIPAddressesListAllResponse page.

type PublicIPAddressesListAllResponse

type PublicIPAddressesListAllResponse struct {
	PublicIPAddressesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesListAllResponse contains the response from method PublicIPAddresses.ListAll.

type PublicIPAddressesListAllResult

type PublicIPAddressesListAllResult struct {
	PublicIPAddressListResult
}

PublicIPAddressesListAllResult contains the result from method PublicIPAddresses.ListAll.

type PublicIPAddressesListCloudServicePublicIPAddressesOptions

type PublicIPAddressesListCloudServicePublicIPAddressesOptions struct {
}

PublicIPAddressesListCloudServicePublicIPAddressesOptions contains the optional parameters for the PublicIPAddresses.ListCloudServicePublicIPAddresses method.

type PublicIPAddressesListCloudServicePublicIPAddressesPager

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

PublicIPAddressesListCloudServicePublicIPAddressesPager provides operations for iterating over paged responses.

func (*PublicIPAddressesListCloudServicePublicIPAddressesPager) Err

Err returns the last error encountered while paging.

func (*PublicIPAddressesListCloudServicePublicIPAddressesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPAddressesListCloudServicePublicIPAddressesPager) PageResponse

PageResponse returns the current PublicIPAddressesListCloudServicePublicIPAddressesResponse page.

type PublicIPAddressesListCloudServicePublicIPAddressesResponse

type PublicIPAddressesListCloudServicePublicIPAddressesResponse struct {
	PublicIPAddressesListCloudServicePublicIPAddressesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesListCloudServicePublicIPAddressesResponse contains the response from method PublicIPAddresses.ListCloudServicePublicIPAddresses.

type PublicIPAddressesListCloudServicePublicIPAddressesResult

type PublicIPAddressesListCloudServicePublicIPAddressesResult struct {
	PublicIPAddressListResult
}

PublicIPAddressesListCloudServicePublicIPAddressesResult contains the result from method PublicIPAddresses.ListCloudServicePublicIPAddresses.

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesOptions

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesOptions struct {
}

PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesOptions contains the optional parameters for the PublicIPAddresses.ListCloudServiceRoleInstancePublicIPAddresses method.

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesPager

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

PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesPager provides operations for iterating over paged responses.

func (*PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesPager) Err

Err returns the last error encountered while paging.

func (*PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesPager) PageResponse

PageResponse returns the current PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResponse page.

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResponse

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResponse struct {
	PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResponse contains the response from method PublicIPAddresses.ListCloudServiceRoleInstancePublicIPAddresses.

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResult

type PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResult struct {
	PublicIPAddressListResult
}

PublicIPAddressesListCloudServiceRoleInstancePublicIPAddressesResult contains the result from method PublicIPAddresses.ListCloudServiceRoleInstancePublicIPAddresses.

type PublicIPAddressesListOptions

type PublicIPAddressesListOptions struct {
}

PublicIPAddressesListOptions contains the optional parameters for the PublicIPAddresses.List method.

type PublicIPAddressesListPager

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

PublicIPAddressesListPager provides operations for iterating over paged responses.

func (*PublicIPAddressesListPager) Err

Err returns the last error encountered while paging.

func (*PublicIPAddressesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPAddressesListPager) PageResponse

PageResponse returns the current PublicIPAddressesListResponse page.

type PublicIPAddressesListResponse

type PublicIPAddressesListResponse struct {
	PublicIPAddressesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesListResponse contains the response from method PublicIPAddresses.List.

type PublicIPAddressesListResult

type PublicIPAddressesListResult struct {
	PublicIPAddressListResult
}

PublicIPAddressesListResult contains the result from method PublicIPAddresses.List.

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesOptions

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesOptions struct {
}

PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesOptions contains the optional parameters for the PublicIPAddresses.ListVirtualMachineScaleSetPublicIPAddresses method.

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesPager

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

PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesPager provides operations for iterating over paged responses.

func (*PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesPager) Err

Err returns the last error encountered while paging.

func (*PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesPager) PageResponse

PageResponse returns the current PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResponse page.

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResponse

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResponse struct {
	PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResponse contains the response from method PublicIPAddresses.ListVirtualMachineScaleSetPublicIPAddresses.

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResult

type PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResult struct {
	PublicIPAddressListResult
}

PublicIPAddressesListVirtualMachineScaleSetPublicIPAddressesResult contains the result from method PublicIPAddresses.ListVirtualMachineScaleSetPublicIPAddresses.

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesOptions

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesOptions struct {
}

PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesOptions contains the optional parameters for the PublicIPAddresses.ListVirtualMachineScaleSetVMPublicIPAddresses method.

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesPager

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

PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesPager provides operations for iterating over paged responses.

func (*PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesPager) Err

Err returns the last error encountered while paging.

func (*PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesPager) PageResponse

PageResponse returns the current PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResponse page.

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResponse

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResponse struct {
	PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResponse contains the response from method PublicIPAddresses.ListVirtualMachineScaleSetVMPublicIPAddresses.

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResult

type PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResult struct {
	PublicIPAddressListResult
}

PublicIPAddressesListVirtualMachineScaleSetVMPublicIPAddressesResult contains the result from method PublicIPAddresses.ListVirtualMachineScaleSetVMPublicIPAddresses.

type PublicIPAddressesUpdateTagsOptions

type PublicIPAddressesUpdateTagsOptions struct {
}

PublicIPAddressesUpdateTagsOptions contains the optional parameters for the PublicIPAddresses.UpdateTags method.

type PublicIPAddressesUpdateTagsResponse

type PublicIPAddressesUpdateTagsResponse struct {
	PublicIPAddressesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPAddressesUpdateTagsResponse contains the response from method PublicIPAddresses.UpdateTags.

type PublicIPAddressesUpdateTagsResult

type PublicIPAddressesUpdateTagsResult struct {
	PublicIPAddress
}

PublicIPAddressesUpdateTagsResult contains the result from method PublicIPAddresses.UpdateTags.

type PublicIPPrefix

type PublicIPPrefix struct {
	Resource
	// The extended location of the public ip address.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Public IP prefix properties.
	Properties *PublicIPPrefixPropertiesFormat `json:"properties,omitempty"`

	// The public IP prefix SKU.
	SKU *PublicIPPrefixSKU `json:"sku,omitempty"`

	// A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones []*string `json:"zones,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

PublicIPPrefix - Public IP prefix resource.

func (PublicIPPrefix) MarshalJSON

func (p PublicIPPrefix) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicIPPrefix.

type PublicIPPrefixListResult

type PublicIPPrefixListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of public IP prefixes that exists in a resource group.
	Value []*PublicIPPrefix `json:"value,omitempty"`
}

PublicIPPrefixListResult - Response for ListPublicIpPrefixes API service call.

func (PublicIPPrefixListResult) MarshalJSON

func (p PublicIPPrefixListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicIPPrefixListResult.

type PublicIPPrefixPropertiesFormat

type PublicIPPrefixPropertiesFormat struct {
	// The customIpPrefix that this prefix is associated with.
	CustomIPPrefix *SubResource `json:"customIPPrefix,omitempty"`

	// The list of tags associated with the public IP prefix.
	IPTags []*IPTag `json:"ipTags,omitempty"`

	// NatGateway of Public IP Prefix.
	NatGateway *NatGateway `json:"natGateway,omitempty"`

	// The Length of the Public IP Prefix.
	PrefixLength *int32 `json:"prefixLength,omitempty"`

	// The public IP address version.
	PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"`

	// READ-ONLY; The allocated Prefix.
	IPPrefix *string `json:"ipPrefix,omitempty" azure:"ro"`

	// READ-ONLY; The reference to load balancer frontend IP configuration associated with the public IP prefix.
	LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIpConfiguration,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the public IP prefix resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The list of all referenced PublicIPAddresses.
	PublicIPAddresses []*ReferencedPublicIPAddress `json:"publicIPAddresses,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the public IP prefix resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

PublicIPPrefixPropertiesFormat - Public IP prefix properties.

func (PublicIPPrefixPropertiesFormat) MarshalJSON

func (p PublicIPPrefixPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PublicIPPrefixPropertiesFormat.

type PublicIPPrefixSKU

type PublicIPPrefixSKU struct {
	// Name of a public IP prefix SKU.
	Name *PublicIPPrefixSKUName `json:"name,omitempty"`

	// Tier of a public IP prefix SKU.
	Tier *PublicIPPrefixSKUTier `json:"tier,omitempty"`
}

PublicIPPrefixSKU - SKU of a public IP prefix.

type PublicIPPrefixSKUName

type PublicIPPrefixSKUName string

PublicIPPrefixSKUName - Name of a public IP prefix SKU.

const (
	PublicIPPrefixSKUNameStandard PublicIPPrefixSKUName = "Standard"
)

func PossiblePublicIPPrefixSKUNameValues

func PossiblePublicIPPrefixSKUNameValues() []PublicIPPrefixSKUName

PossiblePublicIPPrefixSKUNameValues returns the possible values for the PublicIPPrefixSKUName const type.

func (PublicIPPrefixSKUName) ToPtr

ToPtr returns a *PublicIPPrefixSKUName pointing to the current value.

type PublicIPPrefixSKUTier

type PublicIPPrefixSKUTier string

PublicIPPrefixSKUTier - Tier of a public IP prefix SKU.

const (
	PublicIPPrefixSKUTierGlobal   PublicIPPrefixSKUTier = "Global"
	PublicIPPrefixSKUTierRegional PublicIPPrefixSKUTier = "Regional"
)

func PossiblePublicIPPrefixSKUTierValues

func PossiblePublicIPPrefixSKUTierValues() []PublicIPPrefixSKUTier

PossiblePublicIPPrefixSKUTierValues returns the possible values for the PublicIPPrefixSKUTier const type.

func (PublicIPPrefixSKUTier) ToPtr

ToPtr returns a *PublicIPPrefixSKUTier pointing to the current value.

type PublicIPPrefixesBeginCreateOrUpdateOptions

type PublicIPPrefixesBeginCreateOrUpdateOptions struct {
}

PublicIPPrefixesBeginCreateOrUpdateOptions contains the optional parameters for the PublicIPPrefixes.BeginCreateOrUpdate method.

type PublicIPPrefixesBeginDeleteOptions

type PublicIPPrefixesBeginDeleteOptions struct {
}

PublicIPPrefixesBeginDeleteOptions contains the optional parameters for the PublicIPPrefixes.BeginDelete method.

type PublicIPPrefixesClient

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

PublicIPPrefixesClient contains the methods for the PublicIPPrefixes group. Don't use this type directly, use NewPublicIPPrefixesClient() instead.

func NewPublicIPPrefixesClient

func NewPublicIPPrefixesClient(con *arm.Connection, subscriptionID string) *PublicIPPrefixesClient

NewPublicIPPrefixesClient creates a new instance of PublicIPPrefixesClient with the specified values.

func (*PublicIPPrefixesClient) BeginCreateOrUpdate

func (client *PublicIPPrefixesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters PublicIPPrefix, options *PublicIPPrefixesBeginCreateOrUpdateOptions) (PublicIPPrefixesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a static or dynamic public IP prefix. If the operation fails it returns the *CloudError error type.

func (*PublicIPPrefixesClient) BeginDelete

func (client *PublicIPPrefixesClient) BeginDelete(ctx context.Context, resourceGroupName string, publicIPPrefixName string, options *PublicIPPrefixesBeginDeleteOptions) (PublicIPPrefixesDeletePollerResponse, error)

BeginDelete - Deletes the specified public IP prefix. If the operation fails it returns the *CloudError error type.

func (*PublicIPPrefixesClient) Get

func (client *PublicIPPrefixesClient) Get(ctx context.Context, resourceGroupName string, publicIPPrefixName string, options *PublicIPPrefixesGetOptions) (PublicIPPrefixesGetResponse, error)

Get - Gets the specified public IP prefix in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*PublicIPPrefixesClient) List

func (client *PublicIPPrefixesClient) List(resourceGroupName string, options *PublicIPPrefixesListOptions) *PublicIPPrefixesListPager

List - Gets all public IP prefixes in a resource group. If the operation fails it returns the *CloudError error type.

func (*PublicIPPrefixesClient) ListAll

ListAll - Gets all the public IP prefixes in a subscription. If the operation fails it returns the *CloudError error type.

func (*PublicIPPrefixesClient) UpdateTags

func (client *PublicIPPrefixesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters TagsObject, options *PublicIPPrefixesUpdateTagsOptions) (PublicIPPrefixesUpdateTagsResponse, error)

UpdateTags - Updates public IP prefix tags. If the operation fails it returns the *CloudError error type.

type PublicIPPrefixesCreateOrUpdatePoller

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

PublicIPPrefixesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*PublicIPPrefixesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PublicIPPrefixesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PublicIPPrefixesCreateOrUpdateResponse will be returned.

func (*PublicIPPrefixesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PublicIPPrefixesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PublicIPPrefixesCreateOrUpdatePollerResponse

type PublicIPPrefixesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PublicIPPrefixesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesCreateOrUpdatePollerResponse contains the response from method PublicIPPrefixes.CreateOrUpdate.

func (PublicIPPrefixesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PublicIPPrefixesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a PublicIPPrefixesCreateOrUpdatePollerResponse from the provided client and resume token.

type PublicIPPrefixesCreateOrUpdateResponse

type PublicIPPrefixesCreateOrUpdateResponse struct {
	PublicIPPrefixesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesCreateOrUpdateResponse contains the response from method PublicIPPrefixes.CreateOrUpdate.

type PublicIPPrefixesCreateOrUpdateResult

type PublicIPPrefixesCreateOrUpdateResult struct {
	PublicIPPrefix
}

PublicIPPrefixesCreateOrUpdateResult contains the result from method PublicIPPrefixes.CreateOrUpdate.

type PublicIPPrefixesDeletePoller

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

PublicIPPrefixesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PublicIPPrefixesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PublicIPPrefixesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PublicIPPrefixesDeleteResponse will be returned.

func (*PublicIPPrefixesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PublicIPPrefixesDeletePoller) ResumeToken

func (p *PublicIPPrefixesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PublicIPPrefixesDeletePollerResponse

type PublicIPPrefixesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PublicIPPrefixesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesDeletePollerResponse contains the response from method PublicIPPrefixes.Delete.

func (PublicIPPrefixesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*PublicIPPrefixesDeletePollerResponse) Resume

Resume rehydrates a PublicIPPrefixesDeletePollerResponse from the provided client and resume token.

type PublicIPPrefixesDeleteResponse

type PublicIPPrefixesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesDeleteResponse contains the response from method PublicIPPrefixes.Delete.

type PublicIPPrefixesGetOptions

type PublicIPPrefixesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

PublicIPPrefixesGetOptions contains the optional parameters for the PublicIPPrefixes.Get method.

type PublicIPPrefixesGetResponse

type PublicIPPrefixesGetResponse struct {
	PublicIPPrefixesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesGetResponse contains the response from method PublicIPPrefixes.Get.

type PublicIPPrefixesGetResult

type PublicIPPrefixesGetResult struct {
	PublicIPPrefix
}

PublicIPPrefixesGetResult contains the result from method PublicIPPrefixes.Get.

type PublicIPPrefixesListAllOptions

type PublicIPPrefixesListAllOptions struct {
}

PublicIPPrefixesListAllOptions contains the optional parameters for the PublicIPPrefixes.ListAll method.

type PublicIPPrefixesListAllPager

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

PublicIPPrefixesListAllPager provides operations for iterating over paged responses.

func (*PublicIPPrefixesListAllPager) Err

Err returns the last error encountered while paging.

func (*PublicIPPrefixesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPPrefixesListAllPager) PageResponse

PageResponse returns the current PublicIPPrefixesListAllResponse page.

type PublicIPPrefixesListAllResponse

type PublicIPPrefixesListAllResponse struct {
	PublicIPPrefixesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesListAllResponse contains the response from method PublicIPPrefixes.ListAll.

type PublicIPPrefixesListAllResult

type PublicIPPrefixesListAllResult struct {
	PublicIPPrefixListResult
}

PublicIPPrefixesListAllResult contains the result from method PublicIPPrefixes.ListAll.

type PublicIPPrefixesListOptions

type PublicIPPrefixesListOptions struct {
}

PublicIPPrefixesListOptions contains the optional parameters for the PublicIPPrefixes.List method.

type PublicIPPrefixesListPager

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

PublicIPPrefixesListPager provides operations for iterating over paged responses.

func (*PublicIPPrefixesListPager) Err

Err returns the last error encountered while paging.

func (*PublicIPPrefixesListPager) NextPage

func (p *PublicIPPrefixesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PublicIPPrefixesListPager) PageResponse

PageResponse returns the current PublicIPPrefixesListResponse page.

type PublicIPPrefixesListResponse

type PublicIPPrefixesListResponse struct {
	PublicIPPrefixesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesListResponse contains the response from method PublicIPPrefixes.List.

type PublicIPPrefixesListResult

type PublicIPPrefixesListResult struct {
	PublicIPPrefixListResult
}

PublicIPPrefixesListResult contains the result from method PublicIPPrefixes.List.

type PublicIPPrefixesUpdateTagsOptions

type PublicIPPrefixesUpdateTagsOptions struct {
}

PublicIPPrefixesUpdateTagsOptions contains the optional parameters for the PublicIPPrefixes.UpdateTags method.

type PublicIPPrefixesUpdateTagsResponse

type PublicIPPrefixesUpdateTagsResponse struct {
	PublicIPPrefixesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PublicIPPrefixesUpdateTagsResponse contains the response from method PublicIPPrefixes.UpdateTags.

type PublicIPPrefixesUpdateTagsResult

type PublicIPPrefixesUpdateTagsResult struct {
	PublicIPPrefix
}

PublicIPPrefixesUpdateTagsResult contains the result from method PublicIPPrefixes.UpdateTags.

type QosDefinition

type QosDefinition struct {
	// Destination IP ranges.
	DestinationIPRanges []*QosIPRange `json:"destinationIpRanges,omitempty"`

	// Destination port ranges.
	DestinationPortRanges []*QosPortRange `json:"destinationPortRanges,omitempty"`

	// List of markings to be used in the configuration.
	Markings []*int32 `json:"markings,omitempty"`

	// RNM supported protocol types.
	Protocol *ProtocolType `json:"protocol,omitempty"`

	// Source IP ranges.
	SourceIPRanges []*QosIPRange `json:"sourceIpRanges,omitempty"`

	// Sources port ranges.
	SourcePortRanges []*QosPortRange `json:"sourcePortRanges,omitempty"`
}

QosDefinition - Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.

func (QosDefinition) MarshalJSON

func (q QosDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type QosDefinition.

type QosIPRange

type QosIPRange struct {
	// End IP Address.
	EndIP *string `json:"endIP,omitempty"`

	// Start IP Address.
	StartIP *string `json:"startIP,omitempty"`
}

QosIPRange - Qos Traffic Profiler IP Range properties.

type QosPortRange

type QosPortRange struct {
	// Qos Port Range end.
	End *int32 `json:"end,omitempty"`

	// Qos Port Range start.
	Start *int32 `json:"start,omitempty"`
}

QosPortRange - Qos Traffic Profiler Port range properties.

type QueryTroubleshootingParameters

type QueryTroubleshootingParameters struct {
	// REQUIRED; The target resource ID to query the troubleshooting result.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

QueryTroubleshootingParameters - Parameters that define the resource to query the troubleshooting result.

type RadiusServer

type RadiusServer struct {
	// REQUIRED; The address of this radius server.
	RadiusServerAddress *string `json:"radiusServerAddress,omitempty"`

	// The initial score assigned to this radius server.
	RadiusServerScore *int64 `json:"radiusServerScore,omitempty"`

	// The secret used for this radius server.
	RadiusServerSecret *string `json:"radiusServerSecret,omitempty"`
}

RadiusServer - Radius Server Settings.

type RecordSet

type RecordSet struct {
	// Fqdn that resolves to private endpoint ip address.
	Fqdn *string `json:"fqdn,omitempty"`

	// The private ip address of the private endpoint.
	IPAddresses []*string `json:"ipAddresses,omitempty"`

	// Recordset name.
	RecordSetName *string `json:"recordSetName,omitempty"`

	// Resource record type.
	RecordType *string `json:"recordType,omitempty"`

	// Recordset time to live.
	TTL *int32 `json:"ttl,omitempty"`

	// READ-ONLY; The provisioning state of the recordset.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

RecordSet - A collective group of information about the record set information.

func (RecordSet) MarshalJSON

func (r RecordSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecordSet.

type ReferencedPublicIPAddress

type ReferencedPublicIPAddress struct {
	// The PublicIPAddress Reference.
	ID *string `json:"id,omitempty"`
}

ReferencedPublicIPAddress - Reference to a public IP address.

type Resource

type Resource struct {
	// Resource ID.
	ID *string `json:"id,omitempty"`

	// Resource location.
	Location *string `json:"location,omitempty"`

	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; Resource name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Resource - Common resource representation.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType - The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.

const (
	ResourceIdentityTypeSystemAssigned             ResourceIdentityType = "SystemAssigned"
	ResourceIdentityTypeUserAssigned               ResourceIdentityType = "UserAssigned"
	ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
	ResourceIdentityTypeNone                       ResourceIdentityType = "None"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns the possible values for the ResourceIdentityType const type.

func (ResourceIdentityType) ToPtr

ToPtr returns a *ResourceIdentityType pointing to the current value.

type ResourceNavigationLink struct {
	SubResource
	// 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"`

	// Resource navigation link properties format.
	Properties *ResourceNavigationLinkFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ResourceNavigationLink resource.

func (ResourceNavigationLink) MarshalJSON

func (r ResourceNavigationLink) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceNavigationLink.

type ResourceNavigationLinkFormat

type ResourceNavigationLinkFormat struct {
	// Link to the external resource.
	Link *string `json:"link,omitempty"`

	// Resource type of the linked resource.
	LinkedResourceType *string `json:"linkedResourceType,omitempty"`

	// READ-ONLY; The provisioning state of the resource navigation link resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ResourceNavigationLinkFormat - Properties of ResourceNavigationLink.

type ResourceNavigationLinksClient

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

ResourceNavigationLinksClient contains the methods for the ResourceNavigationLinks group. Don't use this type directly, use NewResourceNavigationLinksClient() instead.

func NewResourceNavigationLinksClient

func NewResourceNavigationLinksClient(con *arm.Connection, subscriptionID string) *ResourceNavigationLinksClient

NewResourceNavigationLinksClient creates a new instance of ResourceNavigationLinksClient with the specified values.

func (*ResourceNavigationLinksClient) List

func (client *ResourceNavigationLinksClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, options *ResourceNavigationLinksListOptions) (ResourceNavigationLinksListResponse, error)

List - Gets a list of resource navigation links for a subnet. If the operation fails it returns the *CloudError error type.

type ResourceNavigationLinksListOptions

type ResourceNavigationLinksListOptions struct {
}

ResourceNavigationLinksListOptions contains the optional parameters for the ResourceNavigationLinks.List method.

type ResourceNavigationLinksListResponse

type ResourceNavigationLinksListResponse struct {
	ResourceNavigationLinksListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ResourceNavigationLinksListResponse contains the response from method ResourceNavigationLinks.List.

type ResourceNavigationLinksListResult

type ResourceNavigationLinksListResult struct {
	// The resource navigation links in a subnet.
	Value []*ResourceNavigationLink `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ResourceNavigationLinksListResult - Response for ResourceNavigationLinks_List operation.

func (ResourceNavigationLinksListResult) MarshalJSON

func (r ResourceNavigationLinksListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceNavigationLinksListResult.

type ResourceNavigationLinksListResultEnvelope

type ResourceNavigationLinksListResultEnvelope struct {
	ResourceNavigationLinksListResult
}

ResourceNavigationLinksListResultEnvelope contains the result from method ResourceNavigationLinks.List.

type ResourceSet

type ResourceSet struct {
	// The list of subscriptions.
	Subscriptions []*string `json:"subscriptions,omitempty"`
}

ResourceSet - The base resource set for visibility and auto-approval.

func (ResourceSet) MarshalJSON

func (r ResourceSet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceSet.

type RetentionPolicyParameters

type RetentionPolicyParameters struct {
	// Number of days to retain flow log records.
	Days *int32 `json:"days,omitempty"`

	// Flag to enable/disable retention.
	Enabled *bool `json:"enabled,omitempty"`
}

RetentionPolicyParameters - Parameters that define the retention policy for flow log.

type Route

type Route struct {
	SubResource
	// 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"`

	// Properties of the route.
	Properties *RoutePropertiesFormat `json:"properties,omitempty"`

	// The type of the resource.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

Route resource.

func (Route) MarshalJSON

func (r Route) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Route.

type RouteFilter

type RouteFilter struct {
	Resource
	// Properties of the route filter.
	Properties *RouteFilterPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

RouteFilter - Route Filter Resource.

func (RouteFilter) MarshalJSON

func (r RouteFilter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteFilter.

type RouteFilterListResult

type RouteFilterListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of route filters in a resource group.
	Value []*RouteFilter `json:"value,omitempty"`
}

RouteFilterListResult - Response for the ListRouteFilters API service call.

func (RouteFilterListResult) MarshalJSON

func (r RouteFilterListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteFilterListResult.

type RouteFilterPropertiesFormat

type RouteFilterPropertiesFormat struct {
	// Collection of RouteFilterRules contained within a route filter.
	Rules []*RouteFilterRule `json:"rules,omitempty"`

	// READ-ONLY; A collection of references to express route circuit ipv6 peerings.
	IPv6Peerings []*ExpressRouteCircuitPeering `json:"ipv6Peerings,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to express route circuit peerings.
	Peerings []*ExpressRouteCircuitPeering `json:"peerings,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the route filter resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

RouteFilterPropertiesFormat - Route Filter Resource.

func (RouteFilterPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type RouteFilterPropertiesFormat.

type RouteFilterRule

type RouteFilterRule struct {
	SubResource
	// Resource location.
	Location *string `json:"location,omitempty"`

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

	// Properties of the route filter rule.
	Properties *RouteFilterRulePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

RouteFilterRule - Route Filter Rule Resource.

func (RouteFilterRule) MarshalJSON

func (r RouteFilterRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteFilterRule.

type RouteFilterRuleListResult

type RouteFilterRuleListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of RouteFilterRules in a resource group.
	Value []*RouteFilterRule `json:"value,omitempty"`
}

RouteFilterRuleListResult - Response for the ListRouteFilterRules API service call.

func (RouteFilterRuleListResult) MarshalJSON

func (r RouteFilterRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteFilterRuleListResult.

type RouteFilterRulePropertiesFormat

type RouteFilterRulePropertiesFormat struct {
	// REQUIRED; The access type of the rule.
	Access *Access `json:"access,omitempty"`

	// REQUIRED; The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
	Communities []*string `json:"communities,omitempty"`

	// REQUIRED; The rule type of the rule.
	RouteFilterRuleType *RouteFilterRuleType `json:"routeFilterRuleType,omitempty"`

	// READ-ONLY; The provisioning state of the route filter rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

RouteFilterRulePropertiesFormat - Route Filter Rule Resource.

func (RouteFilterRulePropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type RouteFilterRulePropertiesFormat.

type RouteFilterRuleType

type RouteFilterRuleType string

RouteFilterRuleType - The rule type of the rule.

const (
	RouteFilterRuleTypeCommunity RouteFilterRuleType = "Community"
)

func PossibleRouteFilterRuleTypeValues

func PossibleRouteFilterRuleTypeValues() []RouteFilterRuleType

PossibleRouteFilterRuleTypeValues returns the possible values for the RouteFilterRuleType const type.

func (RouteFilterRuleType) ToPtr

ToPtr returns a *RouteFilterRuleType pointing to the current value.

type RouteFilterRulesBeginCreateOrUpdateOptions

type RouteFilterRulesBeginCreateOrUpdateOptions struct {
}

RouteFilterRulesBeginCreateOrUpdateOptions contains the optional parameters for the RouteFilterRules.BeginCreateOrUpdate method.

type RouteFilterRulesBeginDeleteOptions

type RouteFilterRulesBeginDeleteOptions struct {
}

RouteFilterRulesBeginDeleteOptions contains the optional parameters for the RouteFilterRules.BeginDelete method.

type RouteFilterRulesClient

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

RouteFilterRulesClient contains the methods for the RouteFilterRules group. Don't use this type directly, use NewRouteFilterRulesClient() instead.

func NewRouteFilterRulesClient

func NewRouteFilterRulesClient(con *arm.Connection, subscriptionID string) *RouteFilterRulesClient

NewRouteFilterRulesClient creates a new instance of RouteFilterRulesClient with the specified values.

func (*RouteFilterRulesClient) BeginCreateOrUpdate

func (client *RouteFilterRulesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule, options *RouteFilterRulesBeginCreateOrUpdateOptions) (RouteFilterRulesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a route in the specified route filter. If the operation fails it returns the *CloudError error type.

func (*RouteFilterRulesClient) BeginDelete

func (client *RouteFilterRulesClient) BeginDelete(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, options *RouteFilterRulesBeginDeleteOptions) (RouteFilterRulesDeletePollerResponse, error)

BeginDelete - Deletes the specified rule from a route filter. If the operation fails it returns the *CloudError error type.

func (*RouteFilterRulesClient) Get

func (client *RouteFilterRulesClient) Get(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, options *RouteFilterRulesGetOptions) (RouteFilterRulesGetResponse, error)

Get - Gets the specified rule from a route filter. If the operation fails it returns the *CloudError error type.

func (*RouteFilterRulesClient) ListByRouteFilter

func (client *RouteFilterRulesClient) ListByRouteFilter(resourceGroupName string, routeFilterName string, options *RouteFilterRulesListByRouteFilterOptions) *RouteFilterRulesListByRouteFilterPager

ListByRouteFilter - Gets all RouteFilterRules in a route filter. If the operation fails it returns the *CloudError error type.

type RouteFilterRulesCreateOrUpdatePoller

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

RouteFilterRulesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*RouteFilterRulesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*RouteFilterRulesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RouteFilterRulesCreateOrUpdateResponse will be returned.

func (*RouteFilterRulesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RouteFilterRulesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RouteFilterRulesCreateOrUpdatePollerResponse

type RouteFilterRulesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RouteFilterRulesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFilterRulesCreateOrUpdatePollerResponse contains the response from method RouteFilterRules.CreateOrUpdate.

func (RouteFilterRulesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RouteFilterRulesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a RouteFilterRulesCreateOrUpdatePollerResponse from the provided client and resume token.

type RouteFilterRulesCreateOrUpdateResponse

type RouteFilterRulesCreateOrUpdateResponse struct {
	RouteFilterRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFilterRulesCreateOrUpdateResponse contains the response from method RouteFilterRules.CreateOrUpdate.

type RouteFilterRulesCreateOrUpdateResult

type RouteFilterRulesCreateOrUpdateResult struct {
	RouteFilterRule
}

RouteFilterRulesCreateOrUpdateResult contains the result from method RouteFilterRules.CreateOrUpdate.

type RouteFilterRulesDeletePoller

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

RouteFilterRulesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*RouteFilterRulesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*RouteFilterRulesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RouteFilterRulesDeleteResponse will be returned.

func (*RouteFilterRulesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RouteFilterRulesDeletePoller) ResumeToken

func (p *RouteFilterRulesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RouteFilterRulesDeletePollerResponse

type RouteFilterRulesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RouteFilterRulesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFilterRulesDeletePollerResponse contains the response from method RouteFilterRules.Delete.

func (RouteFilterRulesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RouteFilterRulesDeletePollerResponse) Resume

Resume rehydrates a RouteFilterRulesDeletePollerResponse from the provided client and resume token.

type RouteFilterRulesDeleteResponse

type RouteFilterRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFilterRulesDeleteResponse contains the response from method RouteFilterRules.Delete.

type RouteFilterRulesGetOptions

type RouteFilterRulesGetOptions struct {
}

RouteFilterRulesGetOptions contains the optional parameters for the RouteFilterRules.Get method.

type RouteFilterRulesGetResponse

type RouteFilterRulesGetResponse struct {
	RouteFilterRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFilterRulesGetResponse contains the response from method RouteFilterRules.Get.

type RouteFilterRulesGetResult

type RouteFilterRulesGetResult struct {
	RouteFilterRule
}

RouteFilterRulesGetResult contains the result from method RouteFilterRules.Get.

type RouteFilterRulesListByRouteFilterOptions

type RouteFilterRulesListByRouteFilterOptions struct {
}

RouteFilterRulesListByRouteFilterOptions contains the optional parameters for the RouteFilterRules.ListByRouteFilter method.

type RouteFilterRulesListByRouteFilterPager

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

RouteFilterRulesListByRouteFilterPager provides operations for iterating over paged responses.

func (*RouteFilterRulesListByRouteFilterPager) Err

Err returns the last error encountered while paging.

func (*RouteFilterRulesListByRouteFilterPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RouteFilterRulesListByRouteFilterPager) PageResponse

PageResponse returns the current RouteFilterRulesListByRouteFilterResponse page.

type RouteFilterRulesListByRouteFilterResponse

type RouteFilterRulesListByRouteFilterResponse struct {
	RouteFilterRulesListByRouteFilterResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFilterRulesListByRouteFilterResponse contains the response from method RouteFilterRules.ListByRouteFilter.

type RouteFilterRulesListByRouteFilterResult

type RouteFilterRulesListByRouteFilterResult struct {
	RouteFilterRuleListResult
}

RouteFilterRulesListByRouteFilterResult contains the result from method RouteFilterRules.ListByRouteFilter.

type RouteFiltersBeginCreateOrUpdateOptions

type RouteFiltersBeginCreateOrUpdateOptions struct {
}

RouteFiltersBeginCreateOrUpdateOptions contains the optional parameters for the RouteFilters.BeginCreateOrUpdate method.

type RouteFiltersBeginDeleteOptions

type RouteFiltersBeginDeleteOptions struct {
}

RouteFiltersBeginDeleteOptions contains the optional parameters for the RouteFilters.BeginDelete method.

type RouteFiltersClient

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

RouteFiltersClient contains the methods for the RouteFilters group. Don't use this type directly, use NewRouteFiltersClient() instead.

func NewRouteFiltersClient

func NewRouteFiltersClient(con *arm.Connection, subscriptionID string) *RouteFiltersClient

NewRouteFiltersClient creates a new instance of RouteFiltersClient with the specified values.

func (*RouteFiltersClient) BeginCreateOrUpdate

func (client *RouteFiltersClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter, options *RouteFiltersBeginCreateOrUpdateOptions) (RouteFiltersCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a route filter in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*RouteFiltersClient) BeginDelete

func (client *RouteFiltersClient) BeginDelete(ctx context.Context, resourceGroupName string, routeFilterName string, options *RouteFiltersBeginDeleteOptions) (RouteFiltersDeletePollerResponse, error)

BeginDelete - Deletes the specified route filter. If the operation fails it returns the *CloudError error type.

func (*RouteFiltersClient) Get

func (client *RouteFiltersClient) Get(ctx context.Context, resourceGroupName string, routeFilterName string, options *RouteFiltersGetOptions) (RouteFiltersGetResponse, error)

Get - Gets the specified route filter. If the operation fails it returns the *CloudError error type.

func (*RouteFiltersClient) List

List - Gets all route filters in a subscription. If the operation fails it returns the *CloudError error type.

func (*RouteFiltersClient) ListByResourceGroup

func (client *RouteFiltersClient) ListByResourceGroup(resourceGroupName string, options *RouteFiltersListByResourceGroupOptions) *RouteFiltersListByResourceGroupPager

ListByResourceGroup - Gets all route filters in a resource group. If the operation fails it returns the *CloudError error type.

func (*RouteFiltersClient) UpdateTags

func (client *RouteFiltersClient) UpdateTags(ctx context.Context, resourceGroupName string, routeFilterName string, parameters TagsObject, options *RouteFiltersUpdateTagsOptions) (RouteFiltersUpdateTagsResponse, error)

UpdateTags - Updates tags of a route filter. If the operation fails it returns the *CloudError error type.

type RouteFiltersCreateOrUpdatePoller

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

RouteFiltersCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*RouteFiltersCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*RouteFiltersCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RouteFiltersCreateOrUpdateResponse will be returned.

func (*RouteFiltersCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RouteFiltersCreateOrUpdatePoller) ResumeToken

func (p *RouteFiltersCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RouteFiltersCreateOrUpdatePollerResponse

type RouteFiltersCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RouteFiltersCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersCreateOrUpdatePollerResponse contains the response from method RouteFilters.CreateOrUpdate.

func (RouteFiltersCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RouteFiltersCreateOrUpdatePollerResponse) Resume

Resume rehydrates a RouteFiltersCreateOrUpdatePollerResponse from the provided client and resume token.

type RouteFiltersCreateOrUpdateResponse

type RouteFiltersCreateOrUpdateResponse struct {
	RouteFiltersCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersCreateOrUpdateResponse contains the response from method RouteFilters.CreateOrUpdate.

type RouteFiltersCreateOrUpdateResult

type RouteFiltersCreateOrUpdateResult struct {
	RouteFilter
}

RouteFiltersCreateOrUpdateResult contains the result from method RouteFilters.CreateOrUpdate.

type RouteFiltersDeletePoller

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

RouteFiltersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*RouteFiltersDeletePoller) Done

func (p *RouteFiltersDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*RouteFiltersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RouteFiltersDeleteResponse will be returned.

func (*RouteFiltersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RouteFiltersDeletePoller) ResumeToken

func (p *RouteFiltersDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RouteFiltersDeletePollerResponse

type RouteFiltersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RouteFiltersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersDeletePollerResponse contains the response from method RouteFilters.Delete.

func (RouteFiltersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RouteFiltersDeletePollerResponse) Resume

Resume rehydrates a RouteFiltersDeletePollerResponse from the provided client and resume token.

type RouteFiltersDeleteResponse

type RouteFiltersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersDeleteResponse contains the response from method RouteFilters.Delete.

type RouteFiltersGetOptions

type RouteFiltersGetOptions struct {
	// Expands referenced express route bgp peering resources.
	Expand *string
}

RouteFiltersGetOptions contains the optional parameters for the RouteFilters.Get method.

type RouteFiltersGetResponse

type RouteFiltersGetResponse struct {
	RouteFiltersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersGetResponse contains the response from method RouteFilters.Get.

type RouteFiltersGetResult

type RouteFiltersGetResult struct {
	RouteFilter
}

RouteFiltersGetResult contains the result from method RouteFilters.Get.

type RouteFiltersListByResourceGroupOptions

type RouteFiltersListByResourceGroupOptions struct {
}

RouteFiltersListByResourceGroupOptions contains the optional parameters for the RouteFilters.ListByResourceGroup method.

type RouteFiltersListByResourceGroupPager

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

RouteFiltersListByResourceGroupPager provides operations for iterating over paged responses.

func (*RouteFiltersListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*RouteFiltersListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RouteFiltersListByResourceGroupPager) PageResponse

PageResponse returns the current RouteFiltersListByResourceGroupResponse page.

type RouteFiltersListByResourceGroupResponse

type RouteFiltersListByResourceGroupResponse struct {
	RouteFiltersListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersListByResourceGroupResponse contains the response from method RouteFilters.ListByResourceGroup.

type RouteFiltersListByResourceGroupResult

type RouteFiltersListByResourceGroupResult struct {
	RouteFilterListResult
}

RouteFiltersListByResourceGroupResult contains the result from method RouteFilters.ListByResourceGroup.

type RouteFiltersListOptions

type RouteFiltersListOptions struct {
}

RouteFiltersListOptions contains the optional parameters for the RouteFilters.List method.

type RouteFiltersListPager

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

RouteFiltersListPager provides operations for iterating over paged responses.

func (*RouteFiltersListPager) Err

func (p *RouteFiltersListPager) Err() error

Err returns the last error encountered while paging.

func (*RouteFiltersListPager) NextPage

func (p *RouteFiltersListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RouteFiltersListPager) PageResponse

PageResponse returns the current RouteFiltersListResponse page.

type RouteFiltersListResponse

type RouteFiltersListResponse struct {
	RouteFiltersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersListResponse contains the response from method RouteFilters.List.

type RouteFiltersListResult

type RouteFiltersListResult struct {
	RouteFilterListResult
}

RouteFiltersListResult contains the result from method RouteFilters.List.

type RouteFiltersUpdateTagsOptions

type RouteFiltersUpdateTagsOptions struct {
}

RouteFiltersUpdateTagsOptions contains the optional parameters for the RouteFilters.UpdateTags method.

type RouteFiltersUpdateTagsResponse

type RouteFiltersUpdateTagsResponse struct {
	RouteFiltersUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteFiltersUpdateTagsResponse contains the response from method RouteFilters.UpdateTags.

type RouteFiltersUpdateTagsResult

type RouteFiltersUpdateTagsResult struct {
	RouteFilter
}

RouteFiltersUpdateTagsResult contains the result from method RouteFilters.UpdateTags.

type RouteListResult

type RouteListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of routes in a resource group.
	Value []*Route `json:"value,omitempty"`
}

RouteListResult - Response for the ListRoute API service call.

func (RouteListResult) MarshalJSON

func (r RouteListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteListResult.

type RouteNextHopType

type RouteNextHopType string

RouteNextHopType - The type of Azure hop the packet should be sent to.

const (
	RouteNextHopTypeInternet              RouteNextHopType = "Internet"
	RouteNextHopTypeNone                  RouteNextHopType = "None"
	RouteNextHopTypeVirtualAppliance      RouteNextHopType = "VirtualAppliance"
	RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway"
	RouteNextHopTypeVnetLocal             RouteNextHopType = "VnetLocal"
)

func PossibleRouteNextHopTypeValues

func PossibleRouteNextHopTypeValues() []RouteNextHopType

PossibleRouteNextHopTypeValues returns the possible values for the RouteNextHopType const type.

func (RouteNextHopType) ToPtr

ToPtr returns a *RouteNextHopType pointing to the current value.

type RoutePropertiesFormat

type RoutePropertiesFormat struct {
	// REQUIRED; The type of Azure hop the packet should be sent to.
	NextHopType *RouteNextHopType `json:"nextHopType,omitempty"`

	// The destination CIDR to which the route applies.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
	HasBgpOverride *bool `json:"hasBgpOverride,omitempty"`

	// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`

	// READ-ONLY; The provisioning state of the route resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

RoutePropertiesFormat - Route resource.

type RouteTable

type RouteTable struct {
	Resource
	// Properties of the route table.
	Properties *RouteTablePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

RouteTable - Route table resource.

func (RouteTable) MarshalJSON

func (r RouteTable) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteTable.

type RouteTableListResult

type RouteTableListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of route tables in a resource group.
	Value []*RouteTable `json:"value,omitempty"`
}

RouteTableListResult - Response for the ListRouteTable API service call.

func (RouteTableListResult) MarshalJSON

func (r RouteTableListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RouteTableListResult.

type RouteTablePropertiesFormat

type RouteTablePropertiesFormat struct {
	// Whether to disable the routes learned by BGP on that route table. True means disable.
	DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"`

	// Collection of routes contained within a route table.
	Routes []*Route `json:"routes,omitempty"`

	// READ-ONLY; The provisioning state of the route table resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the route table.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to subnets.
	Subnets []*Subnet `json:"subnets,omitempty" azure:"ro"`
}

RouteTablePropertiesFormat - Route Table resource.

func (RouteTablePropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type RouteTablePropertiesFormat.

type RouteTablesBeginCreateOrUpdateOptions

type RouteTablesBeginCreateOrUpdateOptions struct {
}

RouteTablesBeginCreateOrUpdateOptions contains the optional parameters for the RouteTables.BeginCreateOrUpdate method.

type RouteTablesBeginDeleteOptions

type RouteTablesBeginDeleteOptions struct {
}

RouteTablesBeginDeleteOptions contains the optional parameters for the RouteTables.BeginDelete method.

type RouteTablesClient

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

RouteTablesClient contains the methods for the RouteTables group. Don't use this type directly, use NewRouteTablesClient() instead.

func NewRouteTablesClient

func NewRouteTablesClient(con *arm.Connection, subscriptionID string) *RouteTablesClient

NewRouteTablesClient creates a new instance of RouteTablesClient with the specified values.

func (*RouteTablesClient) BeginCreateOrUpdate

func (client *RouteTablesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable, options *RouteTablesBeginCreateOrUpdateOptions) (RouteTablesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Create or updates a route table in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*RouteTablesClient) BeginDelete

func (client *RouteTablesClient) BeginDelete(ctx context.Context, resourceGroupName string, routeTableName string, options *RouteTablesBeginDeleteOptions) (RouteTablesDeletePollerResponse, error)

BeginDelete - Deletes the specified route table. If the operation fails it returns the *CloudError error type.

func (*RouteTablesClient) Get

func (client *RouteTablesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, options *RouteTablesGetOptions) (RouteTablesGetResponse, error)

Get - Gets the specified route table. If the operation fails it returns the *CloudError error type.

func (*RouteTablesClient) List

func (client *RouteTablesClient) List(resourceGroupName string, options *RouteTablesListOptions) *RouteTablesListPager

List - Gets all route tables in a resource group. If the operation fails it returns the *CloudError error type.

func (*RouteTablesClient) ListAll

ListAll - Gets all route tables in a subscription. If the operation fails it returns the *CloudError error type.

func (*RouteTablesClient) UpdateTags

func (client *RouteTablesClient) UpdateTags(ctx context.Context, resourceGroupName string, routeTableName string, parameters TagsObject, options *RouteTablesUpdateTagsOptions) (RouteTablesUpdateTagsResponse, error)

UpdateTags - Updates a route table tags. If the operation fails it returns the *CloudError error type.

type RouteTablesCreateOrUpdatePoller

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

RouteTablesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*RouteTablesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*RouteTablesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RouteTablesCreateOrUpdateResponse will be returned.

func (*RouteTablesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RouteTablesCreateOrUpdatePoller) ResumeToken

func (p *RouteTablesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RouteTablesCreateOrUpdatePollerResponse

type RouteTablesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RouteTablesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesCreateOrUpdatePollerResponse contains the response from method RouteTables.CreateOrUpdate.

func (RouteTablesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RouteTablesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a RouteTablesCreateOrUpdatePollerResponse from the provided client and resume token.

type RouteTablesCreateOrUpdateResponse

type RouteTablesCreateOrUpdateResponse struct {
	RouteTablesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesCreateOrUpdateResponse contains the response from method RouteTables.CreateOrUpdate.

type RouteTablesCreateOrUpdateResult

type RouteTablesCreateOrUpdateResult struct {
	RouteTable
}

RouteTablesCreateOrUpdateResult contains the result from method RouteTables.CreateOrUpdate.

type RouteTablesDeletePoller

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

RouteTablesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*RouteTablesDeletePoller) Done

func (p *RouteTablesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*RouteTablesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RouteTablesDeleteResponse will be returned.

func (*RouteTablesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RouteTablesDeletePoller) ResumeToken

func (p *RouteTablesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RouteTablesDeletePollerResponse

type RouteTablesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RouteTablesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesDeletePollerResponse contains the response from method RouteTables.Delete.

func (RouteTablesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RouteTablesDeletePollerResponse) Resume

Resume rehydrates a RouteTablesDeletePollerResponse from the provided client and resume token.

type RouteTablesDeleteResponse

type RouteTablesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesDeleteResponse contains the response from method RouteTables.Delete.

type RouteTablesGetOptions

type RouteTablesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

RouteTablesGetOptions contains the optional parameters for the RouteTables.Get method.

type RouteTablesGetResponse

type RouteTablesGetResponse struct {
	RouteTablesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesGetResponse contains the response from method RouteTables.Get.

type RouteTablesGetResult

type RouteTablesGetResult struct {
	RouteTable
}

RouteTablesGetResult contains the result from method RouteTables.Get.

type RouteTablesListAllOptions

type RouteTablesListAllOptions struct {
}

RouteTablesListAllOptions contains the optional parameters for the RouteTables.ListAll method.

type RouteTablesListAllPager

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

RouteTablesListAllPager provides operations for iterating over paged responses.

func (*RouteTablesListAllPager) Err

func (p *RouteTablesListAllPager) Err() error

Err returns the last error encountered while paging.

func (*RouteTablesListAllPager) NextPage

func (p *RouteTablesListAllPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RouteTablesListAllPager) PageResponse

PageResponse returns the current RouteTablesListAllResponse page.

type RouteTablesListAllResponse

type RouteTablesListAllResponse struct {
	RouteTablesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesListAllResponse contains the response from method RouteTables.ListAll.

type RouteTablesListAllResult

type RouteTablesListAllResult struct {
	RouteTableListResult
}

RouteTablesListAllResult contains the result from method RouteTables.ListAll.

type RouteTablesListOptions

type RouteTablesListOptions struct {
}

RouteTablesListOptions contains the optional parameters for the RouteTables.List method.

type RouteTablesListPager

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

RouteTablesListPager provides operations for iterating over paged responses.

func (*RouteTablesListPager) Err

func (p *RouteTablesListPager) Err() error

Err returns the last error encountered while paging.

func (*RouteTablesListPager) NextPage

func (p *RouteTablesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RouteTablesListPager) PageResponse

PageResponse returns the current RouteTablesListResponse page.

type RouteTablesListResponse

type RouteTablesListResponse struct {
	RouteTablesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesListResponse contains the response from method RouteTables.List.

type RouteTablesListResult

type RouteTablesListResult struct {
	RouteTableListResult
}

RouteTablesListResult contains the result from method RouteTables.List.

type RouteTablesUpdateTagsOptions

type RouteTablesUpdateTagsOptions struct {
}

RouteTablesUpdateTagsOptions contains the optional parameters for the RouteTables.UpdateTags method.

type RouteTablesUpdateTagsResponse

type RouteTablesUpdateTagsResponse struct {
	RouteTablesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RouteTablesUpdateTagsResponse contains the response from method RouteTables.UpdateTags.

type RouteTablesUpdateTagsResult

type RouteTablesUpdateTagsResult struct {
	RouteTable
}

RouteTablesUpdateTagsResult contains the result from method RouteTables.UpdateTags.

type RoutesBeginCreateOrUpdateOptions

type RoutesBeginCreateOrUpdateOptions struct {
}

RoutesBeginCreateOrUpdateOptions contains the optional parameters for the Routes.BeginCreateOrUpdate method.

type RoutesBeginDeleteOptions

type RoutesBeginDeleteOptions struct {
}

RoutesBeginDeleteOptions contains the optional parameters for the Routes.BeginDelete method.

type RoutesClient

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

RoutesClient contains the methods for the Routes group. Don't use this type directly, use NewRoutesClient() instead.

func NewRoutesClient

func NewRoutesClient(con *arm.Connection, subscriptionID string) *RoutesClient

NewRoutesClient creates a new instance of RoutesClient with the specified values.

func (*RoutesClient) BeginCreateOrUpdate

func (client *RoutesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route, options *RoutesBeginCreateOrUpdateOptions) (RoutesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a route in the specified route table. If the operation fails it returns the *CloudError error type.

func (*RoutesClient) BeginDelete

func (client *RoutesClient) BeginDelete(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, options *RoutesBeginDeleteOptions) (RoutesDeletePollerResponse, error)

BeginDelete - Deletes the specified route from a route table. If the operation fails it returns the *CloudError error type.

func (*RoutesClient) Get

func (client *RoutesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, options *RoutesGetOptions) (RoutesGetResponse, error)

Get - Gets the specified route from a route table. If the operation fails it returns the *CloudError error type.

func (*RoutesClient) List

func (client *RoutesClient) List(resourceGroupName string, routeTableName string, options *RoutesListOptions) *RoutesListPager

List - Gets all routes in a route table. If the operation fails it returns the *CloudError error type.

type RoutesCreateOrUpdatePoller

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

RoutesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*RoutesCreateOrUpdatePoller) Done

func (p *RoutesCreateOrUpdatePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*RoutesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RoutesCreateOrUpdateResponse will be returned.

func (*RoutesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RoutesCreateOrUpdatePoller) ResumeToken

func (p *RoutesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RoutesCreateOrUpdatePollerResponse

type RoutesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RoutesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoutesCreateOrUpdatePollerResponse contains the response from method Routes.CreateOrUpdate.

func (RoutesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RoutesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a RoutesCreateOrUpdatePollerResponse from the provided client and resume token.

type RoutesCreateOrUpdateResponse

type RoutesCreateOrUpdateResponse struct {
	RoutesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoutesCreateOrUpdateResponse contains the response from method Routes.CreateOrUpdate.

type RoutesCreateOrUpdateResult

type RoutesCreateOrUpdateResult struct {
	Route
}

RoutesCreateOrUpdateResult contains the result from method Routes.CreateOrUpdate.

type RoutesDeletePoller

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

RoutesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*RoutesDeletePoller) Done

func (p *RoutesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*RoutesDeletePoller) FinalResponse

func (p *RoutesDeletePoller) FinalResponse(ctx context.Context) (RoutesDeleteResponse, error)

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RoutesDeleteResponse will be returned.

func (*RoutesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*RoutesDeletePoller) ResumeToken

func (p *RoutesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type RoutesDeletePollerResponse

type RoutesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *RoutesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoutesDeletePollerResponse contains the response from method Routes.Delete.

func (RoutesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*RoutesDeletePollerResponse) Resume

func (l *RoutesDeletePollerResponse) Resume(ctx context.Context, client *RoutesClient, token string) error

Resume rehydrates a RoutesDeletePollerResponse from the provided client and resume token.

type RoutesDeleteResponse

type RoutesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoutesDeleteResponse contains the response from method Routes.Delete.

type RoutesGetOptions

type RoutesGetOptions struct {
}

RoutesGetOptions contains the optional parameters for the Routes.Get method.

type RoutesGetResponse

type RoutesGetResponse struct {
	RoutesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoutesGetResponse contains the response from method Routes.Get.

type RoutesGetResult

type RoutesGetResult struct {
	Route
}

RoutesGetResult contains the result from method Routes.Get.

type RoutesListOptions

type RoutesListOptions struct {
}

RoutesListOptions contains the optional parameters for the Routes.List method.

type RoutesListPager

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

RoutesListPager provides operations for iterating over paged responses.

func (*RoutesListPager) Err

func (p *RoutesListPager) Err() error

Err returns the last error encountered while paging.

func (*RoutesListPager) NextPage

func (p *RoutesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoutesListPager) PageResponse

func (p *RoutesListPager) PageResponse() RoutesListResponse

PageResponse returns the current RoutesListResponse page.

type RoutesListResponse

type RoutesListResponse struct {
	RoutesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoutesListResponse contains the response from method Routes.List.

type RoutesListResult

type RoutesListResult struct {
	RouteListResult
}

RoutesListResult contains the result from method Routes.List.

type RoutingConfiguration

type RoutingConfiguration struct {
	// The resource id RouteTable associated with this RoutingConfiguration.
	AssociatedRouteTable *SubResource `json:"associatedRouteTable,omitempty"`

	// The list of RouteTables to advertise the routes to.
	PropagatedRouteTables *PropagatedRouteTable `json:"propagatedRouteTables,omitempty"`

	// List of routes that control routing from VirtualHub into a virtual network connection.
	VnetRoutes *VnetRoute `json:"vnetRoutes,omitempty"`
}

RoutingConfiguration - Routing Configuration indicating the associated and propagated route tables for this connection.

type RoutingState

type RoutingState string

RoutingState - The current routing state of the VirtualHub.

const (
	RoutingStateFailed       RoutingState = "Failed"
	RoutingStateNone         RoutingState = "None"
	RoutingStateProvisioned  RoutingState = "Provisioned"
	RoutingStateProvisioning RoutingState = "Provisioning"
)

func PossibleRoutingStateValues

func PossibleRoutingStateValues() []RoutingState

PossibleRoutingStateValues returns the possible values for the RoutingState const type.

func (RoutingState) ToPtr

func (c RoutingState) ToPtr() *RoutingState

ToPtr returns a *RoutingState pointing to the current value.

type SKU

type SKU struct {
	// The name of this Bastion Host.
	Name *BastionHostSKUName `json:"name,omitempty"`
}

SKU - The sku of this Bastion Host.

type SecurityGroupNetworkInterface

type SecurityGroupNetworkInterface struct {
	// ID of the network interface.
	ID *string `json:"id,omitempty"`

	// All security rules associated with the network interface.
	SecurityRuleAssociations *SecurityRuleAssociations `json:"securityRuleAssociations,omitempty"`
}

SecurityGroupNetworkInterface - Network interface and all its associated security rules.

type SecurityGroupViewParameters

type SecurityGroupViewParameters struct {
	// REQUIRED; ID of the target VM.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

SecurityGroupViewParameters - Parameters that define the VM to check security groups for.

type SecurityGroupViewResult

type SecurityGroupViewResult struct {
	// List of network interfaces on the specified VM.
	NetworkInterfaces []*SecurityGroupNetworkInterface `json:"networkInterfaces,omitempty"`
}

SecurityGroupViewResult - The information about security rules applied to the specified VM.

func (SecurityGroupViewResult) MarshalJSON

func (s SecurityGroupViewResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityGroupViewResult.

type SecurityPartnerProvider

type SecurityPartnerProvider struct {
	Resource
	// Properties of the Security Partner Provider.
	Properties *SecurityPartnerProviderPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

SecurityPartnerProvider - Security Partner Provider resource.

func (SecurityPartnerProvider) MarshalJSON

func (s SecurityPartnerProvider) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityPartnerProvider.

type SecurityPartnerProviderConnectionStatus

type SecurityPartnerProviderConnectionStatus string

SecurityPartnerProviderConnectionStatus - The current state of the connection with Security Partner Provider.

const (
	SecurityPartnerProviderConnectionStatusConnected          SecurityPartnerProviderConnectionStatus = "Connected"
	SecurityPartnerProviderConnectionStatusNotConnected       SecurityPartnerProviderConnectionStatus = "NotConnected"
	SecurityPartnerProviderConnectionStatusPartiallyConnected SecurityPartnerProviderConnectionStatus = "PartiallyConnected"
	SecurityPartnerProviderConnectionStatusUnknown            SecurityPartnerProviderConnectionStatus = "Unknown"
)

func PossibleSecurityPartnerProviderConnectionStatusValues

func PossibleSecurityPartnerProviderConnectionStatusValues() []SecurityPartnerProviderConnectionStatus

PossibleSecurityPartnerProviderConnectionStatusValues returns the possible values for the SecurityPartnerProviderConnectionStatus const type.

func (SecurityPartnerProviderConnectionStatus) ToPtr

ToPtr returns a *SecurityPartnerProviderConnectionStatus pointing to the current value.

type SecurityPartnerProviderListResult

type SecurityPartnerProviderListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Security Partner Providers in a resource group.
	Value []*SecurityPartnerProvider `json:"value,omitempty"`
}

SecurityPartnerProviderListResult - Response for ListSecurityPartnerProviders API service call.

func (SecurityPartnerProviderListResult) MarshalJSON

func (s SecurityPartnerProviderListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityPartnerProviderListResult.

type SecurityPartnerProviderPropertiesFormat

type SecurityPartnerProviderPropertiesFormat struct {
	// The security provider name.
	SecurityProviderName *SecurityProviderName `json:"securityProviderName,omitempty"`

	// The virtualHub to which the Security Partner Provider belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`

	// READ-ONLY; The connection status with the Security Partner Provider.
	ConnectionStatus *SecurityPartnerProviderConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the Security Partner Provider resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

SecurityPartnerProviderPropertiesFormat - Properties of the Security Partner Provider.

type SecurityPartnerProvidersBeginCreateOrUpdateOptions

type SecurityPartnerProvidersBeginCreateOrUpdateOptions struct {
}

SecurityPartnerProvidersBeginCreateOrUpdateOptions contains the optional parameters for the SecurityPartnerProviders.BeginCreateOrUpdate method.

type SecurityPartnerProvidersBeginDeleteOptions

type SecurityPartnerProvidersBeginDeleteOptions struct {
}

SecurityPartnerProvidersBeginDeleteOptions contains the optional parameters for the SecurityPartnerProviders.BeginDelete method.

type SecurityPartnerProvidersClient

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

SecurityPartnerProvidersClient contains the methods for the SecurityPartnerProviders group. Don't use this type directly, use NewSecurityPartnerProvidersClient() instead.

func NewSecurityPartnerProvidersClient

func NewSecurityPartnerProvidersClient(con *arm.Connection, subscriptionID string) *SecurityPartnerProvidersClient

NewSecurityPartnerProvidersClient creates a new instance of SecurityPartnerProvidersClient with the specified values.

func (*SecurityPartnerProvidersClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates the specified Security Partner Provider. If the operation fails it returns the *CloudError error type.

func (*SecurityPartnerProvidersClient) BeginDelete

func (client *SecurityPartnerProvidersClient) BeginDelete(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, options *SecurityPartnerProvidersBeginDeleteOptions) (SecurityPartnerProvidersDeletePollerResponse, error)

BeginDelete - Deletes the specified Security Partner Provider. If the operation fails it returns the *CloudError error type.

func (*SecurityPartnerProvidersClient) Get

func (client *SecurityPartnerProvidersClient) Get(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, options *SecurityPartnerProvidersGetOptions) (SecurityPartnerProvidersGetResponse, error)

Get - Gets the specified Security Partner Provider. If the operation fails it returns the *CloudError error type.

func (*SecurityPartnerProvidersClient) List

List - Gets all the Security Partner Providers in a subscription. If the operation fails it returns the *CloudError error type.

func (*SecurityPartnerProvidersClient) ListByResourceGroup

ListByResourceGroup - Lists all Security Partner Providers in a resource group. If the operation fails it returns the *CloudError error type.

func (*SecurityPartnerProvidersClient) UpdateTags

func (client *SecurityPartnerProvidersClient) UpdateTags(ctx context.Context, resourceGroupName string, securityPartnerProviderName string, parameters TagsObject, options *SecurityPartnerProvidersUpdateTagsOptions) (SecurityPartnerProvidersUpdateTagsResponse, error)

UpdateTags - Updates tags of a Security Partner Provider resource. If the operation fails it returns the *CloudError error type.

type SecurityPartnerProvidersCreateOrUpdatePoller

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

SecurityPartnerProvidersCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*SecurityPartnerProvidersCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SecurityPartnerProvidersCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityPartnerProvidersCreateOrUpdateResponse will be returned.

func (*SecurityPartnerProvidersCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SecurityPartnerProvidersCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SecurityPartnerProvidersCreateOrUpdatePollerResponse

type SecurityPartnerProvidersCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SecurityPartnerProvidersCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersCreateOrUpdatePollerResponse contains the response from method SecurityPartnerProviders.CreateOrUpdate.

func (SecurityPartnerProvidersCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SecurityPartnerProvidersCreateOrUpdatePollerResponse) Resume

Resume rehydrates a SecurityPartnerProvidersCreateOrUpdatePollerResponse from the provided client and resume token.

type SecurityPartnerProvidersCreateOrUpdateResponse

type SecurityPartnerProvidersCreateOrUpdateResponse struct {
	SecurityPartnerProvidersCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersCreateOrUpdateResponse contains the response from method SecurityPartnerProviders.CreateOrUpdate.

type SecurityPartnerProvidersCreateOrUpdateResult

type SecurityPartnerProvidersCreateOrUpdateResult struct {
	SecurityPartnerProvider
}

SecurityPartnerProvidersCreateOrUpdateResult contains the result from method SecurityPartnerProviders.CreateOrUpdate.

type SecurityPartnerProvidersDeletePoller

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

SecurityPartnerProvidersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*SecurityPartnerProvidersDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SecurityPartnerProvidersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityPartnerProvidersDeleteResponse will be returned.

func (*SecurityPartnerProvidersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SecurityPartnerProvidersDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SecurityPartnerProvidersDeletePollerResponse

type SecurityPartnerProvidersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SecurityPartnerProvidersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersDeletePollerResponse contains the response from method SecurityPartnerProviders.Delete.

func (SecurityPartnerProvidersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SecurityPartnerProvidersDeletePollerResponse) Resume

Resume rehydrates a SecurityPartnerProvidersDeletePollerResponse from the provided client and resume token.

type SecurityPartnerProvidersDeleteResponse

type SecurityPartnerProvidersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersDeleteResponse contains the response from method SecurityPartnerProviders.Delete.

type SecurityPartnerProvidersGetOptions

type SecurityPartnerProvidersGetOptions struct {
}

SecurityPartnerProvidersGetOptions contains the optional parameters for the SecurityPartnerProviders.Get method.

type SecurityPartnerProvidersGetResponse

type SecurityPartnerProvidersGetResponse struct {
	SecurityPartnerProvidersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersGetResponse contains the response from method SecurityPartnerProviders.Get.

type SecurityPartnerProvidersGetResult

type SecurityPartnerProvidersGetResult struct {
	SecurityPartnerProvider
}

SecurityPartnerProvidersGetResult contains the result from method SecurityPartnerProviders.Get.

type SecurityPartnerProvidersListByResourceGroupOptions

type SecurityPartnerProvidersListByResourceGroupOptions struct {
}

SecurityPartnerProvidersListByResourceGroupOptions contains the optional parameters for the SecurityPartnerProviders.ListByResourceGroup method.

type SecurityPartnerProvidersListByResourceGroupPager

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

SecurityPartnerProvidersListByResourceGroupPager provides operations for iterating over paged responses.

func (*SecurityPartnerProvidersListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*SecurityPartnerProvidersListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*SecurityPartnerProvidersListByResourceGroupPager) PageResponse

PageResponse returns the current SecurityPartnerProvidersListByResourceGroupResponse page.

type SecurityPartnerProvidersListByResourceGroupResponse

type SecurityPartnerProvidersListByResourceGroupResponse struct {
	SecurityPartnerProvidersListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersListByResourceGroupResponse contains the response from method SecurityPartnerProviders.ListByResourceGroup.

type SecurityPartnerProvidersListByResourceGroupResult

type SecurityPartnerProvidersListByResourceGroupResult struct {
	SecurityPartnerProviderListResult
}

SecurityPartnerProvidersListByResourceGroupResult contains the result from method SecurityPartnerProviders.ListByResourceGroup.

type SecurityPartnerProvidersListOptions

type SecurityPartnerProvidersListOptions struct {
}

SecurityPartnerProvidersListOptions contains the optional parameters for the SecurityPartnerProviders.List method.

type SecurityPartnerProvidersListPager

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

SecurityPartnerProvidersListPager provides operations for iterating over paged responses.

func (*SecurityPartnerProvidersListPager) Err

Err returns the last error encountered while paging.

func (*SecurityPartnerProvidersListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*SecurityPartnerProvidersListPager) PageResponse

PageResponse returns the current SecurityPartnerProvidersListResponse page.

type SecurityPartnerProvidersListResponse

type SecurityPartnerProvidersListResponse struct {
	SecurityPartnerProvidersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersListResponse contains the response from method SecurityPartnerProviders.List.

type SecurityPartnerProvidersListResult

type SecurityPartnerProvidersListResult struct {
	SecurityPartnerProviderListResult
}

SecurityPartnerProvidersListResult contains the result from method SecurityPartnerProviders.List.

type SecurityPartnerProvidersUpdateTagsOptions

type SecurityPartnerProvidersUpdateTagsOptions struct {
}

SecurityPartnerProvidersUpdateTagsOptions contains the optional parameters for the SecurityPartnerProviders.UpdateTags method.

type SecurityPartnerProvidersUpdateTagsResponse

type SecurityPartnerProvidersUpdateTagsResponse struct {
	SecurityPartnerProvidersUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityPartnerProvidersUpdateTagsResponse contains the response from method SecurityPartnerProviders.UpdateTags.

type SecurityPartnerProvidersUpdateTagsResult

type SecurityPartnerProvidersUpdateTagsResult struct {
	SecurityPartnerProvider
}

SecurityPartnerProvidersUpdateTagsResult contains the result from method SecurityPartnerProviders.UpdateTags.

type SecurityProviderName

type SecurityProviderName string

SecurityProviderName - The Security Providers.

const (
	SecurityProviderNameCheckpoint SecurityProviderName = "Checkpoint"
	SecurityProviderNameIBoss      SecurityProviderName = "IBoss"
	SecurityProviderNameZScaler    SecurityProviderName = "ZScaler"
)

func PossibleSecurityProviderNameValues

func PossibleSecurityProviderNameValues() []SecurityProviderName

PossibleSecurityProviderNameValues returns the possible values for the SecurityProviderName const type.

func (SecurityProviderName) ToPtr

ToPtr returns a *SecurityProviderName pointing to the current value.

type SecurityRule

type SecurityRule struct {
	SubResource
	// 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"`

	// Properties of the security rule.
	Properties *SecurityRulePropertiesFormat `json:"properties,omitempty"`

	// The type of the resource.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

SecurityRule - Network security rule.

func (SecurityRule) MarshalJSON

func (s SecurityRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityRule.

type SecurityRuleAccess

type SecurityRuleAccess string

SecurityRuleAccess - Whether network traffic is allowed or denied.

const (
	SecurityRuleAccessAllow SecurityRuleAccess = "Allow"
	SecurityRuleAccessDeny  SecurityRuleAccess = "Deny"
)

func PossibleSecurityRuleAccessValues

func PossibleSecurityRuleAccessValues() []SecurityRuleAccess

PossibleSecurityRuleAccessValues returns the possible values for the SecurityRuleAccess const type.

func (SecurityRuleAccess) ToPtr

ToPtr returns a *SecurityRuleAccess pointing to the current value.

type SecurityRuleAssociations

type SecurityRuleAssociations struct {
	// Collection of default security rules of the network security group.
	DefaultSecurityRules []*SecurityRule `json:"defaultSecurityRules,omitempty"`

	// Collection of effective security rules.
	EffectiveSecurityRules []*EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`

	// Network interface and it's custom security rules.
	NetworkInterfaceAssociation *NetworkInterfaceAssociation `json:"networkInterfaceAssociation,omitempty"`

	// Subnet and it's custom security rules.
	SubnetAssociation *SubnetAssociation `json:"subnetAssociation,omitempty"`
}

SecurityRuleAssociations - All security rules associated with the network interface.

func (SecurityRuleAssociations) MarshalJSON

func (s SecurityRuleAssociations) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityRuleAssociations.

type SecurityRuleDirection

type SecurityRuleDirection string

SecurityRuleDirection - The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.

const (
	SecurityRuleDirectionInbound  SecurityRuleDirection = "Inbound"
	SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound"
)

func PossibleSecurityRuleDirectionValues

func PossibleSecurityRuleDirectionValues() []SecurityRuleDirection

PossibleSecurityRuleDirectionValues returns the possible values for the SecurityRuleDirection const type.

func (SecurityRuleDirection) ToPtr

ToPtr returns a *SecurityRuleDirection pointing to the current value.

type SecurityRuleListResult

type SecurityRuleListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The security rules in a network security group.
	Value []*SecurityRule `json:"value,omitempty"`
}

SecurityRuleListResult - Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group.

func (SecurityRuleListResult) MarshalJSON

func (s SecurityRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityRuleListResult.

type SecurityRulePropertiesFormat

type SecurityRulePropertiesFormat struct {
	// REQUIRED; The network traffic is allowed or denied.
	Access *SecurityRuleAccess `json:"access,omitempty"`

	// REQUIRED; The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
	Direction *SecurityRuleDirection `json:"direction,omitempty"`

	// REQUIRED; Network protocol this rule applies to.
	Protocol *SecurityRuleProtocol `json:"protocol,omitempty"`

	// A description for this rule. Restricted to 140 chars.
	Description *string `json:"description,omitempty"`

	// The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork',
	// 'AzureLoadBalancer' and 'Internet' can also
	// be used.
	DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`

	// The destination address prefixes. CIDR or destination IP ranges.
	DestinationAddressPrefixes []*string `json:"destinationAddressPrefixes,omitempty"`

	// The application security group specified as destination.
	DestinationApplicationSecurityGroups []*ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"`

	// The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
	DestinationPortRange *string `json:"destinationPortRange,omitempty"`

	// The destination port ranges.
	DestinationPortRanges []*string `json:"destinationPortRanges,omitempty"`

	// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority
	// number, the higher the priority of the rule.
	Priority *int32 `json:"priority,omitempty"`

	// The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet'
	// can also be used. If this is an ingress
	// rule, specifies where network traffic originates from.
	SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`

	// The CIDR or source IP ranges.
	SourceAddressPrefixes []*string `json:"sourceAddressPrefixes,omitempty"`

	// The application security group specified as source.
	SourceApplicationSecurityGroups []*ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"`

	// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
	SourcePortRange *string `json:"sourcePortRange,omitempty"`

	// The source port ranges.
	SourcePortRanges []*string `json:"sourcePortRanges,omitempty"`

	// READ-ONLY; The provisioning state of the security rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

SecurityRulePropertiesFormat - Security rule resource.

func (SecurityRulePropertiesFormat) MarshalJSON

func (s SecurityRulePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecurityRulePropertiesFormat.

type SecurityRuleProtocol

type SecurityRuleProtocol string

SecurityRuleProtocol - Network protocol this rule applies to.

const (
	SecurityRuleProtocolAh       SecurityRuleProtocol = "Ah"
	SecurityRuleProtocolAsterisk SecurityRuleProtocol = "*"
	SecurityRuleProtocolEsp      SecurityRuleProtocol = "Esp"
	SecurityRuleProtocolIcmp     SecurityRuleProtocol = "Icmp"
	SecurityRuleProtocolTCP      SecurityRuleProtocol = "Tcp"
	SecurityRuleProtocolUDP      SecurityRuleProtocol = "Udp"
)

func PossibleSecurityRuleProtocolValues

func PossibleSecurityRuleProtocolValues() []SecurityRuleProtocol

PossibleSecurityRuleProtocolValues returns the possible values for the SecurityRuleProtocol const type.

func (SecurityRuleProtocol) ToPtr

ToPtr returns a *SecurityRuleProtocol pointing to the current value.

type SecurityRulesBeginCreateOrUpdateOptions

type SecurityRulesBeginCreateOrUpdateOptions struct {
}

SecurityRulesBeginCreateOrUpdateOptions contains the optional parameters for the SecurityRules.BeginCreateOrUpdate method.

type SecurityRulesBeginDeleteOptions

type SecurityRulesBeginDeleteOptions struct {
}

SecurityRulesBeginDeleteOptions contains the optional parameters for the SecurityRules.BeginDelete method.

type SecurityRulesClient

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

SecurityRulesClient contains the methods for the SecurityRules group. Don't use this type directly, use NewSecurityRulesClient() instead.

func NewSecurityRulesClient

func NewSecurityRulesClient(con *arm.Connection, subscriptionID string) *SecurityRulesClient

NewSecurityRulesClient creates a new instance of SecurityRulesClient with the specified values.

func (*SecurityRulesClient) BeginCreateOrUpdate

func (client *SecurityRulesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, options *SecurityRulesBeginCreateOrUpdateOptions) (SecurityRulesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a security rule in the specified network security group. If the operation fails it returns the *CloudError error type.

Example (AllowHTTP)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSecurityRulesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<network security group name>",
		"<security rule name>",
		armnetwork.SecurityRule{
			Properties: &armnetwork.SecurityRulePropertiesFormat{
				Access:                   armnetwork.SecurityRuleAccessAllow.ToPtr(),
				DestinationAddressPrefix: to.StringPtr("*"),
				DestinationPortRange:     to.StringPtr("80"),
				Direction:                armnetwork.SecurityRuleDirectionInbound.ToPtr(),
				Description:              to.StringPtr("Allow HTTP"),
				Priority:                 to.Int32Ptr(101),
				Protocol:                 armnetwork.SecurityRuleProtocolTCP.ToPtr(),
				SourceAddressPrefix:      to.StringPtr("*"),
				SourcePortRange:          to.StringPtr("*"),
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("security rule ID: %v", *resp.SecurityRule.ID)
}
Output:

Example (AllowSQL)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSecurityRulesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<network security group name>",
		"<security rule name>",
		armnetwork.SecurityRule{
			Properties: &armnetwork.SecurityRulePropertiesFormat{
				Access:                   armnetwork.SecurityRuleAccessAllow.ToPtr(),
				DestinationAddressPrefix: to.StringPtr("*"),
				DestinationPortRange:     to.StringPtr("1433"),
				Direction:                armnetwork.SecurityRuleDirectionInbound.ToPtr(),
				Description:              to.StringPtr("Allow SQL"),
				Priority:                 to.Int32Ptr(102),
				Protocol:                 armnetwork.SecurityRuleProtocolTCP.ToPtr(),
				SourceAddressPrefix:      to.StringPtr("<frontend address prefix>"),
				SourcePortRange:          to.StringPtr("*"),
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("security rule ID: %v", *resp.SecurityRule.ID)
}
Output:

Example (AllowSSH)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSecurityRulesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<network security group name>",
		"<security rule name>",
		armnetwork.SecurityRule{
			Properties: &armnetwork.SecurityRulePropertiesFormat{
				Access:                   armnetwork.SecurityRuleAccessAllow.ToPtr(),
				DestinationAddressPrefix: to.StringPtr("*"),
				DestinationPortRange:     to.StringPtr("22"),
				Direction:                armnetwork.SecurityRuleDirectionInbound.ToPtr(),
				Description:              to.StringPtr("Allow SSH"),
				Priority:                 to.Int32Ptr(103),
				Protocol:                 armnetwork.SecurityRuleProtocolTCP.ToPtr(),
				SourceAddressPrefix:      to.StringPtr("*"),
				SourcePortRange:          to.StringPtr("*"),
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("security rule ID: %v", *resp.SecurityRule.ID)
}
Output:

Example (DenyOut)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSecurityRulesClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<network security group name>",
		"<security rule name>",
		armnetwork.SecurityRule{
			Properties: &armnetwork.SecurityRulePropertiesFormat{
				Access:                   armnetwork.SecurityRuleAccessDeny.ToPtr(),
				DestinationAddressPrefix: to.StringPtr("*"),
				DestinationPortRange:     to.StringPtr("*"),
				Direction:                armnetwork.SecurityRuleDirectionOutbound.ToPtr(),
				Description:              to.StringPtr("Deny outbound traffic"),
				Priority:                 to.Int32Ptr(100),
				Protocol:                 armnetwork.SecurityRuleProtocolAsterisk.ToPtr(),
				SourceAddressPrefix:      to.StringPtr("*"),
				SourcePortRange:          to.StringPtr("*"),
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("security rule ID: %v", *resp.SecurityRule.ID)
}
Output:

func (*SecurityRulesClient) BeginDelete

func (client *SecurityRulesClient) BeginDelete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, options *SecurityRulesBeginDeleteOptions) (SecurityRulesDeletePollerResponse, error)

BeginDelete - Deletes the specified network security rule. If the operation fails it returns the *CloudError error type.

func (*SecurityRulesClient) Get

func (client *SecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, options *SecurityRulesGetOptions) (SecurityRulesGetResponse, error)

Get - Get the specified network security rule. If the operation fails it returns the *CloudError error type.

func (*SecurityRulesClient) List

func (client *SecurityRulesClient) List(resourceGroupName string, networkSecurityGroupName string, options *SecurityRulesListOptions) *SecurityRulesListPager

List - Gets all security rules in a network security group. If the operation fails it returns the *CloudError error type.

type SecurityRulesCreateOrUpdatePoller

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

SecurityRulesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*SecurityRulesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SecurityRulesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityRulesCreateOrUpdateResponse will be returned.

func (*SecurityRulesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SecurityRulesCreateOrUpdatePoller) ResumeToken

func (p *SecurityRulesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SecurityRulesCreateOrUpdatePollerResponse

type SecurityRulesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SecurityRulesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityRulesCreateOrUpdatePollerResponse contains the response from method SecurityRules.CreateOrUpdate.

func (SecurityRulesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SecurityRulesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a SecurityRulesCreateOrUpdatePollerResponse from the provided client and resume token.

type SecurityRulesCreateOrUpdateResponse

type SecurityRulesCreateOrUpdateResponse struct {
	SecurityRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityRulesCreateOrUpdateResponse contains the response from method SecurityRules.CreateOrUpdate.

type SecurityRulesCreateOrUpdateResult

type SecurityRulesCreateOrUpdateResult struct {
	SecurityRule
}

SecurityRulesCreateOrUpdateResult contains the result from method SecurityRules.CreateOrUpdate.

type SecurityRulesDeletePoller

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

SecurityRulesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*SecurityRulesDeletePoller) Done

func (p *SecurityRulesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*SecurityRulesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SecurityRulesDeleteResponse will be returned.

func (*SecurityRulesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SecurityRulesDeletePoller) ResumeToken

func (p *SecurityRulesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SecurityRulesDeletePollerResponse

type SecurityRulesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SecurityRulesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityRulesDeletePollerResponse contains the response from method SecurityRules.Delete.

func (SecurityRulesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SecurityRulesDeletePollerResponse) Resume

Resume rehydrates a SecurityRulesDeletePollerResponse from the provided client and resume token.

type SecurityRulesDeleteResponse

type SecurityRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityRulesDeleteResponse contains the response from method SecurityRules.Delete.

type SecurityRulesGetOptions

type SecurityRulesGetOptions struct {
}

SecurityRulesGetOptions contains the optional parameters for the SecurityRules.Get method.

type SecurityRulesGetResponse

type SecurityRulesGetResponse struct {
	SecurityRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityRulesGetResponse contains the response from method SecurityRules.Get.

type SecurityRulesGetResult

type SecurityRulesGetResult struct {
	SecurityRule
}

SecurityRulesGetResult contains the result from method SecurityRules.Get.

type SecurityRulesListOptions

type SecurityRulesListOptions struct {
}

SecurityRulesListOptions contains the optional parameters for the SecurityRules.List method.

type SecurityRulesListPager

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

SecurityRulesListPager provides operations for iterating over paged responses.

func (*SecurityRulesListPager) Err

func (p *SecurityRulesListPager) Err() error

Err returns the last error encountered while paging.

func (*SecurityRulesListPager) NextPage

func (p *SecurityRulesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*SecurityRulesListPager) PageResponse

PageResponse returns the current SecurityRulesListResponse page.

type SecurityRulesListResponse

type SecurityRulesListResponse struct {
	SecurityRulesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SecurityRulesListResponse contains the response from method SecurityRules.List.

type SecurityRulesListResult

type SecurityRulesListResult struct {
	SecurityRuleListResult
}

SecurityRulesListResult contains the result from method SecurityRules.List.

type ServiceAssociationLink struct {
	SubResource
	// 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"`

	// Resource navigation link properties format.
	Properties *ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ServiceAssociationLink resource.

func (ServiceAssociationLink) MarshalJSON

func (s ServiceAssociationLink) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceAssociationLink.

type ServiceAssociationLinkPropertiesFormat

type ServiceAssociationLinkPropertiesFormat struct {
	// If true, the resource can be deleted.
	AllowDelete *bool `json:"allowDelete,omitempty"`

	// Link to the external resource.
	Link *string `json:"link,omitempty"`

	// Resource type of the linked resource.
	LinkedResourceType *string `json:"linkedResourceType,omitempty"`

	// A list of locations.
	Locations []*string `json:"locations,omitempty"`

	// READ-ONLY; The provisioning state of the service association link resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ServiceAssociationLinkPropertiesFormat - Properties of ServiceAssociationLink.

func (ServiceAssociationLinkPropertiesFormat) MarshalJSON

func (s ServiceAssociationLinkPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceAssociationLinkPropertiesFormat.

type ServiceAssociationLinksClient

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

ServiceAssociationLinksClient contains the methods for the ServiceAssociationLinks group. Don't use this type directly, use NewServiceAssociationLinksClient() instead.

func NewServiceAssociationLinksClient

func NewServiceAssociationLinksClient(con *arm.Connection, subscriptionID string) *ServiceAssociationLinksClient

NewServiceAssociationLinksClient creates a new instance of ServiceAssociationLinksClient with the specified values.

func (*ServiceAssociationLinksClient) List

func (client *ServiceAssociationLinksClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, options *ServiceAssociationLinksListOptions) (ServiceAssociationLinksListResponse, error)

List - Gets a list of service association links for a subnet. If the operation fails it returns the *CloudError error type.

type ServiceAssociationLinksListOptions

type ServiceAssociationLinksListOptions struct {
}

ServiceAssociationLinksListOptions contains the optional parameters for the ServiceAssociationLinks.List method.

type ServiceAssociationLinksListResponse

type ServiceAssociationLinksListResponse struct {
	ServiceAssociationLinksListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceAssociationLinksListResponse contains the response from method ServiceAssociationLinks.List.

type ServiceAssociationLinksListResult

type ServiceAssociationLinksListResult struct {
	// The service association links in a subnet.
	Value []*ServiceAssociationLink `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ServiceAssociationLinksListResult - Response for ServiceAssociationLinks_List operation.

func (ServiceAssociationLinksListResult) MarshalJSON

func (s ServiceAssociationLinksListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceAssociationLinksListResult.

type ServiceAssociationLinksListResultEnvelope

type ServiceAssociationLinksListResultEnvelope struct {
	ServiceAssociationLinksListResult
}

ServiceAssociationLinksListResultEnvelope contains the result from method ServiceAssociationLinks.List.

type ServiceDelegationPropertiesFormat

type ServiceDelegationPropertiesFormat struct {
	// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
	ServiceName *string `json:"serviceName,omitempty"`

	// READ-ONLY; The actions permitted to the service upon delegation.
	Actions []*string `json:"actions,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the service delegation resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ServiceDelegationPropertiesFormat - Properties of a service delegation.

func (ServiceDelegationPropertiesFormat) MarshalJSON

func (s ServiceDelegationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceDelegationPropertiesFormat.

type ServiceEndpointPoliciesBeginCreateOrUpdateOptions

type ServiceEndpointPoliciesBeginCreateOrUpdateOptions struct {
}

ServiceEndpointPoliciesBeginCreateOrUpdateOptions contains the optional parameters for the ServiceEndpointPolicies.BeginCreateOrUpdate method.

type ServiceEndpointPoliciesBeginDeleteOptions

type ServiceEndpointPoliciesBeginDeleteOptions struct {
}

ServiceEndpointPoliciesBeginDeleteOptions contains the optional parameters for the ServiceEndpointPolicies.BeginDelete method.

type ServiceEndpointPoliciesClient

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

ServiceEndpointPoliciesClient contains the methods for the ServiceEndpointPolicies group. Don't use this type directly, use NewServiceEndpointPoliciesClient() instead.

func NewServiceEndpointPoliciesClient

func NewServiceEndpointPoliciesClient(con *arm.Connection, subscriptionID string) *ServiceEndpointPoliciesClient

NewServiceEndpointPoliciesClient creates a new instance of ServiceEndpointPoliciesClient with the specified values.

func (*ServiceEndpointPoliciesClient) BeginCreateOrUpdate

func (client *ServiceEndpointPoliciesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters ServiceEndpointPolicy, options *ServiceEndpointPoliciesBeginCreateOrUpdateOptions) (ServiceEndpointPoliciesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a service Endpoint Policies. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPoliciesClient) BeginDelete

func (client *ServiceEndpointPoliciesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, options *ServiceEndpointPoliciesBeginDeleteOptions) (ServiceEndpointPoliciesDeletePollerResponse, error)

BeginDelete - Deletes the specified service endpoint policy. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPoliciesClient) Get

func (client *ServiceEndpointPoliciesClient) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, options *ServiceEndpointPoliciesGetOptions) (ServiceEndpointPoliciesGetResponse, error)

Get - Gets the specified service Endpoint Policies in a specified resource group. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPoliciesClient) List

List - Gets all the service endpoint policies in a subscription. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPoliciesClient) ListByResourceGroup

ListByResourceGroup - Gets all service endpoint Policies in a resource group. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPoliciesClient) UpdateTags

func (client *ServiceEndpointPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters TagsObject, options *ServiceEndpointPoliciesUpdateTagsOptions) (ServiceEndpointPoliciesUpdateTagsResponse, error)

UpdateTags - Updates tags of a service endpoint policy. If the operation fails it returns the *CloudError error type.

type ServiceEndpointPoliciesCreateOrUpdatePoller

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

ServiceEndpointPoliciesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ServiceEndpointPoliciesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ServiceEndpointPoliciesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServiceEndpointPoliciesCreateOrUpdateResponse will be returned.

func (*ServiceEndpointPoliciesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ServiceEndpointPoliciesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ServiceEndpointPoliciesCreateOrUpdatePollerResponse

type ServiceEndpointPoliciesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ServiceEndpointPoliciesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesCreateOrUpdatePollerResponse contains the response from method ServiceEndpointPolicies.CreateOrUpdate.

func (ServiceEndpointPoliciesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ServiceEndpointPoliciesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ServiceEndpointPoliciesCreateOrUpdatePollerResponse from the provided client and resume token.

type ServiceEndpointPoliciesCreateOrUpdateResponse

type ServiceEndpointPoliciesCreateOrUpdateResponse struct {
	ServiceEndpointPoliciesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesCreateOrUpdateResponse contains the response from method ServiceEndpointPolicies.CreateOrUpdate.

type ServiceEndpointPoliciesCreateOrUpdateResult

type ServiceEndpointPoliciesCreateOrUpdateResult struct {
	ServiceEndpointPolicy
}

ServiceEndpointPoliciesCreateOrUpdateResult contains the result from method ServiceEndpointPolicies.CreateOrUpdate.

type ServiceEndpointPoliciesDeletePoller

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

ServiceEndpointPoliciesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ServiceEndpointPoliciesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ServiceEndpointPoliciesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServiceEndpointPoliciesDeleteResponse will be returned.

func (*ServiceEndpointPoliciesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ServiceEndpointPoliciesDeletePoller) ResumeToken

func (p *ServiceEndpointPoliciesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ServiceEndpointPoliciesDeletePollerResponse

type ServiceEndpointPoliciesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ServiceEndpointPoliciesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesDeletePollerResponse contains the response from method ServiceEndpointPolicies.Delete.

func (ServiceEndpointPoliciesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ServiceEndpointPoliciesDeletePollerResponse) Resume

Resume rehydrates a ServiceEndpointPoliciesDeletePollerResponse from the provided client and resume token.

type ServiceEndpointPoliciesDeleteResponse

type ServiceEndpointPoliciesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesDeleteResponse contains the response from method ServiceEndpointPolicies.Delete.

type ServiceEndpointPoliciesGetOptions

type ServiceEndpointPoliciesGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

ServiceEndpointPoliciesGetOptions contains the optional parameters for the ServiceEndpointPolicies.Get method.

type ServiceEndpointPoliciesGetResponse

type ServiceEndpointPoliciesGetResponse struct {
	ServiceEndpointPoliciesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesGetResponse contains the response from method ServiceEndpointPolicies.Get.

type ServiceEndpointPoliciesGetResult

type ServiceEndpointPoliciesGetResult struct {
	ServiceEndpointPolicy
}

ServiceEndpointPoliciesGetResult contains the result from method ServiceEndpointPolicies.Get.

type ServiceEndpointPoliciesListByResourceGroupOptions

type ServiceEndpointPoliciesListByResourceGroupOptions struct {
}

ServiceEndpointPoliciesListByResourceGroupOptions contains the optional parameters for the ServiceEndpointPolicies.ListByResourceGroup method.

type ServiceEndpointPoliciesListByResourceGroupPager

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

ServiceEndpointPoliciesListByResourceGroupPager provides operations for iterating over paged responses.

func (*ServiceEndpointPoliciesListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*ServiceEndpointPoliciesListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ServiceEndpointPoliciesListByResourceGroupPager) PageResponse

PageResponse returns the current ServiceEndpointPoliciesListByResourceGroupResponse page.

type ServiceEndpointPoliciesListByResourceGroupResponse

type ServiceEndpointPoliciesListByResourceGroupResponse struct {
	ServiceEndpointPoliciesListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesListByResourceGroupResponse contains the response from method ServiceEndpointPolicies.ListByResourceGroup.

type ServiceEndpointPoliciesListByResourceGroupResult

type ServiceEndpointPoliciesListByResourceGroupResult struct {
	ServiceEndpointPolicyListResult
}

ServiceEndpointPoliciesListByResourceGroupResult contains the result from method ServiceEndpointPolicies.ListByResourceGroup.

type ServiceEndpointPoliciesListOptions

type ServiceEndpointPoliciesListOptions struct {
}

ServiceEndpointPoliciesListOptions contains the optional parameters for the ServiceEndpointPolicies.List method.

type ServiceEndpointPoliciesListPager

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

ServiceEndpointPoliciesListPager provides operations for iterating over paged responses.

func (*ServiceEndpointPoliciesListPager) Err

Err returns the last error encountered while paging.

func (*ServiceEndpointPoliciesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ServiceEndpointPoliciesListPager) PageResponse

PageResponse returns the current ServiceEndpointPoliciesListResponse page.

type ServiceEndpointPoliciesListResponse

type ServiceEndpointPoliciesListResponse struct {
	ServiceEndpointPoliciesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesListResponse contains the response from method ServiceEndpointPolicies.List.

type ServiceEndpointPoliciesListResult

type ServiceEndpointPoliciesListResult struct {
	ServiceEndpointPolicyListResult
}

ServiceEndpointPoliciesListResult contains the result from method ServiceEndpointPolicies.List.

type ServiceEndpointPoliciesUpdateTagsOptions

type ServiceEndpointPoliciesUpdateTagsOptions struct {
}

ServiceEndpointPoliciesUpdateTagsOptions contains the optional parameters for the ServiceEndpointPolicies.UpdateTags method.

type ServiceEndpointPoliciesUpdateTagsResponse

type ServiceEndpointPoliciesUpdateTagsResponse struct {
	ServiceEndpointPoliciesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPoliciesUpdateTagsResponse contains the response from method ServiceEndpointPolicies.UpdateTags.

type ServiceEndpointPoliciesUpdateTagsResult

type ServiceEndpointPoliciesUpdateTagsResult struct {
	ServiceEndpointPolicy
}

ServiceEndpointPoliciesUpdateTagsResult contains the result from method ServiceEndpointPolicies.UpdateTags.

type ServiceEndpointPolicy

type ServiceEndpointPolicy struct {
	Resource
	// Properties of the service end point policy.
	Properties *ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Kind of service endpoint policy. This is metadata used for the Azure portal experience.
	Kind *string `json:"kind,omitempty" azure:"ro"`
}

ServiceEndpointPolicy - Service End point policy resource.

func (ServiceEndpointPolicy) MarshalJSON

func (s ServiceEndpointPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPolicy.

type ServiceEndpointPolicyDefinition

type ServiceEndpointPolicyDefinition struct {
	SubResource
	// 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"`

	// Properties of the service endpoint policy definition.
	Properties *ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"`

	// The type of the resource.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

ServiceEndpointPolicyDefinition - Service Endpoint policy definitions.

func (ServiceEndpointPolicyDefinition) MarshalJSON

func (s ServiceEndpointPolicyDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPolicyDefinition.

type ServiceEndpointPolicyDefinitionListResult

type ServiceEndpointPolicyDefinitionListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The service endpoint policy definition in a service endpoint policy.
	Value []*ServiceEndpointPolicyDefinition `json:"value,omitempty"`
}

ServiceEndpointPolicyDefinitionListResult - Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy.

func (ServiceEndpointPolicyDefinitionListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPolicyDefinitionListResult.

type ServiceEndpointPolicyDefinitionPropertiesFormat

type ServiceEndpointPolicyDefinitionPropertiesFormat struct {
	// A description for this rule. Restricted to 140 chars.
	Description *string `json:"description,omitempty"`

	// Service endpoint name.
	Service *string `json:"service,omitempty"`

	// A list of service resources.
	ServiceResources []*string `json:"serviceResources,omitempty"`

	// READ-ONLY; The provisioning state of the service endpoint policy definition resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ServiceEndpointPolicyDefinitionPropertiesFormat - Service Endpoint policy definition resource.

func (ServiceEndpointPolicyDefinitionPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPolicyDefinitionPropertiesFormat.

type ServiceEndpointPolicyDefinitionsBeginCreateOrUpdateOptions

type ServiceEndpointPolicyDefinitionsBeginCreateOrUpdateOptions struct {
}

ServiceEndpointPolicyDefinitionsBeginCreateOrUpdateOptions contains the optional parameters for the ServiceEndpointPolicyDefinitions.BeginCreateOrUpdate method.

type ServiceEndpointPolicyDefinitionsBeginDeleteOptions

type ServiceEndpointPolicyDefinitionsBeginDeleteOptions struct {
}

ServiceEndpointPolicyDefinitionsBeginDeleteOptions contains the optional parameters for the ServiceEndpointPolicyDefinitions.BeginDelete method.

type ServiceEndpointPolicyDefinitionsClient

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

ServiceEndpointPolicyDefinitionsClient contains the methods for the ServiceEndpointPolicyDefinitions group. Don't use this type directly, use NewServiceEndpointPolicyDefinitionsClient() instead.

func NewServiceEndpointPolicyDefinitionsClient

func NewServiceEndpointPolicyDefinitionsClient(con *arm.Connection, subscriptionID string) *ServiceEndpointPolicyDefinitionsClient

NewServiceEndpointPolicyDefinitionsClient creates a new instance of ServiceEndpointPolicyDefinitionsClient with the specified values.

func (*ServiceEndpointPolicyDefinitionsClient) BeginCreateOrUpdate

func (client *ServiceEndpointPolicyDefinitionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, serviceEndpointPolicyDefinitions ServiceEndpointPolicyDefinition, options *ServiceEndpointPolicyDefinitionsBeginCreateOrUpdateOptions) (ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a service endpoint policy definition in the specified service endpoint policy. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPolicyDefinitionsClient) BeginDelete

func (client *ServiceEndpointPolicyDefinitionsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, options *ServiceEndpointPolicyDefinitionsBeginDeleteOptions) (ServiceEndpointPolicyDefinitionsDeletePollerResponse, error)

BeginDelete - Deletes the specified ServiceEndpoint policy definitions. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPolicyDefinitionsClient) Get

func (client *ServiceEndpointPolicyDefinitionsClient) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, options *ServiceEndpointPolicyDefinitionsGetOptions) (ServiceEndpointPolicyDefinitionsGetResponse, error)

Get - Get the specified service endpoint policy definitions from service endpoint policy. If the operation fails it returns the *CloudError error type.

func (*ServiceEndpointPolicyDefinitionsClient) ListByResourceGroup

ListByResourceGroup - Gets all service endpoint policy definitions in a service end point policy. If the operation fails it returns the *CloudError error type.

type ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller

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

ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServiceEndpointPolicyDefinitionsCreateOrUpdateResponse will be returned.

func (*ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse

type ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ServiceEndpointPolicyDefinitionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse contains the response from method ServiceEndpointPolicyDefinitions.CreateOrUpdate.

func (ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a ServiceEndpointPolicyDefinitionsCreateOrUpdatePollerResponse from the provided client and resume token.

type ServiceEndpointPolicyDefinitionsCreateOrUpdateResponse

type ServiceEndpointPolicyDefinitionsCreateOrUpdateResponse struct {
	ServiceEndpointPolicyDefinitionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPolicyDefinitionsCreateOrUpdateResponse contains the response from method ServiceEndpointPolicyDefinitions.CreateOrUpdate.

type ServiceEndpointPolicyDefinitionsCreateOrUpdateResult

type ServiceEndpointPolicyDefinitionsCreateOrUpdateResult struct {
	ServiceEndpointPolicyDefinition
}

ServiceEndpointPolicyDefinitionsCreateOrUpdateResult contains the result from method ServiceEndpointPolicyDefinitions.CreateOrUpdate.

type ServiceEndpointPolicyDefinitionsDeletePoller

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

ServiceEndpointPolicyDefinitionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*ServiceEndpointPolicyDefinitionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*ServiceEndpointPolicyDefinitionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServiceEndpointPolicyDefinitionsDeleteResponse will be returned.

func (*ServiceEndpointPolicyDefinitionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*ServiceEndpointPolicyDefinitionsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type ServiceEndpointPolicyDefinitionsDeletePollerResponse

type ServiceEndpointPolicyDefinitionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *ServiceEndpointPolicyDefinitionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPolicyDefinitionsDeletePollerResponse contains the response from method ServiceEndpointPolicyDefinitions.Delete.

func (ServiceEndpointPolicyDefinitionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*ServiceEndpointPolicyDefinitionsDeletePollerResponse) Resume

Resume rehydrates a ServiceEndpointPolicyDefinitionsDeletePollerResponse from the provided client and resume token.

type ServiceEndpointPolicyDefinitionsDeleteResponse

type ServiceEndpointPolicyDefinitionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPolicyDefinitionsDeleteResponse contains the response from method ServiceEndpointPolicyDefinitions.Delete.

type ServiceEndpointPolicyDefinitionsGetOptions

type ServiceEndpointPolicyDefinitionsGetOptions struct {
}

ServiceEndpointPolicyDefinitionsGetOptions contains the optional parameters for the ServiceEndpointPolicyDefinitions.Get method.

type ServiceEndpointPolicyDefinitionsGetResponse

type ServiceEndpointPolicyDefinitionsGetResponse struct {
	ServiceEndpointPolicyDefinitionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPolicyDefinitionsGetResponse contains the response from method ServiceEndpointPolicyDefinitions.Get.

type ServiceEndpointPolicyDefinitionsGetResult

type ServiceEndpointPolicyDefinitionsGetResult struct {
	ServiceEndpointPolicyDefinition
}

ServiceEndpointPolicyDefinitionsGetResult contains the result from method ServiceEndpointPolicyDefinitions.Get.

type ServiceEndpointPolicyDefinitionsListByResourceGroupOptions

type ServiceEndpointPolicyDefinitionsListByResourceGroupOptions struct {
}

ServiceEndpointPolicyDefinitionsListByResourceGroupOptions contains the optional parameters for the ServiceEndpointPolicyDefinitions.ListByResourceGroup method.

type ServiceEndpointPolicyDefinitionsListByResourceGroupPager

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

ServiceEndpointPolicyDefinitionsListByResourceGroupPager provides operations for iterating over paged responses.

func (*ServiceEndpointPolicyDefinitionsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*ServiceEndpointPolicyDefinitionsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ServiceEndpointPolicyDefinitionsListByResourceGroupPager) PageResponse

PageResponse returns the current ServiceEndpointPolicyDefinitionsListByResourceGroupResponse page.

type ServiceEndpointPolicyDefinitionsListByResourceGroupResponse

type ServiceEndpointPolicyDefinitionsListByResourceGroupResponse struct {
	ServiceEndpointPolicyDefinitionsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceEndpointPolicyDefinitionsListByResourceGroupResponse contains the response from method ServiceEndpointPolicyDefinitions.ListByResourceGroup.

type ServiceEndpointPolicyDefinitionsListByResourceGroupResult

type ServiceEndpointPolicyDefinitionsListByResourceGroupResult struct {
	ServiceEndpointPolicyDefinitionListResult
}

ServiceEndpointPolicyDefinitionsListByResourceGroupResult contains the result from method ServiceEndpointPolicyDefinitions.ListByResourceGroup.

type ServiceEndpointPolicyListResult

type ServiceEndpointPolicyListResult struct {
	// A list of ServiceEndpointPolicy resources.
	Value []*ServiceEndpointPolicy `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ServiceEndpointPolicyListResult - Response for ListServiceEndpointPolicies API service call.

func (ServiceEndpointPolicyListResult) MarshalJSON

func (s ServiceEndpointPolicyListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPolicyListResult.

type ServiceEndpointPolicyPropertiesFormat

type ServiceEndpointPolicyPropertiesFormat struct {
	// A collection of contextual service endpoint policy.
	ContextualServiceEndpointPolicies []*string `json:"contextualServiceEndpointPolicies,omitempty"`

	// The alias indicating if the policy belongs to a service
	ServiceAlias *string `json:"serviceAlias,omitempty"`

	// A collection of service endpoint policy definitions of the service endpoint policy.
	ServiceEndpointPolicyDefinitions []*ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"`

	// READ-ONLY; The provisioning state of the service endpoint policy resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the service endpoint policy resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to subnets.
	Subnets []*Subnet `json:"subnets,omitempty" azure:"ro"`
}

ServiceEndpointPolicyPropertiesFormat - Service Endpoint Policy resource.

func (ServiceEndpointPolicyPropertiesFormat) MarshalJSON

func (s ServiceEndpointPolicyPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPolicyPropertiesFormat.

type ServiceEndpointPropertiesFormat

type ServiceEndpointPropertiesFormat struct {
	// A list of locations.
	Locations []*string `json:"locations,omitempty"`

	// The type of the endpoint service.
	Service *string `json:"service,omitempty"`

	// READ-ONLY; The provisioning state of the service endpoint resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

ServiceEndpointPropertiesFormat - The service endpoint properties.

func (ServiceEndpointPropertiesFormat) MarshalJSON

func (s ServiceEndpointPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceEndpointPropertiesFormat.

type ServiceProviderProvisioningState

type ServiceProviderProvisioningState string

ServiceProviderProvisioningState - The ServiceProviderProvisioningState state of the resource.

const (
	ServiceProviderProvisioningStateDeprovisioning ServiceProviderProvisioningState = "Deprovisioning"
	ServiceProviderProvisioningStateNotProvisioned ServiceProviderProvisioningState = "NotProvisioned"
	ServiceProviderProvisioningStateProvisioned    ServiceProviderProvisioningState = "Provisioned"
	ServiceProviderProvisioningStateProvisioning   ServiceProviderProvisioningState = "Provisioning"
)

func PossibleServiceProviderProvisioningStateValues

func PossibleServiceProviderProvisioningStateValues() []ServiceProviderProvisioningState

PossibleServiceProviderProvisioningStateValues returns the possible values for the ServiceProviderProvisioningState const type.

func (ServiceProviderProvisioningState) ToPtr

ToPtr returns a *ServiceProviderProvisioningState pointing to the current value.

type ServiceTagInformation

type ServiceTagInformation struct {
	// READ-ONLY; The ID of service tag.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of service tag.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Properties of the service tag information.
	Properties *ServiceTagInformationPropertiesFormat `json:"properties,omitempty" azure:"ro"`

	// READ-ONLY; The iteration number of service tag object for region.
	ServiceTagChangeNumber *string `json:"serviceTagChangeNumber,omitempty" azure:"ro"`
}

ServiceTagInformation - The service tag information.

type ServiceTagInformationClient

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

ServiceTagInformationClient contains the methods for the ServiceTagInformation group. Don't use this type directly, use NewServiceTagInformationClient() instead.

func NewServiceTagInformationClient

func NewServiceTagInformationClient(con *arm.Connection, subscriptionID string) *ServiceTagInformationClient

NewServiceTagInformationClient creates a new instance of ServiceTagInformationClient with the specified values.

func (*ServiceTagInformationClient) List

List - Gets a list of service tag information resources with pagination. If the operation fails it returns the *CloudError error type.

type ServiceTagInformationListOptions

type ServiceTagInformationListOptions struct {
	// Do not return address prefixes for the tag(s).
	NoAddressPrefixes *bool
	// Return tag information for a particular tag.
	TagName *string
}

ServiceTagInformationListOptions contains the optional parameters for the ServiceTagInformation.List method.

type ServiceTagInformationListPager

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

ServiceTagInformationListPager provides operations for iterating over paged responses.

func (*ServiceTagInformationListPager) Err

Err returns the last error encountered while paging.

func (*ServiceTagInformationListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ServiceTagInformationListPager) PageResponse

PageResponse returns the current ServiceTagInformationListResponse page.

type ServiceTagInformationListResponse

type ServiceTagInformationListResponse struct {
	ServiceTagInformationListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceTagInformationListResponse contains the response from method ServiceTagInformation.List.

type ServiceTagInformationListResult

type ServiceTagInformationListResult struct {
	// The list of service tag information resources.
	Value []*ServiceTagInformation `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

ServiceTagInformationListResult - Response for Get ServiceTagInformation API service call. Retrieves the list of service tag information resources.

func (ServiceTagInformationListResult) MarshalJSON

func (s ServiceTagInformationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceTagInformationListResult.

type ServiceTagInformationListResultEnvelope

type ServiceTagInformationListResultEnvelope struct {
	ServiceTagInformationListResult
}

ServiceTagInformationListResultEnvelope contains the result from method ServiceTagInformation.List.

type ServiceTagInformationPropertiesFormat

type ServiceTagInformationPropertiesFormat struct {
	// READ-ONLY; The list of IP address prefixes.
	AddressPrefixes []*string `json:"addressPrefixes,omitempty" azure:"ro"`

	// READ-ONLY; The iteration number of service tag.
	ChangeNumber *string `json:"changeNumber,omitempty" azure:"ro"`

	// READ-ONLY; The region of service tag.
	Region *string `json:"region,omitempty" azure:"ro"`

	// READ-ONLY; The state of the service tag.
	State *string `json:"state,omitempty" azure:"ro"`

	// READ-ONLY; The name of system service.
	SystemService *string `json:"systemService,omitempty" azure:"ro"`
}

ServiceTagInformationPropertiesFormat - Properties of the service tag information.

func (ServiceTagInformationPropertiesFormat) MarshalJSON

func (s ServiceTagInformationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceTagInformationPropertiesFormat.

type ServiceTagsClient

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

ServiceTagsClient contains the methods for the ServiceTags group. Don't use this type directly, use NewServiceTagsClient() instead.

func NewServiceTagsClient

func NewServiceTagsClient(con *arm.Connection, subscriptionID string) *ServiceTagsClient

NewServiceTagsClient creates a new instance of ServiceTagsClient with the specified values.

func (*ServiceTagsClient) List

List - Gets a list of service tag information resources. If the operation fails it returns the *CloudError error type.

type ServiceTagsListOptions

type ServiceTagsListOptions struct {
}

ServiceTagsListOptions contains the optional parameters for the ServiceTags.List method.

type ServiceTagsListResponse

type ServiceTagsListResponse struct {
	ServiceTagsListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ServiceTagsListResponse contains the response from method ServiceTags.List.

type ServiceTagsListResult

type ServiceTagsListResult struct {
	// READ-ONLY; The iteration number.
	ChangeNumber *string `json:"changeNumber,omitempty" azure:"ro"`

	// READ-ONLY; The name of the cloud.
	Cloud *string `json:"cloud,omitempty" azure:"ro"`

	// READ-ONLY; The ID of the cloud.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the cloud.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The URL to get next page of service tag information resources.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; The azure resource type.
	Type *string `json:"type,omitempty" azure:"ro"`

	// READ-ONLY; The list of service tag information resources.
	Values []*ServiceTagInformation `json:"values,omitempty" azure:"ro"`
}

ServiceTagsListResult - Response for the ListServiceTags API service call.

func (ServiceTagsListResult) MarshalJSON

func (s ServiceTagsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServiceTagsListResult.

type ServiceTagsListResultEnvelope

type ServiceTagsListResultEnvelope struct {
	ServiceTagsListResult
}

ServiceTagsListResultEnvelope contains the result from method ServiceTags.List.

type SessionIDs

type SessionIDs struct {
	// List of session IDs.
	SessionIDs []*string `json:"sessionIds,omitempty"`
}

SessionIDs - List of session IDs.

func (SessionIDs) MarshalJSON

func (s SessionIDs) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SessionIDs.

type Severity

type Severity string

Severity - The severity of the issue.

const (
	SeverityError   Severity = "Error"
	SeverityWarning Severity = "Warning"
)

func PossibleSeverityValues

func PossibleSeverityValues() []Severity

PossibleSeverityValues returns the possible values for the Severity const type.

func (Severity) ToPtr

func (c Severity) ToPtr() *Severity

ToPtr returns a *Severity pointing to the current value.

type StaticRoute

type StaticRoute struct {
	// List of all address prefixes.
	AddressPrefixes []*string `json:"addressPrefixes,omitempty"`

	// The name of the StaticRoute that is unique within a VnetRoute.
	Name *string `json:"name,omitempty"`

	// The ip address of the next hop.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`
}

StaticRoute - List of all Static Routes.

func (StaticRoute) MarshalJSON

func (s StaticRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StaticRoute.

type SubResource

type SubResource struct {
	// Resource ID.
	ID *string `json:"id,omitempty"`
}

SubResource - Reference to another subresource.

func (SubResource) MarshalJSON

func (s SubResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubResource.

type Subnet

type Subnet struct {
	SubResource
	// 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"`

	// Properties of the subnet.
	Properties *SubnetPropertiesFormat `json:"properties,omitempty"`

	// Resource type.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

Subnet in a virtual network resource.

func (Subnet) MarshalJSON

func (s Subnet) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Subnet.

type SubnetAssociation

type SubnetAssociation struct {
	// Collection of custom security rules.
	SecurityRules []*SecurityRule `json:"securityRules,omitempty"`

	// READ-ONLY; Subnet ID.
	ID *string `json:"id,omitempty" azure:"ro"`
}

SubnetAssociation - Subnet and it's custom security rules.

func (SubnetAssociation) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type SubnetAssociation.

type SubnetListResult

type SubnetListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The subnets in a virtual network.
	Value []*Subnet `json:"value,omitempty"`
}

SubnetListResult - Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network.

func (SubnetListResult) MarshalJSON

func (s SubnetListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SubnetListResult.

type SubnetPropertiesFormat

type SubnetPropertiesFormat struct {
	// The address prefix for the subnet.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// List of address prefixes for the subnet.
	AddressPrefixes []*string `json:"addressPrefixes,omitempty"`

	// Application gateway IP configurations of virtual network resource.
	ApplicationGatewayIPConfigurations []*ApplicationGatewayIPConfiguration `json:"applicationGatewayIpConfigurations,omitempty"`

	// An array of references to the delegations on the subnet.
	Delegations []*Delegation `json:"delegations,omitempty"`

	// Array of IpAllocation which reference this subnet.
	IPAllocations []*SubResource `json:"ipAllocations,omitempty"`

	// Nat gateway associated with this subnet.
	NatGateway *SubResource `json:"natGateway,omitempty"`

	// The reference to the NetworkSecurityGroup resource.
	NetworkSecurityGroup *NetworkSecurityGroup `json:"networkSecurityGroup,omitempty"`

	// Enable or Disable apply network policies on private end point in the subnet.
	PrivateEndpointNetworkPolicies *VirtualNetworkPrivateEndpointNetworkPolicies `json:"privateEndpointNetworkPolicies,omitempty"`

	// Enable or Disable apply network policies on private link service in the subnet.
	PrivateLinkServiceNetworkPolicies *VirtualNetworkPrivateLinkServiceNetworkPolicies `json:"privateLinkServiceNetworkPolicies,omitempty"`

	// The reference to the RouteTable resource.
	RouteTable *RouteTable `json:"routeTable,omitempty"`

	// An array of service endpoint policies.
	ServiceEndpointPolicies []*ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"`

	// An array of service endpoints.
	ServiceEndpoints []*ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"`

	// READ-ONLY; Array of IP configuration profiles which reference this subnet.
	IPConfigurationProfiles []*IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to the network interface IP configurations using subnet.
	IPConfigurations []*IPConfiguration `json:"ipConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to private endpoints.
	PrivateEndpoints []*PrivateEndpoint `json:"privateEndpoints,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the subnet resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
	Purpose *string `json:"purpose,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to the external resources using subnet.
	ResourceNavigationLinks []*ResourceNavigationLink `json:"resourceNavigationLinks,omitempty" azure:"ro"`

	// READ-ONLY; An array of references to services injecting into this subnet.
	ServiceAssociationLinks []*ServiceAssociationLink `json:"serviceAssociationLinks,omitempty" azure:"ro"`
}

SubnetPropertiesFormat - Properties of the subnet.

func (SubnetPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type SubnetPropertiesFormat.

type SubnetsBeginCreateOrUpdateOptions

type SubnetsBeginCreateOrUpdateOptions struct {
}

SubnetsBeginCreateOrUpdateOptions contains the optional parameters for the Subnets.BeginCreateOrUpdate method.

type SubnetsBeginDeleteOptions

type SubnetsBeginDeleteOptions struct {
}

SubnetsBeginDeleteOptions contains the optional parameters for the Subnets.BeginDelete method.

type SubnetsBeginPrepareNetworkPoliciesOptions

type SubnetsBeginPrepareNetworkPoliciesOptions struct {
}

SubnetsBeginPrepareNetworkPoliciesOptions contains the optional parameters for the Subnets.BeginPrepareNetworkPolicies method.

type SubnetsBeginUnprepareNetworkPoliciesOptions

type SubnetsBeginUnprepareNetworkPoliciesOptions struct {
}

SubnetsBeginUnprepareNetworkPoliciesOptions contains the optional parameters for the Subnets.BeginUnprepareNetworkPolicies method.

type SubnetsClient

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

SubnetsClient contains the methods for the Subnets group. Don't use this type directly, use NewSubnetsClient() instead.

func NewSubnetsClient

func NewSubnetsClient(con *arm.Connection, subscriptionID string) *SubnetsClient

NewSubnetsClient creates a new instance of SubnetsClient with the specified values.

func (*SubnetsClient) BeginCreateOrUpdate

func (client *SubnetsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, options *SubnetsBeginCreateOrUpdateOptions) (SubnetsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a subnet in the specified virtual network. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSubnetsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<virtual network name>",
		"<subnet name>",
		armnetwork.Subnet{
			Properties: &armnetwork.SubnetPropertiesFormat{
				AddressPrefix: to.StringPtr("10.0.0.0/16"), // NOTE: the allowed address range can change based on the network the subnet is created in
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("subnet ID: %v", *resp.Subnet.ID)
}
Output:

Example (WithNetworkSecurityGroup)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	// Replace the "nsg" variable with a call to armnetwork.NetworkSecurityGroups.Get to retreive the
	//network security group instance that will be assigned to the subnet.
	var nsg *armnetwork.NetworkSecurityGroup
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSubnetsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<virtual network name>",
		"<subnet name>",
		armnetwork.Subnet{
			Properties: &armnetwork.SubnetPropertiesFormat{
				AddressPrefix:        to.StringPtr("10.0.0.0/16"), // NOTE: the allowed address range can change based on the network the subnet is created in
				NetworkSecurityGroup: nsg,
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("subnet ID: %v", *resp.Subnet.ID)
}
Output:

func (*SubnetsClient) BeginDelete

func (client *SubnetsClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, options *SubnetsBeginDeleteOptions) (SubnetsDeletePollerResponse, error)

BeginDelete - Deletes the specified subnet. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSubnetsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.BeginDelete(context.Background(), "<resource group name>", "<virtual network name>", "<subnet name>", nil)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	_, err = resp.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to delete resource: %v", err)
	}
}
Output:

func (*SubnetsClient) BeginPrepareNetworkPolicies

func (client *SubnetsClient) BeginPrepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, prepareNetworkPoliciesRequestParameters PrepareNetworkPoliciesRequest, options *SubnetsBeginPrepareNetworkPoliciesOptions) (SubnetsPrepareNetworkPoliciesPollerResponse, error)

BeginPrepareNetworkPolicies - Prepares a subnet by applying network intent policies. If the operation fails it returns the *CloudError error type.

func (*SubnetsClient) BeginUnprepareNetworkPolicies

func (client *SubnetsClient) BeginUnprepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, unprepareNetworkPoliciesRequestParameters UnprepareNetworkPoliciesRequest, options *SubnetsBeginUnprepareNetworkPoliciesOptions) (SubnetsUnprepareNetworkPoliciesPollerResponse, error)

BeginUnprepareNetworkPolicies - Unprepares a subnet by removing network intent policies. If the operation fails it returns the *CloudError error type.

func (*SubnetsClient) Get

func (client *SubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, options *SubnetsGetOptions) (SubnetsGetResponse, error)

Get - Gets the specified subnet by virtual network and resource group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewSubnetsClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.Get(context.Background(), "<resource group name>", "<virtual network name>", "<subnet name>", nil)
	if err != nil {
		log.Fatalf("failed to get resource: %v", err)
	}
	log.Printf("subnet ID: %v", *resp.Subnet.ID)
}
Output:

func (*SubnetsClient) List

func (client *SubnetsClient) List(resourceGroupName string, virtualNetworkName string, options *SubnetsListOptions) *SubnetsListPager

List - Gets all subnets in a virtual network. If the operation fails it returns the *CloudError error type.

type SubnetsCreateOrUpdatePoller

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

SubnetsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*SubnetsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SubnetsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SubnetsCreateOrUpdateResponse will be returned.

func (*SubnetsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SubnetsCreateOrUpdatePoller) ResumeToken

func (p *SubnetsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SubnetsCreateOrUpdatePollerResponse

type SubnetsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SubnetsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsCreateOrUpdatePollerResponse contains the response from method Subnets.CreateOrUpdate.

func (SubnetsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SubnetsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a SubnetsCreateOrUpdatePollerResponse from the provided client and resume token.

type SubnetsCreateOrUpdateResponse

type SubnetsCreateOrUpdateResponse struct {
	SubnetsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsCreateOrUpdateResponse contains the response from method Subnets.CreateOrUpdate.

type SubnetsCreateOrUpdateResult

type SubnetsCreateOrUpdateResult struct {
	Subnet
}

SubnetsCreateOrUpdateResult contains the result from method Subnets.CreateOrUpdate.

type SubnetsDeletePoller

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

SubnetsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*SubnetsDeletePoller) Done

func (p *SubnetsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*SubnetsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SubnetsDeleteResponse will be returned.

func (*SubnetsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SubnetsDeletePoller) ResumeToken

func (p *SubnetsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SubnetsDeletePollerResponse

type SubnetsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SubnetsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsDeletePollerResponse contains the response from method Subnets.Delete.

func (SubnetsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SubnetsDeletePollerResponse) Resume

func (l *SubnetsDeletePollerResponse) Resume(ctx context.Context, client *SubnetsClient, token string) error

Resume rehydrates a SubnetsDeletePollerResponse from the provided client and resume token.

type SubnetsDeleteResponse

type SubnetsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsDeleteResponse contains the response from method Subnets.Delete.

type SubnetsGetOptions

type SubnetsGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

SubnetsGetOptions contains the optional parameters for the Subnets.Get method.

type SubnetsGetResponse

type SubnetsGetResponse struct {
	SubnetsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsGetResponse contains the response from method Subnets.Get.

type SubnetsGetResult

type SubnetsGetResult struct {
	Subnet
}

SubnetsGetResult contains the result from method Subnets.Get.

type SubnetsListOptions

type SubnetsListOptions struct {
}

SubnetsListOptions contains the optional parameters for the Subnets.List method.

type SubnetsListPager

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

SubnetsListPager provides operations for iterating over paged responses.

func (*SubnetsListPager) Err

func (p *SubnetsListPager) Err() error

Err returns the last error encountered while paging.

func (*SubnetsListPager) NextPage

func (p *SubnetsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*SubnetsListPager) PageResponse

func (p *SubnetsListPager) PageResponse() SubnetsListResponse

PageResponse returns the current SubnetsListResponse page.

type SubnetsListResponse

type SubnetsListResponse struct {
	SubnetsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsListResponse contains the response from method Subnets.List.

type SubnetsListResult

type SubnetsListResult struct {
	SubnetListResult
}

SubnetsListResult contains the result from method Subnets.List.

type SubnetsPrepareNetworkPoliciesPoller

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

SubnetsPrepareNetworkPoliciesPoller provides polling facilities until the operation reaches a terminal state.

func (*SubnetsPrepareNetworkPoliciesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SubnetsPrepareNetworkPoliciesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SubnetsPrepareNetworkPoliciesResponse will be returned.

func (*SubnetsPrepareNetworkPoliciesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SubnetsPrepareNetworkPoliciesPoller) ResumeToken

func (p *SubnetsPrepareNetworkPoliciesPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SubnetsPrepareNetworkPoliciesPollerResponse

type SubnetsPrepareNetworkPoliciesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SubnetsPrepareNetworkPoliciesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsPrepareNetworkPoliciesPollerResponse contains the response from method Subnets.PrepareNetworkPolicies.

func (SubnetsPrepareNetworkPoliciesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SubnetsPrepareNetworkPoliciesPollerResponse) Resume

Resume rehydrates a SubnetsPrepareNetworkPoliciesPollerResponse from the provided client and resume token.

type SubnetsPrepareNetworkPoliciesResponse

type SubnetsPrepareNetworkPoliciesResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsPrepareNetworkPoliciesResponse contains the response from method Subnets.PrepareNetworkPolicies.

type SubnetsUnprepareNetworkPoliciesPoller

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

SubnetsUnprepareNetworkPoliciesPoller provides polling facilities until the operation reaches a terminal state.

func (*SubnetsUnprepareNetworkPoliciesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SubnetsUnprepareNetworkPoliciesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SubnetsUnprepareNetworkPoliciesResponse will be returned.

func (*SubnetsUnprepareNetworkPoliciesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SubnetsUnprepareNetworkPoliciesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SubnetsUnprepareNetworkPoliciesPollerResponse

type SubnetsUnprepareNetworkPoliciesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SubnetsUnprepareNetworkPoliciesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsUnprepareNetworkPoliciesPollerResponse contains the response from method Subnets.UnprepareNetworkPolicies.

func (SubnetsUnprepareNetworkPoliciesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*SubnetsUnprepareNetworkPoliciesPollerResponse) Resume

Resume rehydrates a SubnetsUnprepareNetworkPoliciesPollerResponse from the provided client and resume token.

type SubnetsUnprepareNetworkPoliciesResponse

type SubnetsUnprepareNetworkPoliciesResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SubnetsUnprepareNetworkPoliciesResponse contains the response from method Subnets.UnprepareNetworkPolicies.

type SyncRemoteAddressSpace

type SyncRemoteAddressSpace string
const (
	SyncRemoteAddressSpaceTrue SyncRemoteAddressSpace = "true"
)

func PossibleSyncRemoteAddressSpaceValues

func PossibleSyncRemoteAddressSpaceValues() []SyncRemoteAddressSpace

PossibleSyncRemoteAddressSpaceValues returns the possible values for the SyncRemoteAddressSpace const type.

func (SyncRemoteAddressSpace) ToPtr

ToPtr returns a *SyncRemoteAddressSpace pointing to the current value.

type TagsObject

type TagsObject struct {
	// Resource tags.
	Tags map[string]*string `json:"tags,omitempty"`
}

TagsObject - Tags object for patch operations.

func (TagsObject) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type TagsObject.

type Topology

type Topology struct {
	// A list of topology resources.
	Resources []*TopologyResource `json:"resources,omitempty"`

	// READ-ONLY; The datetime when the topology was initially created for the resource group.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty" azure:"ro"`

	// READ-ONLY; GUID representing the operation id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The datetime when the topology was last modified.
	LastModified *time.Time `json:"lastModified,omitempty" azure:"ro"`
}

Topology of the specified resource group.

func (Topology) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Topology.

func (*Topology) UnmarshalJSON

func (t *Topology) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Topology.

type TopologyAssociation

type TopologyAssociation struct {
	// The association type of the child resource to the parent resource.
	AssociationType *AssociationType `json:"associationType,omitempty"`

	// The name of the resource that is associated with the parent resource.
	Name *string `json:"name,omitempty"`

	// The ID of the resource that is associated with the parent resource.
	ResourceID *string `json:"resourceId,omitempty"`
}

TopologyAssociation - Resources that have an association with the parent resource.

type TopologyParameters

type TopologyParameters struct {
	// The name of the target resource group to perform topology on.
	TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"`

	// The reference to the Subnet resource.
	TargetSubnet *SubResource `json:"targetSubnet,omitempty"`

	// The reference to the Virtual Network resource.
	TargetVirtualNetwork *SubResource `json:"targetVirtualNetwork,omitempty"`
}

TopologyParameters - Parameters that define the representation of topology.

type TopologyResource

type TopologyResource struct {
	// Holds the associations the resource has with other resources in the resource group.
	Associations []*TopologyAssociation `json:"associations,omitempty"`

	// ID of the resource.
	ID *string `json:"id,omitempty"`

	// Resource location.
	Location *string `json:"location,omitempty"`

	// Name of the resource.
	Name *string `json:"name,omitempty"`
}

TopologyResource - The network resource topology information for the given resource group.

func (TopologyResource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type TopologyResource.

type TrafficAnalyticsConfigurationProperties

type TrafficAnalyticsConfigurationProperties struct {
	// Flag to enable/disable traffic analytics.
	Enabled *bool `json:"enabled,omitempty"`

	// The interval in minutes which would decide how frequently TA service should do flow analytics.
	TrafficAnalyticsInterval *int32 `json:"trafficAnalyticsInterval,omitempty"`

	// The resource guid of the attached workspace.
	WorkspaceID *string `json:"workspaceId,omitempty"`

	// The location of the attached workspace.
	WorkspaceRegion *string `json:"workspaceRegion,omitempty"`

	// Resource Id of the attached workspace.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
}

TrafficAnalyticsConfigurationProperties - Parameters that define the configuration of traffic analytics.

type TrafficAnalyticsProperties

type TrafficAnalyticsProperties struct {
	// Parameters that define the configuration of traffic analytics.
	NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"`
}

TrafficAnalyticsProperties - Parameters that define the configuration of traffic analytics.

type TrafficSelectorPolicy

type TrafficSelectorPolicy struct {
	// REQUIRED; A collection of local address spaces in CIDR format.
	LocalAddressRanges []*string `json:"localAddressRanges,omitempty"`

	// REQUIRED; A collection of remote address spaces in CIDR format.
	RemoteAddressRanges []*string `json:"remoteAddressRanges,omitempty"`
}

TrafficSelectorPolicy - An traffic selector policy for a virtual network gateway connection.

func (TrafficSelectorPolicy) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type TrafficSelectorPolicy.

type TransportProtocol

type TransportProtocol string

TransportProtocol - The transport protocol for the endpoint.

const (
	TransportProtocolAll TransportProtocol = "All"
	TransportProtocolTCP TransportProtocol = "Tcp"
	TransportProtocolUDP TransportProtocol = "Udp"
)

func PossibleTransportProtocolValues

func PossibleTransportProtocolValues() []TransportProtocol

PossibleTransportProtocolValues returns the possible values for the TransportProtocol const type.

func (TransportProtocol) ToPtr

ToPtr returns a *TransportProtocol pointing to the current value.

type TroubleshootingDetails

type TroubleshootingDetails struct {
	// Details on troubleshooting results.
	Detail *string `json:"detail,omitempty"`

	// The id of the get troubleshoot operation.
	ID *string `json:"id,omitempty"`

	// Reason type of failure.
	ReasonType *string `json:"reasonType,omitempty"`

	// List of recommended actions.
	RecommendedActions []*TroubleshootingRecommendedActions `json:"recommendedActions,omitempty"`

	// A summary of troubleshooting.
	Summary *string `json:"summary,omitempty"`
}

TroubleshootingDetails - Information gained from troubleshooting of specified resource.

func (TroubleshootingDetails) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type TroubleshootingDetails.

type TroubleshootingParameters

type TroubleshootingParameters struct {
	// REQUIRED; Properties of the troubleshooting resource.
	Properties *TroubleshootingProperties `json:"properties,omitempty"`

	// REQUIRED; The target resource to troubleshoot.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

TroubleshootingParameters - Parameters that define the resource to troubleshoot.

type TroubleshootingProperties

type TroubleshootingProperties struct {
	// REQUIRED; The ID for the storage account to save the troubleshoot result.
	StorageID *string `json:"storageId,omitempty"`

	// REQUIRED; The path to the blob to save the troubleshoot result in.
	StoragePath *string `json:"storagePath,omitempty"`
}

TroubleshootingProperties - Storage location provided for troubleshoot.

type TroubleshootingRecommendedActions

type TroubleshootingRecommendedActions struct {
	// ID of the recommended action.
	ActionID *string `json:"actionId,omitempty"`

	// Description of recommended actions.
	ActionText *string `json:"actionText,omitempty"`

	// The uri linking to a documentation for the recommended troubleshooting actions.
	ActionURI *string `json:"actionUri,omitempty"`

	// The information from the URI for the recommended troubleshooting actions.
	ActionURIText *string `json:"actionUriText,omitempty"`
}

TroubleshootingRecommendedActions - Recommended actions based on discovered issues.

type TroubleshootingResult

type TroubleshootingResult struct {
	// The result code of the troubleshooting.
	Code *string `json:"code,omitempty"`

	// The end time of the troubleshooting.
	EndTime *time.Time `json:"endTime,omitempty"`

	// Information from troubleshooting.
	Results []*TroubleshootingDetails `json:"results,omitempty"`

	// The start time of the troubleshooting.
	StartTime *time.Time `json:"startTime,omitempty"`
}

TroubleshootingResult - Troubleshooting information gained from specified resource.

func (TroubleshootingResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type TroubleshootingResult.

func (*TroubleshootingResult) UnmarshalJSON

func (t *TroubleshootingResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TroubleshootingResult.

type TunnelConnectionHealth

type TunnelConnectionHealth struct {
	// READ-ONLY; Virtual Network Gateway connection status.
	ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; The Egress Bytes Transferred in this connection.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The Ingress Bytes Transferred in this connection.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The time at which connection was established in Utc format.
	LastConnectionEstablishedUTCTime *string `json:"lastConnectionEstablishedUtcTime,omitempty" azure:"ro"`

	// READ-ONLY; Tunnel name.
	Tunnel *string `json:"tunnel,omitempty" azure:"ro"`
}

TunnelConnectionHealth - VirtualNetworkGatewayConnection properties.

type TunnelConnectionStatus

type TunnelConnectionStatus string

TunnelConnectionStatus - The current state of the tunnel.

const (
	TunnelConnectionStatusConnected    TunnelConnectionStatus = "Connected"
	TunnelConnectionStatusConnecting   TunnelConnectionStatus = "Connecting"
	TunnelConnectionStatusNotConnected TunnelConnectionStatus = "NotConnected"
	TunnelConnectionStatusUnknown      TunnelConnectionStatus = "Unknown"
)

func PossibleTunnelConnectionStatusValues

func PossibleTunnelConnectionStatusValues() []TunnelConnectionStatus

PossibleTunnelConnectionStatusValues returns the possible values for the TunnelConnectionStatus const type.

func (TunnelConnectionStatus) ToPtr

ToPtr returns a *TunnelConnectionStatus pointing to the current value.

type UnprepareNetworkPoliciesRequest

type UnprepareNetworkPoliciesRequest struct {
	// The name of the service for which subnet is being unprepared for.
	ServiceName *string `json:"serviceName,omitempty"`
}

UnprepareNetworkPoliciesRequest - Details of UnprepareNetworkPolicies for Subnet.

type Usage

type Usage struct {
	// REQUIRED; The current value of the usage.
	CurrentValue *int64 `json:"currentValue,omitempty"`

	// REQUIRED; The limit of usage.
	Limit *int64 `json:"limit,omitempty"`

	// REQUIRED; The name of the type of usage.
	Name *UsageName `json:"name,omitempty"`

	// REQUIRED; An enum describing the unit of measurement.
	Unit *UsageUnit `json:"unit,omitempty"`

	// READ-ONLY; Resource identifier.
	ID *string `json:"id,omitempty" azure:"ro"`
}

Usage - The network resource usage.

type UsageName

type UsageName struct {
	// A localized string describing the resource name.
	LocalizedValue *string `json:"localizedValue,omitempty"`

	// A string describing the resource name.
	Value *string `json:"value,omitempty"`
}

UsageName - The usage names.

type UsageUnit

type UsageUnit string

UsageUnit - An enum describing the unit of measurement.

const (
	UsageUnitCount UsageUnit = "Count"
)

func PossibleUsageUnitValues

func PossibleUsageUnitValues() []UsageUnit

PossibleUsageUnitValues returns the possible values for the UsageUnit const type.

func (UsageUnit) ToPtr

func (c UsageUnit) ToPtr() *UsageUnit

ToPtr returns a *UsageUnit pointing to the current value.

type UsagesClient

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

UsagesClient contains the methods for the Usages group. Don't use this type directly, use NewUsagesClient() instead.

func NewUsagesClient

func NewUsagesClient(con *arm.Connection, subscriptionID string) *UsagesClient

NewUsagesClient creates a new instance of UsagesClient with the specified values.

func (*UsagesClient) List

func (client *UsagesClient) List(location string, options *UsagesListOptions) *UsagesListPager

List - List network usages for a subscription. If the operation fails it returns the *CloudError error type.

type UsagesListOptions

type UsagesListOptions struct {
}

UsagesListOptions contains the optional parameters for the Usages.List method.

type UsagesListPager

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

UsagesListPager provides operations for iterating over paged responses.

func (*UsagesListPager) Err

func (p *UsagesListPager) Err() error

Err returns the last error encountered while paging.

func (*UsagesListPager) NextPage

func (p *UsagesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*UsagesListPager) PageResponse

func (p *UsagesListPager) PageResponse() UsagesListResponse

PageResponse returns the current UsagesListResponse page.

type UsagesListResponse

type UsagesListResponse struct {
	UsagesListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

UsagesListResponse contains the response from method Usages.List.

type UsagesListResult

type UsagesListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list network resource usages.
	Value []*Usage `json:"value,omitempty"`
}

UsagesListResult - The list usages operation response.

func (UsagesListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type UsagesListResult.

type UsagesListResultEnvelope

type UsagesListResultEnvelope struct {
	UsagesListResult
}

UsagesListResultEnvelope contains the result from method Usages.List.

type VM

type VM struct {
	Resource
}

VM - Describes a Virtual Machine.

type VPNAuthenticationType

type VPNAuthenticationType string

VPNAuthenticationType - VPN authentication types enabled for the virtual network gateway.

const (
	VPNAuthenticationTypeAAD         VPNAuthenticationType = "AAD"
	VPNAuthenticationTypeCertificate VPNAuthenticationType = "Certificate"
	VPNAuthenticationTypeRadius      VPNAuthenticationType = "Radius"
)

func PossibleVPNAuthenticationTypeValues

func PossibleVPNAuthenticationTypeValues() []VPNAuthenticationType

PossibleVPNAuthenticationTypeValues returns the possible values for the VPNAuthenticationType const type.

func (VPNAuthenticationType) ToPtr

ToPtr returns a *VPNAuthenticationType pointing to the current value.

type VPNClientConfiguration

type VPNClientConfiguration struct {
	// The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
	AADAudience *string `json:"aadAudience,omitempty"`

	// The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
	AADIssuer *string `json:"aadIssuer,omitempty"`

	// The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
	AADTenant *string `json:"aadTenant,omitempty"`

	// The radius server address property of the VirtualNetworkGateway resource for vpn client connection.
	RadiusServerAddress *string `json:"radiusServerAddress,omitempty"`

	// The radius secret property of the VirtualNetworkGateway resource for vpn client connection.
	RadiusServerSecret *string `json:"radiusServerSecret,omitempty"`

	// The radiusServers property for multiple radius server configuration.
	RadiusServers []*RadiusServer `json:"radiusServers,omitempty"`

	// VPN authentication types for the virtual network gateway..
	VPNAuthenticationTypes []*VPNAuthenticationType `json:"vpnAuthenticationTypes,omitempty"`

	// The reference to the address space resource which represents Address space for P2S VpnClient.
	VPNClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"`

	// VpnClientIpsecPolicies for virtual network gateway P2S client.
	VPNClientIPSecPolicies []*IPSecPolicy `json:"vpnClientIpsecPolicies,omitempty"`

	// VpnClientProtocols for Virtual network gateway.
	VPNClientProtocols []*VPNClientProtocol `json:"vpnClientProtocols,omitempty"`

	// VpnClientRevokedCertificate for Virtual network gateway.
	VPNClientRevokedCertificates []*VPNClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"`

	// VpnClientRootCertificate for virtual network gateway.
	VPNClientRootCertificates []*VPNClientRootCertificate `json:"vpnClientRootCertificates,omitempty"`
}

VPNClientConfiguration - VpnClientConfiguration for P2S client.

func (VPNClientConfiguration) MarshalJSON

func (v VPNClientConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNClientConfiguration.

type VPNClientConnectionHealth

type VPNClientConnectionHealth struct {
	// List of allocated ip addresses to the connected p2s vpn clients.
	AllocatedIPAddresses []*string `json:"allocatedIpAddresses,omitempty"`

	// The total of p2s vpn clients connected at this time to this P2SVpnGateway.
	VPNClientConnectionsCount *int32 `json:"vpnClientConnectionsCount,omitempty"`

	// READ-ONLY; Total of the Egress Bytes Transferred in this connection.
	TotalEgressBytesTransferred *int64 `json:"totalEgressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; Total of the Ingress Bytes Transferred in this P2S Vpn connection.
	TotalIngressBytesTransferred *int64 `json:"totalIngressBytesTransferred,omitempty" azure:"ro"`
}

VPNClientConnectionHealth - VpnClientConnectionHealth properties.

func (VPNClientConnectionHealth) MarshalJSON

func (v VPNClientConnectionHealth) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNClientConnectionHealth.

type VPNClientConnectionHealthDetail

type VPNClientConnectionHealthDetail struct {
	// READ-ONLY; The egress bytes per second.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The egress packets per second.
	EgressPacketsTransferred *int64 `json:"egressPacketsTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The ingress bytes per second.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The ingress packets per second.
	IngressPacketsTransferred *int64 `json:"ingressPacketsTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The max band width.
	MaxBandwidth *int64 `json:"maxBandwidth,omitempty" azure:"ro"`

	// READ-ONLY; The max packets transferred per second.
	MaxPacketsPerSecond *int64 `json:"maxPacketsPerSecond,omitempty" azure:"ro"`

	// READ-ONLY; The assigned private Ip of a connected vpn client.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty" azure:"ro"`

	// READ-ONLY; The public Ip of a connected vpn client.
	PublicIPAddress *string `json:"publicIpAddress,omitempty" azure:"ro"`

	// READ-ONLY; The duration time of a connected vpn client.
	VPNConnectionDuration *int64 `json:"vpnConnectionDuration,omitempty" azure:"ro"`

	// READ-ONLY; The vpn client Id.
	VPNConnectionID *string `json:"vpnConnectionId,omitempty" azure:"ro"`

	// READ-ONLY; The start time of a connected vpn client.
	VPNConnectionTime *string `json:"vpnConnectionTime,omitempty" azure:"ro"`

	// READ-ONLY; The user name of a connected vpn client.
	VPNUserName *string `json:"vpnUserName,omitempty" azure:"ro"`
}

VPNClientConnectionHealthDetail - VPN client connection health detail.

type VPNClientConnectionHealthDetailListResult

type VPNClientConnectionHealthDetailListResult struct {
	// List of vpn client connection health.
	Value []*VPNClientConnectionHealthDetail `json:"value,omitempty"`
}

VPNClientConnectionHealthDetailListResult - List of virtual network gateway vpn client connection health.

func (VPNClientConnectionHealthDetailListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VPNClientConnectionHealthDetailListResult.

type VPNClientIPsecParameters

type VPNClientIPsecParameters struct {
	// REQUIRED; The DH Group used in IKE Phase 1 for initial SA.
	DhGroup *DhGroup `json:"dhGroup,omitempty"`

	// REQUIRED; The IPSec encryption algorithm (IKE phase 1).
	IPSecEncryption *IPSecEncryption `json:"ipsecEncryption,omitempty"`

	// REQUIRED; The IPSec integrity algorithm (IKE phase 1).
	IPSecIntegrity *IPSecIntegrity `json:"ipsecIntegrity,omitempty"`

	// REQUIRED; The IKE encryption algorithm (IKE phase 2).
	IkeEncryption *IkeEncryption `json:"ikeEncryption,omitempty"`

	// REQUIRED; The IKE integrity algorithm (IKE phase 2).
	IkeIntegrity *IkeIntegrity `json:"ikeIntegrity,omitempty"`

	// REQUIRED; The Pfs Group used in IKE Phase 2 for new child SA.
	PfsGroup *PfsGroup `json:"pfsGroup,omitempty"`

	// REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client..
	SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"`

	// REQUIRED; The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client.
	SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"`
}

VPNClientIPsecParameters - An IPSec parameters for a virtual network gateway P2S connection.

type VPNClientParameters

type VPNClientParameters struct {
	// VPN client authentication method.
	AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"`

	// A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with
	// EAPTLS.
	ClientRootCertificates []*string `json:"clientRootCertificates,omitempty"`

	// VPN client Processor Architecture.
	ProcessorArchitecture *ProcessorArchitecture `json:"processorArchitecture,omitempty"`

	// The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication
	// has been configured with EAPTLS
	// authentication.
	RadiusServerAuthCertificate *string `json:"radiusServerAuthCertificate,omitempty"`
}

VPNClientParameters - Vpn Client Parameters for package generation.

func (VPNClientParameters) MarshalJSON

func (v VPNClientParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNClientParameters.

type VPNClientProtocol

type VPNClientProtocol string

VPNClientProtocol - VPN client protocol enabled for the virtual network gateway.

const (
	VPNClientProtocolIkeV2   VPNClientProtocol = "IkeV2"
	VPNClientProtocolOpenVPN VPNClientProtocol = "OpenVPN"
	VPNClientProtocolSSTP    VPNClientProtocol = "SSTP"
)

func PossibleVPNClientProtocolValues

func PossibleVPNClientProtocolValues() []VPNClientProtocol

PossibleVPNClientProtocolValues returns the possible values for the VPNClientProtocol const type.

func (VPNClientProtocol) ToPtr

ToPtr returns a *VPNClientProtocol pointing to the current value.

type VPNClientRevokedCertificate

type VPNClientRevokedCertificate struct {
	SubResource
	// 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"`

	// Properties of the vpn client revoked certificate.
	Properties *VPNClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VPNClientRevokedCertificate - VPN client revoked certificate of virtual network gateway.

func (VPNClientRevokedCertificate) MarshalJSON

func (v VPNClientRevokedCertificate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNClientRevokedCertificate.

type VPNClientRevokedCertificatePropertiesFormat

type VPNClientRevokedCertificatePropertiesFormat struct {
	// The revoked VPN client certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`

	// READ-ONLY; The provisioning state of the VPN client revoked certificate resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNClientRevokedCertificatePropertiesFormat - Properties of the revoked VPN client certificate of virtual network gateway.

type VPNClientRootCertificate

type VPNClientRootCertificate struct {
	SubResource
	// REQUIRED; Properties of the vpn client root certificate.
	Properties *VPNClientRootCertificatePropertiesFormat `json:"properties,omitempty"`

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

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VPNClientRootCertificate - VPN client root certificate of virtual network gateway.

func (VPNClientRootCertificate) MarshalJSON

func (v VPNClientRootCertificate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNClientRootCertificate.

type VPNClientRootCertificatePropertiesFormat

type VPNClientRootCertificatePropertiesFormat struct {
	// REQUIRED; The certificate public data.
	PublicCertData *string `json:"publicCertData,omitempty"`

	// READ-ONLY; The provisioning state of the VPN client root certificate resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNClientRootCertificatePropertiesFormat - Properties of SSL certificates of application gateway.

type VPNConnection

type VPNConnection struct {
	SubResource
	// 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"`

	// Properties of the VPN connection.
	Properties *VPNConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VPNConnection - VpnConnection Resource.

func (VPNConnection) MarshalJSON

func (v VPNConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNConnection.

type VPNConnectionPacketCaptureStartParameters

type VPNConnectionPacketCaptureStartParameters struct {
	// Start Packet capture parameters on vpn connection.
	FilterData *string `json:"filterData,omitempty"`

	// List of site link connection names.
	LinkConnectionNames []*string `json:"linkConnectionNames,omitempty"`
}

VPNConnectionPacketCaptureStartParameters - Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.

func (VPNConnectionPacketCaptureStartParameters) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VPNConnectionPacketCaptureStartParameters.

type VPNConnectionPacketCaptureStopParameters

type VPNConnectionPacketCaptureStopParameters struct {
	// List of site link connection names.
	LinkConnectionNames []*string `json:"linkConnectionNames,omitempty"`

	// SAS url for packet capture on vpn connection.
	SasURL *string `json:"sasUrl,omitempty"`
}

VPNConnectionPacketCaptureStopParameters - Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.

func (VPNConnectionPacketCaptureStopParameters) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VPNConnectionPacketCaptureStopParameters.

type VPNConnectionProperties

type VPNConnectionProperties struct {
	// Expected bandwidth in MBPS.
	ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"`

	// DPD timeout in seconds for vpn connection.
	DpdTimeoutSeconds *int32 `json:"dpdTimeoutSeconds,omitempty"`

	// EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`

	// Enable internet security.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`

	// EnableBgp flag.
	EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"`

	// The IPSec Policies to be considered by this connection.
	IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"`

	// Id of the connected vpn site.
	RemoteVPNSite *SubResource `json:"remoteVpnSite,omitempty"`

	// The Routing Configuration indicating the associated and propagated route tables on this connection.
	RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"`

	// Routing weight for vpn connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`

	// SharedKey for the vpn connection.
	SharedKey *string `json:"sharedKey,omitempty"`

	// The Traffic Selector Policies to be considered by this connection.
	TrafficSelectorPolicies []*TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"`

	// Use local azure ip to initiate connection.
	UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"`

	// Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`

	// Connection protocol used for this connection.
	VPNConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"`

	// List of all vpn site link connections to the gateway.
	VPNLinkConnections []*VPNSiteLinkConnection `json:"vpnLinkConnections,omitempty"`

	// READ-ONLY; The connection status.
	ConnectionStatus *VPNConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; Egress bytes transferred.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; Ingress bytes transferred.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the VPN connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNConnectionProperties - Parameters for VpnConnection.

func (VPNConnectionProperties) MarshalJSON

func (v VPNConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNConnectionProperties.

type VPNConnectionStatus

type VPNConnectionStatus string

VPNConnectionStatus - The current state of the vpn connection.

const (
	VPNConnectionStatusConnected    VPNConnectionStatus = "Connected"
	VPNConnectionStatusConnecting   VPNConnectionStatus = "Connecting"
	VPNConnectionStatusNotConnected VPNConnectionStatus = "NotConnected"
	VPNConnectionStatusUnknown      VPNConnectionStatus = "Unknown"
)

func PossibleVPNConnectionStatusValues

func PossibleVPNConnectionStatusValues() []VPNConnectionStatus

PossibleVPNConnectionStatusValues returns the possible values for the VPNConnectionStatus const type.

func (VPNConnectionStatus) ToPtr

ToPtr returns a *VPNConnectionStatus pointing to the current value.

type VPNConnectionsBeginCreateOrUpdateOptions

type VPNConnectionsBeginCreateOrUpdateOptions struct {
}

VPNConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the VPNConnections.BeginCreateOrUpdate method.

type VPNConnectionsBeginDeleteOptions

type VPNConnectionsBeginDeleteOptions struct {
}

VPNConnectionsBeginDeleteOptions contains the optional parameters for the VPNConnections.BeginDelete method.

type VPNConnectionsBeginStartPacketCaptureOptions

type VPNConnectionsBeginStartPacketCaptureOptions struct {
	// Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.
	Parameters *VPNConnectionPacketCaptureStartParameters
}

VPNConnectionsBeginStartPacketCaptureOptions contains the optional parameters for the VPNConnections.BeginStartPacketCapture method.

type VPNConnectionsBeginStopPacketCaptureOptions

type VPNConnectionsBeginStopPacketCaptureOptions struct {
	// Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.
	Parameters *VPNConnectionPacketCaptureStopParameters
}

VPNConnectionsBeginStopPacketCaptureOptions contains the optional parameters for the VPNConnections.BeginStopPacketCapture method.

type VPNConnectionsClient

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

VPNConnectionsClient contains the methods for the VPNConnections group. Don't use this type directly, use NewVPNConnectionsClient() instead.

func NewVPNConnectionsClient

func NewVPNConnectionsClient(con *arm.Connection, subscriptionID string) *VPNConnectionsClient

NewVPNConnectionsClient creates a new instance of VPNConnectionsClient with the specified values.

func (*VPNConnectionsClient) BeginCreateOrUpdate

func (client *VPNConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, vpnConnectionParameters VPNConnection, options *VPNConnectionsBeginCreateOrUpdateOptions) (VPNConnectionsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. If the operation fails it returns the *CloudError error type.

func (*VPNConnectionsClient) BeginDelete

func (client *VPNConnectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, options *VPNConnectionsBeginDeleteOptions) (VPNConnectionsDeletePollerResponse, error)

BeginDelete - Deletes a vpn connection. If the operation fails it returns the *CloudError error type.

func (*VPNConnectionsClient) BeginStartPacketCapture

func (client *VPNConnectionsClient) BeginStartPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, vpnConnectionName string, options *VPNConnectionsBeginStartPacketCaptureOptions) (VPNConnectionsStartPacketCapturePollerResponse, error)

BeginStartPacketCapture - Starts packet capture on Vpn connection in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VPNConnectionsClient) BeginStopPacketCapture

func (client *VPNConnectionsClient) BeginStopPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, vpnConnectionName string, options *VPNConnectionsBeginStopPacketCaptureOptions) (VPNConnectionsStopPacketCapturePollerResponse, error)

BeginStopPacketCapture - Stops packet capture on Vpn connection in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VPNConnectionsClient) Get

func (client *VPNConnectionsClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, options *VPNConnectionsGetOptions) (VPNConnectionsGetResponse, error)

Get - Retrieves the details of a vpn connection. If the operation fails it returns the *CloudError error type.

func (*VPNConnectionsClient) ListByVPNGateway

func (client *VPNConnectionsClient) ListByVPNGateway(resourceGroupName string, gatewayName string, options *VPNConnectionsListByVPNGatewayOptions) *VPNConnectionsListByVPNGatewayPager

ListByVPNGateway - Retrieves all vpn connections for a particular virtual wan vpn gateway. If the operation fails it returns the *CloudError error type.

type VPNConnectionsCreateOrUpdatePoller

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

VPNConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNConnectionsCreateOrUpdateResponse will be returned.

func (*VPNConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNConnectionsCreateOrUpdatePoller) ResumeToken

func (p *VPNConnectionsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNConnectionsCreateOrUpdatePollerResponse

type VPNConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsCreateOrUpdatePollerResponse contains the response from method VPNConnections.CreateOrUpdate.

func (VPNConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VPNConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type VPNConnectionsCreateOrUpdateResponse

type VPNConnectionsCreateOrUpdateResponse struct {
	VPNConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsCreateOrUpdateResponse contains the response from method VPNConnections.CreateOrUpdate.

type VPNConnectionsCreateOrUpdateResult

type VPNConnectionsCreateOrUpdateResult struct {
	VPNConnection
}

VPNConnectionsCreateOrUpdateResult contains the result from method VPNConnections.CreateOrUpdate.

type VPNConnectionsDeletePoller

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

VPNConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNConnectionsDeletePoller) Done

func (p *VPNConnectionsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VPNConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNConnectionsDeleteResponse will be returned.

func (*VPNConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNConnectionsDeletePoller) ResumeToken

func (p *VPNConnectionsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNConnectionsDeletePollerResponse

type VPNConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsDeletePollerResponse contains the response from method VPNConnections.Delete.

func (VPNConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNConnectionsDeletePollerResponse) Resume

Resume rehydrates a VPNConnectionsDeletePollerResponse from the provided client and resume token.

type VPNConnectionsDeleteResponse

type VPNConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsDeleteResponse contains the response from method VPNConnections.Delete.

type VPNConnectionsGetOptions

type VPNConnectionsGetOptions struct {
}

VPNConnectionsGetOptions contains the optional parameters for the VPNConnections.Get method.

type VPNConnectionsGetResponse

type VPNConnectionsGetResponse struct {
	VPNConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsGetResponse contains the response from method VPNConnections.Get.

type VPNConnectionsGetResult

type VPNConnectionsGetResult struct {
	VPNConnection
}

VPNConnectionsGetResult contains the result from method VPNConnections.Get.

type VPNConnectionsListByVPNGatewayOptions

type VPNConnectionsListByVPNGatewayOptions struct {
}

VPNConnectionsListByVPNGatewayOptions contains the optional parameters for the VPNConnections.ListByVPNGateway method.

type VPNConnectionsListByVPNGatewayPager

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

VPNConnectionsListByVPNGatewayPager provides operations for iterating over paged responses.

func (*VPNConnectionsListByVPNGatewayPager) Err

Err returns the last error encountered while paging.

func (*VPNConnectionsListByVPNGatewayPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNConnectionsListByVPNGatewayPager) PageResponse

PageResponse returns the current VPNConnectionsListByVPNGatewayResponse page.

type VPNConnectionsListByVPNGatewayResponse

type VPNConnectionsListByVPNGatewayResponse struct {
	VPNConnectionsListByVPNGatewayResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsListByVPNGatewayResponse contains the response from method VPNConnections.ListByVPNGateway.

type VPNConnectionsListByVPNGatewayResult

type VPNConnectionsListByVPNGatewayResult struct {
	ListVPNConnectionsResult
}

VPNConnectionsListByVPNGatewayResult contains the result from method VPNConnections.ListByVPNGateway.

type VPNConnectionsStartPacketCapturePoller

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

VPNConnectionsStartPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNConnectionsStartPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNConnectionsStartPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNConnectionsStartPacketCaptureResponse will be returned.

func (*VPNConnectionsStartPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNConnectionsStartPacketCapturePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNConnectionsStartPacketCapturePollerResponse

type VPNConnectionsStartPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNConnectionsStartPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsStartPacketCapturePollerResponse contains the response from method VPNConnections.StartPacketCapture.

func (VPNConnectionsStartPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNConnectionsStartPacketCapturePollerResponse) Resume

Resume rehydrates a VPNConnectionsStartPacketCapturePollerResponse from the provided client and resume token.

type VPNConnectionsStartPacketCaptureResponse

type VPNConnectionsStartPacketCaptureResponse struct {
	VPNConnectionsStartPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsStartPacketCaptureResponse contains the response from method VPNConnections.StartPacketCapture.

type VPNConnectionsStartPacketCaptureResult

type VPNConnectionsStartPacketCaptureResult struct {
	Value *string
}

VPNConnectionsStartPacketCaptureResult contains the result from method VPNConnections.StartPacketCapture.

type VPNConnectionsStopPacketCapturePoller

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

VPNConnectionsStopPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNConnectionsStopPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNConnectionsStopPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNConnectionsStopPacketCaptureResponse will be returned.

func (*VPNConnectionsStopPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNConnectionsStopPacketCapturePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNConnectionsStopPacketCapturePollerResponse

type VPNConnectionsStopPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNConnectionsStopPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsStopPacketCapturePollerResponse contains the response from method VPNConnections.StopPacketCapture.

func (VPNConnectionsStopPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNConnectionsStopPacketCapturePollerResponse) Resume

Resume rehydrates a VPNConnectionsStopPacketCapturePollerResponse from the provided client and resume token.

type VPNConnectionsStopPacketCaptureResponse

type VPNConnectionsStopPacketCaptureResponse struct {
	VPNConnectionsStopPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNConnectionsStopPacketCaptureResponse contains the response from method VPNConnections.StopPacketCapture.

type VPNConnectionsStopPacketCaptureResult

type VPNConnectionsStopPacketCaptureResult struct {
	Value *string
}

VPNConnectionsStopPacketCaptureResult contains the result from method VPNConnections.StopPacketCapture.

type VPNDeviceScriptParameters

type VPNDeviceScriptParameters struct {
	// The device family for the vpn device.
	DeviceFamily *string `json:"deviceFamily,omitempty"`

	// The firmware version for the vpn device.
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`

	// The vendor for the vpn device.
	Vendor *string `json:"vendor,omitempty"`
}

VPNDeviceScriptParameters - Vpn device configuration script generation parameters.

type VPNGateway

type VPNGateway struct {
	Resource
	// Properties of the VPN gateway.
	Properties *VPNGatewayProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VPNGateway - VpnGateway Resource.

func (VPNGateway) MarshalJSON

func (v VPNGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNGateway.

type VPNGatewayGeneration

type VPNGatewayGeneration string

VPNGatewayGeneration - The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.

const (
	VPNGatewayGenerationGeneration1 VPNGatewayGeneration = "Generation1"
	VPNGatewayGenerationGeneration2 VPNGatewayGeneration = "Generation2"
	VPNGatewayGenerationNone        VPNGatewayGeneration = "None"
)

func PossibleVPNGatewayGenerationValues

func PossibleVPNGatewayGenerationValues() []VPNGatewayGeneration

PossibleVPNGatewayGenerationValues returns the possible values for the VPNGatewayGeneration const type.

func (VPNGatewayGeneration) ToPtr

ToPtr returns a *VPNGatewayGeneration pointing to the current value.

type VPNGatewayIPConfiguration

type VPNGatewayIPConfiguration struct {
	// The identifier of the IP configuration for a VPN Gateway.
	ID *string `json:"id,omitempty"`

	// The private IP address of this IP configuration.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty"`

	// The public IP address of this IP configuration.
	PublicIPAddress *string `json:"publicIpAddress,omitempty"`
}

VPNGatewayIPConfiguration - IP Configuration of a VPN Gateway Resource.

type VPNGatewayNatRule

type VPNGatewayNatRule struct {
	SubResource
	// 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"`

	// Properties of the VpnGateway NAT rule.
	Properties *VPNGatewayNatRuleProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VPNGatewayNatRule - VpnGatewayNatRule Resource.

func (VPNGatewayNatRule) MarshalJSON

func (v VPNGatewayNatRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNGatewayNatRule.

type VPNGatewayNatRuleProperties

type VPNGatewayNatRuleProperties struct {
	// The private IP address external mapping for NAT.
	ExternalMappings []*VPNNatRuleMapping `json:"externalMappings,omitempty"`

	// The IP Configuration ID this NAT rule applies to.
	IPConfigurationID *string `json:"ipConfigurationId,omitempty"`

	// The private IP address internal mapping for NAT.
	InternalMappings []*VPNNatRuleMapping `json:"internalMappings,omitempty"`

	// The Source NAT direction of a VPN NAT.
	Mode *VPNNatRuleMode `json:"mode,omitempty"`

	// The type of NAT rule for VPN NAT.
	Type *VPNNatRuleType `json:"type,omitempty"`

	// READ-ONLY; List of egress VpnSiteLinkConnections.
	EgressVPNSiteLinkConnections []*SubResource `json:"egressVpnSiteLinkConnections,omitempty" azure:"ro"`

	// READ-ONLY; List of ingress VpnSiteLinkConnections.
	IngressVPNSiteLinkConnections []*SubResource `json:"ingressVpnSiteLinkConnections,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the NAT Rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNGatewayNatRuleProperties - Parameters for VpnGatewayNatRule.

func (VPNGatewayNatRuleProperties) MarshalJSON

func (v VPNGatewayNatRuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNGatewayNatRuleProperties.

type VPNGatewayPacketCaptureStartParameters

type VPNGatewayPacketCaptureStartParameters struct {
	// Start Packet capture parameters on vpn gateway.
	FilterData *string `json:"filterData,omitempty"`
}

VPNGatewayPacketCaptureStartParameters - Start packet capture parameters.

type VPNGatewayPacketCaptureStopParameters

type VPNGatewayPacketCaptureStopParameters struct {
	// SAS url for packet capture on vpn gateway.
	SasURL *string `json:"sasUrl,omitempty"`
}

VPNGatewayPacketCaptureStopParameters - Stop packet capture parameters.

type VPNGatewayProperties

type VPNGatewayProperties struct {
	// Local network gateway's BGP speaker settings.
	BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`

	// List of all vpn connections to the gateway.
	Connections []*VPNConnection `json:"connections,omitempty"`

	// Enable BGP routes translation for NAT on this VpnGateway.
	EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"`

	// Enable Routing Preference property for the Public IP Interface of the VpnGateway.
	IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"`

	// List of all the nat Rules associated with the gateway.
	NatRules []*VPNGatewayNatRule `json:"natRules,omitempty"`

	// The scale unit for this vpn gateway.
	VPNGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"`

	// The VirtualHub to which the gateway belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`

	// READ-ONLY; List of all IPs configured on the gateway.
	IPConfigurations []*VPNGatewayIPConfiguration `json:"ipConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the VPN gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNGatewayProperties - Parameters for VpnGateway.

func (VPNGatewayProperties) MarshalJSON

func (v VPNGatewayProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNGatewayProperties.

type VPNGatewayTunnelingProtocol

type VPNGatewayTunnelingProtocol string

VPNGatewayTunnelingProtocol - VPN protocol enabled for the VpnServerConfiguration.

const (
	VPNGatewayTunnelingProtocolIkeV2   VPNGatewayTunnelingProtocol = "IkeV2"
	VPNGatewayTunnelingProtocolOpenVPN VPNGatewayTunnelingProtocol = "OpenVPN"
)

func PossibleVPNGatewayTunnelingProtocolValues

func PossibleVPNGatewayTunnelingProtocolValues() []VPNGatewayTunnelingProtocol

PossibleVPNGatewayTunnelingProtocolValues returns the possible values for the VPNGatewayTunnelingProtocol const type.

func (VPNGatewayTunnelingProtocol) ToPtr

ToPtr returns a *VPNGatewayTunnelingProtocol pointing to the current value.

type VPNGatewaysBeginCreateOrUpdateOptions

type VPNGatewaysBeginCreateOrUpdateOptions struct {
}

VPNGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the VPNGateways.BeginCreateOrUpdate method.

type VPNGatewaysBeginDeleteOptions

type VPNGatewaysBeginDeleteOptions struct {
}

VPNGatewaysBeginDeleteOptions contains the optional parameters for the VPNGateways.BeginDelete method.

type VPNGatewaysBeginResetOptions

type VPNGatewaysBeginResetOptions struct {
}

VPNGatewaysBeginResetOptions contains the optional parameters for the VPNGateways.BeginReset method.

type VPNGatewaysBeginStartPacketCaptureOptions

type VPNGatewaysBeginStartPacketCaptureOptions struct {
	// Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
	Parameters *VPNGatewayPacketCaptureStartParameters
}

VPNGatewaysBeginStartPacketCaptureOptions contains the optional parameters for the VPNGateways.BeginStartPacketCapture method.

type VPNGatewaysBeginStopPacketCaptureOptions

type VPNGatewaysBeginStopPacketCaptureOptions struct {
	// Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
	Parameters *VPNGatewayPacketCaptureStopParameters
}

VPNGatewaysBeginStopPacketCaptureOptions contains the optional parameters for the VPNGateways.BeginStopPacketCapture method.

type VPNGatewaysBeginUpdateTagsOptions

type VPNGatewaysBeginUpdateTagsOptions struct {
}

VPNGatewaysBeginUpdateTagsOptions contains the optional parameters for the VPNGateways.BeginUpdateTags method.

type VPNGatewaysClient

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

VPNGatewaysClient contains the methods for the VPNGateways group. Don't use this type directly, use NewVPNGatewaysClient() instead.

func NewVPNGatewaysClient

func NewVPNGatewaysClient(con *arm.Connection, subscriptionID string) *VPNGatewaysClient

NewVPNGatewaysClient creates a new instance of VPNGatewaysClient with the specified values.

func (*VPNGatewaysClient) BeginCreateOrUpdate

func (client *VPNGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters VPNGateway, options *VPNGatewaysBeginCreateOrUpdateOptions) (VPNGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) BeginDelete

func (client *VPNGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, gatewayName string, options *VPNGatewaysBeginDeleteOptions) (VPNGatewaysDeletePollerResponse, error)

BeginDelete - Deletes a virtual wan vpn gateway. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) BeginReset

func (client *VPNGatewaysClient) BeginReset(ctx context.Context, resourceGroupName string, gatewayName string, options *VPNGatewaysBeginResetOptions) (VPNGatewaysResetPollerResponse, error)

BeginReset - Resets the primary of the vpn gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) BeginStartPacketCapture

func (client *VPNGatewaysClient) BeginStartPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, options *VPNGatewaysBeginStartPacketCaptureOptions) (VPNGatewaysStartPacketCapturePollerResponse, error)

BeginStartPacketCapture - Starts packet capture on vpn gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) BeginStopPacketCapture

func (client *VPNGatewaysClient) BeginStopPacketCapture(ctx context.Context, resourceGroupName string, gatewayName string, options *VPNGatewaysBeginStopPacketCaptureOptions) (VPNGatewaysStopPacketCapturePollerResponse, error)

BeginStopPacketCapture - Stops packet capture on vpn gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) BeginUpdateTags

func (client *VPNGatewaysClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters TagsObject, options *VPNGatewaysBeginUpdateTagsOptions) (VPNGatewaysUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates virtual wan vpn gateway tags. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) Get

func (client *VPNGatewaysClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, options *VPNGatewaysGetOptions) (VPNGatewaysGetResponse, error)

Get - Retrieves the details of a virtual wan vpn gateway. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) List

List - Lists all the VpnGateways in a subscription. If the operation fails it returns the *CloudError error type.

func (*VPNGatewaysClient) ListByResourceGroup

func (client *VPNGatewaysClient) ListByResourceGroup(resourceGroupName string, options *VPNGatewaysListByResourceGroupOptions) *VPNGatewaysListByResourceGroupPager

ListByResourceGroup - Lists all the VpnGateways in a resource group. If the operation fails it returns the *CloudError error type.

type VPNGatewaysCreateOrUpdatePoller

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

VPNGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNGatewaysCreateOrUpdateResponse will be returned.

func (*VPNGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNGatewaysCreateOrUpdatePoller) ResumeToken

func (p *VPNGatewaysCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNGatewaysCreateOrUpdatePollerResponse

type VPNGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysCreateOrUpdatePollerResponse contains the response from method VPNGateways.CreateOrUpdate.

func (VPNGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VPNGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type VPNGatewaysCreateOrUpdateResponse

type VPNGatewaysCreateOrUpdateResponse struct {
	VPNGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysCreateOrUpdateResponse contains the response from method VPNGateways.CreateOrUpdate.

type VPNGatewaysCreateOrUpdateResult

type VPNGatewaysCreateOrUpdateResult struct {
	VPNGateway
}

VPNGatewaysCreateOrUpdateResult contains the result from method VPNGateways.CreateOrUpdate.

type VPNGatewaysDeletePoller

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

VPNGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNGatewaysDeletePoller) Done

func (p *VPNGatewaysDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VPNGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNGatewaysDeleteResponse will be returned.

func (*VPNGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNGatewaysDeletePoller) ResumeToken

func (p *VPNGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNGatewaysDeletePollerResponse

type VPNGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysDeletePollerResponse contains the response from method VPNGateways.Delete.

func (VPNGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNGatewaysDeletePollerResponse) Resume

Resume rehydrates a VPNGatewaysDeletePollerResponse from the provided client and resume token.

type VPNGatewaysDeleteResponse

type VPNGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysDeleteResponse contains the response from method VPNGateways.Delete.

type VPNGatewaysGetOptions

type VPNGatewaysGetOptions struct {
}

VPNGatewaysGetOptions contains the optional parameters for the VPNGateways.Get method.

type VPNGatewaysGetResponse

type VPNGatewaysGetResponse struct {
	VPNGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysGetResponse contains the response from method VPNGateways.Get.

type VPNGatewaysGetResult

type VPNGatewaysGetResult struct {
	VPNGateway
}

VPNGatewaysGetResult contains the result from method VPNGateways.Get.

type VPNGatewaysListByResourceGroupOptions

type VPNGatewaysListByResourceGroupOptions struct {
}

VPNGatewaysListByResourceGroupOptions contains the optional parameters for the VPNGateways.ListByResourceGroup method.

type VPNGatewaysListByResourceGroupPager

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

VPNGatewaysListByResourceGroupPager provides operations for iterating over paged responses.

func (*VPNGatewaysListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VPNGatewaysListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNGatewaysListByResourceGroupPager) PageResponse

PageResponse returns the current VPNGatewaysListByResourceGroupResponse page.

type VPNGatewaysListByResourceGroupResponse

type VPNGatewaysListByResourceGroupResponse struct {
	VPNGatewaysListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysListByResourceGroupResponse contains the response from method VPNGateways.ListByResourceGroup.

type VPNGatewaysListByResourceGroupResult

type VPNGatewaysListByResourceGroupResult struct {
	ListVPNGatewaysResult
}

VPNGatewaysListByResourceGroupResult contains the result from method VPNGateways.ListByResourceGroup.

type VPNGatewaysListOptions

type VPNGatewaysListOptions struct {
}

VPNGatewaysListOptions contains the optional parameters for the VPNGateways.List method.

type VPNGatewaysListPager

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

VPNGatewaysListPager provides operations for iterating over paged responses.

func (*VPNGatewaysListPager) Err

func (p *VPNGatewaysListPager) Err() error

Err returns the last error encountered while paging.

func (*VPNGatewaysListPager) NextPage

func (p *VPNGatewaysListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNGatewaysListPager) PageResponse

PageResponse returns the current VPNGatewaysListResponse page.

type VPNGatewaysListResponse

type VPNGatewaysListResponse struct {
	VPNGatewaysListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysListResponse contains the response from method VPNGateways.List.

type VPNGatewaysListResult

type VPNGatewaysListResult struct {
	ListVPNGatewaysResult
}

VPNGatewaysListResult contains the result from method VPNGateways.List.

type VPNGatewaysResetPoller

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

VPNGatewaysResetPoller provides polling facilities until the operation reaches a terminal state.

func (*VPNGatewaysResetPoller) Done

func (p *VPNGatewaysResetPoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VPNGatewaysResetPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNGatewaysResetResponse will be returned.

func (*VPNGatewaysResetPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNGatewaysResetPoller) ResumeToken

func (p *VPNGatewaysResetPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNGatewaysResetPollerResponse

type VPNGatewaysResetPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNGatewaysResetPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysResetPollerResponse contains the response from method VPNGateways.Reset.

func (VPNGatewaysResetPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNGatewaysResetPollerResponse) Resume

Resume rehydrates a VPNGatewaysResetPollerResponse from the provided client and resume token.

type VPNGatewaysResetResponse

type VPNGatewaysResetResponse struct {
	VPNGatewaysResetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysResetResponse contains the response from method VPNGateways.Reset.

type VPNGatewaysResetResult

type VPNGatewaysResetResult struct {
	VPNGateway
}

VPNGatewaysResetResult contains the result from method VPNGateways.Reset.

type VPNGatewaysStartPacketCapturePoller

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

VPNGatewaysStartPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNGatewaysStartPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNGatewaysStartPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNGatewaysStartPacketCaptureResponse will be returned.

func (*VPNGatewaysStartPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNGatewaysStartPacketCapturePoller) ResumeToken

func (p *VPNGatewaysStartPacketCapturePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNGatewaysStartPacketCapturePollerResponse

type VPNGatewaysStartPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNGatewaysStartPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysStartPacketCapturePollerResponse contains the response from method VPNGateways.StartPacketCapture.

func (VPNGatewaysStartPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNGatewaysStartPacketCapturePollerResponse) Resume

Resume rehydrates a VPNGatewaysStartPacketCapturePollerResponse from the provided client and resume token.

type VPNGatewaysStartPacketCaptureResponse

type VPNGatewaysStartPacketCaptureResponse struct {
	VPNGatewaysStartPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysStartPacketCaptureResponse contains the response from method VPNGateways.StartPacketCapture.

type VPNGatewaysStartPacketCaptureResult

type VPNGatewaysStartPacketCaptureResult struct {
	Value *string
}

VPNGatewaysStartPacketCaptureResult contains the result from method VPNGateways.StartPacketCapture.

type VPNGatewaysStopPacketCapturePoller

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

VPNGatewaysStopPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNGatewaysStopPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNGatewaysStopPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNGatewaysStopPacketCaptureResponse will be returned.

func (*VPNGatewaysStopPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNGatewaysStopPacketCapturePoller) ResumeToken

func (p *VPNGatewaysStopPacketCapturePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNGatewaysStopPacketCapturePollerResponse

type VPNGatewaysStopPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNGatewaysStopPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysStopPacketCapturePollerResponse contains the response from method VPNGateways.StopPacketCapture.

func (VPNGatewaysStopPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNGatewaysStopPacketCapturePollerResponse) Resume

Resume rehydrates a VPNGatewaysStopPacketCapturePollerResponse from the provided client and resume token.

type VPNGatewaysStopPacketCaptureResponse

type VPNGatewaysStopPacketCaptureResponse struct {
	VPNGatewaysStopPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysStopPacketCaptureResponse contains the response from method VPNGateways.StopPacketCapture.

type VPNGatewaysStopPacketCaptureResult

type VPNGatewaysStopPacketCaptureResult struct {
	Value *string
}

VPNGatewaysStopPacketCaptureResult contains the result from method VPNGateways.StopPacketCapture.

type VPNGatewaysUpdateTagsPoller

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

VPNGatewaysUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*VPNGatewaysUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNGatewaysUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNGatewaysUpdateTagsResponse will be returned.

func (*VPNGatewaysUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNGatewaysUpdateTagsPoller) ResumeToken

func (p *VPNGatewaysUpdateTagsPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNGatewaysUpdateTagsPollerResponse

type VPNGatewaysUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNGatewaysUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysUpdateTagsPollerResponse contains the response from method VPNGateways.UpdateTags.

func (VPNGatewaysUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNGatewaysUpdateTagsPollerResponse) Resume

Resume rehydrates a VPNGatewaysUpdateTagsPollerResponse from the provided client and resume token.

type VPNGatewaysUpdateTagsResponse

type VPNGatewaysUpdateTagsResponse struct {
	VPNGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNGatewaysUpdateTagsResponse contains the response from method VPNGateways.UpdateTags.

type VPNGatewaysUpdateTagsResult

type VPNGatewaysUpdateTagsResult struct {
	VPNGateway
}

VPNGatewaysUpdateTagsResult contains the result from method VPNGateways.UpdateTags.

type VPNLinkBgpSettings

type VPNLinkBgpSettings struct {
	// The BGP speaker's ASN.
	Asn *int64 `json:"asn,omitempty"`

	// The BGP peering address and BGP identifier of this BGP speaker.
	BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"`
}

VPNLinkBgpSettings - BGP settings details for a link.

type VPNLinkConnectionMode

type VPNLinkConnectionMode string

VPNLinkConnectionMode - Vpn link connection mode.

const (
	VPNLinkConnectionModeDefault       VPNLinkConnectionMode = "Default"
	VPNLinkConnectionModeInitiatorOnly VPNLinkConnectionMode = "InitiatorOnly"
	VPNLinkConnectionModeResponderOnly VPNLinkConnectionMode = "ResponderOnly"
)

func PossibleVPNLinkConnectionModeValues

func PossibleVPNLinkConnectionModeValues() []VPNLinkConnectionMode

PossibleVPNLinkConnectionModeValues returns the possible values for the VPNLinkConnectionMode const type.

func (VPNLinkConnectionMode) ToPtr

ToPtr returns a *VPNLinkConnectionMode pointing to the current value.

type VPNLinkConnectionsBeginGetIkeSasOptions

type VPNLinkConnectionsBeginGetIkeSasOptions struct {
}

VPNLinkConnectionsBeginGetIkeSasOptions contains the optional parameters for the VPNLinkConnections.BeginGetIkeSas method.

type VPNLinkConnectionsBeginResetConnectionOptions

type VPNLinkConnectionsBeginResetConnectionOptions struct {
}

VPNLinkConnectionsBeginResetConnectionOptions contains the optional parameters for the VPNLinkConnections.BeginResetConnection method.

type VPNLinkConnectionsClient

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

VPNLinkConnectionsClient contains the methods for the VPNLinkConnections group. Don't use this type directly, use NewVPNLinkConnectionsClient() instead.

func NewVPNLinkConnectionsClient

func NewVPNLinkConnectionsClient(con *arm.Connection, subscriptionID string) *VPNLinkConnectionsClient

NewVPNLinkConnectionsClient creates a new instance of VPNLinkConnectionsClient with the specified values.

func (*VPNLinkConnectionsClient) BeginGetIkeSas

func (client *VPNLinkConnectionsClient) BeginGetIkeSas(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string, options *VPNLinkConnectionsBeginGetIkeSasOptions) (VPNLinkConnectionsGetIkeSasPollerResponse, error)

BeginGetIkeSas - Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. If the operation fails it returns the *ErrorResponse error type.

func (*VPNLinkConnectionsClient) BeginResetConnection

func (client *VPNLinkConnectionsClient) BeginResetConnection(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string, options *VPNLinkConnectionsBeginResetConnectionOptions) (VPNLinkConnectionsResetConnectionPollerResponse, error)

BeginResetConnection - Resets the VpnLink connection specified. If the operation fails it returns the *ErrorResponse error type.

func (*VPNLinkConnectionsClient) ListByVPNConnection

func (client *VPNLinkConnectionsClient) ListByVPNConnection(resourceGroupName string, gatewayName string, connectionName string, options *VPNLinkConnectionsListByVPNConnectionOptions) *VPNLinkConnectionsListByVPNConnectionPager

ListByVPNConnection - Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. If the operation fails it returns the *CloudError error type.

type VPNLinkConnectionsGetIkeSasPoller

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

VPNLinkConnectionsGetIkeSasPoller provides polling facilities until the operation reaches a terminal state.

func (*VPNLinkConnectionsGetIkeSasPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNLinkConnectionsGetIkeSasPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNLinkConnectionsGetIkeSasResponse will be returned.

func (*VPNLinkConnectionsGetIkeSasPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNLinkConnectionsGetIkeSasPoller) ResumeToken

func (p *VPNLinkConnectionsGetIkeSasPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNLinkConnectionsGetIkeSasPollerResponse

type VPNLinkConnectionsGetIkeSasPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNLinkConnectionsGetIkeSasPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNLinkConnectionsGetIkeSasPollerResponse contains the response from method VPNLinkConnections.GetIkeSas.

func (VPNLinkConnectionsGetIkeSasPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNLinkConnectionsGetIkeSasPollerResponse) Resume

Resume rehydrates a VPNLinkConnectionsGetIkeSasPollerResponse from the provided client and resume token.

type VPNLinkConnectionsGetIkeSasResponse

type VPNLinkConnectionsGetIkeSasResponse struct {
	VPNLinkConnectionsGetIkeSasResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNLinkConnectionsGetIkeSasResponse contains the response from method VPNLinkConnections.GetIkeSas.

type VPNLinkConnectionsGetIkeSasResult

type VPNLinkConnectionsGetIkeSasResult struct {
	Value *string
}

VPNLinkConnectionsGetIkeSasResult contains the result from method VPNLinkConnections.GetIkeSas.

type VPNLinkConnectionsListByVPNConnectionOptions

type VPNLinkConnectionsListByVPNConnectionOptions struct {
}

VPNLinkConnectionsListByVPNConnectionOptions contains the optional parameters for the VPNLinkConnections.ListByVPNConnection method.

type VPNLinkConnectionsListByVPNConnectionPager

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

VPNLinkConnectionsListByVPNConnectionPager provides operations for iterating over paged responses.

func (*VPNLinkConnectionsListByVPNConnectionPager) Err

Err returns the last error encountered while paging.

func (*VPNLinkConnectionsListByVPNConnectionPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNLinkConnectionsListByVPNConnectionPager) PageResponse

PageResponse returns the current VPNLinkConnectionsListByVPNConnectionResponse page.

type VPNLinkConnectionsListByVPNConnectionResponse

type VPNLinkConnectionsListByVPNConnectionResponse struct {
	VPNLinkConnectionsListByVPNConnectionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNLinkConnectionsListByVPNConnectionResponse contains the response from method VPNLinkConnections.ListByVPNConnection.

type VPNLinkConnectionsListByVPNConnectionResult

type VPNLinkConnectionsListByVPNConnectionResult struct {
	ListVPNSiteLinkConnectionsResult
}

VPNLinkConnectionsListByVPNConnectionResult contains the result from method VPNLinkConnections.ListByVPNConnection.

type VPNLinkConnectionsResetConnectionPoller

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

VPNLinkConnectionsResetConnectionPoller provides polling facilities until the operation reaches a terminal state.

func (*VPNLinkConnectionsResetConnectionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNLinkConnectionsResetConnectionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNLinkConnectionsResetConnectionResponse will be returned.

func (*VPNLinkConnectionsResetConnectionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNLinkConnectionsResetConnectionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNLinkConnectionsResetConnectionPollerResponse

type VPNLinkConnectionsResetConnectionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNLinkConnectionsResetConnectionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNLinkConnectionsResetConnectionPollerResponse contains the response from method VPNLinkConnections.ResetConnection.

func (VPNLinkConnectionsResetConnectionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNLinkConnectionsResetConnectionPollerResponse) Resume

Resume rehydrates a VPNLinkConnectionsResetConnectionPollerResponse from the provided client and resume token.

type VPNLinkConnectionsResetConnectionResponse

type VPNLinkConnectionsResetConnectionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNLinkConnectionsResetConnectionResponse contains the response from method VPNLinkConnections.ResetConnection.

type VPNLinkProviderProperties

type VPNLinkProviderProperties struct {
	// Name of the link provider.
	LinkProviderName *string `json:"linkProviderName,omitempty"`

	// Link speed.
	LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"`
}

VPNLinkProviderProperties - List of properties of a link provider.

type VPNNatRuleMapping

type VPNNatRuleMapping struct {
	// Address space for Vpn NatRule mapping.
	AddressSpace *string `json:"addressSpace,omitempty"`
}

VPNNatRuleMapping - Vpn NatRule mapping.

type VPNNatRuleMode

type VPNNatRuleMode string

VPNNatRuleMode - The Source NAT direction of a VPN NAT.

const (
	VPNNatRuleModeEgressSnat  VPNNatRuleMode = "EgressSnat"
	VPNNatRuleModeIngressSnat VPNNatRuleMode = "IngressSnat"
)

func PossibleVPNNatRuleModeValues

func PossibleVPNNatRuleModeValues() []VPNNatRuleMode

PossibleVPNNatRuleModeValues returns the possible values for the VPNNatRuleMode const type.

func (VPNNatRuleMode) ToPtr

func (c VPNNatRuleMode) ToPtr() *VPNNatRuleMode

ToPtr returns a *VPNNatRuleMode pointing to the current value.

type VPNNatRuleType

type VPNNatRuleType string

VPNNatRuleType - The type of NAT rule for VPN NAT.

const (
	VPNNatRuleTypeDynamic VPNNatRuleType = "Dynamic"
	VPNNatRuleTypeStatic  VPNNatRuleType = "Static"
)

func PossibleVPNNatRuleTypeValues

func PossibleVPNNatRuleTypeValues() []VPNNatRuleType

PossibleVPNNatRuleTypeValues returns the possible values for the VPNNatRuleType const type.

func (VPNNatRuleType) ToPtr

func (c VPNNatRuleType) ToPtr() *VPNNatRuleType

ToPtr returns a *VPNNatRuleType pointing to the current value.

type VPNPacketCaptureStartParameters

type VPNPacketCaptureStartParameters struct {
	// Start Packet capture parameters.
	FilterData *string `json:"filterData,omitempty"`
}

VPNPacketCaptureStartParameters - Start packet capture parameters on virtual network gateway.

type VPNPacketCaptureStopParameters

type VPNPacketCaptureStopParameters struct {
	// SAS url for packet capture on virtual network gateway.
	SasURL *string `json:"sasUrl,omitempty"`
}

VPNPacketCaptureStopParameters - Stop packet capture parameters.

type VPNProfileResponse

type VPNProfileResponse struct {
	// URL to the VPN profile.
	ProfileURL *string `json:"profileUrl,omitempty"`
}

VPNProfileResponse - Vpn Profile Response for package generation.

type VPNServerConfigRadiusClientRootCertificate

type VPNServerConfigRadiusClientRootCertificate struct {
	// The certificate name.
	Name *string `json:"name,omitempty"`

	// The Radius client root certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

VPNServerConfigRadiusClientRootCertificate - Properties of the Radius client root certificate of VpnServerConfiguration.

type VPNServerConfigRadiusServerRootCertificate

type VPNServerConfigRadiusServerRootCertificate struct {
	// The certificate name.
	Name *string `json:"name,omitempty"`

	// The certificate public data.
	PublicCertData *string `json:"publicCertData,omitempty"`
}

VPNServerConfigRadiusServerRootCertificate - Properties of Radius Server root certificate of VpnServerConfiguration.

type VPNServerConfigVPNClientRevokedCertificate

type VPNServerConfigVPNClientRevokedCertificate struct {
	// The certificate name.
	Name *string `json:"name,omitempty"`

	// The revoked VPN client certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

VPNServerConfigVPNClientRevokedCertificate - Properties of the revoked VPN client certificate of VpnServerConfiguration.

type VPNServerConfigVPNClientRootCertificate

type VPNServerConfigVPNClientRootCertificate struct {
	// The certificate name.
	Name *string `json:"name,omitempty"`

	// The certificate public data.
	PublicCertData *string `json:"publicCertData,omitempty"`
}

VPNServerConfigVPNClientRootCertificate - Properties of VPN client root certificate of VpnServerConfiguration.

type VPNServerConfiguration

type VPNServerConfiguration struct {
	Resource
	// Properties of the P2SVpnServer configuration.
	Properties *VPNServerConfigurationProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VPNServerConfiguration - VpnServerConfiguration Resource.

func (VPNServerConfiguration) MarshalJSON

func (v VPNServerConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNServerConfiguration.

type VPNServerConfigurationProperties

type VPNServerConfigurationProperties struct {
	// The set of aad vpn authentication parameters.
	AADAuthenticationParameters *AADAuthenticationParameters `json:"aadAuthenticationParameters,omitempty"`

	// The name of the VpnServerConfiguration that is unique within a resource group.
	Name *string `json:"name,omitempty"`

	// Radius client root certificate of VpnServerConfiguration.
	RadiusClientRootCertificates []*VPNServerConfigRadiusClientRootCertificate `json:"radiusClientRootCertificates,omitempty"`

	// The radius server address property of the VpnServerConfiguration resource for point to site client connection.
	RadiusServerAddress *string `json:"radiusServerAddress,omitempty"`

	// Radius Server root certificate of VpnServerConfiguration.
	RadiusServerRootCertificates []*VPNServerConfigRadiusServerRootCertificate `json:"radiusServerRootCertificates,omitempty"`

	// The radius secret property of the VpnServerConfiguration resource for point to site client connection.
	RadiusServerSecret *string `json:"radiusServerSecret,omitempty"`

	// Multiple Radius Server configuration for VpnServerConfiguration.
	RadiusServers []*RadiusServer `json:"radiusServers,omitempty"`

	// VPN authentication types for the VpnServerConfiguration.
	VPNAuthenticationTypes []*VPNAuthenticationType `json:"vpnAuthenticationTypes,omitempty"`

	// VpnClientIpsecPolicies for VpnServerConfiguration.
	VPNClientIPSecPolicies []*IPSecPolicy `json:"vpnClientIpsecPolicies,omitempty"`

	// VPN client revoked certificate of VpnServerConfiguration.
	VPNClientRevokedCertificates []*VPNServerConfigVPNClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"`

	// VPN client root certificate of VpnServerConfiguration.
	VPNClientRootCertificates []*VPNServerConfigVPNClientRootCertificate `json:"vpnClientRootCertificates,omitempty"`

	// VPN protocols for the VpnServerConfiguration.
	VPNProtocols []*VPNGatewayTunnelingProtocol `json:"vpnProtocols,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; List of references to P2SVpnGateways.
	P2SVPNGateways []*P2SVPNGateway `json:"p2SVpnGateways,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
}

VPNServerConfigurationProperties - Parameters for VpnServerConfiguration.

func (VPNServerConfigurationProperties) MarshalJSON

func (v VPNServerConfigurationProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNServerConfigurationProperties.

type VPNServerConfigurationsAssociatedWithVirtualWanBeginListOptions

type VPNServerConfigurationsAssociatedWithVirtualWanBeginListOptions struct {
}

VPNServerConfigurationsAssociatedWithVirtualWanBeginListOptions contains the optional parameters for the VPNServerConfigurationsAssociatedWithVirtualWan.BeginList method.

type VPNServerConfigurationsAssociatedWithVirtualWanClient

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

VPNServerConfigurationsAssociatedWithVirtualWanClient contains the methods for the VPNServerConfigurationsAssociatedWithVirtualWan group. Don't use this type directly, use NewVPNServerConfigurationsAssociatedWithVirtualWanClient() instead.

func NewVPNServerConfigurationsAssociatedWithVirtualWanClient

func NewVPNServerConfigurationsAssociatedWithVirtualWanClient(con *arm.Connection, subscriptionID string) *VPNServerConfigurationsAssociatedWithVirtualWanClient

NewVPNServerConfigurationsAssociatedWithVirtualWanClient creates a new instance of VPNServerConfigurationsAssociatedWithVirtualWanClient with the specified values.

func (*VPNServerConfigurationsAssociatedWithVirtualWanClient) BeginList

BeginList - Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. If the operation fails it returns the *CloudError error type.

type VPNServerConfigurationsAssociatedWithVirtualWanListPoller

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

VPNServerConfigurationsAssociatedWithVirtualWanListPoller provides polling facilities until the operation reaches a terminal state.

func (*VPNServerConfigurationsAssociatedWithVirtualWanListPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNServerConfigurationsAssociatedWithVirtualWanListPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNServerConfigurationsAssociatedWithVirtualWanListResponse will be returned.

func (*VPNServerConfigurationsAssociatedWithVirtualWanListPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNServerConfigurationsAssociatedWithVirtualWanListPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNServerConfigurationsAssociatedWithVirtualWanListPollerResponse

type VPNServerConfigurationsAssociatedWithVirtualWanListPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNServerConfigurationsAssociatedWithVirtualWanListPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsAssociatedWithVirtualWanListPollerResponse contains the response from method VPNServerConfigurationsAssociatedWithVirtualWan.List.

func (VPNServerConfigurationsAssociatedWithVirtualWanListPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNServerConfigurationsAssociatedWithVirtualWanListPollerResponse) Resume

Resume rehydrates a VPNServerConfigurationsAssociatedWithVirtualWanListPollerResponse from the provided client and resume token.

type VPNServerConfigurationsAssociatedWithVirtualWanListResponse

type VPNServerConfigurationsAssociatedWithVirtualWanListResponse struct {
	VPNServerConfigurationsAssociatedWithVirtualWanListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsAssociatedWithVirtualWanListResponse contains the response from method VPNServerConfigurationsAssociatedWithVirtualWan.List.

type VPNServerConfigurationsAssociatedWithVirtualWanListResult

type VPNServerConfigurationsAssociatedWithVirtualWanListResult struct {
	VPNServerConfigurationsResponse
}

VPNServerConfigurationsAssociatedWithVirtualWanListResult contains the result from method VPNServerConfigurationsAssociatedWithVirtualWan.List.

type VPNServerConfigurationsBeginCreateOrUpdateOptions

type VPNServerConfigurationsBeginCreateOrUpdateOptions struct {
}

VPNServerConfigurationsBeginCreateOrUpdateOptions contains the optional parameters for the VPNServerConfigurations.BeginCreateOrUpdate method.

type VPNServerConfigurationsBeginDeleteOptions

type VPNServerConfigurationsBeginDeleteOptions struct {
}

VPNServerConfigurationsBeginDeleteOptions contains the optional parameters for the VPNServerConfigurations.BeginDelete method.

type VPNServerConfigurationsClient

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

VPNServerConfigurationsClient contains the methods for the VPNServerConfigurations group. Don't use this type directly, use NewVPNServerConfigurationsClient() instead.

func NewVPNServerConfigurationsClient

func NewVPNServerConfigurationsClient(con *arm.Connection, subscriptionID string) *VPNServerConfigurationsClient

NewVPNServerConfigurationsClient creates a new instance of VPNServerConfigurationsClient with the specified values.

func (*VPNServerConfigurationsClient) BeginCreateOrUpdate

func (client *VPNServerConfigurationsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters VPNServerConfiguration, options *VPNServerConfigurationsBeginCreateOrUpdateOptions) (VPNServerConfigurationsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. If the operation fails it returns the *CloudError error type.

func (*VPNServerConfigurationsClient) BeginDelete

func (client *VPNServerConfigurationsClient) BeginDelete(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, options *VPNServerConfigurationsBeginDeleteOptions) (VPNServerConfigurationsDeletePollerResponse, error)

BeginDelete - Deletes a VpnServerConfiguration. If the operation fails it returns the *CloudError error type.

func (*VPNServerConfigurationsClient) Get

func (client *VPNServerConfigurationsClient) Get(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, options *VPNServerConfigurationsGetOptions) (VPNServerConfigurationsGetResponse, error)

Get - Retrieves the details of a VpnServerConfiguration. If the operation fails it returns the *CloudError error type.

func (*VPNServerConfigurationsClient) List

List - Lists all the VpnServerConfigurations in a subscription. If the operation fails it returns the *CloudError error type.

func (*VPNServerConfigurationsClient) ListByResourceGroup

ListByResourceGroup - Lists all the vpnServerConfigurations in a resource group. If the operation fails it returns the *CloudError error type.

func (*VPNServerConfigurationsClient) UpdateTags

func (client *VPNServerConfigurationsClient) UpdateTags(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters TagsObject, options *VPNServerConfigurationsUpdateTagsOptions) (VPNServerConfigurationsUpdateTagsResponse, error)

UpdateTags - Updates VpnServerConfiguration tags. If the operation fails it returns the *CloudError error type.

type VPNServerConfigurationsCreateOrUpdatePoller

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

VPNServerConfigurationsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNServerConfigurationsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNServerConfigurationsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNServerConfigurationsCreateOrUpdateResponse will be returned.

func (*VPNServerConfigurationsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNServerConfigurationsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNServerConfigurationsCreateOrUpdatePollerResponse

type VPNServerConfigurationsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNServerConfigurationsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsCreateOrUpdatePollerResponse contains the response from method VPNServerConfigurations.CreateOrUpdate.

func (VPNServerConfigurationsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNServerConfigurationsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VPNServerConfigurationsCreateOrUpdatePollerResponse from the provided client and resume token.

type VPNServerConfigurationsCreateOrUpdateResponse

type VPNServerConfigurationsCreateOrUpdateResponse struct {
	VPNServerConfigurationsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsCreateOrUpdateResponse contains the response from method VPNServerConfigurations.CreateOrUpdate.

type VPNServerConfigurationsCreateOrUpdateResult

type VPNServerConfigurationsCreateOrUpdateResult struct {
	VPNServerConfiguration
}

VPNServerConfigurationsCreateOrUpdateResult contains the result from method VPNServerConfigurations.CreateOrUpdate.

type VPNServerConfigurationsDeletePoller

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

VPNServerConfigurationsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNServerConfigurationsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNServerConfigurationsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNServerConfigurationsDeleteResponse will be returned.

func (*VPNServerConfigurationsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNServerConfigurationsDeletePoller) ResumeToken

func (p *VPNServerConfigurationsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNServerConfigurationsDeletePollerResponse

type VPNServerConfigurationsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNServerConfigurationsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsDeletePollerResponse contains the response from method VPNServerConfigurations.Delete.

func (VPNServerConfigurationsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNServerConfigurationsDeletePollerResponse) Resume

Resume rehydrates a VPNServerConfigurationsDeletePollerResponse from the provided client and resume token.

type VPNServerConfigurationsDeleteResponse

type VPNServerConfigurationsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsDeleteResponse contains the response from method VPNServerConfigurations.Delete.

type VPNServerConfigurationsGetOptions

type VPNServerConfigurationsGetOptions struct {
}

VPNServerConfigurationsGetOptions contains the optional parameters for the VPNServerConfigurations.Get method.

type VPNServerConfigurationsGetResponse

type VPNServerConfigurationsGetResponse struct {
	VPNServerConfigurationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsGetResponse contains the response from method VPNServerConfigurations.Get.

type VPNServerConfigurationsGetResult

type VPNServerConfigurationsGetResult struct {
	VPNServerConfiguration
}

VPNServerConfigurationsGetResult contains the result from method VPNServerConfigurations.Get.

type VPNServerConfigurationsListByResourceGroupOptions

type VPNServerConfigurationsListByResourceGroupOptions struct {
}

VPNServerConfigurationsListByResourceGroupOptions contains the optional parameters for the VPNServerConfigurations.ListByResourceGroup method.

type VPNServerConfigurationsListByResourceGroupPager

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

VPNServerConfigurationsListByResourceGroupPager provides operations for iterating over paged responses.

func (*VPNServerConfigurationsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VPNServerConfigurationsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNServerConfigurationsListByResourceGroupPager) PageResponse

PageResponse returns the current VPNServerConfigurationsListByResourceGroupResponse page.

type VPNServerConfigurationsListByResourceGroupResponse

type VPNServerConfigurationsListByResourceGroupResponse struct {
	VPNServerConfigurationsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsListByResourceGroupResponse contains the response from method VPNServerConfigurations.ListByResourceGroup.

type VPNServerConfigurationsListByResourceGroupResult

type VPNServerConfigurationsListByResourceGroupResult struct {
	ListVPNServerConfigurationsResult
}

VPNServerConfigurationsListByResourceGroupResult contains the result from method VPNServerConfigurations.ListByResourceGroup.

type VPNServerConfigurationsListOptions

type VPNServerConfigurationsListOptions struct {
}

VPNServerConfigurationsListOptions contains the optional parameters for the VPNServerConfigurations.List method.

type VPNServerConfigurationsListPager

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

VPNServerConfigurationsListPager provides operations for iterating over paged responses.

func (*VPNServerConfigurationsListPager) Err

Err returns the last error encountered while paging.

func (*VPNServerConfigurationsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNServerConfigurationsListPager) PageResponse

PageResponse returns the current VPNServerConfigurationsListResponse page.

type VPNServerConfigurationsListResponse

type VPNServerConfigurationsListResponse struct {
	VPNServerConfigurationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsListResponse contains the response from method VPNServerConfigurations.List.

type VPNServerConfigurationsListResult

type VPNServerConfigurationsListResult struct {
	ListVPNServerConfigurationsResult
}

VPNServerConfigurationsListResult contains the result from method VPNServerConfigurations.List.

type VPNServerConfigurationsResponse

type VPNServerConfigurationsResponse struct {
	// List of VpnServerConfigurations associated with VirtualWan.
	VPNServerConfigurationResourceIDs []*string `json:"vpnServerConfigurationResourceIds,omitempty"`
}

VPNServerConfigurationsResponse - VpnServerConfigurations list associated with VirtualWan Response.

func (VPNServerConfigurationsResponse) MarshalJSON

func (v VPNServerConfigurationsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNServerConfigurationsResponse.

type VPNServerConfigurationsUpdateTagsOptions

type VPNServerConfigurationsUpdateTagsOptions struct {
}

VPNServerConfigurationsUpdateTagsOptions contains the optional parameters for the VPNServerConfigurations.UpdateTags method.

type VPNServerConfigurationsUpdateTagsResponse

type VPNServerConfigurationsUpdateTagsResponse struct {
	VPNServerConfigurationsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNServerConfigurationsUpdateTagsResponse contains the response from method VPNServerConfigurations.UpdateTags.

type VPNServerConfigurationsUpdateTagsResult

type VPNServerConfigurationsUpdateTagsResult struct {
	VPNServerConfiguration
}

VPNServerConfigurationsUpdateTagsResult contains the result from method VPNServerConfigurations.UpdateTags.

type VPNSite

type VPNSite struct {
	Resource
	// Properties of the VPN site.
	Properties *VPNSiteProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VPNSite - VpnSite Resource.

func (VPNSite) MarshalJSON

func (v VPNSite) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNSite.

type VPNSiteID

type VPNSiteID struct {
	// READ-ONLY; The resource-uri of the vpn-site for which config is to be fetched.
	VPNSite *string `json:"vpnSite,omitempty" azure:"ro"`
}

VPNSiteID - VpnSite Resource.

type VPNSiteLink struct {
	SubResource
	// 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"`

	// Properties of the VPN site link.
	Properties *VPNSiteLinkProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VPNSiteLink - VpnSiteLink Resource.

func (VPNSiteLink) MarshalJSON

func (v VPNSiteLink) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNSiteLink.

type VPNSiteLinkConnection

type VPNSiteLinkConnection struct {
	SubResource
	// 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"`

	// Properties of the VPN site link connection.
	Properties *VPNSiteLinkConnectionProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VPNSiteLinkConnection - VpnSiteLinkConnection Resource.

func (VPNSiteLinkConnection) MarshalJSON

func (v VPNSiteLinkConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNSiteLinkConnection.

type VPNSiteLinkConnectionProperties

type VPNSiteLinkConnectionProperties struct {
	// Expected bandwidth in MBPS.
	ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"`

	// List of egress NatRules.
	EgressNatRules []*SubResource `json:"egressNatRules,omitempty"`

	// EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`

	// EnableBgp flag.
	EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"`

	// The IPSec Policies to be considered by this connection.
	IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"`

	// List of ingress NatRules.
	IngressNatRules []*SubResource `json:"ingressNatRules,omitempty"`

	// Routing weight for vpn connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`

	// SharedKey for the vpn connection.
	SharedKey *string `json:"sharedKey,omitempty"`

	// Use local azure ip to initiate connection.
	UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"`

	// Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`

	// Connection protocol used for this connection.
	VPNConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"`

	// Vpn link connection mode.
	VPNLinkConnectionMode *VPNLinkConnectionMode `json:"vpnLinkConnectionMode,omitempty"`

	// Id of the connected vpn site link.
	VPNSiteLink *SubResource `json:"vpnSiteLink,omitempty"`

	// READ-ONLY; The connection status.
	ConnectionStatus *VPNConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; Egress bytes transferred.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; Ingress bytes transferred.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the VPN site link connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNSiteLinkConnectionProperties - Parameters for VpnConnection.

func (VPNSiteLinkConnectionProperties) MarshalJSON

func (v VPNSiteLinkConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNSiteLinkConnectionProperties.

type VPNSiteLinkConnectionsClient

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

VPNSiteLinkConnectionsClient contains the methods for the VPNSiteLinkConnections group. Don't use this type directly, use NewVPNSiteLinkConnectionsClient() instead.

func NewVPNSiteLinkConnectionsClient

func NewVPNSiteLinkConnectionsClient(con *arm.Connection, subscriptionID string) *VPNSiteLinkConnectionsClient

NewVPNSiteLinkConnectionsClient creates a new instance of VPNSiteLinkConnectionsClient with the specified values.

func (*VPNSiteLinkConnectionsClient) Get

func (client *VPNSiteLinkConnectionsClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string, options *VPNSiteLinkConnectionsGetOptions) (VPNSiteLinkConnectionsGetResponse, error)

Get - Retrieves the details of a vpn site link connection. If the operation fails it returns the *CloudError error type.

type VPNSiteLinkConnectionsGetOptions

type VPNSiteLinkConnectionsGetOptions struct {
}

VPNSiteLinkConnectionsGetOptions contains the optional parameters for the VPNSiteLinkConnections.Get method.

type VPNSiteLinkConnectionsGetResponse

type VPNSiteLinkConnectionsGetResponse struct {
	VPNSiteLinkConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSiteLinkConnectionsGetResponse contains the response from method VPNSiteLinkConnections.Get.

type VPNSiteLinkConnectionsGetResult

type VPNSiteLinkConnectionsGetResult struct {
	VPNSiteLinkConnection
}

VPNSiteLinkConnectionsGetResult contains the result from method VPNSiteLinkConnections.Get.

type VPNSiteLinkProperties

type VPNSiteLinkProperties struct {
	// The set of bgp properties.
	BgpProperties *VPNLinkBgpSettings `json:"bgpProperties,omitempty"`

	// FQDN of vpn-site-link.
	Fqdn *string `json:"fqdn,omitempty"`

	// The ip-address for the vpn-site-link.
	IPAddress *string `json:"ipAddress,omitempty"`

	// The link provider properties.
	LinkProperties *VPNLinkProviderProperties `json:"linkProperties,omitempty"`

	// READ-ONLY; The provisioning state of the VPN site link resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNSiteLinkProperties - Parameters for VpnSite.

type VPNSiteLinksClient

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

VPNSiteLinksClient contains the methods for the VPNSiteLinks group. Don't use this type directly, use NewVPNSiteLinksClient() instead.

func NewVPNSiteLinksClient

func NewVPNSiteLinksClient(con *arm.Connection, subscriptionID string) *VPNSiteLinksClient

NewVPNSiteLinksClient creates a new instance of VPNSiteLinksClient with the specified values.

func (*VPNSiteLinksClient) Get

func (client *VPNSiteLinksClient) Get(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string, options *VPNSiteLinksGetOptions) (VPNSiteLinksGetResponse, error)

Get - Retrieves the details of a VPN site link. If the operation fails it returns the *CloudError error type.

func (*VPNSiteLinksClient) ListByVPNSite

func (client *VPNSiteLinksClient) ListByVPNSite(resourceGroupName string, vpnSiteName string, options *VPNSiteLinksListByVPNSiteOptions) *VPNSiteLinksListByVPNSitePager

ListByVPNSite - Lists all the vpnSiteLinks in a resource group for a vpn site. If the operation fails it returns the *CloudError error type.

type VPNSiteLinksGetOptions

type VPNSiteLinksGetOptions struct {
}

VPNSiteLinksGetOptions contains the optional parameters for the VPNSiteLinks.Get method.

type VPNSiteLinksGetResponse

type VPNSiteLinksGetResponse struct {
	VPNSiteLinksGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSiteLinksGetResponse contains the response from method VPNSiteLinks.Get.

type VPNSiteLinksGetResult

type VPNSiteLinksGetResult struct {
	VPNSiteLink
}

VPNSiteLinksGetResult contains the result from method VPNSiteLinks.Get.

type VPNSiteLinksListByVPNSiteOptions

type VPNSiteLinksListByVPNSiteOptions struct {
}

VPNSiteLinksListByVPNSiteOptions contains the optional parameters for the VPNSiteLinks.ListByVPNSite method.

type VPNSiteLinksListByVPNSitePager

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

VPNSiteLinksListByVPNSitePager provides operations for iterating over paged responses.

func (*VPNSiteLinksListByVPNSitePager) Err

Err returns the last error encountered while paging.

func (*VPNSiteLinksListByVPNSitePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNSiteLinksListByVPNSitePager) PageResponse

PageResponse returns the current VPNSiteLinksListByVPNSiteResponse page.

type VPNSiteLinksListByVPNSiteResponse

type VPNSiteLinksListByVPNSiteResponse struct {
	VPNSiteLinksListByVPNSiteResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSiteLinksListByVPNSiteResponse contains the response from method VPNSiteLinks.ListByVPNSite.

type VPNSiteLinksListByVPNSiteResult

type VPNSiteLinksListByVPNSiteResult struct {
	ListVPNSiteLinksResult
}

VPNSiteLinksListByVPNSiteResult contains the result from method VPNSiteLinks.ListByVPNSite.

type VPNSiteProperties

type VPNSiteProperties struct {
	// The AddressSpace that contains an array of IP address ranges.
	AddressSpace *AddressSpace `json:"addressSpace,omitempty"`

	// The set of bgp properties.
	BgpProperties *BgpSettings `json:"bgpProperties,omitempty"`

	// The device properties.
	DeviceProperties *DeviceProperties `json:"deviceProperties,omitempty"`

	// The ip-address for the vpn-site.
	IPAddress *string `json:"ipAddress,omitempty"`

	// IsSecuritySite flag.
	IsSecuritySite *bool `json:"isSecuritySite,omitempty"`

	// Office365 Policy.
	O365Policy *O365PolicyProperties `json:"o365Policy,omitempty"`

	// The key for vpn-site that can be used for connections.
	SiteKey *string `json:"siteKey,omitempty"`

	// List of all vpn site links.
	VPNSiteLinks []*VPNSiteLink `json:"vpnSiteLinks,omitempty"`

	// The VirtualWAN to which the vpnSite belongs.
	VirtualWan *SubResource `json:"virtualWan,omitempty"`

	// READ-ONLY; The provisioning state of the VPN site resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VPNSiteProperties - Parameters for VpnSite.

func (VPNSiteProperties) MarshalJSON

func (v VPNSiteProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VPNSiteProperties.

type VPNSitesBeginCreateOrUpdateOptions

type VPNSitesBeginCreateOrUpdateOptions struct {
}

VPNSitesBeginCreateOrUpdateOptions contains the optional parameters for the VPNSites.BeginCreateOrUpdate method.

type VPNSitesBeginDeleteOptions

type VPNSitesBeginDeleteOptions struct {
}

VPNSitesBeginDeleteOptions contains the optional parameters for the VPNSites.BeginDelete method.

type VPNSitesClient

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

VPNSitesClient contains the methods for the VPNSites group. Don't use this type directly, use NewVPNSitesClient() instead.

func NewVPNSitesClient

func NewVPNSitesClient(con *arm.Connection, subscriptionID string) *VPNSitesClient

NewVPNSitesClient creates a new instance of VPNSitesClient with the specified values.

func (*VPNSitesClient) BeginCreateOrUpdate

func (client *VPNSitesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VPNSite, options *VPNSitesBeginCreateOrUpdateOptions) (VPNSitesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. If the operation fails it returns the *CloudError error type.

func (*VPNSitesClient) BeginDelete

func (client *VPNSitesClient) BeginDelete(ctx context.Context, resourceGroupName string, vpnSiteName string, options *VPNSitesBeginDeleteOptions) (VPNSitesDeletePollerResponse, error)

BeginDelete - Deletes a VpnSite. If the operation fails it returns the *CloudError error type.

func (*VPNSitesClient) Get

func (client *VPNSitesClient) Get(ctx context.Context, resourceGroupName string, vpnSiteName string, options *VPNSitesGetOptions) (VPNSitesGetResponse, error)

Get - Retrieves the details of a VPN site. If the operation fails it returns the *CloudError error type.

func (*VPNSitesClient) List

func (client *VPNSitesClient) List(options *VPNSitesListOptions) *VPNSitesListPager

List - Lists all the VpnSites in a subscription. If the operation fails it returns the *CloudError error type.

func (*VPNSitesClient) ListByResourceGroup

func (client *VPNSitesClient) ListByResourceGroup(resourceGroupName string, options *VPNSitesListByResourceGroupOptions) *VPNSitesListByResourceGroupPager

ListByResourceGroup - Lists all the vpnSites in a resource group. If the operation fails it returns the *CloudError error type.

func (*VPNSitesClient) UpdateTags

func (client *VPNSitesClient) UpdateTags(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters TagsObject, options *VPNSitesUpdateTagsOptions) (VPNSitesUpdateTagsResponse, error)

UpdateTags - Updates VpnSite tags. If the operation fails it returns the *CloudError error type.

type VPNSitesConfigurationBeginDownloadOptions

type VPNSitesConfigurationBeginDownloadOptions struct {
}

VPNSitesConfigurationBeginDownloadOptions contains the optional parameters for the VPNSitesConfiguration.BeginDownload method.

type VPNSitesConfigurationClient

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

VPNSitesConfigurationClient contains the methods for the VPNSitesConfiguration group. Don't use this type directly, use NewVPNSitesConfigurationClient() instead.

func NewVPNSitesConfigurationClient

func NewVPNSitesConfigurationClient(con *arm.Connection, subscriptionID string) *VPNSitesConfigurationClient

NewVPNSitesConfigurationClient creates a new instance of VPNSitesConfigurationClient with the specified values.

func (*VPNSitesConfigurationClient) BeginDownload

BeginDownload - Gives the sas-url to download the configurations for vpn-sites in a resource group. If the operation fails it returns the *CloudError error type.

type VPNSitesConfigurationDownloadPoller

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

VPNSitesConfigurationDownloadPoller provides polling facilities until the operation reaches a terminal state.

func (*VPNSitesConfigurationDownloadPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNSitesConfigurationDownloadPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNSitesConfigurationDownloadResponse will be returned.

func (*VPNSitesConfigurationDownloadPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNSitesConfigurationDownloadPoller) ResumeToken

func (p *VPNSitesConfigurationDownloadPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNSitesConfigurationDownloadPollerResponse

type VPNSitesConfigurationDownloadPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNSitesConfigurationDownloadPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesConfigurationDownloadPollerResponse contains the response from method VPNSitesConfiguration.Download.

func (VPNSitesConfigurationDownloadPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNSitesConfigurationDownloadPollerResponse) Resume

Resume rehydrates a VPNSitesConfigurationDownloadPollerResponse from the provided client and resume token.

type VPNSitesConfigurationDownloadResponse

type VPNSitesConfigurationDownloadResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesConfigurationDownloadResponse contains the response from method VPNSitesConfiguration.Download.

type VPNSitesCreateOrUpdatePoller

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

VPNSitesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNSitesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VPNSitesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNSitesCreateOrUpdateResponse will be returned.

func (*VPNSitesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNSitesCreateOrUpdatePoller) ResumeToken

func (p *VPNSitesCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNSitesCreateOrUpdatePollerResponse

type VPNSitesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNSitesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesCreateOrUpdatePollerResponse contains the response from method VPNSites.CreateOrUpdate.

func (VPNSitesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNSitesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VPNSitesCreateOrUpdatePollerResponse from the provided client and resume token.

type VPNSitesCreateOrUpdateResponse

type VPNSitesCreateOrUpdateResponse struct {
	VPNSitesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesCreateOrUpdateResponse contains the response from method VPNSites.CreateOrUpdate.

type VPNSitesCreateOrUpdateResult

type VPNSitesCreateOrUpdateResult struct {
	VPNSite
}

VPNSitesCreateOrUpdateResult contains the result from method VPNSites.CreateOrUpdate.

type VPNSitesDeletePoller

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

VPNSitesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VPNSitesDeletePoller) Done

func (p *VPNSitesDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VPNSitesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VPNSitesDeleteResponse will be returned.

func (*VPNSitesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VPNSitesDeletePoller) ResumeToken

func (p *VPNSitesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VPNSitesDeletePollerResponse

type VPNSitesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VPNSitesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesDeletePollerResponse contains the response from method VPNSites.Delete.

func (VPNSitesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VPNSitesDeletePollerResponse) Resume

func (l *VPNSitesDeletePollerResponse) Resume(ctx context.Context, client *VPNSitesClient, token string) error

Resume rehydrates a VPNSitesDeletePollerResponse from the provided client and resume token.

type VPNSitesDeleteResponse

type VPNSitesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesDeleteResponse contains the response from method VPNSites.Delete.

type VPNSitesGetOptions

type VPNSitesGetOptions struct {
}

VPNSitesGetOptions contains the optional parameters for the VPNSites.Get method.

type VPNSitesGetResponse

type VPNSitesGetResponse struct {
	VPNSitesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesGetResponse contains the response from method VPNSites.Get.

type VPNSitesGetResult

type VPNSitesGetResult struct {
	VPNSite
}

VPNSitesGetResult contains the result from method VPNSites.Get.

type VPNSitesListByResourceGroupOptions

type VPNSitesListByResourceGroupOptions struct {
}

VPNSitesListByResourceGroupOptions contains the optional parameters for the VPNSites.ListByResourceGroup method.

type VPNSitesListByResourceGroupPager

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

VPNSitesListByResourceGroupPager provides operations for iterating over paged responses.

func (*VPNSitesListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VPNSitesListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNSitesListByResourceGroupPager) PageResponse

PageResponse returns the current VPNSitesListByResourceGroupResponse page.

type VPNSitesListByResourceGroupResponse

type VPNSitesListByResourceGroupResponse struct {
	VPNSitesListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesListByResourceGroupResponse contains the response from method VPNSites.ListByResourceGroup.

type VPNSitesListByResourceGroupResult

type VPNSitesListByResourceGroupResult struct {
	ListVPNSitesResult
}

VPNSitesListByResourceGroupResult contains the result from method VPNSites.ListByResourceGroup.

type VPNSitesListOptions

type VPNSitesListOptions struct {
}

VPNSitesListOptions contains the optional parameters for the VPNSites.List method.

type VPNSitesListPager

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

VPNSitesListPager provides operations for iterating over paged responses.

func (*VPNSitesListPager) Err

func (p *VPNSitesListPager) Err() error

Err returns the last error encountered while paging.

func (*VPNSitesListPager) NextPage

func (p *VPNSitesListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VPNSitesListPager) PageResponse

func (p *VPNSitesListPager) PageResponse() VPNSitesListResponse

PageResponse returns the current VPNSitesListResponse page.

type VPNSitesListResponse

type VPNSitesListResponse struct {
	VPNSitesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesListResponse contains the response from method VPNSites.List.

type VPNSitesListResult

type VPNSitesListResult struct {
	ListVPNSitesResult
}

VPNSitesListResult contains the result from method VPNSites.List.

type VPNSitesUpdateTagsOptions

type VPNSitesUpdateTagsOptions struct {
}

VPNSitesUpdateTagsOptions contains the optional parameters for the VPNSites.UpdateTags method.

type VPNSitesUpdateTagsResponse

type VPNSitesUpdateTagsResponse struct {
	VPNSitesUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VPNSitesUpdateTagsResponse contains the response from method VPNSites.UpdateTags.

type VPNSitesUpdateTagsResult

type VPNSitesUpdateTagsResult struct {
	VPNSite
}

VPNSitesUpdateTagsResult contains the result from method VPNSites.UpdateTags.

type VPNType

type VPNType string

VPNType - The type of this virtual network gateway.

const (
	VPNTypePolicyBased VPNType = "PolicyBased"
	VPNTypeRouteBased  VPNType = "RouteBased"
)

func PossibleVPNTypeValues

func PossibleVPNTypeValues() []VPNType

PossibleVPNTypeValues returns the possible values for the VPNType const type.

func (VPNType) ToPtr

func (c VPNType) ToPtr() *VPNType

ToPtr returns a *VPNType pointing to the current value.

type VerbosityLevel

type VerbosityLevel string

VerbosityLevel - Verbosity level.

const (
	VerbosityLevelFull    VerbosityLevel = "Full"
	VerbosityLevelMinimum VerbosityLevel = "Minimum"
	VerbosityLevelNormal  VerbosityLevel = "Normal"
)

func PossibleVerbosityLevelValues

func PossibleVerbosityLevelValues() []VerbosityLevel

PossibleVerbosityLevelValues returns the possible values for the VerbosityLevel const type.

func (VerbosityLevel) ToPtr

func (c VerbosityLevel) ToPtr() *VerbosityLevel

ToPtr returns a *VerbosityLevel pointing to the current value.

type VerificationIPFlowParameters

type VerificationIPFlowParameters struct {
	// REQUIRED; The direction of the packet represented as a 5-tuple.
	Direction *Direction `json:"direction,omitempty"`

	// REQUIRED; The local IP address. Acceptable values are valid IPv4 addresses.
	LocalIPAddress *string `json:"localIPAddress,omitempty"`

	// REQUIRED; The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.
	LocalPort *string `json:"localPort,omitempty"`

	// REQUIRED; Protocol to be verified on.
	Protocol *IPFlowProtocol `json:"protocol,omitempty"`

	// REQUIRED; The remote IP address. Acceptable values are valid IPv4 addresses.
	RemoteIPAddress *string `json:"remoteIPAddress,omitempty"`

	// REQUIRED; The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.
	RemotePort *string `json:"remotePort,omitempty"`

	// REQUIRED; The ID of the target resource to perform next-hop on.
	TargetResourceID *string `json:"targetResourceId,omitempty"`

	// The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).
	TargetNicResourceID *string `json:"targetNicResourceId,omitempty"`
}

VerificationIPFlowParameters - Parameters that define the IP flow to be verified.

type VerificationIPFlowResult

type VerificationIPFlowResult struct {
	// Indicates whether the traffic is allowed or denied.
	Access *Access `json:"access,omitempty"`

	// Name of the rule. If input is not matched against any security rule, it is not displayed.
	RuleName *string `json:"ruleName,omitempty"`
}

VerificationIPFlowResult - Results of IP flow verification on the target resource.

type VirtualApplianceNicProperties

type VirtualApplianceNicProperties struct {
	// READ-ONLY; NIC name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Private IP address.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty" azure:"ro"`

	// READ-ONLY; Public IP address.
	PublicIPAddress *string `json:"publicIpAddress,omitempty" azure:"ro"`
}

VirtualApplianceNicProperties - Network Virtual Appliance NIC properties.

type VirtualApplianceSKUProperties

type VirtualApplianceSKUProperties struct {
	// Virtual Appliance Scale Unit.
	BundledScaleUnit *string `json:"bundledScaleUnit,omitempty"`

	// Virtual Appliance Version.
	MarketPlaceVersion *string `json:"marketPlaceVersion,omitempty"`

	// Virtual Appliance Vendor.
	Vendor *string `json:"vendor,omitempty"`
}

VirtualApplianceSKUProperties - Network Virtual Appliance Sku Properties.

type VirtualApplianceSKUsClient

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

VirtualApplianceSKUsClient contains the methods for the VirtualApplianceSKUs group. Don't use this type directly, use NewVirtualApplianceSKUsClient() instead.

func NewVirtualApplianceSKUsClient

func NewVirtualApplianceSKUsClient(con *arm.Connection, subscriptionID string) *VirtualApplianceSKUsClient

NewVirtualApplianceSKUsClient creates a new instance of VirtualApplianceSKUsClient with the specified values.

func (*VirtualApplianceSKUsClient) Get

Get - Retrieves a single available sku for network virtual appliance. If the operation fails it returns the *CloudError error type.

func (*VirtualApplianceSKUsClient) List

List - List all SKUs available for a virtual appliance. If the operation fails it returns the *CloudError error type.

type VirtualApplianceSKUsGetOptions

type VirtualApplianceSKUsGetOptions struct {
}

VirtualApplianceSKUsGetOptions contains the optional parameters for the VirtualApplianceSKUs.Get method.

type VirtualApplianceSKUsGetResponse

type VirtualApplianceSKUsGetResponse struct {
	VirtualApplianceSKUsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSKUsGetResponse contains the response from method VirtualApplianceSKUs.Get.

type VirtualApplianceSKUsGetResult

type VirtualApplianceSKUsGetResult struct {
	NetworkVirtualApplianceSKU
}

VirtualApplianceSKUsGetResult contains the result from method VirtualApplianceSKUs.Get.

type VirtualApplianceSKUsListOptions

type VirtualApplianceSKUsListOptions struct {
}

VirtualApplianceSKUsListOptions contains the optional parameters for the VirtualApplianceSKUs.List method.

type VirtualApplianceSKUsListPager

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

VirtualApplianceSKUsListPager provides operations for iterating over paged responses.

func (*VirtualApplianceSKUsListPager) Err

Err returns the last error encountered while paging.

func (*VirtualApplianceSKUsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualApplianceSKUsListPager) PageResponse

PageResponse returns the current VirtualApplianceSKUsListResponse page.

type VirtualApplianceSKUsListResponse

type VirtualApplianceSKUsListResponse struct {
	VirtualApplianceSKUsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSKUsListResponse contains the response from method VirtualApplianceSKUs.List.

type VirtualApplianceSKUsListResult

type VirtualApplianceSKUsListResult struct {
	NetworkVirtualApplianceSKUListResult
}

VirtualApplianceSKUsListResult contains the result from method VirtualApplianceSKUs.List.

type VirtualApplianceSite

type VirtualApplianceSite struct {
	SubResource
	// Name of the virtual appliance site.
	Name *string `json:"name,omitempty"`

	// The properties of the Virtual Appliance Sites.
	Properties *VirtualApplianceSiteProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Site type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VirtualApplianceSite - Virtual Appliance Site resource.

func (VirtualApplianceSite) MarshalJSON

func (v VirtualApplianceSite) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualApplianceSite.

type VirtualApplianceSiteProperties

type VirtualApplianceSiteProperties struct {
	// Address Prefix.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// Office 365 Policy.
	O365Policy *Office365PolicyProperties `json:"o365Policy,omitempty"`

	// READ-ONLY; The provisioning state of the resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VirtualApplianceSiteProperties - Properties of the rule group.

type VirtualApplianceSitesBeginCreateOrUpdateOptions

type VirtualApplianceSitesBeginCreateOrUpdateOptions struct {
}

VirtualApplianceSitesBeginCreateOrUpdateOptions contains the optional parameters for the VirtualApplianceSites.BeginCreateOrUpdate method.

type VirtualApplianceSitesBeginDeleteOptions

type VirtualApplianceSitesBeginDeleteOptions struct {
}

VirtualApplianceSitesBeginDeleteOptions contains the optional parameters for the VirtualApplianceSites.BeginDelete method.

type VirtualApplianceSitesClient

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

VirtualApplianceSitesClient contains the methods for the VirtualApplianceSites group. Don't use this type directly, use NewVirtualApplianceSitesClient() instead.

func NewVirtualApplianceSitesClient

func NewVirtualApplianceSitesClient(con *arm.Connection, subscriptionID string) *VirtualApplianceSitesClient

NewVirtualApplianceSitesClient creates a new instance of VirtualApplianceSitesClient with the specified values.

func (*VirtualApplianceSitesClient) BeginCreateOrUpdate

func (client *VirtualApplianceSitesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string, parameters VirtualApplianceSite, options *VirtualApplianceSitesBeginCreateOrUpdateOptions) (VirtualApplianceSitesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Network Virtual Appliance Site. If the operation fails it returns the *CloudError error type.

func (*VirtualApplianceSitesClient) BeginDelete

func (client *VirtualApplianceSitesClient) BeginDelete(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string, options *VirtualApplianceSitesBeginDeleteOptions) (VirtualApplianceSitesDeletePollerResponse, error)

BeginDelete - Deletes the specified site from a Virtual Appliance. If the operation fails it returns the *CloudError error type.

func (*VirtualApplianceSitesClient) Get

func (client *VirtualApplianceSitesClient) Get(ctx context.Context, resourceGroupName string, networkVirtualApplianceName string, siteName string, options *VirtualApplianceSitesGetOptions) (VirtualApplianceSitesGetResponse, error)

Get - Gets the specified Virtual Appliance Site. If the operation fails it returns the *CloudError error type.

func (*VirtualApplianceSitesClient) List

func (client *VirtualApplianceSitesClient) List(resourceGroupName string, networkVirtualApplianceName string, options *VirtualApplianceSitesListOptions) *VirtualApplianceSitesListPager

List - Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. If the operation fails it returns the *CloudError error type.

type VirtualApplianceSitesCreateOrUpdatePoller

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

VirtualApplianceSitesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualApplianceSitesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualApplianceSitesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualApplianceSitesCreateOrUpdateResponse will be returned.

func (*VirtualApplianceSitesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualApplianceSitesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualApplianceSitesCreateOrUpdatePollerResponse

type VirtualApplianceSitesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualApplianceSitesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSitesCreateOrUpdatePollerResponse contains the response from method VirtualApplianceSites.CreateOrUpdate.

func (VirtualApplianceSitesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualApplianceSitesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualApplianceSitesCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualApplianceSitesCreateOrUpdateResponse

type VirtualApplianceSitesCreateOrUpdateResponse struct {
	VirtualApplianceSitesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSitesCreateOrUpdateResponse contains the response from method VirtualApplianceSites.CreateOrUpdate.

type VirtualApplianceSitesCreateOrUpdateResult

type VirtualApplianceSitesCreateOrUpdateResult struct {
	VirtualApplianceSite
}

VirtualApplianceSitesCreateOrUpdateResult contains the result from method VirtualApplianceSites.CreateOrUpdate.

type VirtualApplianceSitesDeletePoller

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

VirtualApplianceSitesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualApplianceSitesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualApplianceSitesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualApplianceSitesDeleteResponse will be returned.

func (*VirtualApplianceSitesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualApplianceSitesDeletePoller) ResumeToken

func (p *VirtualApplianceSitesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualApplianceSitesDeletePollerResponse

type VirtualApplianceSitesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualApplianceSitesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSitesDeletePollerResponse contains the response from method VirtualApplianceSites.Delete.

func (VirtualApplianceSitesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualApplianceSitesDeletePollerResponse) Resume

Resume rehydrates a VirtualApplianceSitesDeletePollerResponse from the provided client and resume token.

type VirtualApplianceSitesDeleteResponse

type VirtualApplianceSitesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSitesDeleteResponse contains the response from method VirtualApplianceSites.Delete.

type VirtualApplianceSitesGetOptions

type VirtualApplianceSitesGetOptions struct {
}

VirtualApplianceSitesGetOptions contains the optional parameters for the VirtualApplianceSites.Get method.

type VirtualApplianceSitesGetResponse

type VirtualApplianceSitesGetResponse struct {
	VirtualApplianceSitesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSitesGetResponse contains the response from method VirtualApplianceSites.Get.

type VirtualApplianceSitesGetResult

type VirtualApplianceSitesGetResult struct {
	VirtualApplianceSite
}

VirtualApplianceSitesGetResult contains the result from method VirtualApplianceSites.Get.

type VirtualApplianceSitesListOptions

type VirtualApplianceSitesListOptions struct {
}

VirtualApplianceSitesListOptions contains the optional parameters for the VirtualApplianceSites.List method.

type VirtualApplianceSitesListPager

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

VirtualApplianceSitesListPager provides operations for iterating over paged responses.

func (*VirtualApplianceSitesListPager) Err

Err returns the last error encountered while paging.

func (*VirtualApplianceSitesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualApplianceSitesListPager) PageResponse

PageResponse returns the current VirtualApplianceSitesListResponse page.

type VirtualApplianceSitesListResponse

type VirtualApplianceSitesListResponse struct {
	VirtualApplianceSitesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualApplianceSitesListResponse contains the response from method VirtualApplianceSites.List.

type VirtualApplianceSitesListResult

type VirtualApplianceSitesListResult struct {
	NetworkVirtualApplianceSiteListResult
}

VirtualApplianceSitesListResult contains the result from method VirtualApplianceSites.List.

type VirtualHub

type VirtualHub struct {
	Resource
	// Properties of the virtual hub.
	Properties *VirtualHubProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
	Kind *string `json:"kind,omitempty" azure:"ro"`
}

VirtualHub Resource.

func (VirtualHub) MarshalJSON

func (v VirtualHub) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHub.

type VirtualHubBgpConnectionBeginCreateOrUpdateOptions

type VirtualHubBgpConnectionBeginCreateOrUpdateOptions struct {
}

VirtualHubBgpConnectionBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubBgpConnection.BeginCreateOrUpdate method.

type VirtualHubBgpConnectionBeginDeleteOptions

type VirtualHubBgpConnectionBeginDeleteOptions struct {
}

VirtualHubBgpConnectionBeginDeleteOptions contains the optional parameters for the VirtualHubBgpConnection.BeginDelete method.

type VirtualHubBgpConnectionClient

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

VirtualHubBgpConnectionClient contains the methods for the VirtualHubBgpConnection group. Don't use this type directly, use NewVirtualHubBgpConnectionClient() instead.

func NewVirtualHubBgpConnectionClient

func NewVirtualHubBgpConnectionClient(con *arm.Connection, subscriptionID string) *VirtualHubBgpConnectionClient

NewVirtualHubBgpConnectionClient creates a new instance of VirtualHubBgpConnectionClient with the specified values.

func (*VirtualHubBgpConnectionClient) BeginCreateOrUpdate

func (client *VirtualHubBgpConnectionClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, parameters BgpConnection, options *VirtualHubBgpConnectionBeginCreateOrUpdateOptions) (VirtualHubBgpConnectionCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. If the operation fails it returns the *CloudError error type.

func (*VirtualHubBgpConnectionClient) BeginDelete

func (client *VirtualHubBgpConnectionClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, options *VirtualHubBgpConnectionBeginDeleteOptions) (VirtualHubBgpConnectionDeletePollerResponse, error)

BeginDelete - Deletes a VirtualHubBgpConnection. If the operation fails it returns the *CloudError error type.

func (*VirtualHubBgpConnectionClient) Get

func (client *VirtualHubBgpConnectionClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string, options *VirtualHubBgpConnectionGetOptions) (VirtualHubBgpConnectionGetResponse, error)

Get - Retrieves the details of a Virtual Hub Bgp Connection. If the operation fails it returns the *CloudError error type.

type VirtualHubBgpConnectionCreateOrUpdatePoller

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

VirtualHubBgpConnectionCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubBgpConnectionCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubBgpConnectionCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubBgpConnectionCreateOrUpdateResponse will be returned.

func (*VirtualHubBgpConnectionCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubBgpConnectionCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubBgpConnectionCreateOrUpdatePollerResponse

type VirtualHubBgpConnectionCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubBgpConnectionCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionCreateOrUpdatePollerResponse contains the response from method VirtualHubBgpConnection.CreateOrUpdate.

func (VirtualHubBgpConnectionCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubBgpConnectionCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualHubBgpConnectionCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualHubBgpConnectionCreateOrUpdateResponse

type VirtualHubBgpConnectionCreateOrUpdateResponse struct {
	VirtualHubBgpConnectionCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionCreateOrUpdateResponse contains the response from method VirtualHubBgpConnection.CreateOrUpdate.

type VirtualHubBgpConnectionCreateOrUpdateResult

type VirtualHubBgpConnectionCreateOrUpdateResult struct {
	BgpConnection
}

VirtualHubBgpConnectionCreateOrUpdateResult contains the result from method VirtualHubBgpConnection.CreateOrUpdate.

type VirtualHubBgpConnectionDeletePoller

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

VirtualHubBgpConnectionDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubBgpConnectionDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubBgpConnectionDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubBgpConnectionDeleteResponse will be returned.

func (*VirtualHubBgpConnectionDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubBgpConnectionDeletePoller) ResumeToken

func (p *VirtualHubBgpConnectionDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubBgpConnectionDeletePollerResponse

type VirtualHubBgpConnectionDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubBgpConnectionDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionDeletePollerResponse contains the response from method VirtualHubBgpConnection.Delete.

func (VirtualHubBgpConnectionDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubBgpConnectionDeletePollerResponse) Resume

Resume rehydrates a VirtualHubBgpConnectionDeletePollerResponse from the provided client and resume token.

type VirtualHubBgpConnectionDeleteResponse

type VirtualHubBgpConnectionDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionDeleteResponse contains the response from method VirtualHubBgpConnection.Delete.

type VirtualHubBgpConnectionGetOptions

type VirtualHubBgpConnectionGetOptions struct {
}

VirtualHubBgpConnectionGetOptions contains the optional parameters for the VirtualHubBgpConnection.Get method.

type VirtualHubBgpConnectionGetResponse

type VirtualHubBgpConnectionGetResponse struct {
	VirtualHubBgpConnectionGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionGetResponse contains the response from method VirtualHubBgpConnection.Get.

type VirtualHubBgpConnectionGetResult

type VirtualHubBgpConnectionGetResult struct {
	BgpConnection
}

VirtualHubBgpConnectionGetResult contains the result from method VirtualHubBgpConnection.Get.

type VirtualHubBgpConnectionsBeginListAdvertisedRoutesOptions

type VirtualHubBgpConnectionsBeginListAdvertisedRoutesOptions struct {
}

VirtualHubBgpConnectionsBeginListAdvertisedRoutesOptions contains the optional parameters for the VirtualHubBgpConnections.BeginListAdvertisedRoutes method.

type VirtualHubBgpConnectionsBeginListLearnedRoutesOptions

type VirtualHubBgpConnectionsBeginListLearnedRoutesOptions struct {
}

VirtualHubBgpConnectionsBeginListLearnedRoutesOptions contains the optional parameters for the VirtualHubBgpConnections.BeginListLearnedRoutes method.

type VirtualHubBgpConnectionsClient

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

VirtualHubBgpConnectionsClient contains the methods for the VirtualHubBgpConnections group. Don't use this type directly, use NewVirtualHubBgpConnectionsClient() instead.

func NewVirtualHubBgpConnectionsClient

func NewVirtualHubBgpConnectionsClient(con *arm.Connection, subscriptionID string) *VirtualHubBgpConnectionsClient

NewVirtualHubBgpConnectionsClient creates a new instance of VirtualHubBgpConnectionsClient with the specified values.

func (*VirtualHubBgpConnectionsClient) BeginListAdvertisedRoutes

BeginListAdvertisedRoutes - Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. If the operation fails it returns the *CloudError error type.

func (*VirtualHubBgpConnectionsClient) BeginListLearnedRoutes

BeginListLearnedRoutes - Retrieves a list of routes the virtual hub bgp connection has learned. If the operation fails it returns the *CloudError error type.

func (*VirtualHubBgpConnectionsClient) List

List - Retrieves the details of all VirtualHubBgpConnections. If the operation fails it returns the *CloudError error type.

type VirtualHubBgpConnectionsListAdvertisedRoutesPoller

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

VirtualHubBgpConnectionsListAdvertisedRoutesPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubBgpConnectionsListAdvertisedRoutesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubBgpConnectionsListAdvertisedRoutesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubBgpConnectionsListAdvertisedRoutesResponse will be returned.

func (*VirtualHubBgpConnectionsListAdvertisedRoutesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubBgpConnectionsListAdvertisedRoutesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubBgpConnectionsListAdvertisedRoutesPollerResponse

type VirtualHubBgpConnectionsListAdvertisedRoutesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubBgpConnectionsListAdvertisedRoutesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionsListAdvertisedRoutesPollerResponse contains the response from method VirtualHubBgpConnections.ListAdvertisedRoutes.

func (VirtualHubBgpConnectionsListAdvertisedRoutesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubBgpConnectionsListAdvertisedRoutesPollerResponse) Resume

Resume rehydrates a VirtualHubBgpConnectionsListAdvertisedRoutesPollerResponse from the provided client and resume token.

type VirtualHubBgpConnectionsListAdvertisedRoutesResponse

type VirtualHubBgpConnectionsListAdvertisedRoutesResponse struct {
	VirtualHubBgpConnectionsListAdvertisedRoutesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionsListAdvertisedRoutesResponse contains the response from method VirtualHubBgpConnections.ListAdvertisedRoutes.

type VirtualHubBgpConnectionsListAdvertisedRoutesResult

type VirtualHubBgpConnectionsListAdvertisedRoutesResult struct {
	PeerRouteList
}

VirtualHubBgpConnectionsListAdvertisedRoutesResult contains the result from method VirtualHubBgpConnections.ListAdvertisedRoutes.

type VirtualHubBgpConnectionsListLearnedRoutesPoller

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

VirtualHubBgpConnectionsListLearnedRoutesPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubBgpConnectionsListLearnedRoutesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubBgpConnectionsListLearnedRoutesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubBgpConnectionsListLearnedRoutesResponse will be returned.

func (*VirtualHubBgpConnectionsListLearnedRoutesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubBgpConnectionsListLearnedRoutesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubBgpConnectionsListLearnedRoutesPollerResponse

type VirtualHubBgpConnectionsListLearnedRoutesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubBgpConnectionsListLearnedRoutesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionsListLearnedRoutesPollerResponse contains the response from method VirtualHubBgpConnections.ListLearnedRoutes.

func (VirtualHubBgpConnectionsListLearnedRoutesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubBgpConnectionsListLearnedRoutesPollerResponse) Resume

Resume rehydrates a VirtualHubBgpConnectionsListLearnedRoutesPollerResponse from the provided client and resume token.

type VirtualHubBgpConnectionsListLearnedRoutesResponse

type VirtualHubBgpConnectionsListLearnedRoutesResponse struct {
	VirtualHubBgpConnectionsListLearnedRoutesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionsListLearnedRoutesResponse contains the response from method VirtualHubBgpConnections.ListLearnedRoutes.

type VirtualHubBgpConnectionsListLearnedRoutesResult

type VirtualHubBgpConnectionsListLearnedRoutesResult struct {
	PeerRouteList
}

VirtualHubBgpConnectionsListLearnedRoutesResult contains the result from method VirtualHubBgpConnections.ListLearnedRoutes.

type VirtualHubBgpConnectionsListOptions

type VirtualHubBgpConnectionsListOptions struct {
}

VirtualHubBgpConnectionsListOptions contains the optional parameters for the VirtualHubBgpConnections.List method.

type VirtualHubBgpConnectionsListPager

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

VirtualHubBgpConnectionsListPager provides operations for iterating over paged responses.

func (*VirtualHubBgpConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*VirtualHubBgpConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualHubBgpConnectionsListPager) PageResponse

PageResponse returns the current VirtualHubBgpConnectionsListResponse page.

type VirtualHubBgpConnectionsListResponse

type VirtualHubBgpConnectionsListResponse struct {
	VirtualHubBgpConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubBgpConnectionsListResponse contains the response from method VirtualHubBgpConnections.List.

type VirtualHubBgpConnectionsListResult

type VirtualHubBgpConnectionsListResult struct {
	ListVirtualHubBgpConnectionResults
}

VirtualHubBgpConnectionsListResult contains the result from method VirtualHubBgpConnections.List.

type VirtualHubEffectiveRoute

type VirtualHubEffectiveRoute struct {
	// The list of address prefixes.
	AddressPrefixes []*string `json:"addressPrefixes,omitempty"`

	// The ASPath of this route.
	AsPath *string `json:"asPath,omitempty"`

	// The type of the next hop.
	NextHopType *string `json:"nextHopType,omitempty"`

	// The list of next hops.
	NextHops []*string `json:"nextHops,omitempty"`

	// The origin of this route.
	RouteOrigin *string `json:"routeOrigin,omitempty"`
}

VirtualHubEffectiveRoute - The effective route configured on the virtual hub or specified resource.

func (VirtualHubEffectiveRoute) MarshalJSON

func (v VirtualHubEffectiveRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubEffectiveRoute.

type VirtualHubEffectiveRouteList

type VirtualHubEffectiveRouteList struct {
	// The list of effective routes configured on the virtual hub or the specified resource.
	Value []*VirtualHubEffectiveRoute `json:"value,omitempty"`
}

VirtualHubEffectiveRouteList - EffectiveRoutes List.

func (VirtualHubEffectiveRouteList) MarshalJSON

func (v VirtualHubEffectiveRouteList) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubEffectiveRouteList.

type VirtualHubID

type VirtualHubID struct {
	// The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource
	// reside in the same subscription.
	ID *string `json:"id,omitempty"`
}

VirtualHubID - Virtual Hub identifier.

type VirtualHubIPConfigurationBeginCreateOrUpdateOptions

type VirtualHubIPConfigurationBeginCreateOrUpdateOptions struct {
}

VirtualHubIPConfigurationBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubIPConfiguration.BeginCreateOrUpdate method.

type VirtualHubIPConfigurationBeginDeleteOptions

type VirtualHubIPConfigurationBeginDeleteOptions struct {
}

VirtualHubIPConfigurationBeginDeleteOptions contains the optional parameters for the VirtualHubIPConfiguration.BeginDelete method.

type VirtualHubIPConfigurationClient

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

VirtualHubIPConfigurationClient contains the methods for the VirtualHubIPConfiguration group. Don't use this type directly, use NewVirtualHubIPConfigurationClient() instead.

func NewVirtualHubIPConfigurationClient

func NewVirtualHubIPConfigurationClient(con *arm.Connection, subscriptionID string) *VirtualHubIPConfigurationClient

NewVirtualHubIPConfigurationClient creates a new instance of VirtualHubIPConfigurationClient with the specified values.

func (*VirtualHubIPConfigurationClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration. If the operation fails it returns the *CloudError error type.

func (*VirtualHubIPConfigurationClient) BeginDelete

func (client *VirtualHubIPConfigurationClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualHubName string, ipConfigName string, options *VirtualHubIPConfigurationBeginDeleteOptions) (VirtualHubIPConfigurationDeletePollerResponse, error)

BeginDelete - Deletes a VirtualHubIpConfiguration. If the operation fails it returns the *CloudError error type.

func (*VirtualHubIPConfigurationClient) Get

func (client *VirtualHubIPConfigurationClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, ipConfigName string, options *VirtualHubIPConfigurationGetOptions) (VirtualHubIPConfigurationGetResponse, error)

Get - Retrieves the details of a Virtual Hub Ip configuration. If the operation fails it returns the *CloudError error type.

func (*VirtualHubIPConfigurationClient) List

List - Retrieves the details of all VirtualHubIpConfigurations. If the operation fails it returns the *CloudError error type.

type VirtualHubIPConfigurationCreateOrUpdatePoller

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

VirtualHubIPConfigurationCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubIPConfigurationCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubIPConfigurationCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubIPConfigurationCreateOrUpdateResponse will be returned.

func (*VirtualHubIPConfigurationCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubIPConfigurationCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubIPConfigurationCreateOrUpdatePollerResponse

type VirtualHubIPConfigurationCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubIPConfigurationCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubIPConfigurationCreateOrUpdatePollerResponse contains the response from method VirtualHubIPConfiguration.CreateOrUpdate.

func (VirtualHubIPConfigurationCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubIPConfigurationCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualHubIPConfigurationCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualHubIPConfigurationCreateOrUpdateResponse

type VirtualHubIPConfigurationCreateOrUpdateResponse struct {
	VirtualHubIPConfigurationCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubIPConfigurationCreateOrUpdateResponse contains the response from method VirtualHubIPConfiguration.CreateOrUpdate.

type VirtualHubIPConfigurationCreateOrUpdateResult

type VirtualHubIPConfigurationCreateOrUpdateResult struct {
	HubIPConfiguration
}

VirtualHubIPConfigurationCreateOrUpdateResult contains the result from method VirtualHubIPConfiguration.CreateOrUpdate.

type VirtualHubIPConfigurationDeletePoller

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

VirtualHubIPConfigurationDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubIPConfigurationDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubIPConfigurationDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubIPConfigurationDeleteResponse will be returned.

func (*VirtualHubIPConfigurationDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubIPConfigurationDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubIPConfigurationDeletePollerResponse

type VirtualHubIPConfigurationDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubIPConfigurationDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubIPConfigurationDeletePollerResponse contains the response from method VirtualHubIPConfiguration.Delete.

func (VirtualHubIPConfigurationDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubIPConfigurationDeletePollerResponse) Resume

Resume rehydrates a VirtualHubIPConfigurationDeletePollerResponse from the provided client and resume token.

type VirtualHubIPConfigurationDeleteResponse

type VirtualHubIPConfigurationDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubIPConfigurationDeleteResponse contains the response from method VirtualHubIPConfiguration.Delete.

type VirtualHubIPConfigurationGetOptions

type VirtualHubIPConfigurationGetOptions struct {
}

VirtualHubIPConfigurationGetOptions contains the optional parameters for the VirtualHubIPConfiguration.Get method.

type VirtualHubIPConfigurationGetResponse

type VirtualHubIPConfigurationGetResponse struct {
	VirtualHubIPConfigurationGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubIPConfigurationGetResponse contains the response from method VirtualHubIPConfiguration.Get.

type VirtualHubIPConfigurationGetResult

type VirtualHubIPConfigurationGetResult struct {
	HubIPConfiguration
}

VirtualHubIPConfigurationGetResult contains the result from method VirtualHubIPConfiguration.Get.

type VirtualHubIPConfigurationListOptions

type VirtualHubIPConfigurationListOptions struct {
}

VirtualHubIPConfigurationListOptions contains the optional parameters for the VirtualHubIPConfiguration.List method.

type VirtualHubIPConfigurationListPager

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

VirtualHubIPConfigurationListPager provides operations for iterating over paged responses.

func (*VirtualHubIPConfigurationListPager) Err

Err returns the last error encountered while paging.

func (*VirtualHubIPConfigurationListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualHubIPConfigurationListPager) PageResponse

PageResponse returns the current VirtualHubIPConfigurationListResponse page.

type VirtualHubIPConfigurationListResponse

type VirtualHubIPConfigurationListResponse struct {
	VirtualHubIPConfigurationListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubIPConfigurationListResponse contains the response from method VirtualHubIPConfiguration.List.

type VirtualHubIPConfigurationListResult

type VirtualHubIPConfigurationListResult struct {
	ListVirtualHubIPConfigurationResults
}

VirtualHubIPConfigurationListResult contains the result from method VirtualHubIPConfiguration.List.

type VirtualHubProperties

type VirtualHubProperties struct {
	// Address-prefix for this VirtualHub.
	AddressPrefix *string `json:"addressPrefix,omitempty"`

	// Flag to control transit for VirtualRouter hub.
	AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"`

	// The azureFirewall associated with this VirtualHub.
	AzureFirewall *SubResource `json:"azureFirewall,omitempty"`

	// The expressRouteGateway associated with this VirtualHub.
	ExpressRouteGateway *SubResource `json:"expressRouteGateway,omitempty"`

	// The P2SVpnGateway associated with this VirtualHub.
	P2SVPNGateway *SubResource `json:"p2SVpnGateway,omitempty"`

	// The preferred gateway to route on-prem traffic
	PreferredRoutingGateway *PreferredRoutingGateway `json:"preferredRoutingGateway,omitempty"`

	// The routeTable associated with this virtual hub.
	RouteTable *VirtualHubRouteTable `json:"routeTable,omitempty"`

	// The sku of this VirtualHub.
	SKU *string `json:"sku,omitempty"`

	// The securityPartnerProvider associated with this VirtualHub.
	SecurityPartnerProvider *SubResource `json:"securityPartnerProvider,omitempty"`

	// The Security Provider name.
	SecurityProviderName *string `json:"securityProviderName,omitempty"`

	// The VpnGateway associated with this VirtualHub.
	VPNGateway *SubResource `json:"vpnGateway,omitempty"`

	// List of all virtual hub route table v2s associated with this VirtualHub.
	VirtualHubRouteTableV2S []*VirtualHubRouteTableV2 `json:"virtualHubRouteTableV2s,omitempty"`

	// VirtualRouter ASN.
	VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"`

	// VirtualRouter IPs.
	VirtualRouterIPs []*string `json:"virtualRouterIps,omitempty"`

	// The VirtualWAN to which the VirtualHub belongs.
	VirtualWan *SubResource `json:"virtualWan,omitempty"`

	// READ-ONLY; List of references to Bgp Connections.
	BgpConnections []*SubResource `json:"bgpConnections,omitempty" azure:"ro"`

	// READ-ONLY; List of references to IpConfigurations.
	IPConfigurations []*SubResource `json:"ipConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual hub resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The routing state.
	RoutingState *RoutingState `json:"routingState,omitempty" azure:"ro"`
}

VirtualHubProperties - Parameters for VirtualHub.

func (VirtualHubProperties) MarshalJSON

func (v VirtualHubProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubProperties.

type VirtualHubRoute

type VirtualHubRoute struct {
	// List of all addressPrefixes.
	AddressPrefixes []*string `json:"addressPrefixes,omitempty"`

	// NextHop ip address.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`
}

VirtualHubRoute - VirtualHub route.

func (VirtualHubRoute) MarshalJSON

func (v VirtualHubRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubRoute.

type VirtualHubRouteTable

type VirtualHubRouteTable struct {
	// List of all routes.
	Routes []*VirtualHubRoute `json:"routes,omitempty"`
}

VirtualHubRouteTable - VirtualHub route table.

func (VirtualHubRouteTable) MarshalJSON

func (v VirtualHubRouteTable) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubRouteTable.

type VirtualHubRouteTableV2

type VirtualHubRouteTableV2 struct {
	SubResource
	// 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"`

	// Properties of the virtual hub route table v2.
	Properties *VirtualHubRouteTableV2Properties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualHubRouteTableV2 Resource.

func (VirtualHubRouteTableV2) MarshalJSON

func (v VirtualHubRouteTableV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubRouteTableV2.

type VirtualHubRouteTableV2Properties

type VirtualHubRouteTableV2Properties struct {
	// List of all connections attached to this route table v2.
	AttachedConnections []*string `json:"attachedConnections,omitempty"`

	// List of all routes.
	Routes []*VirtualHubRouteV2 `json:"routes,omitempty"`

	// READ-ONLY; The provisioning state of the virtual hub route table v2 resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VirtualHubRouteTableV2Properties - Parameters for VirtualHubRouteTableV2.

func (VirtualHubRouteTableV2Properties) MarshalJSON

func (v VirtualHubRouteTableV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubRouteTableV2Properties.

type VirtualHubRouteTableV2SBeginCreateOrUpdateOptions

type VirtualHubRouteTableV2SBeginCreateOrUpdateOptions struct {
}

VirtualHubRouteTableV2SBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubRouteTableV2S.BeginCreateOrUpdate method.

type VirtualHubRouteTableV2SBeginDeleteOptions

type VirtualHubRouteTableV2SBeginDeleteOptions struct {
}

VirtualHubRouteTableV2SBeginDeleteOptions contains the optional parameters for the VirtualHubRouteTableV2S.BeginDelete method.

type VirtualHubRouteTableV2SClient

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

VirtualHubRouteTableV2SClient contains the methods for the VirtualHubRouteTableV2S group. Don't use this type directly, use NewVirtualHubRouteTableV2SClient() instead.

func NewVirtualHubRouteTableV2SClient

func NewVirtualHubRouteTableV2SClient(con *arm.Connection, subscriptionID string) *VirtualHubRouteTableV2SClient

NewVirtualHubRouteTableV2SClient creates a new instance of VirtualHubRouteTableV2SClient with the specified values.

func (*VirtualHubRouteTableV2SClient) BeginCreateOrUpdate

func (client *VirtualHubRouteTableV2SClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, virtualHubRouteTableV2Parameters VirtualHubRouteTableV2, options *VirtualHubRouteTableV2SBeginCreateOrUpdateOptions) (VirtualHubRouteTableV2SCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. If the operation fails it returns the *Error error type.

func (*VirtualHubRouteTableV2SClient) BeginDelete

func (client *VirtualHubRouteTableV2SClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, options *VirtualHubRouteTableV2SBeginDeleteOptions) (VirtualHubRouteTableV2SDeletePollerResponse, error)

BeginDelete - Deletes a VirtualHubRouteTableV2. If the operation fails it returns the *Error error type.

func (*VirtualHubRouteTableV2SClient) Get

func (client *VirtualHubRouteTableV2SClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, routeTableName string, options *VirtualHubRouteTableV2SGetOptions) (VirtualHubRouteTableV2SGetResponse, error)

Get - Retrieves the details of a VirtualHubRouteTableV2. If the operation fails it returns the *Error error type.

func (*VirtualHubRouteTableV2SClient) List

func (client *VirtualHubRouteTableV2SClient) List(resourceGroupName string, virtualHubName string, options *VirtualHubRouteTableV2SListOptions) *VirtualHubRouteTableV2SListPager

List - Retrieves the details of all VirtualHubRouteTableV2s. If the operation fails it returns the *CloudError error type.

type VirtualHubRouteTableV2SCreateOrUpdatePoller

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

VirtualHubRouteTableV2SCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubRouteTableV2SCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubRouteTableV2SCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubRouteTableV2SCreateOrUpdateResponse will be returned.

func (*VirtualHubRouteTableV2SCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubRouteTableV2SCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubRouteTableV2SCreateOrUpdatePollerResponse

type VirtualHubRouteTableV2SCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubRouteTableV2SCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubRouteTableV2SCreateOrUpdatePollerResponse contains the response from method VirtualHubRouteTableV2S.CreateOrUpdate.

func (VirtualHubRouteTableV2SCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubRouteTableV2SCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualHubRouteTableV2SCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualHubRouteTableV2SCreateOrUpdateResponse

type VirtualHubRouteTableV2SCreateOrUpdateResponse struct {
	VirtualHubRouteTableV2SCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubRouteTableV2SCreateOrUpdateResponse contains the response from method VirtualHubRouteTableV2S.CreateOrUpdate.

type VirtualHubRouteTableV2SCreateOrUpdateResult

type VirtualHubRouteTableV2SCreateOrUpdateResult struct {
	VirtualHubRouteTableV2
}

VirtualHubRouteTableV2SCreateOrUpdateResult contains the result from method VirtualHubRouteTableV2S.CreateOrUpdate.

type VirtualHubRouteTableV2SDeletePoller

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

VirtualHubRouteTableV2SDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubRouteTableV2SDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubRouteTableV2SDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubRouteTableV2SDeleteResponse will be returned.

func (*VirtualHubRouteTableV2SDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubRouteTableV2SDeletePoller) ResumeToken

func (p *VirtualHubRouteTableV2SDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubRouteTableV2SDeletePollerResponse

type VirtualHubRouteTableV2SDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubRouteTableV2SDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubRouteTableV2SDeletePollerResponse contains the response from method VirtualHubRouteTableV2S.Delete.

func (VirtualHubRouteTableV2SDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubRouteTableV2SDeletePollerResponse) Resume

Resume rehydrates a VirtualHubRouteTableV2SDeletePollerResponse from the provided client and resume token.

type VirtualHubRouteTableV2SDeleteResponse

type VirtualHubRouteTableV2SDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubRouteTableV2SDeleteResponse contains the response from method VirtualHubRouteTableV2S.Delete.

type VirtualHubRouteTableV2SGetOptions

type VirtualHubRouteTableV2SGetOptions struct {
}

VirtualHubRouteTableV2SGetOptions contains the optional parameters for the VirtualHubRouteTableV2S.Get method.

type VirtualHubRouteTableV2SGetResponse

type VirtualHubRouteTableV2SGetResponse struct {
	VirtualHubRouteTableV2SGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubRouteTableV2SGetResponse contains the response from method VirtualHubRouteTableV2S.Get.

type VirtualHubRouteTableV2SGetResult

type VirtualHubRouteTableV2SGetResult struct {
	VirtualHubRouteTableV2
}

VirtualHubRouteTableV2SGetResult contains the result from method VirtualHubRouteTableV2S.Get.

type VirtualHubRouteTableV2SListOptions

type VirtualHubRouteTableV2SListOptions struct {
}

VirtualHubRouteTableV2SListOptions contains the optional parameters for the VirtualHubRouteTableV2S.List method.

type VirtualHubRouteTableV2SListPager

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

VirtualHubRouteTableV2SListPager provides operations for iterating over paged responses.

func (*VirtualHubRouteTableV2SListPager) Err

Err returns the last error encountered while paging.

func (*VirtualHubRouteTableV2SListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualHubRouteTableV2SListPager) PageResponse

PageResponse returns the current VirtualHubRouteTableV2SListResponse page.

type VirtualHubRouteTableV2SListResponse

type VirtualHubRouteTableV2SListResponse struct {
	VirtualHubRouteTableV2SListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubRouteTableV2SListResponse contains the response from method VirtualHubRouteTableV2S.List.

type VirtualHubRouteTableV2SListResult

type VirtualHubRouteTableV2SListResult struct {
	ListVirtualHubRouteTableV2SResult
}

VirtualHubRouteTableV2SListResult contains the result from method VirtualHubRouteTableV2S.List.

type VirtualHubRouteV2

type VirtualHubRouteV2 struct {
	// The type of destinations.
	DestinationType *string `json:"destinationType,omitempty"`

	// List of all destinations.
	Destinations []*string `json:"destinations,omitempty"`

	// The type of next hops.
	NextHopType *string `json:"nextHopType,omitempty"`

	// NextHops ip address.
	NextHops []*string `json:"nextHops,omitempty"`
}

VirtualHubRouteV2 - VirtualHubRouteTableV2 route.

func (VirtualHubRouteV2) MarshalJSON

func (v VirtualHubRouteV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualHubRouteV2.

type VirtualHubsBeginCreateOrUpdateOptions

type VirtualHubsBeginCreateOrUpdateOptions struct {
}

VirtualHubsBeginCreateOrUpdateOptions contains the optional parameters for the VirtualHubs.BeginCreateOrUpdate method.

type VirtualHubsBeginDeleteOptions

type VirtualHubsBeginDeleteOptions struct {
}

VirtualHubsBeginDeleteOptions contains the optional parameters for the VirtualHubs.BeginDelete method.

type VirtualHubsBeginGetEffectiveVirtualHubRoutesOptions

type VirtualHubsBeginGetEffectiveVirtualHubRoutesOptions struct {
	// Parameters supplied to get the effective routes for a specific resource.
	EffectiveRoutesParameters *EffectiveRoutesParameters
}

VirtualHubsBeginGetEffectiveVirtualHubRoutesOptions contains the optional parameters for the VirtualHubs.BeginGetEffectiveVirtualHubRoutes method.

type VirtualHubsClient

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

VirtualHubsClient contains the methods for the VirtualHubs group. Don't use this type directly, use NewVirtualHubsClient() instead.

func NewVirtualHubsClient

func NewVirtualHubsClient(con *arm.Connection, subscriptionID string) *VirtualHubsClient

NewVirtualHubsClient creates a new instance of VirtualHubsClient with the specified values.

func (*VirtualHubsClient) BeginCreateOrUpdate

func (client *VirtualHubsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters VirtualHub, options *VirtualHubsBeginCreateOrUpdateOptions) (VirtualHubsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. If the operation fails it returns the *CloudError error type.

func (*VirtualHubsClient) BeginDelete

func (client *VirtualHubsClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualHubName string, options *VirtualHubsBeginDeleteOptions) (VirtualHubsDeletePollerResponse, error)

BeginDelete - Deletes a VirtualHub. If the operation fails it returns the *CloudError error type.

func (*VirtualHubsClient) BeginGetEffectiveVirtualHubRoutes

func (client *VirtualHubsClient) BeginGetEffectiveVirtualHubRoutes(ctx context.Context, resourceGroupName string, virtualHubName string, options *VirtualHubsBeginGetEffectiveVirtualHubRoutesOptions) (VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse, error)

BeginGetEffectiveVirtualHubRoutes - Gets the effective routes configured for the Virtual Hub resource or the specified resource . If the operation fails it returns the *CloudError error type.

func (*VirtualHubsClient) Get

func (client *VirtualHubsClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, options *VirtualHubsGetOptions) (VirtualHubsGetResponse, error)

Get - Retrieves the details of a VirtualHub. If the operation fails it returns the *CloudError error type.

func (*VirtualHubsClient) List

List - Lists all the VirtualHubs in a subscription. If the operation fails it returns the *CloudError error type.

func (*VirtualHubsClient) ListByResourceGroup

func (client *VirtualHubsClient) ListByResourceGroup(resourceGroupName string, options *VirtualHubsListByResourceGroupOptions) *VirtualHubsListByResourceGroupPager

ListByResourceGroup - Lists all the VirtualHubs in a resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualHubsClient) UpdateTags

func (client *VirtualHubsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters TagsObject, options *VirtualHubsUpdateTagsOptions) (VirtualHubsUpdateTagsResponse, error)

UpdateTags - Updates VirtualHub tags. If the operation fails it returns the *CloudError error type.

type VirtualHubsCreateOrUpdatePoller

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

VirtualHubsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubsCreateOrUpdateResponse will be returned.

func (*VirtualHubsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubsCreateOrUpdatePoller) ResumeToken

func (p *VirtualHubsCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubsCreateOrUpdatePollerResponse

type VirtualHubsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsCreateOrUpdatePollerResponse contains the response from method VirtualHubs.CreateOrUpdate.

func (VirtualHubsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualHubsCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualHubsCreateOrUpdateResponse

type VirtualHubsCreateOrUpdateResponse struct {
	VirtualHubsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsCreateOrUpdateResponse contains the response from method VirtualHubs.CreateOrUpdate.

type VirtualHubsCreateOrUpdateResult

type VirtualHubsCreateOrUpdateResult struct {
	VirtualHub
}

VirtualHubsCreateOrUpdateResult contains the result from method VirtualHubs.CreateOrUpdate.

type VirtualHubsDeletePoller

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

VirtualHubsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubsDeletePoller) Done

func (p *VirtualHubsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubsDeleteResponse will be returned.

func (*VirtualHubsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubsDeletePoller) ResumeToken

func (p *VirtualHubsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubsDeletePollerResponse

type VirtualHubsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsDeletePollerResponse contains the response from method VirtualHubs.Delete.

func (VirtualHubsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubsDeletePollerResponse) Resume

Resume rehydrates a VirtualHubsDeletePollerResponse from the provided client and resume token.

type VirtualHubsDeleteResponse

type VirtualHubsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsDeleteResponse contains the response from method VirtualHubs.Delete.

type VirtualHubsGetEffectiveVirtualHubRoutesPoller

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

VirtualHubsGetEffectiveVirtualHubRoutesPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualHubsGetEffectiveVirtualHubRoutesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualHubsGetEffectiveVirtualHubRoutesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualHubsGetEffectiveVirtualHubRoutesResponse will be returned.

func (*VirtualHubsGetEffectiveVirtualHubRoutesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualHubsGetEffectiveVirtualHubRoutesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse

type VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualHubsGetEffectiveVirtualHubRoutesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse contains the response from method VirtualHubs.GetEffectiveVirtualHubRoutes.

func (VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse) Resume

Resume rehydrates a VirtualHubsGetEffectiveVirtualHubRoutesPollerResponse from the provided client and resume token.

type VirtualHubsGetEffectiveVirtualHubRoutesResponse

type VirtualHubsGetEffectiveVirtualHubRoutesResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsGetEffectiveVirtualHubRoutesResponse contains the response from method VirtualHubs.GetEffectiveVirtualHubRoutes.

type VirtualHubsGetOptions

type VirtualHubsGetOptions struct {
}

VirtualHubsGetOptions contains the optional parameters for the VirtualHubs.Get method.

type VirtualHubsGetResponse

type VirtualHubsGetResponse struct {
	VirtualHubsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsGetResponse contains the response from method VirtualHubs.Get.

type VirtualHubsGetResult

type VirtualHubsGetResult struct {
	VirtualHub
}

VirtualHubsGetResult contains the result from method VirtualHubs.Get.

type VirtualHubsListByResourceGroupOptions

type VirtualHubsListByResourceGroupOptions struct {
}

VirtualHubsListByResourceGroupOptions contains the optional parameters for the VirtualHubs.ListByResourceGroup method.

type VirtualHubsListByResourceGroupPager

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

VirtualHubsListByResourceGroupPager provides operations for iterating over paged responses.

func (*VirtualHubsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VirtualHubsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualHubsListByResourceGroupPager) PageResponse

PageResponse returns the current VirtualHubsListByResourceGroupResponse page.

type VirtualHubsListByResourceGroupResponse

type VirtualHubsListByResourceGroupResponse struct {
	VirtualHubsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsListByResourceGroupResponse contains the response from method VirtualHubs.ListByResourceGroup.

type VirtualHubsListByResourceGroupResult

type VirtualHubsListByResourceGroupResult struct {
	ListVirtualHubsResult
}

VirtualHubsListByResourceGroupResult contains the result from method VirtualHubs.ListByResourceGroup.

type VirtualHubsListOptions

type VirtualHubsListOptions struct {
}

VirtualHubsListOptions contains the optional parameters for the VirtualHubs.List method.

type VirtualHubsListPager

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

VirtualHubsListPager provides operations for iterating over paged responses.

func (*VirtualHubsListPager) Err

func (p *VirtualHubsListPager) Err() error

Err returns the last error encountered while paging.

func (*VirtualHubsListPager) NextPage

func (p *VirtualHubsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualHubsListPager) PageResponse

PageResponse returns the current VirtualHubsListResponse page.

type VirtualHubsListResponse

type VirtualHubsListResponse struct {
	VirtualHubsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsListResponse contains the response from method VirtualHubs.List.

type VirtualHubsListResult

type VirtualHubsListResult struct {
	ListVirtualHubsResult
}

VirtualHubsListResult contains the result from method VirtualHubs.List.

type VirtualHubsUpdateTagsOptions

type VirtualHubsUpdateTagsOptions struct {
}

VirtualHubsUpdateTagsOptions contains the optional parameters for the VirtualHubs.UpdateTags method.

type VirtualHubsUpdateTagsResponse

type VirtualHubsUpdateTagsResponse struct {
	VirtualHubsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualHubsUpdateTagsResponse contains the response from method VirtualHubs.UpdateTags.

type VirtualHubsUpdateTagsResult

type VirtualHubsUpdateTagsResult struct {
	VirtualHub
}

VirtualHubsUpdateTagsResult contains the result from method VirtualHubs.UpdateTags.

type VirtualNetwork

type VirtualNetwork struct {
	Resource
	// The extended location of the virtual network.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// Properties of the virtual network.
	Properties *VirtualNetworkPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetwork - Virtual Network resource.

func (VirtualNetwork) MarshalJSON

func (v VirtualNetwork) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetwork.

type VirtualNetworkBgpCommunities

type VirtualNetworkBgpCommunities struct {
	// REQUIRED; The BGP community associated with the virtual network.
	VirtualNetworkCommunity *string `json:"virtualNetworkCommunity,omitempty"`

	// READ-ONLY; The BGP community associated with the region of the virtual network.
	RegionalCommunity *string `json:"regionalCommunity,omitempty" azure:"ro"`
}

VirtualNetworkBgpCommunities - Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.

type VirtualNetworkConnectionGatewayReference

type VirtualNetworkConnectionGatewayReference struct {
	// REQUIRED; The ID of VirtualNetworkGateway or LocalNetworkGateway resource.
	ID *string `json:"id,omitempty"`
}

VirtualNetworkConnectionGatewayReference - A reference to VirtualNetworkGateway or LocalNetworkGateway resource.

type VirtualNetworkGateway

type VirtualNetworkGateway struct {
	Resource
	// REQUIRED; Properties of the virtual network gateway.
	Properties *VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"`

	// The extended location of type local virtual network gateway.
	ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetworkGateway - A common class for general resource information.

func (VirtualNetworkGateway) MarshalJSON

func (v VirtualNetworkGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGateway.

type VirtualNetworkGatewayConnection

type VirtualNetworkGatewayConnection struct {
	Resource
	// REQUIRED; Properties of the virtual network gateway connection.
	Properties *VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetworkGatewayConnection - A common class for general resource information.

func (VirtualNetworkGatewayConnection) MarshalJSON

func (v VirtualNetworkGatewayConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayConnection.

type VirtualNetworkGatewayConnectionListEntity

type VirtualNetworkGatewayConnectionListEntity struct {
	Resource
	// REQUIRED; Properties of the virtual network gateway connection.
	Properties *VirtualNetworkGatewayConnectionListEntityPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetworkGatewayConnectionListEntity - A common class for general resource information.

func (VirtualNetworkGatewayConnectionListEntity) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayConnectionListEntity.

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat struct {
	// REQUIRED; Gateway connection type.
	ConnectionType *VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"`

	// REQUIRED; The reference to virtual network gateway resource.
	VirtualNetworkGateway1 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway1,omitempty"`

	// The authorizationKey.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`

	// The connection mode for this connection.
	ConnectionMode *VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"`

	// Connection protocol used for this connection.
	ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"`

	// EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`

	// Bypass ExpressRoute Gateway for data forwarding.
	ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"`

	// The IPSec Policies to be considered by this connection.
	IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"`

	// The reference to local network gateway resource.
	LocalNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"localNetworkGateway2,omitempty"`

	// The reference to peerings resource.
	Peer *SubResource `json:"peer,omitempty"`

	// The routing weight.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`

	// The IPSec shared key.
	SharedKey *string `json:"sharedKey,omitempty"`

	// The Traffic Selector Policies to be considered by this connection.
	TrafficSelectorPolicies []*TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"`

	// Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`

	// The reference to virtual network gateway resource.
	VirtualNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway2,omitempty"`

	// READ-ONLY; Virtual Network Gateway connection status.
	ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; The egress bytes transferred in this connection.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The ingress bytes transferred in this connection.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual network gateway connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the virtual network gateway connection resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; Collection of all tunnels' connection health status.
	TunnelConnectionStatus []*TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty" azure:"ro"`
}

VirtualNetworkGatewayConnectionListEntityPropertiesFormat - VirtualNetworkGatewayConnection properties.

func (VirtualNetworkGatewayConnectionListEntityPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayConnectionListEntityPropertiesFormat.

type VirtualNetworkGatewayConnectionListResult

type VirtualNetworkGatewayConnectionListResult struct {
	// A list of VirtualNetworkGatewayConnection resources that exists in a resource group.
	Value []*VirtualNetworkGatewayConnection `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

VirtualNetworkGatewayConnectionListResult - Response for the ListVirtualNetworkGatewayConnections API service call.

func (VirtualNetworkGatewayConnectionListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayConnectionListResult.

type VirtualNetworkGatewayConnectionMode

type VirtualNetworkGatewayConnectionMode string

VirtualNetworkGatewayConnectionMode - Gateway connection type.

const (
	VirtualNetworkGatewayConnectionModeDefault       VirtualNetworkGatewayConnectionMode = "Default"
	VirtualNetworkGatewayConnectionModeInitiatorOnly VirtualNetworkGatewayConnectionMode = "InitiatorOnly"
	VirtualNetworkGatewayConnectionModeResponderOnly VirtualNetworkGatewayConnectionMode = "ResponderOnly"
)

func PossibleVirtualNetworkGatewayConnectionModeValues

func PossibleVirtualNetworkGatewayConnectionModeValues() []VirtualNetworkGatewayConnectionMode

PossibleVirtualNetworkGatewayConnectionModeValues returns the possible values for the VirtualNetworkGatewayConnectionMode const type.

func (VirtualNetworkGatewayConnectionMode) ToPtr

ToPtr returns a *VirtualNetworkGatewayConnectionMode pointing to the current value.

type VirtualNetworkGatewayConnectionPropertiesFormat

type VirtualNetworkGatewayConnectionPropertiesFormat struct {
	// REQUIRED; Gateway connection type.
	ConnectionType *VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"`

	// REQUIRED; The reference to virtual network gateway resource.
	VirtualNetworkGateway1 *VirtualNetworkGateway `json:"virtualNetworkGateway1,omitempty"`

	// The authorizationKey.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`

	// The connection mode for this connection.
	ConnectionMode *VirtualNetworkGatewayConnectionMode `json:"connectionMode,omitempty"`

	// Connection protocol used for this connection.
	ConnectionProtocol *VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"`

	// The dead peer detection timeout of this connection in seconds.
	DpdTimeoutSeconds *int32 `json:"dpdTimeoutSeconds,omitempty"`

	// List of egress NatRules.
	EgressNatRules []*SubResource `json:"egressNatRules,omitempty"`

	// EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`

	// Bypass ExpressRoute Gateway for data forwarding.
	ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"`

	// The IPSec Policies to be considered by this connection.
	IPSecPolicies []*IPSecPolicy `json:"ipsecPolicies,omitempty"`

	// List of ingress NatRules.
	IngressNatRules []*SubResource `json:"ingressNatRules,omitempty"`

	// The reference to local network gateway resource.
	LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"`

	// The reference to peerings resource.
	Peer *SubResource `json:"peer,omitempty"`

	// The routing weight.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`

	// The IPSec shared key.
	SharedKey *string `json:"sharedKey,omitempty"`

	// The Traffic Selector Policies to be considered by this connection.
	TrafficSelectorPolicies []*TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"`

	// Use private local Azure IP for the connection.
	UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"`

	// Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`

	// The reference to virtual network gateway resource.
	VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"`

	// READ-ONLY; Virtual Network Gateway connection status.
	ConnectionStatus *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty" azure:"ro"`

	// READ-ONLY; The egress bytes transferred in this connection.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The ingress bytes transferred in this connection.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual network gateway connection resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the virtual network gateway connection resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`

	// READ-ONLY; Collection of all tunnels' connection health status.
	TunnelConnectionStatus []*TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty" azure:"ro"`
}

VirtualNetworkGatewayConnectionPropertiesFormat - VirtualNetworkGatewayConnection properties.

func (VirtualNetworkGatewayConnectionPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayConnectionPropertiesFormat.

type VirtualNetworkGatewayConnectionProtocol

type VirtualNetworkGatewayConnectionProtocol string

VirtualNetworkGatewayConnectionProtocol - Gateway connection protocol.

const (
	VirtualNetworkGatewayConnectionProtocolIKEv1 VirtualNetworkGatewayConnectionProtocol = "IKEv1"
	VirtualNetworkGatewayConnectionProtocolIKEv2 VirtualNetworkGatewayConnectionProtocol = "IKEv2"
)

func PossibleVirtualNetworkGatewayConnectionProtocolValues

func PossibleVirtualNetworkGatewayConnectionProtocolValues() []VirtualNetworkGatewayConnectionProtocol

PossibleVirtualNetworkGatewayConnectionProtocolValues returns the possible values for the VirtualNetworkGatewayConnectionProtocol const type.

func (VirtualNetworkGatewayConnectionProtocol) ToPtr

ToPtr returns a *VirtualNetworkGatewayConnectionProtocol pointing to the current value.

type VirtualNetworkGatewayConnectionStatus

type VirtualNetworkGatewayConnectionStatus string

VirtualNetworkGatewayConnectionStatus - Virtual Network Gateway connection status.

const (
	VirtualNetworkGatewayConnectionStatusConnected    VirtualNetworkGatewayConnectionStatus = "Connected"
	VirtualNetworkGatewayConnectionStatusConnecting   VirtualNetworkGatewayConnectionStatus = "Connecting"
	VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected"
	VirtualNetworkGatewayConnectionStatusUnknown      VirtualNetworkGatewayConnectionStatus = "Unknown"
)

func PossibleVirtualNetworkGatewayConnectionStatusValues

func PossibleVirtualNetworkGatewayConnectionStatusValues() []VirtualNetworkGatewayConnectionStatus

PossibleVirtualNetworkGatewayConnectionStatusValues returns the possible values for the VirtualNetworkGatewayConnectionStatus const type.

func (VirtualNetworkGatewayConnectionStatus) ToPtr

ToPtr returns a *VirtualNetworkGatewayConnectionStatus pointing to the current value.

type VirtualNetworkGatewayConnectionType

type VirtualNetworkGatewayConnectionType string

VirtualNetworkGatewayConnectionType - Gateway connection type.

const (
	VirtualNetworkGatewayConnectionTypeExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
	VirtualNetworkGatewayConnectionTypeIPsec        VirtualNetworkGatewayConnectionType = "IPsec"
	VirtualNetworkGatewayConnectionTypeVPNClient    VirtualNetworkGatewayConnectionType = "VPNClient"
	VirtualNetworkGatewayConnectionTypeVnet2Vnet    VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
)

func PossibleVirtualNetworkGatewayConnectionTypeValues

func PossibleVirtualNetworkGatewayConnectionTypeValues() []VirtualNetworkGatewayConnectionType

PossibleVirtualNetworkGatewayConnectionTypeValues returns the possible values for the VirtualNetworkGatewayConnectionType const type.

func (VirtualNetworkGatewayConnectionType) ToPtr

ToPtr returns a *VirtualNetworkGatewayConnectionType pointing to the current value.

type VirtualNetworkGatewayConnectionsBeginCreateOrUpdateOptions

type VirtualNetworkGatewayConnectionsBeginCreateOrUpdateOptions struct {
}

VirtualNetworkGatewayConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginCreateOrUpdate method.

type VirtualNetworkGatewayConnectionsBeginDeleteOptions

type VirtualNetworkGatewayConnectionsBeginDeleteOptions struct {
}

VirtualNetworkGatewayConnectionsBeginDeleteOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginDelete method.

type VirtualNetworkGatewayConnectionsBeginGetIkeSasOptions

type VirtualNetworkGatewayConnectionsBeginGetIkeSasOptions struct {
}

VirtualNetworkGatewayConnectionsBeginGetIkeSasOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginGetIkeSas method.

type VirtualNetworkGatewayConnectionsBeginResetConnectionOptions

type VirtualNetworkGatewayConnectionsBeginResetConnectionOptions struct {
}

VirtualNetworkGatewayConnectionsBeginResetConnectionOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginResetConnection method.

type VirtualNetworkGatewayConnectionsBeginResetSharedKeyOptions

type VirtualNetworkGatewayConnectionsBeginResetSharedKeyOptions struct {
}

VirtualNetworkGatewayConnectionsBeginResetSharedKeyOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginResetSharedKey method.

type VirtualNetworkGatewayConnectionsBeginSetSharedKeyOptions

type VirtualNetworkGatewayConnectionsBeginSetSharedKeyOptions struct {
}

VirtualNetworkGatewayConnectionsBeginSetSharedKeyOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginSetSharedKey method.

type VirtualNetworkGatewayConnectionsBeginStartPacketCaptureOptions

type VirtualNetworkGatewayConnectionsBeginStartPacketCaptureOptions struct {
	// Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
	Parameters *VPNPacketCaptureStartParameters
}

VirtualNetworkGatewayConnectionsBeginStartPacketCaptureOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginStartPacketCapture method.

type VirtualNetworkGatewayConnectionsBeginStopPacketCaptureOptions

type VirtualNetworkGatewayConnectionsBeginStopPacketCaptureOptions struct {
}

VirtualNetworkGatewayConnectionsBeginStopPacketCaptureOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginStopPacketCapture method.

type VirtualNetworkGatewayConnectionsBeginUpdateTagsOptions

type VirtualNetworkGatewayConnectionsBeginUpdateTagsOptions struct {
}

VirtualNetworkGatewayConnectionsBeginUpdateTagsOptions contains the optional parameters for the VirtualNetworkGatewayConnections.BeginUpdateTags method.

type VirtualNetworkGatewayConnectionsClient

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

VirtualNetworkGatewayConnectionsClient contains the methods for the VirtualNetworkGatewayConnections group. Don't use this type directly, use NewVirtualNetworkGatewayConnectionsClient() instead.

func NewVirtualNetworkGatewayConnectionsClient

func NewVirtualNetworkGatewayConnectionsClient(con *arm.Connection, subscriptionID string) *VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClient creates a new instance of VirtualNetworkGatewayConnectionsClient with the specified values.

func (*VirtualNetworkGatewayConnectionsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates a virtual network gateway connection in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginDelete

BeginDelete - Deletes the specified virtual network Gateway connection. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginGetIkeSas

BeginGetIkeSas - Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. If the operation fails it returns the *ErrorResponse error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginResetConnection

BeginResetConnection - Resets the virtual network gateway connection specified. If the operation fails it returns the *ErrorResponse error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginResetSharedKey

BeginResetSharedKey - The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginSetSharedKey

BeginSetSharedKey - The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginStartPacketCapture

BeginStartPacketCapture - Starts packet capture on virtual network gateway connection in the specified resource group. If the operation fails it returns the *Error error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginStopPacketCapture

BeginStopPacketCapture - Stops packet capture on virtual network gateway connection in the specified resource group. If the operation fails it returns the *Error error type.

func (*VirtualNetworkGatewayConnectionsClient) BeginUpdateTags

func (client *VirtualNetworkGatewayConnectionsClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters TagsObject, options *VirtualNetworkGatewayConnectionsBeginUpdateTagsOptions) (VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates a virtual network gateway connection tags. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) Get

Get - Gets the specified virtual network gateway connection by resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) GetSharedKey

GetSharedKey - The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayConnectionsClient) List

List - The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. If the operation fails it returns the *CloudError error type.

type VirtualNetworkGatewayConnectionsCreateOrUpdatePoller

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

VirtualNetworkGatewayConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsCreateOrUpdateResponse will be returned.

func (*VirtualNetworkGatewayConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsCreateOrUpdatePollerResponse

type VirtualNetworkGatewayConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsCreateOrUpdatePollerResponse contains the response from method VirtualNetworkGatewayConnections.CreateOrUpdate.

func (VirtualNetworkGatewayConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsCreateOrUpdateResponse

type VirtualNetworkGatewayConnectionsCreateOrUpdateResponse struct {
	VirtualNetworkGatewayConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsCreateOrUpdateResponse contains the response from method VirtualNetworkGatewayConnections.CreateOrUpdate.

type VirtualNetworkGatewayConnectionsCreateOrUpdateResult

type VirtualNetworkGatewayConnectionsCreateOrUpdateResult struct {
	VirtualNetworkGatewayConnection
}

VirtualNetworkGatewayConnectionsCreateOrUpdateResult contains the result from method VirtualNetworkGatewayConnections.CreateOrUpdate.

type VirtualNetworkGatewayConnectionsDeletePoller

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

VirtualNetworkGatewayConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsDeleteResponse will be returned.

func (*VirtualNetworkGatewayConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsDeletePollerResponse

type VirtualNetworkGatewayConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsDeletePollerResponse contains the response from method VirtualNetworkGatewayConnections.Delete.

func (VirtualNetworkGatewayConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsDeletePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsDeletePollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsDeleteResponse

type VirtualNetworkGatewayConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsDeleteResponse contains the response from method VirtualNetworkGatewayConnections.Delete.

type VirtualNetworkGatewayConnectionsGetIkeSasPoller

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

VirtualNetworkGatewayConnectionsGetIkeSasPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsGetIkeSasPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsGetIkeSasPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsGetIkeSasResponse will be returned.

func (*VirtualNetworkGatewayConnectionsGetIkeSasPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsGetIkeSasPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsGetIkeSasPollerResponse

type VirtualNetworkGatewayConnectionsGetIkeSasPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsGetIkeSasPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsGetIkeSasPollerResponse contains the response from method VirtualNetworkGatewayConnections.GetIkeSas.

func (VirtualNetworkGatewayConnectionsGetIkeSasPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsGetIkeSasPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsGetIkeSasPollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsGetIkeSasResponse

type VirtualNetworkGatewayConnectionsGetIkeSasResponse struct {
	VirtualNetworkGatewayConnectionsGetIkeSasResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsGetIkeSasResponse contains the response from method VirtualNetworkGatewayConnections.GetIkeSas.

type VirtualNetworkGatewayConnectionsGetIkeSasResult

type VirtualNetworkGatewayConnectionsGetIkeSasResult struct {
	Value *string
}

VirtualNetworkGatewayConnectionsGetIkeSasResult contains the result from method VirtualNetworkGatewayConnections.GetIkeSas.

type VirtualNetworkGatewayConnectionsGetOptions

type VirtualNetworkGatewayConnectionsGetOptions struct {
}

VirtualNetworkGatewayConnectionsGetOptions contains the optional parameters for the VirtualNetworkGatewayConnections.Get method.

type VirtualNetworkGatewayConnectionsGetResponse

type VirtualNetworkGatewayConnectionsGetResponse struct {
	VirtualNetworkGatewayConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsGetResponse contains the response from method VirtualNetworkGatewayConnections.Get.

type VirtualNetworkGatewayConnectionsGetResult

type VirtualNetworkGatewayConnectionsGetResult struct {
	VirtualNetworkGatewayConnection
}

VirtualNetworkGatewayConnectionsGetResult contains the result from method VirtualNetworkGatewayConnections.Get.

type VirtualNetworkGatewayConnectionsGetSharedKeyOptions

type VirtualNetworkGatewayConnectionsGetSharedKeyOptions struct {
}

VirtualNetworkGatewayConnectionsGetSharedKeyOptions contains the optional parameters for the VirtualNetworkGatewayConnections.GetSharedKey method.

type VirtualNetworkGatewayConnectionsGetSharedKeyResponse

type VirtualNetworkGatewayConnectionsGetSharedKeyResponse struct {
	VirtualNetworkGatewayConnectionsGetSharedKeyResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsGetSharedKeyResponse contains the response from method VirtualNetworkGatewayConnections.GetSharedKey.

type VirtualNetworkGatewayConnectionsGetSharedKeyResult

type VirtualNetworkGatewayConnectionsGetSharedKeyResult struct {
	ConnectionSharedKey
}

VirtualNetworkGatewayConnectionsGetSharedKeyResult contains the result from method VirtualNetworkGatewayConnections.GetSharedKey.

type VirtualNetworkGatewayConnectionsListOptions

type VirtualNetworkGatewayConnectionsListOptions struct {
}

VirtualNetworkGatewayConnectionsListOptions contains the optional parameters for the VirtualNetworkGatewayConnections.List method.

type VirtualNetworkGatewayConnectionsListPager

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

VirtualNetworkGatewayConnectionsListPager provides operations for iterating over paged responses.

func (*VirtualNetworkGatewayConnectionsListPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkGatewayConnectionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkGatewayConnectionsListPager) PageResponse

PageResponse returns the current VirtualNetworkGatewayConnectionsListResponse page.

type VirtualNetworkGatewayConnectionsListResponse

type VirtualNetworkGatewayConnectionsListResponse struct {
	VirtualNetworkGatewayConnectionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsListResponse contains the response from method VirtualNetworkGatewayConnections.List.

type VirtualNetworkGatewayConnectionsListResult

type VirtualNetworkGatewayConnectionsListResult struct {
	VirtualNetworkGatewayConnectionListResult
}

VirtualNetworkGatewayConnectionsListResult contains the result from method VirtualNetworkGatewayConnections.List.

type VirtualNetworkGatewayConnectionsResetConnectionPoller

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

VirtualNetworkGatewayConnectionsResetConnectionPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsResetConnectionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsResetConnectionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsResetConnectionResponse will be returned.

func (*VirtualNetworkGatewayConnectionsResetConnectionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsResetConnectionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsResetConnectionPollerResponse

type VirtualNetworkGatewayConnectionsResetConnectionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsResetConnectionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsResetConnectionPollerResponse contains the response from method VirtualNetworkGatewayConnections.ResetConnection.

func (VirtualNetworkGatewayConnectionsResetConnectionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsResetConnectionPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsResetConnectionPollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsResetConnectionResponse

type VirtualNetworkGatewayConnectionsResetConnectionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsResetConnectionResponse contains the response from method VirtualNetworkGatewayConnections.ResetConnection.

type VirtualNetworkGatewayConnectionsResetSharedKeyPoller

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

VirtualNetworkGatewayConnectionsResetSharedKeyPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsResetSharedKeyPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsResetSharedKeyPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsResetSharedKeyResponse will be returned.

func (*VirtualNetworkGatewayConnectionsResetSharedKeyPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsResetSharedKeyPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsResetSharedKeyPollerResponse

type VirtualNetworkGatewayConnectionsResetSharedKeyPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsResetSharedKeyPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsResetSharedKeyPollerResponse contains the response from method VirtualNetworkGatewayConnections.ResetSharedKey.

func (VirtualNetworkGatewayConnectionsResetSharedKeyPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsResetSharedKeyPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsResetSharedKeyPollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsResetSharedKeyResponse

type VirtualNetworkGatewayConnectionsResetSharedKeyResponse struct {
	VirtualNetworkGatewayConnectionsResetSharedKeyResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsResetSharedKeyResponse contains the response from method VirtualNetworkGatewayConnections.ResetSharedKey.

type VirtualNetworkGatewayConnectionsResetSharedKeyResult

type VirtualNetworkGatewayConnectionsResetSharedKeyResult struct {
	ConnectionResetSharedKey
}

VirtualNetworkGatewayConnectionsResetSharedKeyResult contains the result from method VirtualNetworkGatewayConnections.ResetSharedKey.

type VirtualNetworkGatewayConnectionsSetSharedKeyPoller

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

VirtualNetworkGatewayConnectionsSetSharedKeyPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsSetSharedKeyPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsSetSharedKeyPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsSetSharedKeyResponse will be returned.

func (*VirtualNetworkGatewayConnectionsSetSharedKeyPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsSetSharedKeyPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsSetSharedKeyPollerResponse

type VirtualNetworkGatewayConnectionsSetSharedKeyPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsSetSharedKeyPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsSetSharedKeyPollerResponse contains the response from method VirtualNetworkGatewayConnections.SetSharedKey.

func (VirtualNetworkGatewayConnectionsSetSharedKeyPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsSetSharedKeyPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsSetSharedKeyPollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsSetSharedKeyResponse

type VirtualNetworkGatewayConnectionsSetSharedKeyResponse struct {
	VirtualNetworkGatewayConnectionsSetSharedKeyResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsSetSharedKeyResponse contains the response from method VirtualNetworkGatewayConnections.SetSharedKey.

type VirtualNetworkGatewayConnectionsSetSharedKeyResult

type VirtualNetworkGatewayConnectionsSetSharedKeyResult struct {
	ConnectionSharedKey
}

VirtualNetworkGatewayConnectionsSetSharedKeyResult contains the result from method VirtualNetworkGatewayConnections.SetSharedKey.

type VirtualNetworkGatewayConnectionsStartPacketCapturePoller

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

VirtualNetworkGatewayConnectionsStartPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsStartPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsStartPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsStartPacketCaptureResponse will be returned.

func (*VirtualNetworkGatewayConnectionsStartPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsStartPacketCapturePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsStartPacketCapturePollerResponse

type VirtualNetworkGatewayConnectionsStartPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsStartPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsStartPacketCapturePollerResponse contains the response from method VirtualNetworkGatewayConnections.StartPacketCapture.

func (VirtualNetworkGatewayConnectionsStartPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsStartPacketCapturePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsStartPacketCapturePollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsStartPacketCaptureResponse

type VirtualNetworkGatewayConnectionsStartPacketCaptureResponse struct {
	VirtualNetworkGatewayConnectionsStartPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsStartPacketCaptureResponse contains the response from method VirtualNetworkGatewayConnections.StartPacketCapture.

type VirtualNetworkGatewayConnectionsStartPacketCaptureResult

type VirtualNetworkGatewayConnectionsStartPacketCaptureResult struct {
	Value *string
}

VirtualNetworkGatewayConnectionsStartPacketCaptureResult contains the result from method VirtualNetworkGatewayConnections.StartPacketCapture.

type VirtualNetworkGatewayConnectionsStopPacketCapturePoller

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

VirtualNetworkGatewayConnectionsStopPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsStopPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsStopPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsStopPacketCaptureResponse will be returned.

func (*VirtualNetworkGatewayConnectionsStopPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsStopPacketCapturePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsStopPacketCapturePollerResponse

type VirtualNetworkGatewayConnectionsStopPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsStopPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsStopPacketCapturePollerResponse contains the response from method VirtualNetworkGatewayConnections.StopPacketCapture.

func (VirtualNetworkGatewayConnectionsStopPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsStopPacketCapturePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsStopPacketCapturePollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsStopPacketCaptureResponse

type VirtualNetworkGatewayConnectionsStopPacketCaptureResponse struct {
	VirtualNetworkGatewayConnectionsStopPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsStopPacketCaptureResponse contains the response from method VirtualNetworkGatewayConnections.StopPacketCapture.

type VirtualNetworkGatewayConnectionsStopPacketCaptureResult

type VirtualNetworkGatewayConnectionsStopPacketCaptureResult struct {
	Value *string
}

VirtualNetworkGatewayConnectionsStopPacketCaptureResult contains the result from method VirtualNetworkGatewayConnections.StopPacketCapture.

type VirtualNetworkGatewayConnectionsUpdateTagsPoller

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

VirtualNetworkGatewayConnectionsUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayConnectionsUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayConnectionsUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayConnectionsUpdateTagsResponse will be returned.

func (*VirtualNetworkGatewayConnectionsUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayConnectionsUpdateTagsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse

type VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayConnectionsUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse contains the response from method VirtualNetworkGatewayConnections.UpdateTags.

func (VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayConnectionsUpdateTagsPollerResponse from the provided client and resume token.

type VirtualNetworkGatewayConnectionsUpdateTagsResponse

type VirtualNetworkGatewayConnectionsUpdateTagsResponse struct {
	VirtualNetworkGatewayConnectionsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayConnectionsUpdateTagsResponse contains the response from method VirtualNetworkGatewayConnections.UpdateTags.

type VirtualNetworkGatewayConnectionsUpdateTagsResult

type VirtualNetworkGatewayConnectionsUpdateTagsResult struct {
	VirtualNetworkGatewayConnection
}

VirtualNetworkGatewayConnectionsUpdateTagsResult contains the result from method VirtualNetworkGatewayConnections.UpdateTags.

type VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayIPConfiguration struct {
	SubResource
	// 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"`

	// Properties of the virtual network gateway ip configuration.
	Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetworkGatewayIPConfiguration - IP configuration for virtual network gateway.

func (VirtualNetworkGatewayIPConfiguration) MarshalJSON

func (v VirtualNetworkGatewayIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayIPConfiguration.

type VirtualNetworkGatewayIPConfigurationPropertiesFormat

type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct {
	// The private IP address allocation method.
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`

	// The reference to the public IP resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`

	// The reference to the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`

	// READ-ONLY; Private IP Address for this gateway.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual network gateway IP configuration resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VirtualNetworkGatewayIPConfigurationPropertiesFormat - Properties of VirtualNetworkGatewayIPConfiguration.

type VirtualNetworkGatewayListConnectionsResult

type VirtualNetworkGatewayListConnectionsResult struct {
	// A list of VirtualNetworkGatewayConnection resources that exists in a resource group.
	Value []*VirtualNetworkGatewayConnectionListEntity `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

VirtualNetworkGatewayListConnectionsResult - Response for the VirtualNetworkGatewayListConnections API service call.

func (VirtualNetworkGatewayListConnectionsResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayListConnectionsResult.

type VirtualNetworkGatewayListResult

type VirtualNetworkGatewayListResult struct {
	// A list of VirtualNetworkGateway resources that exists in a resource group.
	Value []*VirtualNetworkGateway `json:"value,omitempty"`

	// READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

VirtualNetworkGatewayListResult - Response for the ListVirtualNetworkGateways API service call.

func (VirtualNetworkGatewayListResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayListResult.

type VirtualNetworkGatewayNatRule

type VirtualNetworkGatewayNatRule struct {
	SubResource
	// 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"`

	// Properties of the Virtual Network Gateway NAT rule.
	Properties *VirtualNetworkGatewayNatRuleProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VirtualNetworkGatewayNatRule Resource.

func (VirtualNetworkGatewayNatRule) MarshalJSON

func (v VirtualNetworkGatewayNatRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayNatRule.

type VirtualNetworkGatewayNatRuleProperties

type VirtualNetworkGatewayNatRuleProperties struct {
	// The private IP address external mapping for NAT.
	ExternalMappings []*VPNNatRuleMapping `json:"externalMappings,omitempty"`

	// The IP Configuration ID this NAT rule applies to.
	IPConfigurationID *string `json:"ipConfigurationId,omitempty"`

	// The private IP address internal mapping for NAT.
	InternalMappings []*VPNNatRuleMapping `json:"internalMappings,omitempty"`

	// The Source NAT direction of a VPN NAT.
	Mode *VPNNatRuleMode `json:"mode,omitempty"`

	// The type of NAT rule for VPN NAT.
	Type *VPNNatRuleType `json:"type,omitempty"`

	// READ-ONLY; The provisioning state of the NAT Rule resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VirtualNetworkGatewayNatRuleProperties - Parameters for VirtualNetworkGatewayNatRule.

func (VirtualNetworkGatewayNatRuleProperties) MarshalJSON

func (v VirtualNetworkGatewayNatRuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayNatRuleProperties.

type VirtualNetworkGatewayNatRulesBeginCreateOrUpdateOptions

type VirtualNetworkGatewayNatRulesBeginCreateOrUpdateOptions struct {
}

VirtualNetworkGatewayNatRulesBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkGatewayNatRules.BeginCreateOrUpdate method.

type VirtualNetworkGatewayNatRulesBeginDeleteOptions

type VirtualNetworkGatewayNatRulesBeginDeleteOptions struct {
}

VirtualNetworkGatewayNatRulesBeginDeleteOptions contains the optional parameters for the VirtualNetworkGatewayNatRules.BeginDelete method.

type VirtualNetworkGatewayNatRulesClient

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

VirtualNetworkGatewayNatRulesClient contains the methods for the VirtualNetworkGatewayNatRules group. Don't use this type directly, use NewVirtualNetworkGatewayNatRulesClient() instead.

func NewVirtualNetworkGatewayNatRulesClient

func NewVirtualNetworkGatewayNatRulesClient(con *arm.Connection, subscriptionID string) *VirtualNetworkGatewayNatRulesClient

NewVirtualNetworkGatewayNatRulesClient creates a new instance of VirtualNetworkGatewayNatRulesClient with the specified values.

func (*VirtualNetworkGatewayNatRulesClient) BeginCreateOrUpdate

func (client *VirtualNetworkGatewayNatRulesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string, natRuleParameters VirtualNetworkGatewayNatRule, options *VirtualNetworkGatewayNatRulesBeginCreateOrUpdateOptions) (VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayNatRulesClient) BeginDelete

func (client *VirtualNetworkGatewayNatRulesClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string, options *VirtualNetworkGatewayNatRulesBeginDeleteOptions) (VirtualNetworkGatewayNatRulesDeletePollerResponse, error)

BeginDelete - Deletes a nat rule. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayNatRulesClient) Get

func (client *VirtualNetworkGatewayNatRulesClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string, options *VirtualNetworkGatewayNatRulesGetOptions) (VirtualNetworkGatewayNatRulesGetResponse, error)

Get - Retrieves the details of a nat rule. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewayNatRulesClient) ListByVirtualNetworkGateway

ListByVirtualNetworkGateway - Retrieves all nat rules for a particular virtual network gateway. If the operation fails it returns the *CloudError error type.

type VirtualNetworkGatewayNatRulesCreateOrUpdatePoller

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

VirtualNetworkGatewayNatRulesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayNatRulesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayNatRulesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayNatRulesCreateOrUpdateResponse will be returned.

func (*VirtualNetworkGatewayNatRulesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayNatRulesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse

type VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayNatRulesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse contains the response from method VirtualNetworkGatewayNatRules.CreateOrUpdate.

func (VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayNatRulesCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualNetworkGatewayNatRulesCreateOrUpdateResponse

type VirtualNetworkGatewayNatRulesCreateOrUpdateResponse struct {
	VirtualNetworkGatewayNatRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayNatRulesCreateOrUpdateResponse contains the response from method VirtualNetworkGatewayNatRules.CreateOrUpdate.

type VirtualNetworkGatewayNatRulesCreateOrUpdateResult

type VirtualNetworkGatewayNatRulesCreateOrUpdateResult struct {
	VirtualNetworkGatewayNatRule
}

VirtualNetworkGatewayNatRulesCreateOrUpdateResult contains the result from method VirtualNetworkGatewayNatRules.CreateOrUpdate.

type VirtualNetworkGatewayNatRulesDeletePoller

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

VirtualNetworkGatewayNatRulesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewayNatRulesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewayNatRulesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewayNatRulesDeleteResponse will be returned.

func (*VirtualNetworkGatewayNatRulesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewayNatRulesDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewayNatRulesDeletePollerResponse

type VirtualNetworkGatewayNatRulesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewayNatRulesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayNatRulesDeletePollerResponse contains the response from method VirtualNetworkGatewayNatRules.Delete.

func (VirtualNetworkGatewayNatRulesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewayNatRulesDeletePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewayNatRulesDeletePollerResponse from the provided client and resume token.

type VirtualNetworkGatewayNatRulesDeleteResponse

type VirtualNetworkGatewayNatRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayNatRulesDeleteResponse contains the response from method VirtualNetworkGatewayNatRules.Delete.

type VirtualNetworkGatewayNatRulesGetOptions

type VirtualNetworkGatewayNatRulesGetOptions struct {
}

VirtualNetworkGatewayNatRulesGetOptions contains the optional parameters for the VirtualNetworkGatewayNatRules.Get method.

type VirtualNetworkGatewayNatRulesGetResponse

type VirtualNetworkGatewayNatRulesGetResponse struct {
	VirtualNetworkGatewayNatRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayNatRulesGetResponse contains the response from method VirtualNetworkGatewayNatRules.Get.

type VirtualNetworkGatewayNatRulesGetResult

type VirtualNetworkGatewayNatRulesGetResult struct {
	VirtualNetworkGatewayNatRule
}

VirtualNetworkGatewayNatRulesGetResult contains the result from method VirtualNetworkGatewayNatRules.Get.

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayOptions

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayOptions struct {
}

VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayOptions contains the optional parameters for the VirtualNetworkGatewayNatRules.ListByVirtualNetworkGateway method.

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayPager

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

VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayPager provides operations for iterating over paged responses.

func (*VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayPager) PageResponse

PageResponse returns the current VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResponse page.

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResponse

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResponse struct {
	VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResponse contains the response from method VirtualNetworkGatewayNatRules.ListByVirtualNetworkGateway.

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResult

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResult struct {
	ListVirtualNetworkGatewayNatRulesResult
}

VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResult contains the result from method VirtualNetworkGatewayNatRules.ListByVirtualNetworkGateway.

type VirtualNetworkGatewayPropertiesFormat

type VirtualNetworkGatewayPropertiesFormat struct {
	// ActiveActive flag.
	Active *bool `json:"activeActive,omitempty"`

	// Virtual network gateway's BGP speaker settings.
	BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`

	// The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and
	// VpnClient.
	CustomRoutes *AddressSpace `json:"customRoutes,omitempty"`

	// Whether BGP is enabled for this virtual network gateway or not.
	EnableBgp *bool `json:"enableBgp,omitempty"`

	// EnableBgpRouteTranslationForNat flag.
	EnableBgpRouteTranslationForNat *bool `json:"enableBgpRouteTranslationForNat,omitempty"`

	// Whether dns forwarding is enabled or not.
	EnableDNSForwarding *bool `json:"enableDnsForwarding,omitempty"`

	// Whether private IP needs to be enabled on this gateway for connections or not.
	EnablePrivateIPAddress *bool `json:"enablePrivateIpAddress,omitempty"`

	// The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing
	// default site setting.
	GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"`

	// The type of this virtual network gateway.
	GatewayType *VirtualNetworkGatewayType `json:"gatewayType,omitempty"`

	// IP configurations for virtual network gateway.
	IPConfigurations []*VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"`

	// NatRules for virtual network gateway.
	NatRules []*VirtualNetworkGatewayNatRule `json:"natRules,omitempty"`

	// The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
	SKU *VirtualNetworkGatewaySKU `json:"sku,omitempty"`

	// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet.
	VNetExtendedLocationResourceID *string `json:"vNetExtendedLocationResourceId,omitempty"`

	// The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
	VPNClientConfiguration *VPNClientConfiguration `json:"vpnClientConfiguration,omitempty"`

	// The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
	VPNGatewayGeneration *VPNGatewayGeneration `json:"vpnGatewayGeneration,omitempty"`

	// The type of this virtual network gateway.
	VPNType *VPNType `json:"vpnType,omitempty"`

	// READ-ONLY; The IP address allocated by the gateway to which dns requests can be sent.
	InboundDNSForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual network gateway resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the virtual network gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

VirtualNetworkGatewayPropertiesFormat - VirtualNetworkGateway properties.

func (VirtualNetworkGatewayPropertiesFormat) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkGatewayPropertiesFormat.

type VirtualNetworkGatewaySKU

type VirtualNetworkGatewaySKU struct {
	// Gateway SKU name.
	Name *VirtualNetworkGatewaySKUName `json:"name,omitempty"`

	// Gateway SKU tier.
	Tier *VirtualNetworkGatewaySKUTier `json:"tier,omitempty"`

	// READ-ONLY; The capacity.
	Capacity *int32 `json:"capacity,omitempty" azure:"ro"`
}

VirtualNetworkGatewaySKU - VirtualNetworkGatewaySku details.

type VirtualNetworkGatewaySKUName

type VirtualNetworkGatewaySKUName string

VirtualNetworkGatewaySKUName - Gateway SKU name.

const (
	VirtualNetworkGatewaySKUNameBasic            VirtualNetworkGatewaySKUName = "Basic"
	VirtualNetworkGatewaySKUNameErGw1AZ          VirtualNetworkGatewaySKUName = "ErGw1AZ"
	VirtualNetworkGatewaySKUNameErGw2AZ          VirtualNetworkGatewaySKUName = "ErGw2AZ"
	VirtualNetworkGatewaySKUNameErGw3AZ          VirtualNetworkGatewaySKUName = "ErGw3AZ"
	VirtualNetworkGatewaySKUNameHighPerformance  VirtualNetworkGatewaySKUName = "HighPerformance"
	VirtualNetworkGatewaySKUNameStandard         VirtualNetworkGatewaySKUName = "Standard"
	VirtualNetworkGatewaySKUNameUltraPerformance VirtualNetworkGatewaySKUName = "UltraPerformance"
	VirtualNetworkGatewaySKUNameVPNGw1           VirtualNetworkGatewaySKUName = "VpnGw1"
	VirtualNetworkGatewaySKUNameVPNGw1AZ         VirtualNetworkGatewaySKUName = "VpnGw1AZ"
	VirtualNetworkGatewaySKUNameVPNGw2           VirtualNetworkGatewaySKUName = "VpnGw2"
	VirtualNetworkGatewaySKUNameVPNGw2AZ         VirtualNetworkGatewaySKUName = "VpnGw2AZ"
	VirtualNetworkGatewaySKUNameVPNGw3           VirtualNetworkGatewaySKUName = "VpnGw3"
	VirtualNetworkGatewaySKUNameVPNGw3AZ         VirtualNetworkGatewaySKUName = "VpnGw3AZ"
	VirtualNetworkGatewaySKUNameVPNGw4           VirtualNetworkGatewaySKUName = "VpnGw4"
	VirtualNetworkGatewaySKUNameVPNGw4AZ         VirtualNetworkGatewaySKUName = "VpnGw4AZ"
	VirtualNetworkGatewaySKUNameVPNGw5           VirtualNetworkGatewaySKUName = "VpnGw5"
	VirtualNetworkGatewaySKUNameVPNGw5AZ         VirtualNetworkGatewaySKUName = "VpnGw5AZ"
)

func PossibleVirtualNetworkGatewaySKUNameValues

func PossibleVirtualNetworkGatewaySKUNameValues() []VirtualNetworkGatewaySKUName

PossibleVirtualNetworkGatewaySKUNameValues returns the possible values for the VirtualNetworkGatewaySKUName const type.

func (VirtualNetworkGatewaySKUName) ToPtr

ToPtr returns a *VirtualNetworkGatewaySKUName pointing to the current value.

type VirtualNetworkGatewaySKUTier

type VirtualNetworkGatewaySKUTier string

VirtualNetworkGatewaySKUTier - Gateway SKU tier.

const (
	VirtualNetworkGatewaySKUTierBasic            VirtualNetworkGatewaySKUTier = "Basic"
	VirtualNetworkGatewaySKUTierErGw1AZ          VirtualNetworkGatewaySKUTier = "ErGw1AZ"
	VirtualNetworkGatewaySKUTierErGw2AZ          VirtualNetworkGatewaySKUTier = "ErGw2AZ"
	VirtualNetworkGatewaySKUTierErGw3AZ          VirtualNetworkGatewaySKUTier = "ErGw3AZ"
	VirtualNetworkGatewaySKUTierHighPerformance  VirtualNetworkGatewaySKUTier = "HighPerformance"
	VirtualNetworkGatewaySKUTierStandard         VirtualNetworkGatewaySKUTier = "Standard"
	VirtualNetworkGatewaySKUTierUltraPerformance VirtualNetworkGatewaySKUTier = "UltraPerformance"
	VirtualNetworkGatewaySKUTierVPNGw1           VirtualNetworkGatewaySKUTier = "VpnGw1"
	VirtualNetworkGatewaySKUTierVPNGw1AZ         VirtualNetworkGatewaySKUTier = "VpnGw1AZ"
	VirtualNetworkGatewaySKUTierVPNGw2           VirtualNetworkGatewaySKUTier = "VpnGw2"
	VirtualNetworkGatewaySKUTierVPNGw2AZ         VirtualNetworkGatewaySKUTier = "VpnGw2AZ"
	VirtualNetworkGatewaySKUTierVPNGw3           VirtualNetworkGatewaySKUTier = "VpnGw3"
	VirtualNetworkGatewaySKUTierVPNGw3AZ         VirtualNetworkGatewaySKUTier = "VpnGw3AZ"
	VirtualNetworkGatewaySKUTierVPNGw4           VirtualNetworkGatewaySKUTier = "VpnGw4"
	VirtualNetworkGatewaySKUTierVPNGw4AZ         VirtualNetworkGatewaySKUTier = "VpnGw4AZ"
	VirtualNetworkGatewaySKUTierVPNGw5           VirtualNetworkGatewaySKUTier = "VpnGw5"
	VirtualNetworkGatewaySKUTierVPNGw5AZ         VirtualNetworkGatewaySKUTier = "VpnGw5AZ"
)

func PossibleVirtualNetworkGatewaySKUTierValues

func PossibleVirtualNetworkGatewaySKUTierValues() []VirtualNetworkGatewaySKUTier

PossibleVirtualNetworkGatewaySKUTierValues returns the possible values for the VirtualNetworkGatewaySKUTier const type.

func (VirtualNetworkGatewaySKUTier) ToPtr

ToPtr returns a *VirtualNetworkGatewaySKUTier pointing to the current value.

type VirtualNetworkGatewayType

type VirtualNetworkGatewayType string

VirtualNetworkGatewayType - The type of this virtual network gateway.

const (
	VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute"
	VirtualNetworkGatewayTypeLocalGateway VirtualNetworkGatewayType = "LocalGateway"
	VirtualNetworkGatewayTypeVPN          VirtualNetworkGatewayType = "Vpn"
)

func PossibleVirtualNetworkGatewayTypeValues

func PossibleVirtualNetworkGatewayTypeValues() []VirtualNetworkGatewayType

PossibleVirtualNetworkGatewayTypeValues returns the possible values for the VirtualNetworkGatewayType const type.

func (VirtualNetworkGatewayType) ToPtr

ToPtr returns a *VirtualNetworkGatewayType pointing to the current value.

type VirtualNetworkGatewaysBeginCreateOrUpdateOptions

type VirtualNetworkGatewaysBeginCreateOrUpdateOptions struct {
}

VirtualNetworkGatewaysBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkGateways.BeginCreateOrUpdate method.

type VirtualNetworkGatewaysBeginDeleteOptions

type VirtualNetworkGatewaysBeginDeleteOptions struct {
}

VirtualNetworkGatewaysBeginDeleteOptions contains the optional parameters for the VirtualNetworkGateways.BeginDelete method.

type VirtualNetworkGatewaysBeginDisconnectVirtualNetworkGatewayVPNConnectionsOptions

type VirtualNetworkGatewaysBeginDisconnectVirtualNetworkGatewayVPNConnectionsOptions struct {
}

VirtualNetworkGatewaysBeginDisconnectVirtualNetworkGatewayVPNConnectionsOptions contains the optional parameters for the VirtualNetworkGateways.BeginDisconnectVirtualNetworkGatewayVPNConnections method.

type VirtualNetworkGatewaysBeginGenerateVPNProfileOptions

type VirtualNetworkGatewaysBeginGenerateVPNProfileOptions struct {
}

VirtualNetworkGatewaysBeginGenerateVPNProfileOptions contains the optional parameters for the VirtualNetworkGateways.BeginGenerateVPNProfile method.

type VirtualNetworkGatewaysBeginGeneratevpnclientpackageOptions

type VirtualNetworkGatewaysBeginGeneratevpnclientpackageOptions struct {
}

VirtualNetworkGatewaysBeginGeneratevpnclientpackageOptions contains the optional parameters for the VirtualNetworkGateways.BeginGeneratevpnclientpackage method.

type VirtualNetworkGatewaysBeginGetAdvertisedRoutesOptions

type VirtualNetworkGatewaysBeginGetAdvertisedRoutesOptions struct {
}

VirtualNetworkGatewaysBeginGetAdvertisedRoutesOptions contains the optional parameters for the VirtualNetworkGateways.BeginGetAdvertisedRoutes method.

type VirtualNetworkGatewaysBeginGetBgpPeerStatusOptions

type VirtualNetworkGatewaysBeginGetBgpPeerStatusOptions struct {
	// The IP address of the peer to retrieve the status of.
	Peer *string
}

VirtualNetworkGatewaysBeginGetBgpPeerStatusOptions contains the optional parameters for the VirtualNetworkGateways.BeginGetBgpPeerStatus method.

type VirtualNetworkGatewaysBeginGetLearnedRoutesOptions

type VirtualNetworkGatewaysBeginGetLearnedRoutesOptions struct {
}

VirtualNetworkGatewaysBeginGetLearnedRoutesOptions contains the optional parameters for the VirtualNetworkGateways.BeginGetLearnedRoutes method.

type VirtualNetworkGatewaysBeginGetVPNProfilePackageURLOptions

type VirtualNetworkGatewaysBeginGetVPNProfilePackageURLOptions struct {
}

VirtualNetworkGatewaysBeginGetVPNProfilePackageURLOptions contains the optional parameters for the VirtualNetworkGateways.BeginGetVPNProfilePackageURL method.

type VirtualNetworkGatewaysBeginGetVpnclientConnectionHealthOptions

type VirtualNetworkGatewaysBeginGetVpnclientConnectionHealthOptions struct {
}

VirtualNetworkGatewaysBeginGetVpnclientConnectionHealthOptions contains the optional parameters for the VirtualNetworkGateways.BeginGetVpnclientConnectionHealth method.

type VirtualNetworkGatewaysBeginGetVpnclientIPSecParametersOptions

type VirtualNetworkGatewaysBeginGetVpnclientIPSecParametersOptions struct {
}

VirtualNetworkGatewaysBeginGetVpnclientIPSecParametersOptions contains the optional parameters for the VirtualNetworkGateways.BeginGetVpnclientIPSecParameters method.

type VirtualNetworkGatewaysBeginResetOptions

type VirtualNetworkGatewaysBeginResetOptions struct {
	// Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
	GatewayVip *string
}

VirtualNetworkGatewaysBeginResetOptions contains the optional parameters for the VirtualNetworkGateways.BeginReset method.

type VirtualNetworkGatewaysBeginResetVPNClientSharedKeyOptions

type VirtualNetworkGatewaysBeginResetVPNClientSharedKeyOptions struct {
}

VirtualNetworkGatewaysBeginResetVPNClientSharedKeyOptions contains the optional parameters for the VirtualNetworkGateways.BeginResetVPNClientSharedKey method.

type VirtualNetworkGatewaysBeginSetVpnclientIPSecParametersOptions

type VirtualNetworkGatewaysBeginSetVpnclientIPSecParametersOptions struct {
}

VirtualNetworkGatewaysBeginSetVpnclientIPSecParametersOptions contains the optional parameters for the VirtualNetworkGateways.BeginSetVpnclientIPSecParameters method.

type VirtualNetworkGatewaysBeginStartPacketCaptureOptions

type VirtualNetworkGatewaysBeginStartPacketCaptureOptions struct {
	// Virtual network gateway packet capture parameters supplied to start packet capture on gateway.
	Parameters *VPNPacketCaptureStartParameters
}

VirtualNetworkGatewaysBeginStartPacketCaptureOptions contains the optional parameters for the VirtualNetworkGateways.BeginStartPacketCapture method.

type VirtualNetworkGatewaysBeginStopPacketCaptureOptions

type VirtualNetworkGatewaysBeginStopPacketCaptureOptions struct {
}

VirtualNetworkGatewaysBeginStopPacketCaptureOptions contains the optional parameters for the VirtualNetworkGateways.BeginStopPacketCapture method.

type VirtualNetworkGatewaysBeginUpdateTagsOptions

type VirtualNetworkGatewaysBeginUpdateTagsOptions struct {
}

VirtualNetworkGatewaysBeginUpdateTagsOptions contains the optional parameters for the VirtualNetworkGateways.BeginUpdateTags method.

type VirtualNetworkGatewaysClient

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

VirtualNetworkGatewaysClient contains the methods for the VirtualNetworkGateways group. Don't use this type directly, use NewVirtualNetworkGatewaysClient() instead.

func NewVirtualNetworkGatewaysClient

func NewVirtualNetworkGatewaysClient(con *arm.Connection, subscriptionID string) *VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClient creates a new instance of VirtualNetworkGatewaysClient with the specified values.

func (*VirtualNetworkGatewaysClient) BeginCreateOrUpdate

func (client *VirtualNetworkGatewaysClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, options *VirtualNetworkGatewaysBeginCreateOrUpdateOptions) (VirtualNetworkGatewaysCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a virtual network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginDelete

func (client *VirtualNetworkGatewaysClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginDeleteOptions) (VirtualNetworkGatewaysDeletePollerResponse, error)

BeginDelete - Deletes the specified virtual network gateway. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginDisconnectVirtualNetworkGatewayVPNConnections

BeginDisconnectVirtualNetworkGatewayVPNConnections - Disconnect vpn connections of virtual network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGenerateVPNProfile

func (client *VirtualNetworkGatewaysClient) BeginGenerateVPNProfile(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VPNClientParameters, options *VirtualNetworkGatewaysBeginGenerateVPNProfileOptions) (VirtualNetworkGatewaysGenerateVPNProfilePollerResponse, error)

BeginGenerateVPNProfile - Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGeneratevpnclientpackage

func (client *VirtualNetworkGatewaysClient) BeginGeneratevpnclientpackage(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VPNClientParameters, options *VirtualNetworkGatewaysBeginGeneratevpnclientpackageOptions) (VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse, error)

BeginGeneratevpnclientpackage - Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGetAdvertisedRoutes

func (client *VirtualNetworkGatewaysClient) BeginGetAdvertisedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string, options *VirtualNetworkGatewaysBeginGetAdvertisedRoutesOptions) (VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse, error)

BeginGetAdvertisedRoutes - This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGetBgpPeerStatus

func (client *VirtualNetworkGatewaysClient) BeginGetBgpPeerStatus(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginGetBgpPeerStatusOptions) (VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse, error)

BeginGetBgpPeerStatus - The GetBgpPeerStatus operation retrieves the status of all BGP peers. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGetLearnedRoutes

func (client *VirtualNetworkGatewaysClient) BeginGetLearnedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginGetLearnedRoutesOptions) (VirtualNetworkGatewaysGetLearnedRoutesPollerResponse, error)

BeginGetLearnedRoutes - This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGetVPNProfilePackageURL

func (client *VirtualNetworkGatewaysClient) BeginGetVPNProfilePackageURL(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginGetVPNProfilePackageURLOptions) (VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse, error)

BeginGetVPNProfilePackageURL - Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGetVpnclientConnectionHealth

BeginGetVpnclientConnectionHealth - Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginGetVpnclientIPSecParameters

BeginGetVpnclientIPSecParameters - The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginReset

func (client *VirtualNetworkGatewaysClient) BeginReset(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginResetOptions) (VirtualNetworkGatewaysResetPollerResponse, error)

BeginReset - Resets the primary of the virtual network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginResetVPNClientSharedKey

func (client *VirtualNetworkGatewaysClient) BeginResetVPNClientSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginResetVPNClientSharedKeyOptions) (VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse, error)

BeginResetVPNClientSharedKey - Resets the VPN client shared key of the virtual network gateway in the specified resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginSetVpnclientIPSecParameters

func (client *VirtualNetworkGatewaysClient) BeginSetVpnclientIPSecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, vpnclientIPSecParams VPNClientIPsecParameters, options *VirtualNetworkGatewaysBeginSetVpnclientIPSecParametersOptions) (VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse, error)

BeginSetVpnclientIPSecParameters - The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) BeginStartPacketCapture

func (client *VirtualNetworkGatewaysClient) BeginStartPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysBeginStartPacketCaptureOptions) (VirtualNetworkGatewaysStartPacketCapturePollerResponse, error)

BeginStartPacketCapture - Starts packet capture on virtual network gateway in the specified resource group. If the operation fails it returns the *Error error type.

func (*VirtualNetworkGatewaysClient) BeginStopPacketCapture

BeginStopPacketCapture - Stops packet capture on virtual network gateway in the specified resource group. If the operation fails it returns the *Error error type.

func (*VirtualNetworkGatewaysClient) BeginUpdateTags

func (client *VirtualNetworkGatewaysClient) BeginUpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters TagsObject, options *VirtualNetworkGatewaysBeginUpdateTagsOptions) (VirtualNetworkGatewaysUpdateTagsPollerResponse, error)

BeginUpdateTags - Updates a virtual network gateway tags. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) Get

func (client *VirtualNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysGetOptions) (VirtualNetworkGatewaysGetResponse, error)

Get - Gets the specified virtual network gateway by resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) List

List - Gets all virtual network gateways by resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) ListConnections

func (client *VirtualNetworkGatewaysClient) ListConnections(resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysListConnectionsOptions) *VirtualNetworkGatewaysListConnectionsPager

ListConnections - Gets all the connections in a virtual network gateway. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) SupportedVPNDevices

func (client *VirtualNetworkGatewaysClient) SupportedVPNDevices(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, options *VirtualNetworkGatewaysSupportedVPNDevicesOptions) (VirtualNetworkGatewaysSupportedVPNDevicesResponse, error)

SupportedVPNDevices - Gets a xml format representation for supported vpn devices. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkGatewaysClient) VPNDeviceConfigurationScript

func (client *VirtualNetworkGatewaysClient) VPNDeviceConfigurationScript(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VPNDeviceScriptParameters, options *VirtualNetworkGatewaysVPNDeviceConfigurationScriptOptions) (VirtualNetworkGatewaysVPNDeviceConfigurationScriptResponse, error)

VPNDeviceConfigurationScript - Gets a xml format representation for vpn device configuration script. If the operation fails it returns the *CloudError error type.

type VirtualNetworkGatewaysCreateOrUpdatePoller

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

VirtualNetworkGatewaysCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysCreateOrUpdateResponse will be returned.

func (*VirtualNetworkGatewaysCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysCreateOrUpdatePollerResponse

type VirtualNetworkGatewaysCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysCreateOrUpdatePollerResponse contains the response from method VirtualNetworkGateways.CreateOrUpdate.

func (VirtualNetworkGatewaysCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysCreateOrUpdateResponse

type VirtualNetworkGatewaysCreateOrUpdateResponse struct {
	VirtualNetworkGatewaysCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysCreateOrUpdateResponse contains the response from method VirtualNetworkGateways.CreateOrUpdate.

type VirtualNetworkGatewaysCreateOrUpdateResult

type VirtualNetworkGatewaysCreateOrUpdateResult struct {
	VirtualNetworkGateway
}

VirtualNetworkGatewaysCreateOrUpdateResult contains the result from method VirtualNetworkGateways.CreateOrUpdate.

type VirtualNetworkGatewaysDeletePoller

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

VirtualNetworkGatewaysDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysDeleteResponse will be returned.

func (*VirtualNetworkGatewaysDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysDeletePoller) ResumeToken

func (p *VirtualNetworkGatewaysDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysDeletePollerResponse

type VirtualNetworkGatewaysDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysDeletePollerResponse contains the response from method VirtualNetworkGateways.Delete.

func (VirtualNetworkGatewaysDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysDeletePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysDeletePollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysDeleteResponse

type VirtualNetworkGatewaysDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysDeleteResponse contains the response from method VirtualNetworkGateways.Delete.

type VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller

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

VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsResponse will be returned.

func (*VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPollerResponse

type VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPollerResponse contains the response from method VirtualNetworkGateways.DisconnectVirtualNetworkGatewayVPNConnections.

func (VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsResponse

type VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVPNConnectionsResponse contains the response from method VirtualNetworkGateways.DisconnectVirtualNetworkGatewayVPNConnections.

type VirtualNetworkGatewaysGenerateVPNProfilePoller

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

VirtualNetworkGatewaysGenerateVPNProfilePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGenerateVPNProfilePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGenerateVPNProfilePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGenerateVPNProfileResponse will be returned.

func (*VirtualNetworkGatewaysGenerateVPNProfilePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGenerateVPNProfilePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGenerateVPNProfilePollerResponse

type VirtualNetworkGatewaysGenerateVPNProfilePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGenerateVPNProfilePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGenerateVPNProfilePollerResponse contains the response from method VirtualNetworkGateways.GenerateVPNProfile.

func (VirtualNetworkGatewaysGenerateVPNProfilePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGenerateVPNProfilePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGenerateVPNProfilePollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGenerateVPNProfileResponse

type VirtualNetworkGatewaysGenerateVPNProfileResponse struct {
	VirtualNetworkGatewaysGenerateVPNProfileResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGenerateVPNProfileResponse contains the response from method VirtualNetworkGateways.GenerateVPNProfile.

type VirtualNetworkGatewaysGenerateVPNProfileResult

type VirtualNetworkGatewaysGenerateVPNProfileResult struct {
	Value *string
}

VirtualNetworkGatewaysGenerateVPNProfileResult contains the result from method VirtualNetworkGateways.GenerateVPNProfile.

type VirtualNetworkGatewaysGeneratevpnclientpackagePoller

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

VirtualNetworkGatewaysGeneratevpnclientpackagePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGeneratevpnclientpackagePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGeneratevpnclientpackagePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGeneratevpnclientpackageResponse will be returned.

func (*VirtualNetworkGatewaysGeneratevpnclientpackagePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGeneratevpnclientpackagePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse

type VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGeneratevpnclientpackagePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse contains the response from method VirtualNetworkGateways.Generatevpnclientpackage.

func (VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGeneratevpnclientpackagePollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGeneratevpnclientpackageResponse

type VirtualNetworkGatewaysGeneratevpnclientpackageResponse struct {
	VirtualNetworkGatewaysGeneratevpnclientpackageResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGeneratevpnclientpackageResponse contains the response from method VirtualNetworkGateways.Generatevpnclientpackage.

type VirtualNetworkGatewaysGeneratevpnclientpackageResult

type VirtualNetworkGatewaysGeneratevpnclientpackageResult struct {
	Value *string
}

VirtualNetworkGatewaysGeneratevpnclientpackageResult contains the result from method VirtualNetworkGateways.Generatevpnclientpackage.

type VirtualNetworkGatewaysGetAdvertisedRoutesPoller

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

VirtualNetworkGatewaysGetAdvertisedRoutesPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGetAdvertisedRoutesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGetAdvertisedRoutesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGetAdvertisedRoutesResponse will be returned.

func (*VirtualNetworkGatewaysGetAdvertisedRoutesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGetAdvertisedRoutesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse

type VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGetAdvertisedRoutesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse contains the response from method VirtualNetworkGateways.GetAdvertisedRoutes.

func (VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGetAdvertisedRoutesPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGetAdvertisedRoutesResponse

type VirtualNetworkGatewaysGetAdvertisedRoutesResponse struct {
	VirtualNetworkGatewaysGetAdvertisedRoutesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetAdvertisedRoutesResponse contains the response from method VirtualNetworkGateways.GetAdvertisedRoutes.

type VirtualNetworkGatewaysGetAdvertisedRoutesResult

type VirtualNetworkGatewaysGetAdvertisedRoutesResult struct {
	GatewayRouteListResult
}

VirtualNetworkGatewaysGetAdvertisedRoutesResult contains the result from method VirtualNetworkGateways.GetAdvertisedRoutes.

type VirtualNetworkGatewaysGetBgpPeerStatusPoller

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

VirtualNetworkGatewaysGetBgpPeerStatusPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGetBgpPeerStatusPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGetBgpPeerStatusPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGetBgpPeerStatusResponse will be returned.

func (*VirtualNetworkGatewaysGetBgpPeerStatusPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGetBgpPeerStatusPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse

type VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGetBgpPeerStatusPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse contains the response from method VirtualNetworkGateways.GetBgpPeerStatus.

func (VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGetBgpPeerStatusPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGetBgpPeerStatusResponse

type VirtualNetworkGatewaysGetBgpPeerStatusResponse struct {
	VirtualNetworkGatewaysGetBgpPeerStatusResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetBgpPeerStatusResponse contains the response from method VirtualNetworkGateways.GetBgpPeerStatus.

type VirtualNetworkGatewaysGetBgpPeerStatusResult

type VirtualNetworkGatewaysGetBgpPeerStatusResult struct {
	BgpPeerStatusListResult
}

VirtualNetworkGatewaysGetBgpPeerStatusResult contains the result from method VirtualNetworkGateways.GetBgpPeerStatus.

type VirtualNetworkGatewaysGetLearnedRoutesPoller

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

VirtualNetworkGatewaysGetLearnedRoutesPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGetLearnedRoutesPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGetLearnedRoutesPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGetLearnedRoutesResponse will be returned.

func (*VirtualNetworkGatewaysGetLearnedRoutesPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGetLearnedRoutesPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGetLearnedRoutesPollerResponse

type VirtualNetworkGatewaysGetLearnedRoutesPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGetLearnedRoutesPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetLearnedRoutesPollerResponse contains the response from method VirtualNetworkGateways.GetLearnedRoutes.

func (VirtualNetworkGatewaysGetLearnedRoutesPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGetLearnedRoutesPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGetLearnedRoutesPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGetLearnedRoutesResponse

type VirtualNetworkGatewaysGetLearnedRoutesResponse struct {
	VirtualNetworkGatewaysGetLearnedRoutesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetLearnedRoutesResponse contains the response from method VirtualNetworkGateways.GetLearnedRoutes.

type VirtualNetworkGatewaysGetLearnedRoutesResult

type VirtualNetworkGatewaysGetLearnedRoutesResult struct {
	GatewayRouteListResult
}

VirtualNetworkGatewaysGetLearnedRoutesResult contains the result from method VirtualNetworkGateways.GetLearnedRoutes.

type VirtualNetworkGatewaysGetOptions

type VirtualNetworkGatewaysGetOptions struct {
}

VirtualNetworkGatewaysGetOptions contains the optional parameters for the VirtualNetworkGateways.Get method.

type VirtualNetworkGatewaysGetResponse

type VirtualNetworkGatewaysGetResponse struct {
	VirtualNetworkGatewaysGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetResponse contains the response from method VirtualNetworkGateways.Get.

type VirtualNetworkGatewaysGetResult

type VirtualNetworkGatewaysGetResult struct {
	VirtualNetworkGateway
}

VirtualNetworkGatewaysGetResult contains the result from method VirtualNetworkGateways.Get.

type VirtualNetworkGatewaysGetVPNProfilePackageURLPoller

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

VirtualNetworkGatewaysGetVPNProfilePackageURLPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGetVPNProfilePackageURLPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGetVPNProfilePackageURLPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGetVPNProfilePackageURLResponse will be returned.

func (*VirtualNetworkGatewaysGetVPNProfilePackageURLPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGetVPNProfilePackageURLPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse

type VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGetVPNProfilePackageURLPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse contains the response from method VirtualNetworkGateways.GetVPNProfilePackageURL.

func (VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGetVPNProfilePackageURLPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGetVPNProfilePackageURLResponse

type VirtualNetworkGatewaysGetVPNProfilePackageURLResponse struct {
	VirtualNetworkGatewaysGetVPNProfilePackageURLResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetVPNProfilePackageURLResponse contains the response from method VirtualNetworkGateways.GetVPNProfilePackageURL.

type VirtualNetworkGatewaysGetVPNProfilePackageURLResult

type VirtualNetworkGatewaysGetVPNProfilePackageURLResult struct {
	Value *string
}

VirtualNetworkGatewaysGetVPNProfilePackageURLResult contains the result from method VirtualNetworkGateways.GetVPNProfilePackageURL.

type VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller

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

VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGetVpnclientConnectionHealthResponse will be returned.

func (*VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGetVpnclientConnectionHealthPollerResponse

type VirtualNetworkGatewaysGetVpnclientConnectionHealthPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGetVpnclientConnectionHealthPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetVpnclientConnectionHealthPollerResponse contains the response from method VirtualNetworkGateways.GetVpnclientConnectionHealth.

func (VirtualNetworkGatewaysGetVpnclientConnectionHealthPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGetVpnclientConnectionHealthPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGetVpnclientConnectionHealthPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGetVpnclientConnectionHealthResponse

type VirtualNetworkGatewaysGetVpnclientConnectionHealthResponse struct {
	VirtualNetworkGatewaysGetVpnclientConnectionHealthResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetVpnclientConnectionHealthResponse contains the response from method VirtualNetworkGateways.GetVpnclientConnectionHealth.

type VirtualNetworkGatewaysGetVpnclientConnectionHealthResult

type VirtualNetworkGatewaysGetVpnclientConnectionHealthResult struct {
	VPNClientConnectionHealthDetailListResult
}

VirtualNetworkGatewaysGetVpnclientConnectionHealthResult contains the result from method VirtualNetworkGateways.GetVpnclientConnectionHealth.

type VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller

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

VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysGetVpnclientIPSecParametersResponse will be returned.

func (*VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysGetVpnclientIPSecParametersPollerResponse

type VirtualNetworkGatewaysGetVpnclientIPSecParametersPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysGetVpnclientIPSecParametersPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetVpnclientIPSecParametersPollerResponse contains the response from method VirtualNetworkGateways.GetVpnclientIPSecParameters.

func (VirtualNetworkGatewaysGetVpnclientIPSecParametersPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysGetVpnclientIPSecParametersPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysGetVpnclientIPSecParametersPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysGetVpnclientIPSecParametersResponse

type VirtualNetworkGatewaysGetVpnclientIPSecParametersResponse struct {
	VirtualNetworkGatewaysGetVpnclientIPSecParametersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysGetVpnclientIPSecParametersResponse contains the response from method VirtualNetworkGateways.GetVpnclientIPSecParameters.

type VirtualNetworkGatewaysGetVpnclientIPSecParametersResult

type VirtualNetworkGatewaysGetVpnclientIPSecParametersResult struct {
	VPNClientIPsecParameters
}

VirtualNetworkGatewaysGetVpnclientIPSecParametersResult contains the result from method VirtualNetworkGateways.GetVpnclientIPSecParameters.

type VirtualNetworkGatewaysListConnectionsOptions

type VirtualNetworkGatewaysListConnectionsOptions struct {
}

VirtualNetworkGatewaysListConnectionsOptions contains the optional parameters for the VirtualNetworkGateways.ListConnections method.

type VirtualNetworkGatewaysListConnectionsPager

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

VirtualNetworkGatewaysListConnectionsPager provides operations for iterating over paged responses.

func (*VirtualNetworkGatewaysListConnectionsPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkGatewaysListConnectionsPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkGatewaysListConnectionsPager) PageResponse

PageResponse returns the current VirtualNetworkGatewaysListConnectionsResponse page.

type VirtualNetworkGatewaysListConnectionsResponse

type VirtualNetworkGatewaysListConnectionsResponse struct {
	VirtualNetworkGatewaysListConnectionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysListConnectionsResponse contains the response from method VirtualNetworkGateways.ListConnections.

type VirtualNetworkGatewaysListConnectionsResult

type VirtualNetworkGatewaysListConnectionsResult struct {
	VirtualNetworkGatewayListConnectionsResult
}

VirtualNetworkGatewaysListConnectionsResult contains the result from method VirtualNetworkGateways.ListConnections.

type VirtualNetworkGatewaysListOptions

type VirtualNetworkGatewaysListOptions struct {
}

VirtualNetworkGatewaysListOptions contains the optional parameters for the VirtualNetworkGateways.List method.

type VirtualNetworkGatewaysListPager

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

VirtualNetworkGatewaysListPager provides operations for iterating over paged responses.

func (*VirtualNetworkGatewaysListPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkGatewaysListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkGatewaysListPager) PageResponse

PageResponse returns the current VirtualNetworkGatewaysListResponse page.

type VirtualNetworkGatewaysListResponse

type VirtualNetworkGatewaysListResponse struct {
	VirtualNetworkGatewaysListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysListResponse contains the response from method VirtualNetworkGateways.List.

type VirtualNetworkGatewaysListResult

type VirtualNetworkGatewaysListResult struct {
	VirtualNetworkGatewayListResult
}

VirtualNetworkGatewaysListResult contains the result from method VirtualNetworkGateways.List.

type VirtualNetworkGatewaysResetPoller

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

VirtualNetworkGatewaysResetPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysResetPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysResetPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysResetResponse will be returned.

func (*VirtualNetworkGatewaysResetPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysResetPoller) ResumeToken

func (p *VirtualNetworkGatewaysResetPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysResetPollerResponse

type VirtualNetworkGatewaysResetPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysResetPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysResetPollerResponse contains the response from method VirtualNetworkGateways.Reset.

func (VirtualNetworkGatewaysResetPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysResetPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysResetPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysResetResponse

type VirtualNetworkGatewaysResetResponse struct {
	VirtualNetworkGatewaysResetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysResetResponse contains the response from method VirtualNetworkGateways.Reset.

type VirtualNetworkGatewaysResetResult

type VirtualNetworkGatewaysResetResult struct {
	VirtualNetworkGateway
}

VirtualNetworkGatewaysResetResult contains the result from method VirtualNetworkGateways.Reset.

type VirtualNetworkGatewaysResetVPNClientSharedKeyPoller

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

VirtualNetworkGatewaysResetVPNClientSharedKeyPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysResetVPNClientSharedKeyPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysResetVPNClientSharedKeyPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysResetVPNClientSharedKeyResponse will be returned.

func (*VirtualNetworkGatewaysResetVPNClientSharedKeyPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysResetVPNClientSharedKeyPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse

type VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysResetVPNClientSharedKeyPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse contains the response from method VirtualNetworkGateways.ResetVPNClientSharedKey.

func (VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysResetVPNClientSharedKeyPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysResetVPNClientSharedKeyResponse

type VirtualNetworkGatewaysResetVPNClientSharedKeyResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysResetVPNClientSharedKeyResponse contains the response from method VirtualNetworkGateways.ResetVPNClientSharedKey.

type VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller

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

VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysSetVpnclientIPSecParametersResponse will be returned.

func (*VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse

type VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysSetVpnclientIPSecParametersPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse contains the response from method VirtualNetworkGateways.SetVpnclientIPSecParameters.

func (VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysSetVpnclientIPSecParametersPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysSetVpnclientIPSecParametersResponse

type VirtualNetworkGatewaysSetVpnclientIPSecParametersResponse struct {
	VirtualNetworkGatewaysSetVpnclientIPSecParametersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysSetVpnclientIPSecParametersResponse contains the response from method VirtualNetworkGateways.SetVpnclientIPSecParameters.

type VirtualNetworkGatewaysSetVpnclientIPSecParametersResult

type VirtualNetworkGatewaysSetVpnclientIPSecParametersResult struct {
	VPNClientIPsecParameters
}

VirtualNetworkGatewaysSetVpnclientIPSecParametersResult contains the result from method VirtualNetworkGateways.SetVpnclientIPSecParameters.

type VirtualNetworkGatewaysStartPacketCapturePoller

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

VirtualNetworkGatewaysStartPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysStartPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysStartPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysStartPacketCaptureResponse will be returned.

func (*VirtualNetworkGatewaysStartPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysStartPacketCapturePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysStartPacketCapturePollerResponse

type VirtualNetworkGatewaysStartPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysStartPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysStartPacketCapturePollerResponse contains the response from method VirtualNetworkGateways.StartPacketCapture.

func (VirtualNetworkGatewaysStartPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysStartPacketCapturePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysStartPacketCapturePollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysStartPacketCaptureResponse

type VirtualNetworkGatewaysStartPacketCaptureResponse struct {
	VirtualNetworkGatewaysStartPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysStartPacketCaptureResponse contains the response from method VirtualNetworkGateways.StartPacketCapture.

type VirtualNetworkGatewaysStartPacketCaptureResult

type VirtualNetworkGatewaysStartPacketCaptureResult struct {
	Value *string
}

VirtualNetworkGatewaysStartPacketCaptureResult contains the result from method VirtualNetworkGateways.StartPacketCapture.

type VirtualNetworkGatewaysStopPacketCapturePoller

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

VirtualNetworkGatewaysStopPacketCapturePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysStopPacketCapturePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysStopPacketCapturePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysStopPacketCaptureResponse will be returned.

func (*VirtualNetworkGatewaysStopPacketCapturePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysStopPacketCapturePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysStopPacketCapturePollerResponse

type VirtualNetworkGatewaysStopPacketCapturePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysStopPacketCapturePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysStopPacketCapturePollerResponse contains the response from method VirtualNetworkGateways.StopPacketCapture.

func (VirtualNetworkGatewaysStopPacketCapturePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysStopPacketCapturePollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysStopPacketCapturePollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysStopPacketCaptureResponse

type VirtualNetworkGatewaysStopPacketCaptureResponse struct {
	VirtualNetworkGatewaysStopPacketCaptureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysStopPacketCaptureResponse contains the response from method VirtualNetworkGateways.StopPacketCapture.

type VirtualNetworkGatewaysStopPacketCaptureResult

type VirtualNetworkGatewaysStopPacketCaptureResult struct {
	Value *string
}

VirtualNetworkGatewaysStopPacketCaptureResult contains the result from method VirtualNetworkGateways.StopPacketCapture.

type VirtualNetworkGatewaysSupportedVPNDevicesOptions

type VirtualNetworkGatewaysSupportedVPNDevicesOptions struct {
}

VirtualNetworkGatewaysSupportedVPNDevicesOptions contains the optional parameters for the VirtualNetworkGateways.SupportedVPNDevices method.

type VirtualNetworkGatewaysSupportedVPNDevicesResponse

type VirtualNetworkGatewaysSupportedVPNDevicesResponse struct {
	VirtualNetworkGatewaysSupportedVPNDevicesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysSupportedVPNDevicesResponse contains the response from method VirtualNetworkGateways.SupportedVPNDevices.

type VirtualNetworkGatewaysSupportedVPNDevicesResult

type VirtualNetworkGatewaysSupportedVPNDevicesResult struct {
	Value *string
}

VirtualNetworkGatewaysSupportedVPNDevicesResult contains the result from method VirtualNetworkGateways.SupportedVPNDevices.

type VirtualNetworkGatewaysUpdateTagsPoller

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

VirtualNetworkGatewaysUpdateTagsPoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkGatewaysUpdateTagsPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkGatewaysUpdateTagsPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkGatewaysUpdateTagsResponse will be returned.

func (*VirtualNetworkGatewaysUpdateTagsPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkGatewaysUpdateTagsPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkGatewaysUpdateTagsPollerResponse

type VirtualNetworkGatewaysUpdateTagsPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkGatewaysUpdateTagsPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysUpdateTagsPollerResponse contains the response from method VirtualNetworkGateways.UpdateTags.

func (VirtualNetworkGatewaysUpdateTagsPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkGatewaysUpdateTagsPollerResponse) Resume

Resume rehydrates a VirtualNetworkGatewaysUpdateTagsPollerResponse from the provided client and resume token.

type VirtualNetworkGatewaysUpdateTagsResponse

type VirtualNetworkGatewaysUpdateTagsResponse struct {
	VirtualNetworkGatewaysUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysUpdateTagsResponse contains the response from method VirtualNetworkGateways.UpdateTags.

type VirtualNetworkGatewaysUpdateTagsResult

type VirtualNetworkGatewaysUpdateTagsResult struct {
	VirtualNetworkGateway
}

VirtualNetworkGatewaysUpdateTagsResult contains the result from method VirtualNetworkGateways.UpdateTags.

type VirtualNetworkGatewaysVPNDeviceConfigurationScriptOptions

type VirtualNetworkGatewaysVPNDeviceConfigurationScriptOptions struct {
}

VirtualNetworkGatewaysVPNDeviceConfigurationScriptOptions contains the optional parameters for the VirtualNetworkGateways.VPNDeviceConfigurationScript method.

type VirtualNetworkGatewaysVPNDeviceConfigurationScriptResponse

type VirtualNetworkGatewaysVPNDeviceConfigurationScriptResponse struct {
	VirtualNetworkGatewaysVPNDeviceConfigurationScriptResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkGatewaysVPNDeviceConfigurationScriptResponse contains the response from method VirtualNetworkGateways.VPNDeviceConfigurationScript.

type VirtualNetworkGatewaysVPNDeviceConfigurationScriptResult

type VirtualNetworkGatewaysVPNDeviceConfigurationScriptResult struct {
	Value *string
}

VirtualNetworkGatewaysVPNDeviceConfigurationScriptResult contains the result from method VirtualNetworkGateways.VPNDeviceConfigurationScript.

type VirtualNetworkListResult

type VirtualNetworkListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of VirtualNetwork resources in a resource group.
	Value []*VirtualNetwork `json:"value,omitempty"`
}

VirtualNetworkListResult - Response for the ListVirtualNetworks API service call.

func (VirtualNetworkListResult) MarshalJSON

func (v VirtualNetworkListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkListResult.

type VirtualNetworkListUsageResult

type VirtualNetworkListUsageResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// READ-ONLY; VirtualNetwork usage stats.
	Value []*VirtualNetworkUsage `json:"value,omitempty" azure:"ro"`
}

VirtualNetworkListUsageResult - Response for the virtual networks GetUsage API service call.

func (VirtualNetworkListUsageResult) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkListUsageResult.

type VirtualNetworkPeering

type VirtualNetworkPeering struct {
	SubResource
	// 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"`

	// Properties of the virtual network peering.
	Properties *VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"`

	// Resource type.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetworkPeering - Peerings in a virtual network resource.

func (VirtualNetworkPeering) MarshalJSON

func (v VirtualNetworkPeering) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkPeering.

type VirtualNetworkPeeringLevel

type VirtualNetworkPeeringLevel string

VirtualNetworkPeeringLevel - The peering sync status of the virtual network peering.

const (
	VirtualNetworkPeeringLevelFullyInSync             VirtualNetworkPeeringLevel = "FullyInSync"
	VirtualNetworkPeeringLevelLocalAndRemoteNotInSync VirtualNetworkPeeringLevel = "LocalAndRemoteNotInSync"
	VirtualNetworkPeeringLevelLocalNotInSync          VirtualNetworkPeeringLevel = "LocalNotInSync"
	VirtualNetworkPeeringLevelRemoteNotInSync         VirtualNetworkPeeringLevel = "RemoteNotInSync"
)

func PossibleVirtualNetworkPeeringLevelValues

func PossibleVirtualNetworkPeeringLevelValues() []VirtualNetworkPeeringLevel

PossibleVirtualNetworkPeeringLevelValues returns the possible values for the VirtualNetworkPeeringLevel const type.

func (VirtualNetworkPeeringLevel) ToPtr

ToPtr returns a *VirtualNetworkPeeringLevel pointing to the current value.

type VirtualNetworkPeeringListResult

type VirtualNetworkPeeringListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The peerings in a virtual network.
	Value []*VirtualNetworkPeering `json:"value,omitempty"`
}

VirtualNetworkPeeringListResult - Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network.

func (VirtualNetworkPeeringListResult) MarshalJSON

func (v VirtualNetworkPeeringListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkPeeringListResult.

type VirtualNetworkPeeringPropertiesFormat

type VirtualNetworkPeeringPropertiesFormat struct {
	// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
	AllowForwardedTraffic *bool `json:"allowForwardedTraffic,omitempty"`

	// If gateway links can be used in remote virtual networking to link to this virtual network.
	AllowGatewayTransit *bool `json:"allowGatewayTransit,omitempty"`

	// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
	AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"`

	// If we need to verify the provisioning state of the remote gateway.
	DoNotVerifyRemoteGateways *bool `json:"doNotVerifyRemoteGateways,omitempty"`

	// The status of the virtual network peering.
	PeeringState *VirtualNetworkPeeringState `json:"peeringState,omitempty"`

	// The peering sync status of the virtual network peering.
	PeeringSyncLevel *VirtualNetworkPeeringLevel `json:"peeringSyncLevel,omitempty"`

	// The reference to the address space peered with the remote virtual network.
	RemoteAddressSpace *AddressSpace `json:"remoteAddressSpace,omitempty"`

	// The reference to the remote virtual network's Bgp Communities.
	RemoteBgpCommunities *VirtualNetworkBgpCommunities `json:"remoteBgpCommunities,omitempty"`

	// The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the
	// preview and learn more
	// (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
	RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"`

	// The reference to the current address space of the remote virtual network.
	RemoteVirtualNetworkAddressSpace *AddressSpace `json:"remoteVirtualNetworkAddressSpace,omitempty"`

	// If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network
	// will use gateways of remote virtual network
	// for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
	UseRemoteGateways *bool `json:"useRemoteGateways,omitempty"`

	// READ-ONLY; The provisioning state of the virtual network peering resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resourceGuid property of the Virtual Network peering resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

VirtualNetworkPeeringPropertiesFormat - Properties of the virtual network peering.

type VirtualNetworkPeeringState

type VirtualNetworkPeeringState string

VirtualNetworkPeeringState - The status of the virtual network peering.

const (
	VirtualNetworkPeeringStateConnected    VirtualNetworkPeeringState = "Connected"
	VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected"
	VirtualNetworkPeeringStateInitiated    VirtualNetworkPeeringState = "Initiated"
)

func PossibleVirtualNetworkPeeringStateValues

func PossibleVirtualNetworkPeeringStateValues() []VirtualNetworkPeeringState

PossibleVirtualNetworkPeeringStateValues returns the possible values for the VirtualNetworkPeeringState const type.

func (VirtualNetworkPeeringState) ToPtr

ToPtr returns a *VirtualNetworkPeeringState pointing to the current value.

type VirtualNetworkPeeringsBeginCreateOrUpdateOptions

type VirtualNetworkPeeringsBeginCreateOrUpdateOptions struct {
	// Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.
	SyncRemoteAddressSpace *SyncRemoteAddressSpace
}

VirtualNetworkPeeringsBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkPeerings.BeginCreateOrUpdate method.

type VirtualNetworkPeeringsBeginDeleteOptions

type VirtualNetworkPeeringsBeginDeleteOptions struct {
}

VirtualNetworkPeeringsBeginDeleteOptions contains the optional parameters for the VirtualNetworkPeerings.BeginDelete method.

type VirtualNetworkPeeringsClient

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

VirtualNetworkPeeringsClient contains the methods for the VirtualNetworkPeerings group. Don't use this type directly, use NewVirtualNetworkPeeringsClient() instead.

func NewVirtualNetworkPeeringsClient

func NewVirtualNetworkPeeringsClient(con *arm.Connection, subscriptionID string) *VirtualNetworkPeeringsClient

NewVirtualNetworkPeeringsClient creates a new instance of VirtualNetworkPeeringsClient with the specified values.

func (*VirtualNetworkPeeringsClient) BeginCreateOrUpdate

func (client *VirtualNetworkPeeringsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering, options *VirtualNetworkPeeringsBeginCreateOrUpdateOptions) (VirtualNetworkPeeringsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a peering in the specified virtual network. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkPeeringsClient) BeginDelete

func (client *VirtualNetworkPeeringsClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, options *VirtualNetworkPeeringsBeginDeleteOptions) (VirtualNetworkPeeringsDeletePollerResponse, error)

BeginDelete - Deletes the specified virtual network peering. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkPeeringsClient) Get

func (client *VirtualNetworkPeeringsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, options *VirtualNetworkPeeringsGetOptions) (VirtualNetworkPeeringsGetResponse, error)

Get - Gets the specified virtual network peering. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkPeeringsClient) List

func (client *VirtualNetworkPeeringsClient) List(resourceGroupName string, virtualNetworkName string, options *VirtualNetworkPeeringsListOptions) *VirtualNetworkPeeringsListPager

List - Gets all virtual network peerings in a virtual network. If the operation fails it returns the *CloudError error type.

type VirtualNetworkPeeringsCreateOrUpdatePoller

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

VirtualNetworkPeeringsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkPeeringsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkPeeringsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkPeeringsCreateOrUpdateResponse will be returned.

func (*VirtualNetworkPeeringsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkPeeringsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkPeeringsCreateOrUpdatePollerResponse

type VirtualNetworkPeeringsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkPeeringsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkPeeringsCreateOrUpdatePollerResponse contains the response from method VirtualNetworkPeerings.CreateOrUpdate.

func (VirtualNetworkPeeringsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkPeeringsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualNetworkPeeringsCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualNetworkPeeringsCreateOrUpdateResponse

type VirtualNetworkPeeringsCreateOrUpdateResponse struct {
	VirtualNetworkPeeringsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkPeeringsCreateOrUpdateResponse contains the response from method VirtualNetworkPeerings.CreateOrUpdate.

type VirtualNetworkPeeringsCreateOrUpdateResult

type VirtualNetworkPeeringsCreateOrUpdateResult struct {
	VirtualNetworkPeering
}

VirtualNetworkPeeringsCreateOrUpdateResult contains the result from method VirtualNetworkPeerings.CreateOrUpdate.

type VirtualNetworkPeeringsDeletePoller

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

VirtualNetworkPeeringsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkPeeringsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkPeeringsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkPeeringsDeleteResponse will be returned.

func (*VirtualNetworkPeeringsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkPeeringsDeletePoller) ResumeToken

func (p *VirtualNetworkPeeringsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkPeeringsDeletePollerResponse

type VirtualNetworkPeeringsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkPeeringsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkPeeringsDeletePollerResponse contains the response from method VirtualNetworkPeerings.Delete.

func (VirtualNetworkPeeringsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkPeeringsDeletePollerResponse) Resume

Resume rehydrates a VirtualNetworkPeeringsDeletePollerResponse from the provided client and resume token.

type VirtualNetworkPeeringsDeleteResponse

type VirtualNetworkPeeringsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkPeeringsDeleteResponse contains the response from method VirtualNetworkPeerings.Delete.

type VirtualNetworkPeeringsGetOptions

type VirtualNetworkPeeringsGetOptions struct {
}

VirtualNetworkPeeringsGetOptions contains the optional parameters for the VirtualNetworkPeerings.Get method.

type VirtualNetworkPeeringsGetResponse

type VirtualNetworkPeeringsGetResponse struct {
	VirtualNetworkPeeringsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkPeeringsGetResponse contains the response from method VirtualNetworkPeerings.Get.

type VirtualNetworkPeeringsGetResult

type VirtualNetworkPeeringsGetResult struct {
	VirtualNetworkPeering
}

VirtualNetworkPeeringsGetResult contains the result from method VirtualNetworkPeerings.Get.

type VirtualNetworkPeeringsListOptions

type VirtualNetworkPeeringsListOptions struct {
}

VirtualNetworkPeeringsListOptions contains the optional parameters for the VirtualNetworkPeerings.List method.

type VirtualNetworkPeeringsListPager

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

VirtualNetworkPeeringsListPager provides operations for iterating over paged responses.

func (*VirtualNetworkPeeringsListPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkPeeringsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkPeeringsListPager) PageResponse

PageResponse returns the current VirtualNetworkPeeringsListResponse page.

type VirtualNetworkPeeringsListResponse

type VirtualNetworkPeeringsListResponse struct {
	VirtualNetworkPeeringsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkPeeringsListResponse contains the response from method VirtualNetworkPeerings.List.

type VirtualNetworkPeeringsListResult

type VirtualNetworkPeeringsListResult struct {
	VirtualNetworkPeeringListResult
}

VirtualNetworkPeeringsListResult contains the result from method VirtualNetworkPeerings.List.

type VirtualNetworkPrivateEndpointNetworkPolicies

type VirtualNetworkPrivateEndpointNetworkPolicies string

VirtualNetworkPrivateEndpointNetworkPolicies - Enable or Disable apply network policies on private end point in the subnet.

const (
	VirtualNetworkPrivateEndpointNetworkPoliciesDisabled VirtualNetworkPrivateEndpointNetworkPolicies = "Disabled"
	VirtualNetworkPrivateEndpointNetworkPoliciesEnabled  VirtualNetworkPrivateEndpointNetworkPolicies = "Enabled"
)

func PossibleVirtualNetworkPrivateEndpointNetworkPoliciesValues

func PossibleVirtualNetworkPrivateEndpointNetworkPoliciesValues() []VirtualNetworkPrivateEndpointNetworkPolicies

PossibleVirtualNetworkPrivateEndpointNetworkPoliciesValues returns the possible values for the VirtualNetworkPrivateEndpointNetworkPolicies const type.

func (VirtualNetworkPrivateEndpointNetworkPolicies) ToPtr

ToPtr returns a *VirtualNetworkPrivateEndpointNetworkPolicies pointing to the current value.

type VirtualNetworkPrivateLinkServiceNetworkPolicies

type VirtualNetworkPrivateLinkServiceNetworkPolicies string

VirtualNetworkPrivateLinkServiceNetworkPolicies - Enable or Disable apply network policies on private link service in the subnet.

const (
	VirtualNetworkPrivateLinkServiceNetworkPoliciesDisabled VirtualNetworkPrivateLinkServiceNetworkPolicies = "Disabled"
	VirtualNetworkPrivateLinkServiceNetworkPoliciesEnabled  VirtualNetworkPrivateLinkServiceNetworkPolicies = "Enabled"
)

func PossibleVirtualNetworkPrivateLinkServiceNetworkPoliciesValues

func PossibleVirtualNetworkPrivateLinkServiceNetworkPoliciesValues() []VirtualNetworkPrivateLinkServiceNetworkPolicies

PossibleVirtualNetworkPrivateLinkServiceNetworkPoliciesValues returns the possible values for the VirtualNetworkPrivateLinkServiceNetworkPolicies const type.

func (VirtualNetworkPrivateLinkServiceNetworkPolicies) ToPtr

ToPtr returns a *VirtualNetworkPrivateLinkServiceNetworkPolicies pointing to the current value.

type VirtualNetworkPropertiesFormat

type VirtualNetworkPropertiesFormat struct {
	// The AddressSpace that contains an array of IP address ranges that can be used by subnets.
	AddressSpace *AddressSpace `json:"addressSpace,omitempty"`

	// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
	BgpCommunities *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"`

	// The DDoS protection plan associated with the virtual network.
	DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"`

	// The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
	DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"`

	// Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the
	// resource.
	EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"`

	// Indicates if VM protection is enabled for all the subnets in the virtual network.
	EnableVMProtection *bool `json:"enableVmProtection,omitempty"`

	// The FlowTimeout value (in minutes) for the Virtual Network
	FlowTimeoutInMinutes *int32 `json:"flowTimeoutInMinutes,omitempty"`

	// Array of IpAllocation which reference this VNET.
	IPAllocations []*SubResource `json:"ipAllocations,omitempty"`

	// A list of subnets in a Virtual Network.
	Subnets []*Subnet `json:"subnets,omitempty"`

	// A list of peerings in a Virtual Network.
	VirtualNetworkPeerings []*VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"`

	// READ-ONLY; The provisioning state of the virtual network resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resourceGuid property of the Virtual Network resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

VirtualNetworkPropertiesFormat - Properties of the virtual network.

func (VirtualNetworkPropertiesFormat) MarshalJSON

func (v VirtualNetworkPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkPropertiesFormat.

type VirtualNetworkTap

type VirtualNetworkTap struct {
	Resource
	// Virtual Network Tap Properties.
	Properties *VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualNetworkTap - Virtual Network Tap resource.

func (VirtualNetworkTap) MarshalJSON

func (v VirtualNetworkTap) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkTap.

type VirtualNetworkTapListResult

type VirtualNetworkTapListResult struct {
	// The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// A list of VirtualNetworkTaps in a resource group.
	Value []*VirtualNetworkTap `json:"value,omitempty"`
}

VirtualNetworkTapListResult - Response for ListVirtualNetworkTap API service call.

func (VirtualNetworkTapListResult) MarshalJSON

func (v VirtualNetworkTapListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkTapListResult.

type VirtualNetworkTapPropertiesFormat

type VirtualNetworkTapPropertiesFormat struct {
	// The reference to the private IP address on the internal Load Balancer that will receive the tap.
	DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"`

	// The reference to the private IP Address of the collector nic that will receive the tap.
	DestinationNetworkInterfaceIPConfiguration *NetworkInterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"`

	// The VXLAN destination port that will receive the tapped traffic.
	DestinationPort *int32 `json:"destinationPort,omitempty"`

	// READ-ONLY; Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
	NetworkInterfaceTapConfigurations []*NetworkInterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual network tap resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The resource GUID property of the virtual network tap resource.
	ResourceGUID *string `json:"resourceGuid,omitempty" azure:"ro"`
}

VirtualNetworkTapPropertiesFormat - Virtual Network Tap properties.

func (VirtualNetworkTapPropertiesFormat) MarshalJSON

func (v VirtualNetworkTapPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkTapPropertiesFormat.

type VirtualNetworkTapsBeginCreateOrUpdateOptions

type VirtualNetworkTapsBeginCreateOrUpdateOptions struct {
}

VirtualNetworkTapsBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkTaps.BeginCreateOrUpdate method.

type VirtualNetworkTapsBeginDeleteOptions

type VirtualNetworkTapsBeginDeleteOptions struct {
}

VirtualNetworkTapsBeginDeleteOptions contains the optional parameters for the VirtualNetworkTaps.BeginDelete method.

type VirtualNetworkTapsClient

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

VirtualNetworkTapsClient contains the methods for the VirtualNetworkTaps group. Don't use this type directly, use NewVirtualNetworkTapsClient() instead.

func NewVirtualNetworkTapsClient

func NewVirtualNetworkTapsClient(con *arm.Connection, subscriptionID string) *VirtualNetworkTapsClient

NewVirtualNetworkTapsClient creates a new instance of VirtualNetworkTapsClient with the specified values.

func (*VirtualNetworkTapsClient) BeginCreateOrUpdate

BeginCreateOrUpdate - Creates or updates a Virtual Network Tap. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkTapsClient) BeginDelete

BeginDelete - Deletes the specified virtual network tap. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkTapsClient) Get

Get - Gets information about the specified virtual network tap. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkTapsClient) ListAll

ListAll - Gets all the VirtualNetworkTaps in a subscription. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkTapsClient) ListByResourceGroup

ListByResourceGroup - Gets all the VirtualNetworkTaps in a subscription. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworkTapsClient) UpdateTags

func (client *VirtualNetworkTapsClient) UpdateTags(ctx context.Context, resourceGroupName string, tapName string, tapParameters TagsObject, options *VirtualNetworkTapsUpdateTagsOptions) (VirtualNetworkTapsUpdateTagsResponse, error)

UpdateTags - Updates an VirtualNetworkTap tags. If the operation fails it returns the *CloudError error type.

type VirtualNetworkTapsCreateOrUpdatePoller

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

VirtualNetworkTapsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkTapsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkTapsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkTapsCreateOrUpdateResponse will be returned.

func (*VirtualNetworkTapsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkTapsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkTapsCreateOrUpdatePollerResponse

type VirtualNetworkTapsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkTapsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsCreateOrUpdatePollerResponse contains the response from method VirtualNetworkTaps.CreateOrUpdate.

func (VirtualNetworkTapsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkTapsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualNetworkTapsCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualNetworkTapsCreateOrUpdateResponse

type VirtualNetworkTapsCreateOrUpdateResponse struct {
	VirtualNetworkTapsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsCreateOrUpdateResponse contains the response from method VirtualNetworkTaps.CreateOrUpdate.

type VirtualNetworkTapsCreateOrUpdateResult

type VirtualNetworkTapsCreateOrUpdateResult struct {
	VirtualNetworkTap
}

VirtualNetworkTapsCreateOrUpdateResult contains the result from method VirtualNetworkTaps.CreateOrUpdate.

type VirtualNetworkTapsDeletePoller

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

VirtualNetworkTapsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworkTapsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworkTapsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworkTapsDeleteResponse will be returned.

func (*VirtualNetworkTapsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworkTapsDeletePoller) ResumeToken

func (p *VirtualNetworkTapsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworkTapsDeletePollerResponse

type VirtualNetworkTapsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworkTapsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsDeletePollerResponse contains the response from method VirtualNetworkTaps.Delete.

func (VirtualNetworkTapsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworkTapsDeletePollerResponse) Resume

Resume rehydrates a VirtualNetworkTapsDeletePollerResponse from the provided client and resume token.

type VirtualNetworkTapsDeleteResponse

type VirtualNetworkTapsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsDeleteResponse contains the response from method VirtualNetworkTaps.Delete.

type VirtualNetworkTapsGetOptions

type VirtualNetworkTapsGetOptions struct {
}

VirtualNetworkTapsGetOptions contains the optional parameters for the VirtualNetworkTaps.Get method.

type VirtualNetworkTapsGetResponse

type VirtualNetworkTapsGetResponse struct {
	VirtualNetworkTapsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsGetResponse contains the response from method VirtualNetworkTaps.Get.

type VirtualNetworkTapsGetResult

type VirtualNetworkTapsGetResult struct {
	VirtualNetworkTap
}

VirtualNetworkTapsGetResult contains the result from method VirtualNetworkTaps.Get.

type VirtualNetworkTapsListAllOptions

type VirtualNetworkTapsListAllOptions struct {
}

VirtualNetworkTapsListAllOptions contains the optional parameters for the VirtualNetworkTaps.ListAll method.

type VirtualNetworkTapsListAllPager

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

VirtualNetworkTapsListAllPager provides operations for iterating over paged responses.

func (*VirtualNetworkTapsListAllPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkTapsListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkTapsListAllPager) PageResponse

PageResponse returns the current VirtualNetworkTapsListAllResponse page.

type VirtualNetworkTapsListAllResponse

type VirtualNetworkTapsListAllResponse struct {
	VirtualNetworkTapsListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsListAllResponse contains the response from method VirtualNetworkTaps.ListAll.

type VirtualNetworkTapsListAllResult

type VirtualNetworkTapsListAllResult struct {
	VirtualNetworkTapListResult
}

VirtualNetworkTapsListAllResult contains the result from method VirtualNetworkTaps.ListAll.

type VirtualNetworkTapsListByResourceGroupOptions

type VirtualNetworkTapsListByResourceGroupOptions struct {
}

VirtualNetworkTapsListByResourceGroupOptions contains the optional parameters for the VirtualNetworkTaps.ListByResourceGroup method.

type VirtualNetworkTapsListByResourceGroupPager

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

VirtualNetworkTapsListByResourceGroupPager provides operations for iterating over paged responses.

func (*VirtualNetworkTapsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkTapsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkTapsListByResourceGroupPager) PageResponse

PageResponse returns the current VirtualNetworkTapsListByResourceGroupResponse page.

type VirtualNetworkTapsListByResourceGroupResponse

type VirtualNetworkTapsListByResourceGroupResponse struct {
	VirtualNetworkTapsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsListByResourceGroupResponse contains the response from method VirtualNetworkTaps.ListByResourceGroup.

type VirtualNetworkTapsListByResourceGroupResult

type VirtualNetworkTapsListByResourceGroupResult struct {
	VirtualNetworkTapListResult
}

VirtualNetworkTapsListByResourceGroupResult contains the result from method VirtualNetworkTaps.ListByResourceGroup.

type VirtualNetworkTapsUpdateTagsOptions

type VirtualNetworkTapsUpdateTagsOptions struct {
}

VirtualNetworkTapsUpdateTagsOptions contains the optional parameters for the VirtualNetworkTaps.UpdateTags method.

type VirtualNetworkTapsUpdateTagsResponse

type VirtualNetworkTapsUpdateTagsResponse struct {
	VirtualNetworkTapsUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkTapsUpdateTagsResponse contains the response from method VirtualNetworkTaps.UpdateTags.

type VirtualNetworkTapsUpdateTagsResult

type VirtualNetworkTapsUpdateTagsResult struct {
	VirtualNetworkTap
}

VirtualNetworkTapsUpdateTagsResult contains the result from method VirtualNetworkTaps.UpdateTags.

type VirtualNetworkUsage

type VirtualNetworkUsage struct {
	// READ-ONLY; Indicates number of IPs used from the Subnet.
	CurrentValue *float64 `json:"currentValue,omitempty" azure:"ro"`

	// READ-ONLY; Subnet identifier.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Indicates the size of the subnet.
	Limit *float64 `json:"limit,omitempty" azure:"ro"`

	// READ-ONLY; The name containing common and localized value for usage.
	Name *VirtualNetworkUsageName `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Usage units. Returns 'Count'.
	Unit *string `json:"unit,omitempty" azure:"ro"`
}

VirtualNetworkUsage - Usage details for subnet.

type VirtualNetworkUsageName

type VirtualNetworkUsageName struct {
	// READ-ONLY; Localized subnet size and usage string.
	LocalizedValue *string `json:"localizedValue,omitempty" azure:"ro"`

	// READ-ONLY; Subnet size and usage string.
	Value *string `json:"value,omitempty" azure:"ro"`
}

VirtualNetworkUsageName - Usage strings container.

type VirtualNetworksBeginCreateOrUpdateOptions

type VirtualNetworksBeginCreateOrUpdateOptions struct {
}

VirtualNetworksBeginCreateOrUpdateOptions contains the optional parameters for the VirtualNetworks.BeginCreateOrUpdate method.

type VirtualNetworksBeginDeleteOptions

type VirtualNetworksBeginDeleteOptions struct {
}

VirtualNetworksBeginDeleteOptions contains the optional parameters for the VirtualNetworks.BeginDelete method.

type VirtualNetworksCheckIPAddressAvailabilityOptions

type VirtualNetworksCheckIPAddressAvailabilityOptions struct {
}

VirtualNetworksCheckIPAddressAvailabilityOptions contains the optional parameters for the VirtualNetworks.CheckIPAddressAvailability method.

type VirtualNetworksCheckIPAddressAvailabilityResponse

type VirtualNetworksCheckIPAddressAvailabilityResponse struct {
	VirtualNetworksCheckIPAddressAvailabilityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksCheckIPAddressAvailabilityResponse contains the response from method VirtualNetworks.CheckIPAddressAvailability.

type VirtualNetworksCheckIPAddressAvailabilityResult

type VirtualNetworksCheckIPAddressAvailabilityResult struct {
	IPAddressAvailabilityResult
}

VirtualNetworksCheckIPAddressAvailabilityResult contains the result from method VirtualNetworks.CheckIPAddressAvailability.

type VirtualNetworksClient

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

VirtualNetworksClient contains the methods for the VirtualNetworks group. Don't use this type directly, use NewVirtualNetworksClient() instead.

func NewVirtualNetworksClient

func NewVirtualNetworksClient(con *arm.Connection, subscriptionID string) *VirtualNetworksClient

NewVirtualNetworksClient creates a new instance of VirtualNetworksClient with the specified values.

func (*VirtualNetworksClient) BeginCreateOrUpdate

func (client *VirtualNetworksClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork, options *VirtualNetworksBeginCreateOrUpdateOptions) (VirtualNetworksCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates a virtual network in the specified resource group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewVirtualNetworksClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<virtual network name>",
		armnetwork.VirtualNetwork{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr("<virtual network name>"),
				Location: to.StringPtr("<Azure location>"),
			},
			Properties: &armnetwork.VirtualNetworkPropertiesFormat{
				AddressSpace: &armnetwork.AddressSpace{
					AddressPrefixes: []*string{
						to.StringPtr("10.0.0.0/8"),
					},
				},
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("virtual network ID: %v", *resp.VirtualNetwork.ID)
}
Output:

Example (WithSubnets)
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewVirtualNetworksClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	poller, err := client.BeginCreateOrUpdate(
		context.Background(),
		"<resource group name>",
		"<virtual network name>",
		armnetwork.VirtualNetwork{
			Resource: armnetwork.Resource{
				Name:     to.StringPtr("<virtual network name>"),
				Location: to.StringPtr("<Azure location>"),
			},
			Properties: &armnetwork.VirtualNetworkPropertiesFormat{
				AddressSpace: &armnetwork.AddressSpace{
					AddressPrefixes: []*string{
						to.StringPtr("10.0.0.0/8"),
					},
				},
				Subnets: []*armnetwork.Subnet{
					{
						Name: to.StringPtr("<subnet name 1>"),
						Properties: &armnetwork.SubnetPropertiesFormat{
							AddressPrefix: to.StringPtr("10.0.0.0/16"),
						},
					},
					{
						Name: to.StringPtr("<subnet name 2>"),
						Properties: &armnetwork.SubnetPropertiesFormat{
							AddressPrefix: to.StringPtr("10.1.0.0/16"),
						},
					},
				},
			},
		},
		nil,
	)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	resp, err := poller.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to create resource: %v", err)
	}
	log.Printf("virtual network ID: %v", *resp.VirtualNetwork.ID)
}
Output:

func (*VirtualNetworksClient) BeginDelete

func (client *VirtualNetworksClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualNetworkName string, options *VirtualNetworksBeginDeleteOptions) (VirtualNetworksDeletePollerResponse, error)

BeginDelete - Deletes the specified virtual network. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewVirtualNetworksClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.BeginDelete(context.Background(), "<resource group name>", "<virtual network name>", nil)
	if err != nil {
		log.Fatalf("failed to obtain a response: %v", err)
	}
	_, err = resp.PollUntilDone(context.Background(), 30*time.Second)
	if err != nil {
		log.Fatalf("failed to delete resource: %v", err)
	}
}
Output:

func (*VirtualNetworksClient) CheckIPAddressAvailability

func (client *VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, ipAddress string, options *VirtualNetworksCheckIPAddressAvailabilityOptions) (VirtualNetworksCheckIPAddressAvailabilityResponse, error)

CheckIPAddressAvailability - Checks whether a private IP address is available for use. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworksClient) Get

func (client *VirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, options *VirtualNetworksGetOptions) (VirtualNetworksGetResponse, error)

Get - Gets the specified virtual network by resource group. If the operation fails it returns the *CloudError error type.

Example
package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	client := armnetwork.NewVirtualNetworksClient(arm.NewDefaultConnection(cred, nil), "<subscription ID>")
	resp, err := client.Get(context.Background(), "<resource group name>", "<virtual network name>", nil)
	if err != nil {
		log.Fatalf("failed to get resource: %v", err)
	}
	log.Printf("virtual network ID: %v", *resp.VirtualNetwork.ID)
}
Output:

func (*VirtualNetworksClient) List

func (client *VirtualNetworksClient) List(resourceGroupName string, options *VirtualNetworksListOptions) *VirtualNetworksListPager

List - Gets all virtual networks in a resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworksClient) ListAll

ListAll - Gets all virtual networks in a subscription. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworksClient) ListUsage

func (client *VirtualNetworksClient) ListUsage(resourceGroupName string, virtualNetworkName string, options *VirtualNetworksListUsageOptions) *VirtualNetworksListUsagePager

ListUsage - Lists usage stats. If the operation fails it returns the *CloudError error type.

func (*VirtualNetworksClient) UpdateTags

func (client *VirtualNetworksClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters TagsObject, options *VirtualNetworksUpdateTagsOptions) (VirtualNetworksUpdateTagsResponse, error)

UpdateTags - Updates a virtual network tags. If the operation fails it returns the *CloudError error type.

type VirtualNetworksCreateOrUpdatePoller

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

VirtualNetworksCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworksCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworksCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworksCreateOrUpdateResponse will be returned.

func (*VirtualNetworksCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworksCreateOrUpdatePoller) ResumeToken

func (p *VirtualNetworksCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworksCreateOrUpdatePollerResponse

type VirtualNetworksCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworksCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksCreateOrUpdatePollerResponse contains the response from method VirtualNetworks.CreateOrUpdate.

func (VirtualNetworksCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworksCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualNetworksCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualNetworksCreateOrUpdateResponse

type VirtualNetworksCreateOrUpdateResponse struct {
	VirtualNetworksCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksCreateOrUpdateResponse contains the response from method VirtualNetworks.CreateOrUpdate.

type VirtualNetworksCreateOrUpdateResult

type VirtualNetworksCreateOrUpdateResult struct {
	VirtualNetwork
}

VirtualNetworksCreateOrUpdateResult contains the result from method VirtualNetworks.CreateOrUpdate.

type VirtualNetworksDeletePoller

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

VirtualNetworksDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualNetworksDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualNetworksDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualNetworksDeleteResponse will be returned.

func (*VirtualNetworksDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualNetworksDeletePoller) ResumeToken

func (p *VirtualNetworksDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualNetworksDeletePollerResponse

type VirtualNetworksDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualNetworksDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksDeletePollerResponse contains the response from method VirtualNetworks.Delete.

func (VirtualNetworksDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualNetworksDeletePollerResponse) Resume

Resume rehydrates a VirtualNetworksDeletePollerResponse from the provided client and resume token.

type VirtualNetworksDeleteResponse

type VirtualNetworksDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksDeleteResponse contains the response from method VirtualNetworks.Delete.

type VirtualNetworksGetOptions

type VirtualNetworksGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

VirtualNetworksGetOptions contains the optional parameters for the VirtualNetworks.Get method.

type VirtualNetworksGetResponse

type VirtualNetworksGetResponse struct {
	VirtualNetworksGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksGetResponse contains the response from method VirtualNetworks.Get.

type VirtualNetworksGetResult

type VirtualNetworksGetResult struct {
	VirtualNetwork
}

VirtualNetworksGetResult contains the result from method VirtualNetworks.Get.

type VirtualNetworksListAllOptions

type VirtualNetworksListAllOptions struct {
}

VirtualNetworksListAllOptions contains the optional parameters for the VirtualNetworks.ListAll method.

type VirtualNetworksListAllPager

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

VirtualNetworksListAllPager provides operations for iterating over paged responses.

func (*VirtualNetworksListAllPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworksListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworksListAllPager) PageResponse

PageResponse returns the current VirtualNetworksListAllResponse page.

type VirtualNetworksListAllResponse

type VirtualNetworksListAllResponse struct {
	VirtualNetworksListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksListAllResponse contains the response from method VirtualNetworks.ListAll.

type VirtualNetworksListAllResult

type VirtualNetworksListAllResult struct {
	VirtualNetworkListResult
}

VirtualNetworksListAllResult contains the result from method VirtualNetworks.ListAll.

type VirtualNetworksListOptions

type VirtualNetworksListOptions struct {
}

VirtualNetworksListOptions contains the optional parameters for the VirtualNetworks.List method.

type VirtualNetworksListPager

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

VirtualNetworksListPager provides operations for iterating over paged responses.

func (*VirtualNetworksListPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworksListPager) NextPage

func (p *VirtualNetworksListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworksListPager) PageResponse

PageResponse returns the current VirtualNetworksListResponse page.

type VirtualNetworksListResponse

type VirtualNetworksListResponse struct {
	VirtualNetworksListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksListResponse contains the response from method VirtualNetworks.List.

type VirtualNetworksListResult

type VirtualNetworksListResult struct {
	VirtualNetworkListResult
}

VirtualNetworksListResult contains the result from method VirtualNetworks.List.

type VirtualNetworksListUsageOptions

type VirtualNetworksListUsageOptions struct {
}

VirtualNetworksListUsageOptions contains the optional parameters for the VirtualNetworks.ListUsage method.

type VirtualNetworksListUsagePager

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

VirtualNetworksListUsagePager provides operations for iterating over paged responses.

func (*VirtualNetworksListUsagePager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworksListUsagePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworksListUsagePager) PageResponse

PageResponse returns the current VirtualNetworksListUsageResponse page.

type VirtualNetworksListUsageResponse

type VirtualNetworksListUsageResponse struct {
	VirtualNetworksListUsageResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksListUsageResponse contains the response from method VirtualNetworks.ListUsage.

type VirtualNetworksListUsageResult

type VirtualNetworksListUsageResult struct {
	VirtualNetworkListUsageResult
}

VirtualNetworksListUsageResult contains the result from method VirtualNetworks.ListUsage.

type VirtualNetworksUpdateTagsOptions

type VirtualNetworksUpdateTagsOptions struct {
}

VirtualNetworksUpdateTagsOptions contains the optional parameters for the VirtualNetworks.UpdateTags method.

type VirtualNetworksUpdateTagsResponse

type VirtualNetworksUpdateTagsResponse struct {
	VirtualNetworksUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworksUpdateTagsResponse contains the response from method VirtualNetworks.UpdateTags.

type VirtualNetworksUpdateTagsResult

type VirtualNetworksUpdateTagsResult struct {
	VirtualNetwork
}

VirtualNetworksUpdateTagsResult contains the result from method VirtualNetworks.UpdateTags.

type VirtualRouter

type VirtualRouter struct {
	Resource
	// Properties of the Virtual Router.
	Properties *VirtualRouterPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualRouter Resource.

func (VirtualRouter) MarshalJSON

func (v VirtualRouter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualRouter.

type VirtualRouterListResult

type VirtualRouterListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of Virtual Routers.
	Value []*VirtualRouter `json:"value,omitempty"`
}

VirtualRouterListResult - Response for ListVirtualRouters API service call.

func (VirtualRouterListResult) MarshalJSON

func (v VirtualRouterListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualRouterListResult.

type VirtualRouterPeering

type VirtualRouterPeering struct {
	SubResource
	// Name of the virtual router peering that is unique within a virtual router.
	Name *string `json:"name,omitempty"`

	// The properties of the Virtual Router Peering.
	Properties *VirtualRouterPeeringProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`

	// READ-ONLY; Peering type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

VirtualRouterPeering - Virtual Router Peering resource.

func (VirtualRouterPeering) MarshalJSON

func (v VirtualRouterPeering) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualRouterPeering.

type VirtualRouterPeeringListResult

type VirtualRouterPeeringListResult struct {
	// URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// List of VirtualRouterPeerings in a VirtualRouter.
	Value []*VirtualRouterPeering `json:"value,omitempty"`
}

VirtualRouterPeeringListResult - Response for ListVirtualRouterPeerings API service call.

func (VirtualRouterPeeringListResult) MarshalJSON

func (v VirtualRouterPeeringListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualRouterPeeringListResult.

type VirtualRouterPeeringProperties

type VirtualRouterPeeringProperties struct {
	// Peer ASN.
	PeerAsn *int64 `json:"peerAsn,omitempty"`

	// Peer IP.
	PeerIP *string `json:"peerIp,omitempty"`

	// READ-ONLY; The provisioning state of the resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VirtualRouterPeeringProperties - Properties of the rule group.

type VirtualRouterPeeringsBeginCreateOrUpdateOptions

type VirtualRouterPeeringsBeginCreateOrUpdateOptions struct {
}

VirtualRouterPeeringsBeginCreateOrUpdateOptions contains the optional parameters for the VirtualRouterPeerings.BeginCreateOrUpdate method.

type VirtualRouterPeeringsBeginDeleteOptions

type VirtualRouterPeeringsBeginDeleteOptions struct {
}

VirtualRouterPeeringsBeginDeleteOptions contains the optional parameters for the VirtualRouterPeerings.BeginDelete method.

type VirtualRouterPeeringsClient

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

VirtualRouterPeeringsClient contains the methods for the VirtualRouterPeerings group. Don't use this type directly, use NewVirtualRouterPeeringsClient() instead.

func NewVirtualRouterPeeringsClient

func NewVirtualRouterPeeringsClient(con *arm.Connection, subscriptionID string) *VirtualRouterPeeringsClient

NewVirtualRouterPeeringsClient creates a new instance of VirtualRouterPeeringsClient with the specified values.

func (*VirtualRouterPeeringsClient) BeginCreateOrUpdate

func (client *VirtualRouterPeeringsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering, options *VirtualRouterPeeringsBeginCreateOrUpdateOptions) (VirtualRouterPeeringsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Virtual Router Peering. If the operation fails it returns the *Error error type.

func (*VirtualRouterPeeringsClient) BeginDelete

func (client *VirtualRouterPeeringsClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, options *VirtualRouterPeeringsBeginDeleteOptions) (VirtualRouterPeeringsDeletePollerResponse, error)

BeginDelete - Deletes the specified peering from a Virtual Router. If the operation fails it returns the *Error error type.

func (*VirtualRouterPeeringsClient) Get

func (client *VirtualRouterPeeringsClient) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, options *VirtualRouterPeeringsGetOptions) (VirtualRouterPeeringsGetResponse, error)

Get - Gets the specified Virtual Router Peering. If the operation fails it returns the *Error error type.

func (*VirtualRouterPeeringsClient) List

func (client *VirtualRouterPeeringsClient) List(resourceGroupName string, virtualRouterName string, options *VirtualRouterPeeringsListOptions) *VirtualRouterPeeringsListPager

List - Lists all Virtual Router Peerings in a Virtual Router resource. If the operation fails it returns the *Error error type.

type VirtualRouterPeeringsCreateOrUpdatePoller

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

VirtualRouterPeeringsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualRouterPeeringsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualRouterPeeringsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualRouterPeeringsCreateOrUpdateResponse will be returned.

func (*VirtualRouterPeeringsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualRouterPeeringsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualRouterPeeringsCreateOrUpdatePollerResponse

type VirtualRouterPeeringsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualRouterPeeringsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRouterPeeringsCreateOrUpdatePollerResponse contains the response from method VirtualRouterPeerings.CreateOrUpdate.

func (VirtualRouterPeeringsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualRouterPeeringsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualRouterPeeringsCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualRouterPeeringsCreateOrUpdateResponse

type VirtualRouterPeeringsCreateOrUpdateResponse struct {
	VirtualRouterPeeringsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRouterPeeringsCreateOrUpdateResponse contains the response from method VirtualRouterPeerings.CreateOrUpdate.

type VirtualRouterPeeringsCreateOrUpdateResult

type VirtualRouterPeeringsCreateOrUpdateResult struct {
	VirtualRouterPeering
}

VirtualRouterPeeringsCreateOrUpdateResult contains the result from method VirtualRouterPeerings.CreateOrUpdate.

type VirtualRouterPeeringsDeletePoller

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

VirtualRouterPeeringsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualRouterPeeringsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualRouterPeeringsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualRouterPeeringsDeleteResponse will be returned.

func (*VirtualRouterPeeringsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualRouterPeeringsDeletePoller) ResumeToken

func (p *VirtualRouterPeeringsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualRouterPeeringsDeletePollerResponse

type VirtualRouterPeeringsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualRouterPeeringsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRouterPeeringsDeletePollerResponse contains the response from method VirtualRouterPeerings.Delete.

func (VirtualRouterPeeringsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualRouterPeeringsDeletePollerResponse) Resume

Resume rehydrates a VirtualRouterPeeringsDeletePollerResponse from the provided client and resume token.

type VirtualRouterPeeringsDeleteResponse

type VirtualRouterPeeringsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRouterPeeringsDeleteResponse contains the response from method VirtualRouterPeerings.Delete.

type VirtualRouterPeeringsGetOptions

type VirtualRouterPeeringsGetOptions struct {
}

VirtualRouterPeeringsGetOptions contains the optional parameters for the VirtualRouterPeerings.Get method.

type VirtualRouterPeeringsGetResponse

type VirtualRouterPeeringsGetResponse struct {
	VirtualRouterPeeringsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRouterPeeringsGetResponse contains the response from method VirtualRouterPeerings.Get.

type VirtualRouterPeeringsGetResult

type VirtualRouterPeeringsGetResult struct {
	VirtualRouterPeering
}

VirtualRouterPeeringsGetResult contains the result from method VirtualRouterPeerings.Get.

type VirtualRouterPeeringsListOptions

type VirtualRouterPeeringsListOptions struct {
}

VirtualRouterPeeringsListOptions contains the optional parameters for the VirtualRouterPeerings.List method.

type VirtualRouterPeeringsListPager

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

VirtualRouterPeeringsListPager provides operations for iterating over paged responses.

func (*VirtualRouterPeeringsListPager) Err

Err returns the last error encountered while paging.

func (*VirtualRouterPeeringsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualRouterPeeringsListPager) PageResponse

PageResponse returns the current VirtualRouterPeeringsListResponse page.

type VirtualRouterPeeringsListResponse

type VirtualRouterPeeringsListResponse struct {
	VirtualRouterPeeringsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRouterPeeringsListResponse contains the response from method VirtualRouterPeerings.List.

type VirtualRouterPeeringsListResult

type VirtualRouterPeeringsListResult struct {
	VirtualRouterPeeringListResult
}

VirtualRouterPeeringsListResult contains the result from method VirtualRouterPeerings.List.

type VirtualRouterPropertiesFormat

type VirtualRouterPropertiesFormat struct {
	// The Gateway on which VirtualRouter is hosted.
	HostedGateway *SubResource `json:"hostedGateway,omitempty"`

	// The Subnet on which VirtualRouter is hosted.
	HostedSubnet *SubResource `json:"hostedSubnet,omitempty"`

	// VirtualRouter ASN.
	VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"`

	// VirtualRouter IPs.
	VirtualRouterIPs []*string `json:"virtualRouterIps,omitempty"`

	// READ-ONLY; List of references to VirtualRouterPeerings.
	Peerings []*SubResource `json:"peerings,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`
}

VirtualRouterPropertiesFormat - Virtual Router definition.

func (VirtualRouterPropertiesFormat) MarshalJSON

func (v VirtualRouterPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualRouterPropertiesFormat.

type VirtualRoutersBeginCreateOrUpdateOptions

type VirtualRoutersBeginCreateOrUpdateOptions struct {
}

VirtualRoutersBeginCreateOrUpdateOptions contains the optional parameters for the VirtualRouters.BeginCreateOrUpdate method.

type VirtualRoutersBeginDeleteOptions

type VirtualRoutersBeginDeleteOptions struct {
}

VirtualRoutersBeginDeleteOptions contains the optional parameters for the VirtualRouters.BeginDelete method.

type VirtualRoutersClient

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

VirtualRoutersClient contains the methods for the VirtualRouters group. Don't use this type directly, use NewVirtualRoutersClient() instead.

func NewVirtualRoutersClient

func NewVirtualRoutersClient(con *arm.Connection, subscriptionID string) *VirtualRoutersClient

NewVirtualRoutersClient creates a new instance of VirtualRoutersClient with the specified values.

func (*VirtualRoutersClient) BeginCreateOrUpdate

func (client *VirtualRoutersClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters VirtualRouter, options *VirtualRoutersBeginCreateOrUpdateOptions) (VirtualRoutersCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates the specified Virtual Router. If the operation fails it returns the *Error error type.

func (*VirtualRoutersClient) BeginDelete

func (client *VirtualRoutersClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualRouterName string, options *VirtualRoutersBeginDeleteOptions) (VirtualRoutersDeletePollerResponse, error)

BeginDelete - Deletes the specified Virtual Router. If the operation fails it returns the *Error error type.

func (*VirtualRoutersClient) Get

func (client *VirtualRoutersClient) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, options *VirtualRoutersGetOptions) (VirtualRoutersGetResponse, error)

Get - Gets the specified Virtual Router. If the operation fails it returns the *Error error type.

func (*VirtualRoutersClient) List

List - Gets all the Virtual Routers in a subscription. If the operation fails it returns the *Error error type.

func (*VirtualRoutersClient) ListByResourceGroup

func (client *VirtualRoutersClient) ListByResourceGroup(resourceGroupName string, options *VirtualRoutersListByResourceGroupOptions) *VirtualRoutersListByResourceGroupPager

ListByResourceGroup - Lists all Virtual Routers in a resource group. If the operation fails it returns the *Error error type.

type VirtualRoutersCreateOrUpdatePoller

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

VirtualRoutersCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualRoutersCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualRoutersCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualRoutersCreateOrUpdateResponse will be returned.

func (*VirtualRoutersCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualRoutersCreateOrUpdatePoller) ResumeToken

func (p *VirtualRoutersCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualRoutersCreateOrUpdatePollerResponse

type VirtualRoutersCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualRoutersCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersCreateOrUpdatePollerResponse contains the response from method VirtualRouters.CreateOrUpdate.

func (VirtualRoutersCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualRoutersCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualRoutersCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualRoutersCreateOrUpdateResponse

type VirtualRoutersCreateOrUpdateResponse struct {
	VirtualRoutersCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersCreateOrUpdateResponse contains the response from method VirtualRouters.CreateOrUpdate.

type VirtualRoutersCreateOrUpdateResult

type VirtualRoutersCreateOrUpdateResult struct {
	VirtualRouter
}

VirtualRoutersCreateOrUpdateResult contains the result from method VirtualRouters.CreateOrUpdate.

type VirtualRoutersDeletePoller

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

VirtualRoutersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualRoutersDeletePoller) Done

func (p *VirtualRoutersDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VirtualRoutersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualRoutersDeleteResponse will be returned.

func (*VirtualRoutersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualRoutersDeletePoller) ResumeToken

func (p *VirtualRoutersDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualRoutersDeletePollerResponse

type VirtualRoutersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualRoutersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersDeletePollerResponse contains the response from method VirtualRouters.Delete.

func (VirtualRoutersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualRoutersDeletePollerResponse) Resume

Resume rehydrates a VirtualRoutersDeletePollerResponse from the provided client and resume token.

type VirtualRoutersDeleteResponse

type VirtualRoutersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersDeleteResponse contains the response from method VirtualRouters.Delete.

type VirtualRoutersGetOptions

type VirtualRoutersGetOptions struct {
	// Expands referenced resources.
	Expand *string
}

VirtualRoutersGetOptions contains the optional parameters for the VirtualRouters.Get method.

type VirtualRoutersGetResponse

type VirtualRoutersGetResponse struct {
	VirtualRoutersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersGetResponse contains the response from method VirtualRouters.Get.

type VirtualRoutersGetResult

type VirtualRoutersGetResult struct {
	VirtualRouter
}

VirtualRoutersGetResult contains the result from method VirtualRouters.Get.

type VirtualRoutersListByResourceGroupOptions

type VirtualRoutersListByResourceGroupOptions struct {
}

VirtualRoutersListByResourceGroupOptions contains the optional parameters for the VirtualRouters.ListByResourceGroup method.

type VirtualRoutersListByResourceGroupPager

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

VirtualRoutersListByResourceGroupPager provides operations for iterating over paged responses.

func (*VirtualRoutersListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VirtualRoutersListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualRoutersListByResourceGroupPager) PageResponse

PageResponse returns the current VirtualRoutersListByResourceGroupResponse page.

type VirtualRoutersListByResourceGroupResponse

type VirtualRoutersListByResourceGroupResponse struct {
	VirtualRoutersListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersListByResourceGroupResponse contains the response from method VirtualRouters.ListByResourceGroup.

type VirtualRoutersListByResourceGroupResult

type VirtualRoutersListByResourceGroupResult struct {
	VirtualRouterListResult
}

VirtualRoutersListByResourceGroupResult contains the result from method VirtualRouters.ListByResourceGroup.

type VirtualRoutersListOptions

type VirtualRoutersListOptions struct {
}

VirtualRoutersListOptions contains the optional parameters for the VirtualRouters.List method.

type VirtualRoutersListPager

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

VirtualRoutersListPager provides operations for iterating over paged responses.

func (*VirtualRoutersListPager) Err

func (p *VirtualRoutersListPager) Err() error

Err returns the last error encountered while paging.

func (*VirtualRoutersListPager) NextPage

func (p *VirtualRoutersListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualRoutersListPager) PageResponse

PageResponse returns the current VirtualRoutersListResponse page.

type VirtualRoutersListResponse

type VirtualRoutersListResponse struct {
	VirtualRoutersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualRoutersListResponse contains the response from method VirtualRouters.List.

type VirtualRoutersListResult

type VirtualRoutersListResult struct {
	VirtualRouterListResult
}

VirtualRoutersListResult contains the result from method VirtualRouters.List.

type VirtualWAN

type VirtualWAN struct {
	Resource
	// Properties of the virtual WAN.
	Properties *VirtualWanProperties `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

VirtualWAN Resource.

func (VirtualWAN) MarshalJSON

func (v VirtualWAN) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualWAN.

type VirtualWanProperties

type VirtualWanProperties struct {
	// True if branch to branch traffic is allowed.
	AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"`

	// True if Vnet to Vnet traffic is allowed.
	AllowVnetToVnetTraffic *bool `json:"allowVnetToVnetTraffic,omitempty"`

	// Vpn encryption to be disabled or not.
	DisableVPNEncryption *bool `json:"disableVpnEncryption,omitempty"`

	// The type of the VirtualWAN.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; The office local breakout category.
	Office365LocalBreakoutCategory *OfficeTrafficCategory `json:"office365LocalBreakoutCategory,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the virtual WAN resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; List of VpnSites in the VirtualWAN.
	VPNSites []*SubResource `json:"vpnSites,omitempty" azure:"ro"`

	// READ-ONLY; List of VirtualHubs in the VirtualWAN.
	VirtualHubs []*SubResource `json:"virtualHubs,omitempty" azure:"ro"`
}

VirtualWanProperties - Parameters for VirtualWAN.

func (VirtualWanProperties) MarshalJSON

func (v VirtualWanProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualWanProperties.

type VirtualWanSecurityProvider

type VirtualWanSecurityProvider struct {
	// Name of the security provider.
	Name *string `json:"name,omitempty"`

	// Url of the security provider.
	URL *string `json:"url,omitempty"`

	// READ-ONLY; Name of the security provider.
	Type *VirtualWanSecurityProviderType `json:"type,omitempty" azure:"ro"`
}

VirtualWanSecurityProvider - Collection of SecurityProviders.

type VirtualWanSecurityProviderType

type VirtualWanSecurityProviderType string

VirtualWanSecurityProviderType - The virtual wan security provider type.

const (
	VirtualWanSecurityProviderTypeExternal VirtualWanSecurityProviderType = "External"
	VirtualWanSecurityProviderTypeNative   VirtualWanSecurityProviderType = "Native"
)

func PossibleVirtualWanSecurityProviderTypeValues

func PossibleVirtualWanSecurityProviderTypeValues() []VirtualWanSecurityProviderType

PossibleVirtualWanSecurityProviderTypeValues returns the possible values for the VirtualWanSecurityProviderType const type.

func (VirtualWanSecurityProviderType) ToPtr

ToPtr returns a *VirtualWanSecurityProviderType pointing to the current value.

type VirtualWanSecurityProviders

type VirtualWanSecurityProviders struct {
	// List of VirtualWAN security providers.
	SupportedProviders []*VirtualWanSecurityProvider `json:"supportedProviders,omitempty"`
}

VirtualWanSecurityProviders - Collection of SecurityProviders.

func (VirtualWanSecurityProviders) MarshalJSON

func (v VirtualWanSecurityProviders) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualWanSecurityProviders.

type VirtualWanVPNProfileParameters

type VirtualWanVPNProfileParameters struct {
	// VPN client authentication method.
	AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"`

	// VpnServerConfiguration partial resource uri with which VirtualWan is associated to.
	VPNServerConfigurationResourceID *string `json:"vpnServerConfigurationResourceId,omitempty"`
}

VirtualWanVPNProfileParameters - Virtual Wan Vpn profile parameters Vpn profile generation.

type VirtualWansBeginCreateOrUpdateOptions

type VirtualWansBeginCreateOrUpdateOptions struct {
}

VirtualWansBeginCreateOrUpdateOptions contains the optional parameters for the VirtualWans.BeginCreateOrUpdate method.

type VirtualWansBeginDeleteOptions

type VirtualWansBeginDeleteOptions struct {
}

VirtualWansBeginDeleteOptions contains the optional parameters for the VirtualWans.BeginDelete method.

type VirtualWansClient

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

VirtualWansClient contains the methods for the VirtualWans group. Don't use this type directly, use NewVirtualWansClient() instead.

func NewVirtualWansClient

func NewVirtualWansClient(con *arm.Connection, subscriptionID string) *VirtualWansClient

NewVirtualWansClient creates a new instance of VirtualWansClient with the specified values.

func (*VirtualWansClient) BeginCreateOrUpdate

func (client *VirtualWansClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, virtualWANName string, wanParameters VirtualWAN, options *VirtualWansBeginCreateOrUpdateOptions) (VirtualWansCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. If the operation fails it returns the *CloudError error type.

func (*VirtualWansClient) BeginDelete

func (client *VirtualWansClient) BeginDelete(ctx context.Context, resourceGroupName string, virtualWANName string, options *VirtualWansBeginDeleteOptions) (VirtualWansDeletePollerResponse, error)

BeginDelete - Deletes a VirtualWAN. If the operation fails it returns the *CloudError error type.

func (*VirtualWansClient) Get

func (client *VirtualWansClient) Get(ctx context.Context, resourceGroupName string, virtualWANName string, options *VirtualWansGetOptions) (VirtualWansGetResponse, error)

Get - Retrieves the details of a VirtualWAN. If the operation fails it returns the *CloudError error type.

func (*VirtualWansClient) List

List - Lists all the VirtualWANs in a subscription. If the operation fails it returns the *CloudError error type.

func (*VirtualWansClient) ListByResourceGroup

func (client *VirtualWansClient) ListByResourceGroup(resourceGroupName string, options *VirtualWansListByResourceGroupOptions) *VirtualWansListByResourceGroupPager

ListByResourceGroup - Lists all the VirtualWANs in a resource group. If the operation fails it returns the *CloudError error type.

func (*VirtualWansClient) UpdateTags

func (client *VirtualWansClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualWANName string, wanParameters TagsObject, options *VirtualWansUpdateTagsOptions) (VirtualWansUpdateTagsResponse, error)

UpdateTags - Updates a VirtualWAN tags. If the operation fails it returns the *CloudError error type.

type VirtualWansCreateOrUpdatePoller

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

VirtualWansCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualWansCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*VirtualWansCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualWansCreateOrUpdateResponse will be returned.

func (*VirtualWansCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualWansCreateOrUpdatePoller) ResumeToken

func (p *VirtualWansCreateOrUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualWansCreateOrUpdatePollerResponse

type VirtualWansCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualWansCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansCreateOrUpdatePollerResponse contains the response from method VirtualWans.CreateOrUpdate.

func (VirtualWansCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualWansCreateOrUpdatePollerResponse) Resume

Resume rehydrates a VirtualWansCreateOrUpdatePollerResponse from the provided client and resume token.

type VirtualWansCreateOrUpdateResponse

type VirtualWansCreateOrUpdateResponse struct {
	VirtualWansCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansCreateOrUpdateResponse contains the response from method VirtualWans.CreateOrUpdate.

type VirtualWansCreateOrUpdateResult

type VirtualWansCreateOrUpdateResult struct {
	VirtualWAN
}

VirtualWansCreateOrUpdateResult contains the result from method VirtualWans.CreateOrUpdate.

type VirtualWansDeletePoller

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

VirtualWansDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*VirtualWansDeletePoller) Done

func (p *VirtualWansDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*VirtualWansDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final VirtualWansDeleteResponse will be returned.

func (*VirtualWansDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*VirtualWansDeletePoller) ResumeToken

func (p *VirtualWansDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type VirtualWansDeletePollerResponse

type VirtualWansDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *VirtualWansDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansDeletePollerResponse contains the response from method VirtualWans.Delete.

func (VirtualWansDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*VirtualWansDeletePollerResponse) Resume

Resume rehydrates a VirtualWansDeletePollerResponse from the provided client and resume token.

type VirtualWansDeleteResponse

type VirtualWansDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansDeleteResponse contains the response from method VirtualWans.Delete.

type VirtualWansGetOptions

type VirtualWansGetOptions struct {
}

VirtualWansGetOptions contains the optional parameters for the VirtualWans.Get method.

type VirtualWansGetResponse

type VirtualWansGetResponse struct {
	VirtualWansGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansGetResponse contains the response from method VirtualWans.Get.

type VirtualWansGetResult

type VirtualWansGetResult struct {
	VirtualWAN
}

VirtualWansGetResult contains the result from method VirtualWans.Get.

type VirtualWansListByResourceGroupOptions

type VirtualWansListByResourceGroupOptions struct {
}

VirtualWansListByResourceGroupOptions contains the optional parameters for the VirtualWans.ListByResourceGroup method.

type VirtualWansListByResourceGroupPager

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

VirtualWansListByResourceGroupPager provides operations for iterating over paged responses.

func (*VirtualWansListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*VirtualWansListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualWansListByResourceGroupPager) PageResponse

PageResponse returns the current VirtualWansListByResourceGroupResponse page.

type VirtualWansListByResourceGroupResponse

type VirtualWansListByResourceGroupResponse struct {
	VirtualWansListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansListByResourceGroupResponse contains the response from method VirtualWans.ListByResourceGroup.

type VirtualWansListByResourceGroupResult

type VirtualWansListByResourceGroupResult struct {
	ListVirtualWANsResult
}

VirtualWansListByResourceGroupResult contains the result from method VirtualWans.ListByResourceGroup.

type VirtualWansListOptions

type VirtualWansListOptions struct {
}

VirtualWansListOptions contains the optional parameters for the VirtualWans.List method.

type VirtualWansListPager

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

VirtualWansListPager provides operations for iterating over paged responses.

func (*VirtualWansListPager) Err

func (p *VirtualWansListPager) Err() error

Err returns the last error encountered while paging.

func (*VirtualWansListPager) NextPage

func (p *VirtualWansListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualWansListPager) PageResponse

PageResponse returns the current VirtualWansListResponse page.

type VirtualWansListResponse

type VirtualWansListResponse struct {
	VirtualWansListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansListResponse contains the response from method VirtualWans.List.

type VirtualWansListResult

type VirtualWansListResult struct {
	ListVirtualWANsResult
}

VirtualWansListResult contains the result from method VirtualWans.List.

type VirtualWansUpdateTagsOptions

type VirtualWansUpdateTagsOptions struct {
}

VirtualWansUpdateTagsOptions contains the optional parameters for the VirtualWans.UpdateTags method.

type VirtualWansUpdateTagsResponse

type VirtualWansUpdateTagsResponse struct {
	VirtualWansUpdateTagsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualWansUpdateTagsResponse contains the response from method VirtualWans.UpdateTags.

type VirtualWansUpdateTagsResult

type VirtualWansUpdateTagsResult struct {
	VirtualWAN
}

VirtualWansUpdateTagsResult contains the result from method VirtualWans.UpdateTags.

type VnetRoute

type VnetRoute struct {
	// List of all Static Routes.
	StaticRoutes []*StaticRoute `json:"staticRoutes,omitempty"`

	// READ-ONLY; The list of references to HubBgpConnection objects.
	BgpConnections []*SubResource `json:"bgpConnections,omitempty" azure:"ro"`
}

VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.

func (VnetRoute) MarshalJSON

func (v VnetRoute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VnetRoute.

type WebApplicationFirewallAction

type WebApplicationFirewallAction string

WebApplicationFirewallAction - Type of Actions.

const (
	WebApplicationFirewallActionAllow WebApplicationFirewallAction = "Allow"
	WebApplicationFirewallActionBlock WebApplicationFirewallAction = "Block"
	WebApplicationFirewallActionLog   WebApplicationFirewallAction = "Log"
)

func PossibleWebApplicationFirewallActionValues

func PossibleWebApplicationFirewallActionValues() []WebApplicationFirewallAction

PossibleWebApplicationFirewallActionValues returns the possible values for the WebApplicationFirewallAction const type.

func (WebApplicationFirewallAction) ToPtr

ToPtr returns a *WebApplicationFirewallAction pointing to the current value.

type WebApplicationFirewallCustomRule

type WebApplicationFirewallCustomRule struct {
	// REQUIRED; Type of Actions.
	Action *WebApplicationFirewallAction `json:"action,omitempty"`

	// REQUIRED; List of match conditions.
	MatchConditions []*MatchCondition `json:"matchConditions,omitempty"`

	// REQUIRED; Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
	Priority *int32 `json:"priority,omitempty"`

	// REQUIRED; The rule type.
	RuleType *WebApplicationFirewallRuleType `json:"ruleType,omitempty"`

	// The name of the resource that is unique within a policy. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

WebApplicationFirewallCustomRule - Defines contents of a web application rule.

func (WebApplicationFirewallCustomRule) MarshalJSON

func (w WebApplicationFirewallCustomRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebApplicationFirewallCustomRule.

type WebApplicationFirewallEnabledState

type WebApplicationFirewallEnabledState string

WebApplicationFirewallEnabledState - The state of the policy.

const (
	WebApplicationFirewallEnabledStateDisabled WebApplicationFirewallEnabledState = "Disabled"
	WebApplicationFirewallEnabledStateEnabled  WebApplicationFirewallEnabledState = "Enabled"
)

func PossibleWebApplicationFirewallEnabledStateValues

func PossibleWebApplicationFirewallEnabledStateValues() []WebApplicationFirewallEnabledState

PossibleWebApplicationFirewallEnabledStateValues returns the possible values for the WebApplicationFirewallEnabledState const type.

func (WebApplicationFirewallEnabledState) ToPtr

ToPtr returns a *WebApplicationFirewallEnabledState pointing to the current value.

type WebApplicationFirewallMatchVariable

type WebApplicationFirewallMatchVariable string

WebApplicationFirewallMatchVariable - Match Variable.

const (
	WebApplicationFirewallMatchVariablePostArgs       WebApplicationFirewallMatchVariable = "PostArgs"
	WebApplicationFirewallMatchVariableQueryString    WebApplicationFirewallMatchVariable = "QueryString"
	WebApplicationFirewallMatchVariableRemoteAddr     WebApplicationFirewallMatchVariable = "RemoteAddr"
	WebApplicationFirewallMatchVariableRequestBody    WebApplicationFirewallMatchVariable = "RequestBody"
	WebApplicationFirewallMatchVariableRequestCookies WebApplicationFirewallMatchVariable = "RequestCookies"
	WebApplicationFirewallMatchVariableRequestHeaders WebApplicationFirewallMatchVariable = "RequestHeaders"
	WebApplicationFirewallMatchVariableRequestMethod  WebApplicationFirewallMatchVariable = "RequestMethod"
	WebApplicationFirewallMatchVariableRequestURI     WebApplicationFirewallMatchVariable = "RequestUri"
)

func PossibleWebApplicationFirewallMatchVariableValues

func PossibleWebApplicationFirewallMatchVariableValues() []WebApplicationFirewallMatchVariable

PossibleWebApplicationFirewallMatchVariableValues returns the possible values for the WebApplicationFirewallMatchVariable const type.

func (WebApplicationFirewallMatchVariable) ToPtr

ToPtr returns a *WebApplicationFirewallMatchVariable pointing to the current value.

type WebApplicationFirewallMode

type WebApplicationFirewallMode string

WebApplicationFirewallMode - The mode of the policy.

const (
	WebApplicationFirewallModeDetection  WebApplicationFirewallMode = "Detection"
	WebApplicationFirewallModePrevention WebApplicationFirewallMode = "Prevention"
)

func PossibleWebApplicationFirewallModeValues

func PossibleWebApplicationFirewallModeValues() []WebApplicationFirewallMode

PossibleWebApplicationFirewallModeValues returns the possible values for the WebApplicationFirewallMode const type.

func (WebApplicationFirewallMode) ToPtr

ToPtr returns a *WebApplicationFirewallMode pointing to the current value.

type WebApplicationFirewallOperator

type WebApplicationFirewallOperator string

WebApplicationFirewallOperator - The operator to be matched.

const (
	WebApplicationFirewallOperatorBeginsWith         WebApplicationFirewallOperator = "BeginsWith"
	WebApplicationFirewallOperatorContains           WebApplicationFirewallOperator = "Contains"
	WebApplicationFirewallOperatorEndsWith           WebApplicationFirewallOperator = "EndsWith"
	WebApplicationFirewallOperatorEqual              WebApplicationFirewallOperator = "Equal"
	WebApplicationFirewallOperatorGeoMatch           WebApplicationFirewallOperator = "GeoMatch"
	WebApplicationFirewallOperatorGreaterThan        WebApplicationFirewallOperator = "GreaterThan"
	WebApplicationFirewallOperatorGreaterThanOrEqual WebApplicationFirewallOperator = "GreaterThanOrEqual"
	WebApplicationFirewallOperatorIPMatch            WebApplicationFirewallOperator = "IPMatch"
	WebApplicationFirewallOperatorLessThan           WebApplicationFirewallOperator = "LessThan"
	WebApplicationFirewallOperatorLessThanOrEqual    WebApplicationFirewallOperator = "LessThanOrEqual"
	WebApplicationFirewallOperatorRegex              WebApplicationFirewallOperator = "Regex"
)

func PossibleWebApplicationFirewallOperatorValues

func PossibleWebApplicationFirewallOperatorValues() []WebApplicationFirewallOperator

PossibleWebApplicationFirewallOperatorValues returns the possible values for the WebApplicationFirewallOperator const type.

func (WebApplicationFirewallOperator) ToPtr

ToPtr returns a *WebApplicationFirewallOperator pointing to the current value.

type WebApplicationFirewallPoliciesBeginDeleteOptions

type WebApplicationFirewallPoliciesBeginDeleteOptions struct {
}

WebApplicationFirewallPoliciesBeginDeleteOptions contains the optional parameters for the WebApplicationFirewallPolicies.BeginDelete method.

type WebApplicationFirewallPoliciesClient

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

WebApplicationFirewallPoliciesClient contains the methods for the WebApplicationFirewallPolicies group. Don't use this type directly, use NewWebApplicationFirewallPoliciesClient() instead.

func NewWebApplicationFirewallPoliciesClient

func NewWebApplicationFirewallPoliciesClient(con *arm.Connection, subscriptionID string) *WebApplicationFirewallPoliciesClient

NewWebApplicationFirewallPoliciesClient creates a new instance of WebApplicationFirewallPoliciesClient with the specified values.

func (*WebApplicationFirewallPoliciesClient) BeginDelete

BeginDelete - Deletes Policy. If the operation fails it returns the *CloudError error type.

func (*WebApplicationFirewallPoliciesClient) CreateOrUpdate

CreateOrUpdate - Creates or update policy with specified rule set name within a resource group. If the operation fails it returns the *CloudError error type.

func (*WebApplicationFirewallPoliciesClient) Get

Get - Retrieve protection policy with specified name within a resource group. If the operation fails it returns the *CloudError error type.

func (*WebApplicationFirewallPoliciesClient) List

List - Lists all of the protection policies within a resource group. If the operation fails it returns the *CloudError error type.

func (*WebApplicationFirewallPoliciesClient) ListAll

ListAll - Gets all the WAF policies in a subscription. If the operation fails it returns the *CloudError error type.

type WebApplicationFirewallPoliciesCreateOrUpdateOptions

type WebApplicationFirewallPoliciesCreateOrUpdateOptions struct {
}

WebApplicationFirewallPoliciesCreateOrUpdateOptions contains the optional parameters for the WebApplicationFirewallPolicies.CreateOrUpdate method.

type WebApplicationFirewallPoliciesCreateOrUpdateResponse

type WebApplicationFirewallPoliciesCreateOrUpdateResponse struct {
	WebApplicationFirewallPoliciesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebApplicationFirewallPoliciesCreateOrUpdateResponse contains the response from method WebApplicationFirewallPolicies.CreateOrUpdate.

type WebApplicationFirewallPoliciesCreateOrUpdateResult

type WebApplicationFirewallPoliciesCreateOrUpdateResult struct {
	WebApplicationFirewallPolicy
}

WebApplicationFirewallPoliciesCreateOrUpdateResult contains the result from method WebApplicationFirewallPolicies.CreateOrUpdate.

type WebApplicationFirewallPoliciesDeletePoller

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

WebApplicationFirewallPoliciesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*WebApplicationFirewallPoliciesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*WebApplicationFirewallPoliciesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final WebApplicationFirewallPoliciesDeleteResponse will be returned.

func (*WebApplicationFirewallPoliciesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*WebApplicationFirewallPoliciesDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type WebApplicationFirewallPoliciesDeletePollerResponse

type WebApplicationFirewallPoliciesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *WebApplicationFirewallPoliciesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebApplicationFirewallPoliciesDeletePollerResponse contains the response from method WebApplicationFirewallPolicies.Delete.

func (WebApplicationFirewallPoliciesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.

func (*WebApplicationFirewallPoliciesDeletePollerResponse) Resume

Resume rehydrates a WebApplicationFirewallPoliciesDeletePollerResponse from the provided client and resume token.

type WebApplicationFirewallPoliciesDeleteResponse

type WebApplicationFirewallPoliciesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebApplicationFirewallPoliciesDeleteResponse contains the response from method WebApplicationFirewallPolicies.Delete.

type WebApplicationFirewallPoliciesGetOptions

type WebApplicationFirewallPoliciesGetOptions struct {
}

WebApplicationFirewallPoliciesGetOptions contains the optional parameters for the WebApplicationFirewallPolicies.Get method.

type WebApplicationFirewallPoliciesGetResponse

type WebApplicationFirewallPoliciesGetResponse struct {
	WebApplicationFirewallPoliciesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebApplicationFirewallPoliciesGetResponse contains the response from method WebApplicationFirewallPolicies.Get.

type WebApplicationFirewallPoliciesGetResult

type WebApplicationFirewallPoliciesGetResult struct {
	WebApplicationFirewallPolicy
}

WebApplicationFirewallPoliciesGetResult contains the result from method WebApplicationFirewallPolicies.Get.

type WebApplicationFirewallPoliciesListAllOptions

type WebApplicationFirewallPoliciesListAllOptions struct {
}

WebApplicationFirewallPoliciesListAllOptions contains the optional parameters for the WebApplicationFirewallPolicies.ListAll method.

type WebApplicationFirewallPoliciesListAllPager

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

WebApplicationFirewallPoliciesListAllPager provides operations for iterating over paged responses.

func (*WebApplicationFirewallPoliciesListAllPager) Err

Err returns the last error encountered while paging.

func (*WebApplicationFirewallPoliciesListAllPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*WebApplicationFirewallPoliciesListAllPager) PageResponse

PageResponse returns the current WebApplicationFirewallPoliciesListAllResponse page.

type WebApplicationFirewallPoliciesListAllResponse

type WebApplicationFirewallPoliciesListAllResponse struct {
	WebApplicationFirewallPoliciesListAllResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebApplicationFirewallPoliciesListAllResponse contains the response from method WebApplicationFirewallPolicies.ListAll.

type WebApplicationFirewallPoliciesListAllResult

type WebApplicationFirewallPoliciesListAllResult struct {
	WebApplicationFirewallPolicyListResult
}

WebApplicationFirewallPoliciesListAllResult contains the result from method WebApplicationFirewallPolicies.ListAll.

type WebApplicationFirewallPoliciesListOptions

type WebApplicationFirewallPoliciesListOptions struct {
}

WebApplicationFirewallPoliciesListOptions contains the optional parameters for the WebApplicationFirewallPolicies.List method.

type WebApplicationFirewallPoliciesListPager

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

WebApplicationFirewallPoliciesListPager provides operations for iterating over paged responses.

func (*WebApplicationFirewallPoliciesListPager) Err

Err returns the last error encountered while paging.

func (*WebApplicationFirewallPoliciesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*WebApplicationFirewallPoliciesListPager) PageResponse

PageResponse returns the current WebApplicationFirewallPoliciesListResponse page.

type WebApplicationFirewallPoliciesListResponse

type WebApplicationFirewallPoliciesListResponse struct {
	WebApplicationFirewallPoliciesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebApplicationFirewallPoliciesListResponse contains the response from method WebApplicationFirewallPolicies.List.

type WebApplicationFirewallPoliciesListResult

type WebApplicationFirewallPoliciesListResult struct {
	WebApplicationFirewallPolicyListResult
}

WebApplicationFirewallPoliciesListResult contains the result from method WebApplicationFirewallPolicies.List.

type WebApplicationFirewallPolicy

type WebApplicationFirewallPolicy struct {
	Resource
	// Properties of the web application firewall policy.
	Properties *WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"`

	// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty" azure:"ro"`
}

WebApplicationFirewallPolicy - Defines web application firewall policy.

func (WebApplicationFirewallPolicy) MarshalJSON

func (w WebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebApplicationFirewallPolicy.

type WebApplicationFirewallPolicyListResult

type WebApplicationFirewallPolicyListResult struct {
	// READ-ONLY; URL to get the next set of WebApplicationFirewallPolicy objects if there are any.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; List of WebApplicationFirewallPolicies within a resource group.
	Value []*WebApplicationFirewallPolicy `json:"value,omitempty" azure:"ro"`
}

WebApplicationFirewallPolicyListResult - Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.

func (WebApplicationFirewallPolicyListResult) MarshalJSON

func (w WebApplicationFirewallPolicyListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebApplicationFirewallPolicyListResult.

type WebApplicationFirewallPolicyPropertiesFormat

type WebApplicationFirewallPolicyPropertiesFormat struct {
	// REQUIRED; Describes the managedRules structure.
	ManagedRules *ManagedRulesDefinition `json:"managedRules,omitempty"`

	// The custom rules inside the policy.
	CustomRules []*WebApplicationFirewallCustomRule `json:"customRules,omitempty"`

	// The PolicySettings for policy.
	PolicySettings *PolicySettings `json:"policySettings,omitempty"`

	// READ-ONLY; A collection of references to application gateways.
	ApplicationGateways []*ApplicationGateway `json:"applicationGateways,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to application gateway http listeners.
	HTTPListeners []*SubResource `json:"httpListeners,omitempty" azure:"ro"`

	// READ-ONLY; A collection of references to application gateway path rules.
	PathBasedRules []*SubResource `json:"pathBasedRules,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning state of the web application firewall policy resource.
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; Resource status of the policy.
	ResourceState *WebApplicationFirewallPolicyResourceState `json:"resourceState,omitempty" azure:"ro"`
}

WebApplicationFirewallPolicyPropertiesFormat - Defines web application firewall policy properties.

func (WebApplicationFirewallPolicyPropertiesFormat) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type WebApplicationFirewallPolicyPropertiesFormat.

type WebApplicationFirewallPolicyResourceState

type WebApplicationFirewallPolicyResourceState string

WebApplicationFirewallPolicyResourceState - Resource status of the policy.

const (
	WebApplicationFirewallPolicyResourceStateCreating  WebApplicationFirewallPolicyResourceState = "Creating"
	WebApplicationFirewallPolicyResourceStateDeleting  WebApplicationFirewallPolicyResourceState = "Deleting"
	WebApplicationFirewallPolicyResourceStateDisabled  WebApplicationFirewallPolicyResourceState = "Disabled"
	WebApplicationFirewallPolicyResourceStateDisabling WebApplicationFirewallPolicyResourceState = "Disabling"
	WebApplicationFirewallPolicyResourceStateEnabled   WebApplicationFirewallPolicyResourceState = "Enabled"
	WebApplicationFirewallPolicyResourceStateEnabling  WebApplicationFirewallPolicyResourceState = "Enabling"
)

func PossibleWebApplicationFirewallPolicyResourceStateValues

func PossibleWebApplicationFirewallPolicyResourceStateValues() []WebApplicationFirewallPolicyResourceState

PossibleWebApplicationFirewallPolicyResourceStateValues returns the possible values for the WebApplicationFirewallPolicyResourceState const type.

func (WebApplicationFirewallPolicyResourceState) ToPtr

ToPtr returns a *WebApplicationFirewallPolicyResourceState pointing to the current value.

type WebApplicationFirewallRuleType

type WebApplicationFirewallRuleType string

WebApplicationFirewallRuleType - The rule type.

const (
	WebApplicationFirewallRuleTypeInvalid   WebApplicationFirewallRuleType = "Invalid"
	WebApplicationFirewallRuleTypeMatchRule WebApplicationFirewallRuleType = "MatchRule"
)

func PossibleWebApplicationFirewallRuleTypeValues

func PossibleWebApplicationFirewallRuleTypeValues() []WebApplicationFirewallRuleType

PossibleWebApplicationFirewallRuleTypeValues returns the possible values for the WebApplicationFirewallRuleType const type.

func (WebApplicationFirewallRuleType) ToPtr

ToPtr returns a *WebApplicationFirewallRuleType pointing to the current value.

type WebApplicationFirewallTransform

type WebApplicationFirewallTransform string

WebApplicationFirewallTransform - Transforms applied before matching.

const (
	WebApplicationFirewallTransformHTMLEntityDecode WebApplicationFirewallTransform = "HtmlEntityDecode"
	WebApplicationFirewallTransformLowercase        WebApplicationFirewallTransform = "Lowercase"
	WebApplicationFirewallTransformRemoveNulls      WebApplicationFirewallTransform = "RemoveNulls"
	WebApplicationFirewallTransformTrim             WebApplicationFirewallTransform = "Trim"
	WebApplicationFirewallTransformURLDecode        WebApplicationFirewallTransform = "UrlDecode"
	WebApplicationFirewallTransformURLEncode        WebApplicationFirewallTransform = "UrlEncode"
)

func PossibleWebApplicationFirewallTransformValues

func PossibleWebApplicationFirewallTransformValues() []WebApplicationFirewallTransform

PossibleWebApplicationFirewallTransformValues returns the possible values for the WebApplicationFirewallTransform const type.

func (WebApplicationFirewallTransform) ToPtr

ToPtr returns a *WebApplicationFirewallTransform pointing to the current value.

type WebCategoriesClient

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

WebCategoriesClient contains the methods for the WebCategories group. Don't use this type directly, use NewWebCategoriesClient() instead.

func NewWebCategoriesClient

func NewWebCategoriesClient(con *arm.Connection, subscriptionID string) *WebCategoriesClient

NewWebCategoriesClient creates a new instance of WebCategoriesClient with the specified values.

func (*WebCategoriesClient) Get

Get - Gets the specified Azure Web Category. If the operation fails it returns the *CloudError error type.

func (*WebCategoriesClient) ListBySubscription

ListBySubscription - Gets all the Azure Web Categories in a subscription. If the operation fails it returns the *CloudError error type.

type WebCategoriesGetOptions

type WebCategoriesGetOptions struct {
	// Expands resourceIds back referenced by the azureWebCategory resource.
	Expand *string
}

WebCategoriesGetOptions contains the optional parameters for the WebCategories.Get method.

type WebCategoriesGetResponse

type WebCategoriesGetResponse struct {
	WebCategoriesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebCategoriesGetResponse contains the response from method WebCategories.Get.

type WebCategoriesGetResult

type WebCategoriesGetResult struct {
	AzureWebCategory
}

WebCategoriesGetResult contains the result from method WebCategories.Get.

type WebCategoriesListBySubscriptionOptions

type WebCategoriesListBySubscriptionOptions struct {
}

WebCategoriesListBySubscriptionOptions contains the optional parameters for the WebCategories.ListBySubscription method.

type WebCategoriesListBySubscriptionPager

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

WebCategoriesListBySubscriptionPager provides operations for iterating over paged responses.

func (*WebCategoriesListBySubscriptionPager) Err

Err returns the last error encountered while paging.

func (*WebCategoriesListBySubscriptionPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*WebCategoriesListBySubscriptionPager) PageResponse

PageResponse returns the current WebCategoriesListBySubscriptionResponse page.

type WebCategoriesListBySubscriptionResponse

type WebCategoriesListBySubscriptionResponse struct {
	WebCategoriesListBySubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

WebCategoriesListBySubscriptionResponse contains the response from method WebCategories.ListBySubscription.

type WebCategoriesListBySubscriptionResult

type WebCategoriesListBySubscriptionResult struct {
	AzureWebCategoryListResult
}

WebCategoriesListBySubscriptionResult contains the result from method WebCategories.ListBySubscription.

Source Files

Jump to

Keyboard shortcuts

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