network

package
v2.2.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package network implements the Azure ARM Network service API version 2015-06-15.

The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

Index

Constants

View Source
const (
	// APIVersion is the version of the Network
	APIVersion = "2015-06-15"

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AddressSpace

type AddressSpace struct {
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

AddressSpace is addressSpace contains an array of IP address ranges that can be used by subnets

type ApplicationGateway

type ApplicationGateway struct {
	autorest.Response `json:"-"`
	ID                *string                             `json:"id,omitempty"`
	Name              *string                             `json:"name,omitempty"`
	Type              *string                             `json:"type,omitempty"`
	Location          *string                             `json:"location,omitempty"`
	Tags              *map[string]*string                 `json:"tags,omitempty"`
	Properties        *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                             `json:"etag,omitempty"`
}

ApplicationGateway is applicationGateways resource

type ApplicationGatewayBackendAddress

type ApplicationGatewayBackendAddress struct {
	Fqdn      *string `json:"fqdn,omitempty"`
	IPAddress *string `json:"ipAddress,omitempty"`
}

ApplicationGatewayBackendAddress is backend Address of application gateway

type ApplicationGatewayBackendAddressPool

type ApplicationGatewayBackendAddressPool struct {
	ID         *string                                               `json:"id,omitempty"`
	Properties *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                               `json:"name,omitempty"`
	Etag       *string                                               `json:"etag,omitempty"`
}

ApplicationGatewayBackendAddressPool is backend Address Pool of application gateway

type ApplicationGatewayBackendAddressPoolPropertiesFormat

type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
	BackendIPConfigurations *[]SubResource                      `json:"backendIPConfigurations,omitempty"`
	BackendAddresses        *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
	ProvisioningState       *string                             `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat is properties of Backend Address Pool of application gateway

type ApplicationGatewayBackendHTTPSettings

type ApplicationGatewayBackendHTTPSettings struct {
	ID         *string                                                `json:"id,omitempty"`
	Properties *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                                `json:"name,omitempty"`
	Etag       *string                                                `json:"etag,omitempty"`
}

ApplicationGatewayBackendHTTPSettings is backend address pool settings of application gateway

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
	Port                *int32                                `json:"port,omitempty"`
	Protocol            ApplicationGatewayProtocol            `json:"protocol,omitempty"`
	CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`
	RequestTimeout      *int32                                `json:"requestTimeout,omitempty"`
	Probe               *SubResource                          `json:"probe,omitempty"`
	ProvisioningState   *string                               `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendHTTPSettingsPropertiesFormat is properties of Backend address pool settings of application gateway

type ApplicationGatewayCookieBasedAffinity

type ApplicationGatewayCookieBasedAffinity string

ApplicationGatewayCookieBasedAffinity enumerates the values for application gateway cookie based affinity.

const (
	// Disabled specifies the disabled state for application gateway cookie
	// based affinity.
	Disabled ApplicationGatewayCookieBasedAffinity = "Disabled"
	// Enabled specifies the enabled state for application gateway cookie
	// based affinity.
	Enabled ApplicationGatewayCookieBasedAffinity = "Enabled"
)

type ApplicationGatewayFrontendIPConfiguration

type ApplicationGatewayFrontendIPConfiguration struct {
	ID         *string                                                    `json:"id,omitempty"`
	Properties *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                                    `json:"name,omitempty"`
	Etag       *string                                                    `json:"etag,omitempty"`
}

ApplicationGatewayFrontendIPConfiguration is frontend IP configuration of application gateway

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *SubResource       `json:"subnet,omitempty"`
	PublicIPAddress           *SubResource       `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendIPConfigurationPropertiesFormat is properties of Frontend IP configuration of application gateway

type ApplicationGatewayFrontendPort

type ApplicationGatewayFrontendPort struct {
	ID         *string                                         `json:"id,omitempty"`
	Properties *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                         `json:"name,omitempty"`
	Etag       *string                                         `json:"etag,omitempty"`
}

ApplicationGatewayFrontendPort is frontend Port of application gateway

type ApplicationGatewayFrontendPortPropertiesFormat

type ApplicationGatewayFrontendPortPropertiesFormat struct {
	Port              *int32  `json:"port,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendPortPropertiesFormat is properties of Frontend Port of application gateway

type ApplicationGatewayHTTPListener

type ApplicationGatewayHTTPListener struct {
	ID         *string                                         `json:"id,omitempty"`
	Properties *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                         `json:"name,omitempty"`
	Etag       *string                                         `json:"etag,omitempty"`
}

ApplicationGatewayHTTPListener is http listener of application gateway

type ApplicationGatewayHTTPListenerPropertiesFormat

type ApplicationGatewayHTTPListenerPropertiesFormat struct {
	FrontendIPConfiguration     *SubResource               `json:"frontendIPConfiguration,omitempty"`
	FrontendPort                *SubResource               `json:"frontendPort,omitempty"`
	Protocol                    ApplicationGatewayProtocol `json:"protocol,omitempty"`
	HostName                    *string                    `json:"hostName,omitempty"`
	SslCertificate              *SubResource               `json:"sslCertificate,omitempty"`
	RequireServerNameIndication *string                    `json:"requireServerNameIndication,omitempty"`
	ProvisioningState           *string                    `json:"provisioningState,omitempty"`
}

ApplicationGatewayHTTPListenerPropertiesFormat is properties of Http listener of application gateway

type ApplicationGatewayIPConfiguration

type ApplicationGatewayIPConfiguration struct {
	ID         *string                                            `json:"id,omitempty"`
	Properties *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                            `json:"name,omitempty"`
	Etag       *string                                            `json:"etag,omitempty"`
}

ApplicationGatewayIPConfiguration is iP configuration of application gateway

type ApplicationGatewayIPConfigurationPropertiesFormat

type ApplicationGatewayIPConfigurationPropertiesFormat struct {
	Subnet            *SubResource `json:"subnet,omitempty"`
	ProvisioningState *string      `json:"provisioningState,omitempty"`
}

ApplicationGatewayIPConfigurationPropertiesFormat is properties of IP configuration of application gateway

type ApplicationGatewayListResult

type ApplicationGatewayListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationGateway `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

ApplicationGatewayListResult is response for ListLoadBalancers Api service call

func (ApplicationGatewayListResult) ApplicationGatewayListResultPreparer

func (client ApplicationGatewayListResult) ApplicationGatewayListResultPreparer() (*http.Request, error)

ApplicationGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ApplicationGatewayOperationalState

type ApplicationGatewayOperationalState string

ApplicationGatewayOperationalState enumerates the values for application gateway operational state.

const (
	// Running specifies the running state for application gateway operational
	// state.
	Running ApplicationGatewayOperationalState = "Running"
	// Starting specifies the starting state for application gateway
	// operational state.
	Starting ApplicationGatewayOperationalState = "Starting"
	// Stopped specifies the stopped state for application gateway operational
	// state.
	Stopped ApplicationGatewayOperationalState = "Stopped"
	// Stopping specifies the stopping state for application gateway
	// operational state.
	Stopping ApplicationGatewayOperationalState = "Stopping"
)

type ApplicationGatewayPathRule

type ApplicationGatewayPathRule struct {
	ID         *string                                     `json:"id,omitempty"`
	Properties *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"`
	Name       *string                                     `json:"name,omitempty"`
	Etag       *string                                     `json:"etag,omitempty"`
}

ApplicationGatewayPathRule is path rule of URL path map of application gateway

type ApplicationGatewayPathRulePropertiesFormat

type ApplicationGatewayPathRulePropertiesFormat struct {
	Paths               *[]string    `json:"paths,omitempty"`
	BackendAddressPool  *SubResource `json:"backendAddressPool,omitempty"`
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
	ProvisioningState   *string      `json:"provisioningState,omitempty"`
}

ApplicationGatewayPathRulePropertiesFormat is properties of probe of application gateway

type ApplicationGatewayProbe

type ApplicationGatewayProbe struct {
	ID         *string                                  `json:"id,omitempty"`
	Properties *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Etag       *string                                  `json:"etag,omitempty"`
}

ApplicationGatewayProbe is probe of application gateway

type ApplicationGatewayProbePropertiesFormat

type ApplicationGatewayProbePropertiesFormat struct {
	Protocol           ApplicationGatewayProtocol `json:"protocol,omitempty"`
	Host               *string                    `json:"host,omitempty"`
	Path               *string                    `json:"path,omitempty"`
	Interval           *int32                     `json:"interval,omitempty"`
	Timeout            *int32                     `json:"timeout,omitempty"`
	UnhealthyThreshold *int32                     `json:"unhealthyThreshold,omitempty"`
	ProvisioningState  *string                    `json:"provisioningState,omitempty"`
}

ApplicationGatewayProbePropertiesFormat is properties of probe of application gateway

type ApplicationGatewayPropertiesFormat

type ApplicationGatewayPropertiesFormat struct {
	Sku                           *ApplicationGatewaySku                       `json:"sku,omitempty"`
	OperationalState              ApplicationGatewayOperationalState           `json:"operationalState,omitempty"`
	GatewayIPConfigurations       *[]ApplicationGatewayIPConfiguration         `json:"gatewayIPConfigurations,omitempty"`
	SslCertificates               *[]ApplicationGatewaySslCertificate          `json:"sslCertificates,omitempty"`
	FrontendIPConfigurations      *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	FrontendPorts                 *[]ApplicationGatewayFrontendPort            `json:"frontendPorts,omitempty"`
	Probes                        *[]ApplicationGatewayProbe                   `json:"probes,omitempty"`
	BackendAddressPools           *[]ApplicationGatewayBackendAddressPool      `json:"backendAddressPools,omitempty"`
	BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings     `json:"backendHttpSettingsCollection,omitempty"`
	HTTPListeners                 *[]ApplicationGatewayHTTPListener            `json:"httpListeners,omitempty"`
	URLPathMaps                   *[]ApplicationGatewayURLPathMap              `json:"urlPathMaps,omitempty"`
	RequestRoutingRules           *[]ApplicationGatewayRequestRoutingRule      `json:"requestRoutingRules,omitempty"`
	ResourceGUID                  *string                                      `json:"resourceGuid,omitempty"`
	ProvisioningState             *string                                      `json:"provisioningState,omitempty"`
}

ApplicationGatewayPropertiesFormat is properties of Application Gateway

type ApplicationGatewayProtocol

type ApplicationGatewayProtocol string

ApplicationGatewayProtocol enumerates the values for application gateway protocol.

const (
	// HTTP specifies the http state for application gateway protocol.
	HTTP ApplicationGatewayProtocol = "Http"
	// HTTPS specifies the https state for application gateway protocol.
	HTTPS ApplicationGatewayProtocol = "Https"
)

type ApplicationGatewayRequestRoutingRule

type ApplicationGatewayRequestRoutingRule struct {
	ID         *string                                               `json:"id,omitempty"`
	Properties *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`
	Name       *string                                               `json:"name,omitempty"`
	Etag       *string                                               `json:"etag,omitempty"`
}

ApplicationGatewayRequestRoutingRule is request routing rule of application gateway

type ApplicationGatewayRequestRoutingRulePropertiesFormat

type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
	RuleType            ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
	BackendAddressPool  *SubResource                             `json:"backendAddressPool,omitempty"`
	BackendHTTPSettings *SubResource                             `json:"backendHttpSettings,omitempty"`
	HTTPListener        *SubResource                             `json:"httpListener,omitempty"`
	URLPathMap          *SubResource                             `json:"urlPathMap,omitempty"`
	ProvisioningState   *string                                  `json:"provisioningState,omitempty"`
}

ApplicationGatewayRequestRoutingRulePropertiesFormat is properties of Request routing rule of application gateway

type ApplicationGatewayRequestRoutingRuleType

type ApplicationGatewayRequestRoutingRuleType string

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

const (
	// Basic specifies the basic state for application gateway request routing
	// rule type.
	Basic ApplicationGatewayRequestRoutingRuleType = "Basic"
	// PathBasedRouting specifies the path based routing state for application
	// gateway request routing rule type.
	PathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting"
)

type ApplicationGatewaySku

type ApplicationGatewaySku struct {
	Name     ApplicationGatewaySkuName `json:"name,omitempty"`
	Tier     ApplicationGatewayTier    `json:"tier,omitempty"`
	Capacity *int32                    `json:"capacity,omitempty"`
}

ApplicationGatewaySku is sKU of application gateway

type ApplicationGatewaySkuName

type ApplicationGatewaySkuName string

ApplicationGatewaySkuName enumerates the values for application gateway sku name.

const (
	// StandardLarge specifies the standard large state for application
	// gateway sku name.
	StandardLarge ApplicationGatewaySkuName = "Standard_Large"
	// StandardMedium specifies the standard medium state for application
	// gateway sku name.
	StandardMedium ApplicationGatewaySkuName = "Standard_Medium"
	// StandardSmall specifies the standard small state for application
	// gateway sku name.
	StandardSmall ApplicationGatewaySkuName = "Standard_Small"
)

type ApplicationGatewaySslCertificate

type ApplicationGatewaySslCertificate struct {
	ID         *string                                           `json:"id,omitempty"`
	Properties *ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"`
	Name       *string                                           `json:"name,omitempty"`
	Etag       *string                                           `json:"etag,omitempty"`
}

ApplicationGatewaySslCertificate is sSL certificates of application gateway

type ApplicationGatewaySslCertificatePropertiesFormat

type ApplicationGatewaySslCertificatePropertiesFormat struct {
	Data              *string `json:"data,omitempty"`
	Password          *string `json:"password,omitempty"`
	PublicCertData    *string `json:"publicCertData,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewaySslCertificatePropertiesFormat is properties of SSL certificates of application gateway

type ApplicationGatewayTier

type ApplicationGatewayTier string

ApplicationGatewayTier enumerates the values for application gateway tier.

const (
	// Standard specifies the standard state for application gateway tier.
	Standard ApplicationGatewayTier = "Standard"
)

type ApplicationGatewayURLPathMap

type ApplicationGatewayURLPathMap struct {
	ID         *string                                       `json:"id,omitempty"`
	Properties *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                       `json:"name,omitempty"`
	Etag       *string                                       `json:"etag,omitempty"`
}

ApplicationGatewayURLPathMap is urlPathMap of application gateway

type ApplicationGatewayURLPathMapPropertiesFormat

type ApplicationGatewayURLPathMapPropertiesFormat struct {
	DefaultBackendAddressPool  *SubResource                  `json:"defaultBackendAddressPool,omitempty"`
	DefaultBackendHTTPSettings *SubResource                  `json:"defaultBackendHttpSettings,omitempty"`
	PathRules                  *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"`
	ProvisioningState          *string                       `json:"provisioningState,omitempty"`
}

ApplicationGatewayURLPathMapPropertiesFormat is properties of probe of application gateway

type ApplicationGatewaysClient

type ApplicationGatewaysClient struct {
	ManagementClient
}

ApplicationGatewaysClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewApplicationGatewaysClient

func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClient creates an instance of the ApplicationGatewaysClient client.

func NewApplicationGatewaysClientWithBaseURI

func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client.

func (ApplicationGatewaysClient) CreateOrUpdate

func (client ApplicationGatewaysClient) CreateOrUpdate(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put ApplicationGateway operation creates/updates a ApplicationGateway This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the ApplicationGateway. parameters is parameters supplied to the create/delete ApplicationGateway operation

func (ApplicationGatewaysClient) CreateOrUpdatePreparer

func (client ApplicationGatewaysClient) CreateOrUpdatePreparer(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationGatewaysClient) CreateOrUpdateResponder

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

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

func (ApplicationGatewaysClient) CreateOrUpdateSender

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

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

func (ApplicationGatewaysClient) Delete

func (client ApplicationGatewaysClient) Delete(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete applicationgateway operation deletes the specified applicationgateway. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the applicationgateway.

func (ApplicationGatewaysClient) DeletePreparer

func (client ApplicationGatewaysClient) DeletePreparer(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationGatewaysClient) DeleteResponder

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

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

func (ApplicationGatewaysClient) DeleteSender

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

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

func (ApplicationGatewaysClient) Get

func (client ApplicationGatewaysClient) Get(resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)

Get the Get applicationgateway operation retreives information about the specified applicationgateway.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the applicationgateway.

func (ApplicationGatewaysClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationGatewaysClient) GetResponder

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

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

func (ApplicationGatewaysClient) GetSender

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

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

func (ApplicationGatewaysClient) List

func (client ApplicationGatewaysClient) List(resourceGroupName string) (result ApplicationGatewayListResult, err error)

List the List ApplicationGateway opertion retrieves all the applicationgateways in a resource group.

resourceGroupName is the name of the resource group.

func (ApplicationGatewaysClient) ListAll

func (client ApplicationGatewaysClient) ListAll() (result ApplicationGatewayListResult, err error)

ListAll the List applicationgateway opertion retrieves all the applicationgateways in a subscription.

func (ApplicationGatewaysClient) ListAllNextResults

func (client ApplicationGatewaysClient) ListAllNextResults(lastResults ApplicationGatewayListResult) (result ApplicationGatewayListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (ApplicationGatewaysClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (ApplicationGatewaysClient) ListAllResponder

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

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

func (ApplicationGatewaysClient) ListAllSender

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

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

func (ApplicationGatewaysClient) ListNextResults

func (client ApplicationGatewaysClient) ListNextResults(lastResults ApplicationGatewayListResult) (result ApplicationGatewayListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ApplicationGatewaysClient) ListPreparer

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

ListPreparer prepares the List request.

func (ApplicationGatewaysClient) ListResponder

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

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

func (ApplicationGatewaysClient) ListSender

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

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

func (ApplicationGatewaysClient) Start

func (client ApplicationGatewaysClient) Start(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (result autorest.Response, err error)

Start the Start ApplicationGateway operation starts application gatewayin the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway.

func (ApplicationGatewaysClient) StartPreparer

func (client ApplicationGatewaysClient) StartPreparer(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (*http.Request, error)

StartPreparer prepares the Start request.

func (ApplicationGatewaysClient) StartResponder

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

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

func (ApplicationGatewaysClient) StartSender

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

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

func (ApplicationGatewaysClient) Stop

func (client ApplicationGatewaysClient) Stop(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (result autorest.Response, err error)

Stop the STOP ApplicationGateway operation stops application gatewayin the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway.

func (ApplicationGatewaysClient) StopPreparer

func (client ApplicationGatewaysClient) StopPreparer(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ApplicationGatewaysClient) StopResponder

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

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

func (ApplicationGatewaysClient) StopSender

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

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

type AuthorizationListResult

type AuthorizationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitAuthorization `json:"value,omitempty"`
	NextLink          *string                             `json:"nextLink,omitempty"`
}

AuthorizationListResult is response for ListAuthorizations Api service callRetrieves all authorizations that belongs to an ExpressRouteCircuit

func (AuthorizationListResult) AuthorizationListResultPreparer

func (client AuthorizationListResult) AuthorizationListResultPreparer() (*http.Request, error)

AuthorizationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AuthorizationPropertiesFormat

type AuthorizationPropertiesFormat struct {
	AuthorizationKey       *string                `json:"authorizationKey,omitempty"`
	AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
	ProvisioningState      *string                `json:"provisioningState,omitempty"`
}

AuthorizationPropertiesFormat is

type AuthorizationUseStatus

type AuthorizationUseStatus string

AuthorizationUseStatus enumerates the values for authorization use status.

const (
	// Available specifies the available state for authorization use status.
	Available AuthorizationUseStatus = "Available"
	// InUse specifies the in use state for authorization use status.
	InUse AuthorizationUseStatus = "InUse"
)

type AzureAsyncOperationResult

type AzureAsyncOperationResult struct {
	Status OperationStatus `json:"status,omitempty"`
	Error  *Error          `json:"error,omitempty"`
}

AzureAsyncOperationResult is the response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is inprogress, 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 BackendAddressPool

type BackendAddressPool struct {
	ID         *string                             `json:"id,omitempty"`
	Properties *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	Name       *string                             `json:"name,omitempty"`
	Etag       *string                             `json:"etag,omitempty"`
}

BackendAddressPool is pool of backend IP addresseses

type BackendAddressPoolPropertiesFormat

type BackendAddressPoolPropertiesFormat struct {
	BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
	LoadBalancingRules      *[]SubResource              `json:"loadBalancingRules,omitempty"`
	OutboundNatRule         *SubResource                `json:"outboundNatRule,omitempty"`
	ProvisioningState       *string                     `json:"provisioningState,omitempty"`
}

BackendAddressPoolPropertiesFormat is properties of BackendAddressPool

type ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	autorest.Response `json:"-"`
	KeyLength         *int64 `json:"keyLength,omitempty"`
}

ConnectionResetSharedKey is

type ConnectionSharedKey

type ConnectionSharedKey struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

ConnectionSharedKey is response for GetConnectionSharedKey Api servive call

type ConnectionSharedKeyResult

type ConnectionSharedKeyResult struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

ConnectionSharedKeyResult is response for CheckConnectionSharedKey Api servive call

type DNSNameAvailabilityResult

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

DNSNameAvailabilityResult is response for CheckDnsNameAvailability Api servive call

type DhcpOptions

type DhcpOptions struct {
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

DhcpOptions is dHCPOptions contains an array of DNS servers available to VMs deployed in the virtual networkStandard DHCP option for a subnet overrides VNET DHCP options.

type Error

type Error struct {
	Code       *string         `json:"code,omitempty"`
	Message    *string         `json:"message,omitempty"`
	Target     *string         `json:"target,omitempty"`
	Details    *[]ErrorDetails `json:"details,omitempty"`
	InnerError *string         `json:"innerError,omitempty"`
}

Error is

type ErrorDetails

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

ErrorDetails is

type ExpressRouteCircuit

type ExpressRouteCircuit struct {
	autorest.Response `json:"-"`
	ID                *string                              `json:"id,omitempty"`
	Name              *string                              `json:"name,omitempty"`
	Type              *string                              `json:"type,omitempty"`
	Location          *string                              `json:"location,omitempty"`
	Tags              *map[string]*string                  `json:"tags,omitempty"`
	Sku               *ExpressRouteCircuitSku              `json:"sku,omitempty"`
	Properties        *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                              `json:"etag,omitempty"`
}

ExpressRouteCircuit is expressRouteCircuit resource

type ExpressRouteCircuitArpTable

type ExpressRouteCircuitArpTable struct {
	IPAddress  *string `json:"ipAddress,omitempty"`
	MacAddress *string `json:"macAddress,omitempty"`
}

ExpressRouteCircuitArpTable is the arp table associated with the ExpressRouteCircuit

type ExpressRouteCircuitAuthorization

type ExpressRouteCircuitAuthorization struct {
	autorest.Response `json:"-"`
	ID                *string                        `json:"id,omitempty"`
	Properties        *AuthorizationPropertiesFormat `json:"properties,omitempty"`
	Name              *string                        `json:"name,omitempty"`
	Etag              *string                        `json:"etag,omitempty"`
}

ExpressRouteCircuitAuthorization is authorization in a ExpressRouteCircuit resource

type ExpressRouteCircuitAuthorizationsClient

type ExpressRouteCircuitAuthorizationsClient struct {
	ManagementClient
}

ExpressRouteCircuitAuthorizationsClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewExpressRouteCircuitAuthorizationsClient

func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put Authorization operation creates/updates an authorization in thespecified ExpressRouteCircuits This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. authorizationName is the name of the authorization. authorizationParameters is parameters supplied to the create/update ExpressRouteCircuitAuthorization operation

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitAuthorizationsClient) Delete

func (client ExpressRouteCircuitAuthorizationsClient) Delete(resourceGroupName string, circuitName string, authorizationName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete authorization operation deletes the specified authorization from the specified ExpressRouteCircuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. authorizationName is the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) DeletePreparer

func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(resourceGroupName string, circuitName string, authorizationName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitAuthorizationsClient) DeleteResponder

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

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

func (ExpressRouteCircuitAuthorizationsClient) DeleteSender

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

func (ExpressRouteCircuitAuthorizationsClient) Get

func (client ExpressRouteCircuitAuthorizationsClient) Get(resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error)

Get the GET authorization operation retrieves the specified authorization from the specified ExpressRouteCircuit.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. authorizationName is the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) GetPreparer

func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitAuthorizationsClient) GetResponder

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

func (ExpressRouteCircuitAuthorizationsClient) GetSender

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

func (ExpressRouteCircuitAuthorizationsClient) List

func (client ExpressRouteCircuitAuthorizationsClient) List(resourceGroupName string, circuitName string) (result AuthorizationListResult, err error)

List the List authorization operation retrieves all the authorizations in an ExpressRouteCircuit.

resourceGroupName is the name of the resource group. circuitName is the name of the curcuit.

func (ExpressRouteCircuitAuthorizationsClient) ListNextResults

func (client ExpressRouteCircuitAuthorizationsClient) ListNextResults(lastResults AuthorizationListResult) (result AuthorizationListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitAuthorizationsClient) ListPreparer

func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitAuthorizationsClient) ListResponder

func (client ExpressRouteCircuitAuthorizationsClient) ListResponder(resp *http.Response) (result AuthorizationListResult, err error)

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

func (ExpressRouteCircuitAuthorizationsClient) ListSender

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

type ExpressRouteCircuitListResult

type ExpressRouteCircuitListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuit `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

ExpressRouteCircuitListResult is response for ListExpressRouteCircuit Api service call

func (ExpressRouteCircuitListResult) ExpressRouteCircuitListResultPreparer

func (client ExpressRouteCircuitListResult) ExpressRouteCircuitListResultPreparer() (*http.Request, error)

ExpressRouteCircuitListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteCircuitPeering

type ExpressRouteCircuitPeering struct {
	autorest.Response `json:"-"`
	ID                *string                                     `json:"id,omitempty"`
	Properties        *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`
	Name              *string                                     `json:"name,omitempty"`
	Etag              *string                                     `json:"etag,omitempty"`
}

ExpressRouteCircuitPeering is peering in a ExpressRouteCircuit resource

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string

ExpressRouteCircuitPeeringAdvertisedPublicPrefixState enumerates the values for express route circuit peering advertised public prefix state.

const (
	// Configured specifies the configured state for express route circuit
	// peering advertised public prefix state.
	Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
	// Configuring specifies the configuring state for express route circuit
	// peering advertised public prefix state.
	Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
	// NotConfigured specifies the not configured state for express route
	// circuit peering advertised public prefix state.
	NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
	// ValidationNeeded specifies the validation needed state for express
	// route circuit peering advertised public prefix state.
	ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
)

type ExpressRouteCircuitPeeringConfig

type ExpressRouteCircuitPeeringConfig struct {
	AdvertisedPublicPrefixes      *[]string                                             `json:"advertisedPublicPrefixes,omitempty"`
	AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"`
	CustomerASN                   *int32                                                `json:"customerASN,omitempty"`
	RoutingRegistryName           *string                                               `json:"routingRegistryName,omitempty"`
}

ExpressRouteCircuitPeeringConfig is specfies the peering config

type ExpressRouteCircuitPeeringListResult

type ExpressRouteCircuitPeeringListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitPeering `json:"value,omitempty"`
	NextLink          *string                       `json:"nextLink,omitempty"`
}

ExpressRouteCircuitPeeringListResult is response for ListPeering Api service callRetrieves all Peerings that belongs to an ExpressRouteCircuit

func (ExpressRouteCircuitPeeringListResult) ExpressRouteCircuitPeeringListResultPreparer

func (client ExpressRouteCircuitPeeringListResult) ExpressRouteCircuitPeeringListResultPreparer() (*http.Request, error)

ExpressRouteCircuitPeeringListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteCircuitPeeringPropertiesFormat

type ExpressRouteCircuitPeeringPropertiesFormat struct {
	PeeringType                ExpressRouteCircuitPeeringType    `json:"peeringType,omitempty"`
	State                      ExpressRouteCircuitPeeringState   `json:"state,omitempty"`
	AzureASN                   *int32                            `json:"azureASN,omitempty"`
	PeerASN                    *int32                            `json:"peerASN,omitempty"`
	PrimaryPeerAddressPrefix   *string                           `json:"primaryPeerAddressPrefix,omitempty"`
	SecondaryPeerAddressPrefix *string                           `json:"secondaryPeerAddressPrefix,omitempty"`
	PrimaryAzurePort           *string                           `json:"primaryAzurePort,omitempty"`
	SecondaryAzurePort         *string                           `json:"secondaryAzurePort,omitempty"`
	SharedKey                  *string                           `json:"sharedKey,omitempty"`
	VlanID                     *int32                            `json:"vlanId,omitempty"`
	MicrosoftPeeringConfig     *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	Stats                      *ExpressRouteCircuitStats         `json:"stats,omitempty"`
	ProvisioningState          *string                           `json:"provisioningState,omitempty"`
}

ExpressRouteCircuitPeeringPropertiesFormat is

type ExpressRouteCircuitPeeringState

type ExpressRouteCircuitPeeringState string

ExpressRouteCircuitPeeringState enumerates the values for express route circuit peering state.

const (
	// ExpressRouteCircuitPeeringStateDisabled specifies the express route
	// circuit peering state disabled state for express route circuit peering
	// state.
	ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled"
	// ExpressRouteCircuitPeeringStateEnabled specifies the express route
	// circuit peering state enabled state for express route circuit peering
	// state.
	ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled"
)

type ExpressRouteCircuitPeeringType

type ExpressRouteCircuitPeeringType string

ExpressRouteCircuitPeeringType enumerates the values for express route circuit peering type.

const (
	// AzurePrivatePeering specifies the azure private peering state for
	// express route circuit peering type.
	AzurePrivatePeering ExpressRouteCircuitPeeringType = "AzurePrivatePeering"
	// AzurePublicPeering specifies the azure public peering state for express
	// route circuit peering type.
	AzurePublicPeering ExpressRouteCircuitPeeringType = "AzurePublicPeering"
	// MicrosoftPeering specifies the microsoft peering state for express
	// route circuit peering type.
	MicrosoftPeering ExpressRouteCircuitPeeringType = "MicrosoftPeering"
)

type ExpressRouteCircuitPeeringsClient

type ExpressRouteCircuitPeeringsClient struct {
	ManagementClient
}

ExpressRouteCircuitPeeringsClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewExpressRouteCircuitPeeringsClient

func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.

func NewExpressRouteCircuitPeeringsClientWithBaseURI

func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdate

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put Pering operation creates/updates an peering in the specified ExpressRouteCircuits This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering. peeringParameters is parameters supplied to the create/update ExpressRouteCircuit Peering operation

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitPeeringsClient) Delete

func (client ExpressRouteCircuitPeeringsClient) Delete(resourceGroupName string, circuitName string, peeringName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete peering operation deletes the specified peering from the ExpressRouteCircuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering.

func (ExpressRouteCircuitPeeringsClient) DeletePreparer

func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(resourceGroupName string, circuitName string, peeringName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitPeeringsClient) DeleteResponder

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

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

func (ExpressRouteCircuitPeeringsClient) DeleteSender

func (client ExpressRouteCircuitPeeringsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitPeeringsClient) Get

func (client ExpressRouteCircuitPeeringsClient) Get(resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error)

Get the GET peering operation retrieves the specified authorization from the ExpressRouteCircuit.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering.

func (ExpressRouteCircuitPeeringsClient) GetPreparer

func (client ExpressRouteCircuitPeeringsClient) GetPreparer(resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitPeeringsClient) GetResponder

func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)

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

func (ExpressRouteCircuitPeeringsClient) GetSender

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

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

func (ExpressRouteCircuitPeeringsClient) List

func (client ExpressRouteCircuitPeeringsClient) List(resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResult, err error)

List the List peering operation retrieves all the peerings in an ExpressRouteCircuit.

resourceGroupName is the name of the resource group. circuitName is the name of the curcuit.

func (ExpressRouteCircuitPeeringsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitPeeringsClient) ListPreparer

func (client ExpressRouteCircuitPeeringsClient) ListPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitPeeringsClient) ListResponder

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

func (ExpressRouteCircuitPeeringsClient) ListSender

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

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

type ExpressRouteCircuitPropertiesFormat

type ExpressRouteCircuitPropertiesFormat struct {
	CircuitProvisioningState         *string                                       `json:"circuitProvisioningState,omitempty"`
	ServiceProviderProvisioningState ServiceProviderProvisioningState              `json:"serviceProviderProvisioningState,omitempty"`
	Authorizations                   *[]ExpressRouteCircuitAuthorization           `json:"authorizations,omitempty"`
	Peerings                         *[]ExpressRouteCircuitPeering                 `json:"peerings,omitempty"`
	ServiceKey                       *string                                       `json:"serviceKey,omitempty"`
	ServiceProviderNotes             *string                                       `json:"serviceProviderNotes,omitempty"`
	ServiceProviderProperties        *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`
	ProvisioningState                *string                                       `json:"provisioningState,omitempty"`
}

ExpressRouteCircuitPropertiesFormat is properties of ExpressRouteCircuit

type ExpressRouteCircuitRoutesTable

type ExpressRouteCircuitRoutesTable struct {
	AddressPrefix *string          `json:"addressPrefix,omitempty"`
	NextHopType   RouteNextHopType `json:"nextHopType,omitempty"`
	NextHopIP     *string          `json:"nextHopIP,omitempty"`
	AsPath        *string          `json:"asPath,omitempty"`
}

ExpressRouteCircuitRoutesTable is the routes table associated with the ExpressRouteCircuit

type ExpressRouteCircuitServiceProviderProperties

type ExpressRouteCircuitServiceProviderProperties struct {
	ServiceProviderName *string `json:"serviceProviderName,omitempty"`
	PeeringLocation     *string `json:"peeringLocation,omitempty"`
	BandwidthInMbps     *int32  `json:"bandwidthInMbps,omitempty"`
}

ExpressRouteCircuitServiceProviderProperties is contains ServiceProviderProperties in an ExpressRouteCircuit

type ExpressRouteCircuitSku

type ExpressRouteCircuitSku struct {
	Name   *string                      `json:"name,omitempty"`
	Tier   ExpressRouteCircuitSkuTier   `json:"tier,omitempty"`
	Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"`
}

ExpressRouteCircuitSku is contains sku in an ExpressRouteCircuit

type ExpressRouteCircuitSkuFamily

type ExpressRouteCircuitSkuFamily string

ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.

const (
	// MeteredData specifies the metered data state for express route circuit
	// sku family.
	MeteredData ExpressRouteCircuitSkuFamily = "MeteredData"
	// UnlimitedData specifies the unlimited data state for express route
	// circuit sku family.
	UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData"
)

type ExpressRouteCircuitSkuTier

type ExpressRouteCircuitSkuTier string

ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.

const (
	// ExpressRouteCircuitSkuTierPremium specifies the express route circuit
	// sku tier premium state for express route circuit sku tier.
	ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium"
	// ExpressRouteCircuitSkuTierStandard specifies the express route circuit
	// sku tier standard state for express route circuit sku tier.
	ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard"
)

type ExpressRouteCircuitStats

type ExpressRouteCircuitStats struct {
	BytesIn  *int32 `json:"bytesIn,omitempty"`
	BytesOut *int32 `json:"bytesOut,omitempty"`
}

ExpressRouteCircuitStats is contains Stats associated with the peering

type ExpressRouteCircuitsArpTableListResult

type ExpressRouteCircuitsArpTableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
	NextLink          *string                        `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsArpTableListResult is response for ListArpTable associated with the Express Route Circuits Api

func (ExpressRouteCircuitsArpTableListResult) ExpressRouteCircuitsArpTableListResultPreparer

func (client ExpressRouteCircuitsArpTableListResult) ExpressRouteCircuitsArpTableListResultPreparer() (*http.Request, error)

ExpressRouteCircuitsArpTableListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteCircuitsClient

type ExpressRouteCircuitsClient struct {
	ManagementClient
}

ExpressRouteCircuitsClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewExpressRouteCircuitsClient

func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.

func NewExpressRouteCircuitsClientWithBaseURI

func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client.

func (ExpressRouteCircuitsClient) CreateOrUpdate

func (client ExpressRouteCircuitsClient) CreateOrUpdate(resourceGroupName string, circuitName string, parameters ExpressRouteCircuit, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put ExpressRouteCircuit operation creates/updates a ExpressRouteCircuit This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the circuit. parameters is parameters supplied to the create/delete ExpressRouteCircuit operation

func (ExpressRouteCircuitsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(resourceGroupName string, circuitName string, parameters ExpressRouteCircuit, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (ExpressRouteCircuitsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitsClient) Delete

func (client ExpressRouteCircuitsClient) Delete(resourceGroupName string, circuitName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete ExpressRouteCircuit operation deletes the specified ExpressRouteCircuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route Circuit.

func (ExpressRouteCircuitsClient) DeletePreparer

func (client ExpressRouteCircuitsClient) DeletePreparer(resourceGroupName string, circuitName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitsClient) DeleteResponder

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

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

func (ExpressRouteCircuitsClient) DeleteSender

func (client ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitsClient) Get

func (client ExpressRouteCircuitsClient) Get(resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)

Get the Get ExpressRouteCircuit operation retreives information about the specified ExpressRouteCircuit.

resourceGroupName is the name of the resource group. circuitName is the name of the circuit.

func (ExpressRouteCircuitsClient) GetPreparer

func (client ExpressRouteCircuitsClient) GetPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitsClient) GetResponder

func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuit, err error)

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

func (ExpressRouteCircuitsClient) GetSender

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

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

func (ExpressRouteCircuitsClient) List

func (client ExpressRouteCircuitsClient) List(resourceGroupName string) (result ExpressRouteCircuitListResult, err error)

List the List ExpressRouteCircuit opertion retrieves all the ExpressRouteCircuits in a resource group.

resourceGroupName is the name of the resource group.

func (ExpressRouteCircuitsClient) ListAll

func (client ExpressRouteCircuitsClient) ListAll() (result ExpressRouteCircuitListResult, err error)

ListAll the List ExpressRouteCircuit opertion retrieves all the ExpressRouteCircuits in a subscription.

func (ExpressRouteCircuitsClient) ListAllNextResults

func (client ExpressRouteCircuitsClient) ListAllNextResults(lastResults ExpressRouteCircuitListResult) (result ExpressRouteCircuitListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListAllPreparer

func (client ExpressRouteCircuitsClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (ExpressRouteCircuitsClient) ListAllResponder

func (client ExpressRouteCircuitsClient) ListAllResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)

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

func (ExpressRouteCircuitsClient) ListAllSender

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

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

func (ExpressRouteCircuitsClient) ListArpTable

func (client ExpressRouteCircuitsClient) ListArpTable(resourceGroupName string, circuitName string) (result ExpressRouteCircuitsArpTableListResult, err error)

ListArpTable the ListArpTable from ExpressRouteCircuit opertion retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group.

resourceGroupName is the name of the resource group. circuitName is the name of the circuit.

func (ExpressRouteCircuitsClient) ListArpTableNextResults

ListArpTableNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListArpTablePreparer

func (client ExpressRouteCircuitsClient) ListArpTablePreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListArpTablePreparer prepares the ListArpTable request.

func (ExpressRouteCircuitsClient) ListArpTableResponder

func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)

ListArpTableResponder handles the response to the ListArpTable request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListArpTableSender

func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitsClient) ListNextResults

func (client ExpressRouteCircuitsClient) ListNextResults(lastResults ExpressRouteCircuitListResult) (result ExpressRouteCircuitListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListPreparer

func (client ExpressRouteCircuitsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitsClient) ListResponder

func (client ExpressRouteCircuitsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)

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

func (ExpressRouteCircuitsClient) ListRoutesTable

func (client ExpressRouteCircuitsClient) ListRoutesTable(resourceGroupName string, circuitName string) (result ExpressRouteCircuitsRoutesTableListResult, err error)

ListRoutesTable the ListRoutesTable from ExpressRouteCircuit opertion retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group.

resourceGroupName is the name of the resource group. circuitName is the name of the circuit.

func (ExpressRouteCircuitsClient) ListRoutesTableNextResults

ListRoutesTableNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListRoutesTablePreparer

func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListRoutesTablePreparer prepares the ListRoutesTable request.

func (ExpressRouteCircuitsClient) ListRoutesTableResponder

func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)

ListRoutesTableResponder handles the response to the ListRoutesTable request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTableSender

func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (*http.Response, error)

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

func (ExpressRouteCircuitsClient) ListSender

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

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

func (ExpressRouteCircuitsClient) ListStats

func (client ExpressRouteCircuitsClient) ListStats(resourceGroupName string, circuitName string) (result ExpressRouteCircuitsStatsListResult, err error)

ListStats the Liststats ExpressRouteCircuit opertion retrieves all the stats from a ExpressRouteCircuits in a resource group.

resourceGroupName is the name of the resource group. circuitName is the name of the loadBalancer.

func (ExpressRouteCircuitsClient) ListStatsNextResults

ListStatsNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListStatsPreparer

func (client ExpressRouteCircuitsClient) ListStatsPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListStatsPreparer prepares the ListStats request.

func (ExpressRouteCircuitsClient) ListStatsResponder

func (client ExpressRouteCircuitsClient) ListStatsResponder(resp *http.Response) (result ExpressRouteCircuitsStatsListResult, err error)

ListStatsResponder handles the response to the ListStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListStatsSender

func (client ExpressRouteCircuitsClient) ListStatsSender(req *http.Request) (*http.Response, error)

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

type ExpressRouteCircuitsRoutesTableListResult

type ExpressRouteCircuitsRoutesTableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
	NextLink          *string                           `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsRoutesTableListResult is response for ListRoutesTable associated with the Express Route Circuits Api

func (ExpressRouteCircuitsRoutesTableListResult) ExpressRouteCircuitsRoutesTableListResultPreparer

func (client ExpressRouteCircuitsRoutesTableListResult) ExpressRouteCircuitsRoutesTableListResultPreparer() (*http.Request, error)

ExpressRouteCircuitsRoutesTableListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteCircuitsStatsListResult

type ExpressRouteCircuitsStatsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitStats `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsStatsListResult is response for ListStats from Express Route Circuits Api service call

func (ExpressRouteCircuitsStatsListResult) ExpressRouteCircuitsStatsListResultPreparer

func (client ExpressRouteCircuitsStatsListResult) ExpressRouteCircuitsStatsListResultPreparer() (*http.Request, error)

ExpressRouteCircuitsStatsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteServiceProvider

type ExpressRouteServiceProvider struct {
	ID         *string                                      `json:"id,omitempty"`
	Name       *string                                      `json:"name,omitempty"`
	Type       *string                                      `json:"type,omitempty"`
	Location   *string                                      `json:"location,omitempty"`
	Tags       *map[string]*string                          `json:"tags,omitempty"`
	Properties *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"`
}

ExpressRouteServiceProvider is expressRouteResourceProvider object

type ExpressRouteServiceProviderBandwidthsOffered

type ExpressRouteServiceProviderBandwidthsOffered struct {
	OfferName   *string `json:"offerName,omitempty"`
	ValueInMbps *int32  `json:"valueInMbps,omitempty"`
}

ExpressRouteServiceProviderBandwidthsOffered is contains Bandwidths offered in ExpressRouteServiceProviders

type ExpressRouteServiceProviderListResult

type ExpressRouteServiceProviderListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteServiceProvider `json:"value,omitempty"`
	NextLink          *string                        `json:"nextLink,omitempty"`
}

ExpressRouteServiceProviderListResult is response for ListExpressRouteServiceProvider Api service call

func (ExpressRouteServiceProviderListResult) ExpressRouteServiceProviderListResultPreparer

func (client ExpressRouteServiceProviderListResult) ExpressRouteServiceProviderListResultPreparer() (*http.Request, error)

ExpressRouteServiceProviderListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteServiceProviderPropertiesFormat

type ExpressRouteServiceProviderPropertiesFormat struct {
	PeeringLocations  *[]string                                       `json:"peeringLocations,omitempty"`
	BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`
	ProvisioningState *string                                         `json:"provisioningState,omitempty"`
}

ExpressRouteServiceProviderPropertiesFormat is properties of ExpressRouteServiceProvider

type ExpressRouteServiceProvidersClient

type ExpressRouteServiceProvidersClient struct {
	ManagementClient
}

ExpressRouteServiceProvidersClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewExpressRouteServiceProvidersClient

func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClient creates an instance of the ExpressRouteServiceProvidersClient client.

func NewExpressRouteServiceProvidersClientWithBaseURI

func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient client.

func (ExpressRouteServiceProvidersClient) List

List the List ExpressRouteServiceProvider opertion retrieves all the available ExpressRouteServiceProviders.

func (ExpressRouteServiceProvidersClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteServiceProvidersClient) ListPreparer

func (client ExpressRouteServiceProvidersClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteServiceProvidersClient) ListResponder

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

func (ExpressRouteServiceProvidersClient) ListSender

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

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

type FrontendIPConfiguration

type FrontendIPConfiguration struct {
	ID         *string                                  `json:"id,omitempty"`
	Properties *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Etag       *string                                  `json:"etag,omitempty"`
}

FrontendIPConfiguration is frontend IP address of the load balancer

type FrontendIPConfigurationPropertiesFormat

type FrontendIPConfigurationPropertiesFormat struct {
	InboundNatRules           *[]SubResource     `json:"inboundNatRules,omitempty"`
	InboundNatPools           *[]SubResource     `json:"inboundNatPools,omitempty"`
	OutboundNatRules          *[]SubResource     `json:"outboundNatRules,omitempty"`
	LoadBalancingRules        *[]SubResource     `json:"loadBalancingRules,omitempty"`
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *Subnet            `json:"subnet,omitempty"`
	PublicIPAddress           *PublicIPAddress   `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

FrontendIPConfigurationPropertiesFormat is properties of Frontend IP Configuration of the load balancer

type IPAllocationMethod

type IPAllocationMethod string

IPAllocationMethod enumerates the values for ip allocation method.

const (
	// Dynamic specifies the dynamic state for ip allocation method.
	Dynamic IPAllocationMethod = "Dynamic"
	// Static specifies the static state for ip allocation method.
	Static IPAllocationMethod = "Static"
)

type IPConfiguration

type IPConfiguration struct {
	ID         *string                          `json:"id,omitempty"`
	Properties *IPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Etag       *string                          `json:"etag,omitempty"`
}

IPConfiguration is iPConfiguration

type IPConfigurationPropertiesFormat

type IPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *Subnet            `json:"subnet,omitempty"`
	PublicIPAddress           *PublicIPAddress   `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

IPConfigurationPropertiesFormat is properties of IPConfiguration

type InboundNatPool

type InboundNatPool struct {
	ID         *string                         `json:"id,omitempty"`
	Properties *InboundNatPoolPropertiesFormat `json:"properties,omitempty"`
	Name       *string                         `json:"name,omitempty"`
	Etag       *string                         `json:"etag,omitempty"`
}

InboundNatPool is inbound NAT pool of the loadbalancer

type InboundNatPoolPropertiesFormat

type InboundNatPoolPropertiesFormat struct {
	FrontendIPConfiguration *SubResource      `json:"frontendIPConfiguration,omitempty"`
	Protocol                TransportProtocol `json:"protocol,omitempty"`
	FrontendPortRangeStart  *int32            `json:"frontendPortRangeStart,omitempty"`
	FrontendPortRangeEnd    *int32            `json:"frontendPortRangeEnd,omitempty"`
	BackendPort             *int32            `json:"backendPort,omitempty"`
	ProvisioningState       *string           `json:"provisioningState,omitempty"`
}

InboundNatPoolPropertiesFormat is properties of Inbound NAT pool

type InboundNatRule

type InboundNatRule struct {
	ID         *string                         `json:"id,omitempty"`
	Properties *InboundNatRulePropertiesFormat `json:"properties,omitempty"`
	Name       *string                         `json:"name,omitempty"`
	Etag       *string                         `json:"etag,omitempty"`
}

InboundNatRule is inbound NAT rule of the loadbalancer

type InboundNatRulePropertiesFormat

type InboundNatRulePropertiesFormat struct {
	FrontendIPConfiguration *SubResource              `json:"frontendIPConfiguration,omitempty"`
	BackendIPConfiguration  *InterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"`
	Protocol                TransportProtocol         `json:"protocol,omitempty"`
	FrontendPort            *int32                    `json:"frontendPort,omitempty"`
	BackendPort             *int32                    `json:"backendPort,omitempty"`
	IdleTimeoutInMinutes    *int32                    `json:"idleTimeoutInMinutes,omitempty"`
	EnableFloatingIP        *bool                     `json:"enableFloatingIP,omitempty"`
	ProvisioningState       *string                   `json:"provisioningState,omitempty"`
}

InboundNatRulePropertiesFormat is properties of Inbound NAT rule

type Interface

type Interface struct {
	autorest.Response `json:"-"`
	ID                *string                    `json:"id,omitempty"`
	Name              *string                    `json:"name,omitempty"`
	Type              *string                    `json:"type,omitempty"`
	Location          *string                    `json:"location,omitempty"`
	Tags              *map[string]*string        `json:"tags,omitempty"`
	Properties        *InterfacePropertiesFormat `json:"properties,omitempty"`
	Etag              *string                    `json:"etag,omitempty"`
}

Interface is a NetworkInterface in a resource group

type InterfaceDNSSettings

type InterfaceDNSSettings struct {
	DNSServers           *[]string `json:"dnsServers,omitempty"`
	AppliedDNSServers    *[]string `json:"appliedDnsServers,omitempty"`
	InternalDNSNameLabel *string   `json:"internalDnsNameLabel,omitempty"`
	InternalFqdn         *string   `json:"internalFqdn,omitempty"`
}

InterfaceDNSSettings is dns Settings of a network interface

type InterfaceIPConfiguration

type InterfaceIPConfiguration struct {
	ID         *string                                   `json:"id,omitempty"`
	Properties *InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Etag       *string                                   `json:"etag,omitempty"`
}

InterfaceIPConfiguration is iPConfiguration in a NetworkInterface

type InterfaceIPConfigurationPropertiesFormat

type InterfaceIPConfigurationPropertiesFormat struct {
	LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatRules     *[]InboundNatRule     `json:"loadBalancerInboundNatRules,omitempty"`
	PrivateIPAddress                *string               `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod       IPAllocationMethod    `json:"privateIPAllocationMethod,omitempty"`
	Subnet                          *Subnet               `json:"subnet,omitempty"`
	PublicIPAddress                 *PublicIPAddress      `json:"publicIPAddress,omitempty"`
	ProvisioningState               *string               `json:"provisioningState,omitempty"`
}

InterfaceIPConfigurationPropertiesFormat is properties of IPConfiguration

type InterfaceListResult

type InterfaceListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Interface `json:"value,omitempty"`
	NextLink          *string      `json:"nextLink,omitempty"`
}

InterfaceListResult is response for ListNetworkInterface Api service call

func (InterfaceListResult) InterfaceListResultPreparer

func (client InterfaceListResult) InterfaceListResultPreparer() (*http.Request, error)

InterfaceListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type InterfacePropertiesFormat

type InterfacePropertiesFormat struct {
	VirtualMachine       *SubResource                `json:"virtualMachine,omitempty"`
	NetworkSecurityGroup *SecurityGroup              `json:"networkSecurityGroup,omitempty"`
	IPConfigurations     *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
	DNSSettings          *InterfaceDNSSettings       `json:"dnsSettings,omitempty"`
	MacAddress           *string                     `json:"macAddress,omitempty"`
	Primary              *bool                       `json:"primary,omitempty"`
	EnableIPForwarding   *bool                       `json:"enableIPForwarding,omitempty"`
	ResourceGUID         *string                     `json:"resourceGuid,omitempty"`
	ProvisioningState    *string                     `json:"provisioningState,omitempty"`
}

InterfacePropertiesFormat is networkInterface properties.

type InterfacesClient

type InterfacesClient struct {
	ManagementClient
}

InterfacesClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewInterfacesClient

func NewInterfacesClient(subscriptionID string) InterfacesClient

NewInterfacesClient creates an instance of the InterfacesClient client.

func NewInterfacesClientWithBaseURI

func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient

NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client.

func (InterfacesClient) CreateOrUpdate

func (client InterfacesClient) CreateOrUpdate(resourceGroupName string, networkInterfaceName string, parameters Interface, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put NetworkInterface operation creates/updates a networkInterface This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. parameters is parameters supplied to the create/update NetworkInterface operation

func (InterfacesClient) CreateOrUpdatePreparer

func (client InterfacesClient) CreateOrUpdatePreparer(resourceGroupName string, networkInterfaceName string, parameters Interface, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InterfacesClient) CreateOrUpdateResponder

func (client InterfacesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (InterfacesClient) CreateOrUpdateSender

func (client InterfacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (InterfacesClient) Delete

func (client InterfacesClient) Delete(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete netwokInterface operation deletes the specified netwokInterface. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface.

func (InterfacesClient) DeletePreparer

func (client InterfacesClient) DeletePreparer(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (InterfacesClient) DeleteResponder

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

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

func (InterfacesClient) DeleteSender

func (client InterfacesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (InterfacesClient) Get

func (client InterfacesClient) Get(resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error)

Get the Get ntework interface operation retreives information about the specified network interface.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. expand is expand references resources.

func (InterfacesClient) GetPreparer

func (client InterfacesClient) GetPreparer(resourceGroupName string, networkInterfaceName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InterfacesClient) GetResponder

func (client InterfacesClient) GetResponder(resp *http.Response) (result Interface, err error)

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

func (InterfacesClient) GetSender

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

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

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterface

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result Interface, err error)

GetVirtualMachineScaleSetNetworkInterface the Get ntework interface operation retreives information about the specified network interface in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the network interface. expand is expand references resources.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (*http.Request, error)

GetVirtualMachineScaleSetNetworkInterfacePreparer prepares the GetVirtualMachineScaleSetNetworkInterface request.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder(resp *http.Response) (result Interface, err error)

GetVirtualMachineScaleSetNetworkInterfaceResponder handles the response to the GetVirtualMachineScaleSetNetworkInterface request. The method always closes the http.Response Body.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender(req *http.Request) (*http.Response, error)

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

func (InterfacesClient) List

func (client InterfacesClient) List(resourceGroupName string) (result InterfaceListResult, err error)

List the List networkInterfaces opertion retrieves all the networkInterfaces in a resource group.

resourceGroupName is the name of the resource group.

func (InterfacesClient) ListAll

func (client InterfacesClient) ListAll() (result InterfaceListResult, err error)

ListAll the List networkInterfaces opertion retrieves all the networkInterfaces in a subscription.

func (InterfacesClient) ListAllNextResults

func (client InterfacesClient) ListAllNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListAllPreparer

func (client InterfacesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (InterfacesClient) ListAllResponder

func (client InterfacesClient) ListAllResponder(resp *http.Response) (result InterfaceListResult, err error)

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

func (InterfacesClient) ListAllSender

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

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

func (InterfacesClient) ListNextResults

func (client InterfacesClient) ListNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListPreparer

func (client InterfacesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (InterfacesClient) ListResponder

func (client InterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)

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

func (InterfacesClient) ListSender

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

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

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetNetworkInterfaces the list network interface operation retrieves information about all network interfaces in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesNextResults

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetNetworkInterfacesNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer(resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)

ListVirtualMachineScaleSetNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetNetworkInterfaces request.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetNetworkInterfaces request. The method always closes the http.Response Body.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender(req *http.Request) (*http.Response, error)

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

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetVMNetworkInterfaces the list network interface operation retrieves information about all network interfaces in a virtual machine from a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set. virtualmachineIndex is the virtual machine index.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesNextResults

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetVMNetworkInterfacesNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (*http.Request, error)

ListVirtualMachineScaleSetVMNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetVMNetworkInterfaces request.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetVMNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method always closes the http.Response Body.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender(req *http.Request) (*http.Response, error)

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

type LoadBalancer

type LoadBalancer struct {
	autorest.Response `json:"-"`
	ID                *string                       `json:"id,omitempty"`
	Name              *string                       `json:"name,omitempty"`
	Type              *string                       `json:"type,omitempty"`
	Location          *string                       `json:"location,omitempty"`
	Tags              *map[string]*string           `json:"tags,omitempty"`
	Properties        *LoadBalancerPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                       `json:"etag,omitempty"`
}

LoadBalancer is loadBalancer resource

type LoadBalancerListResult

type LoadBalancerListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LoadBalancer `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

LoadBalancerListResult is response for ListLoadBalancers Api service call

func (LoadBalancerListResult) LoadBalancerListResultPreparer

func (client LoadBalancerListResult) LoadBalancerListResultPreparer() (*http.Request, error)

LoadBalancerListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LoadBalancerPropertiesFormat

type LoadBalancerPropertiesFormat struct {
	FrontendIPConfigurations *[]FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	BackendAddressPools      *[]BackendAddressPool      `json:"backendAddressPools,omitempty"`
	LoadBalancingRules       *[]LoadBalancingRule       `json:"loadBalancingRules,omitempty"`
	Probes                   *[]Probe                   `json:"probes,omitempty"`
	InboundNatRules          *[]InboundNatRule          `json:"inboundNatRules,omitempty"`
	InboundNatPools          *[]InboundNatPool          `json:"inboundNatPools,omitempty"`
	OutboundNatRules         *[]OutboundNatRule         `json:"outboundNatRules,omitempty"`
	ResourceGUID             *string                    `json:"resourceGuid,omitempty"`
	ProvisioningState        *string                    `json:"provisioningState,omitempty"`
}

LoadBalancerPropertiesFormat is properties of Load Balancer

type LoadBalancersClient

type LoadBalancersClient struct {
	ManagementClient
}

LoadBalancersClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewLoadBalancersClient

func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient

NewLoadBalancersClient creates an instance of the LoadBalancersClient client.

func NewLoadBalancersClientWithBaseURI

func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient

NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client.

func (LoadBalancersClient) CreateOrUpdate

func (client LoadBalancersClient) CreateOrUpdate(resourceGroupName string, loadBalancerName string, parameters LoadBalancer, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put LoadBalancer operation creates/updates a LoadBalancer This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the loadBalancer. parameters is parameters supplied to the create/delete LoadBalancer operation

func (LoadBalancersClient) CreateOrUpdatePreparer

func (client LoadBalancersClient) CreateOrUpdatePreparer(resourceGroupName string, loadBalancerName string, parameters LoadBalancer, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LoadBalancersClient) CreateOrUpdateResponder

func (client LoadBalancersClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (LoadBalancersClient) CreateOrUpdateSender

func (client LoadBalancersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (LoadBalancersClient) Delete

func (client LoadBalancersClient) Delete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete loadbalancer operation deletes the specified loadbalancer. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the loadBalancer.

func (LoadBalancersClient) DeletePreparer

func (client LoadBalancersClient) DeletePreparer(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LoadBalancersClient) DeleteResponder

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

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

func (LoadBalancersClient) DeleteSender

func (client LoadBalancersClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (LoadBalancersClient) Get

func (client LoadBalancersClient) Get(resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error)

Get the Get ntework interface operation retreives information about the specified network interface.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the loadBalancer. expand is expand references resources.

func (LoadBalancersClient) GetPreparer

func (client LoadBalancersClient) GetPreparer(resourceGroupName string, loadBalancerName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancersClient) GetResponder

func (client LoadBalancersClient) GetResponder(resp *http.Response) (result LoadBalancer, err error)

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

func (LoadBalancersClient) GetSender

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

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

func (LoadBalancersClient) List

func (client LoadBalancersClient) List(resourceGroupName string) (result LoadBalancerListResult, err error)

List the List loadBalancer opertion retrieves all the loadbalancers in a resource group.

resourceGroupName is the name of the resource group.

func (LoadBalancersClient) ListAll

func (client LoadBalancersClient) ListAll() (result LoadBalancerListResult, err error)

ListAll the List loadBalancer opertion retrieves all the loadbalancers in a subscription.

func (LoadBalancersClient) ListAllNextResults

func (client LoadBalancersClient) ListAllNextResults(lastResults LoadBalancerListResult) (result LoadBalancerListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (LoadBalancersClient) ListAllPreparer

func (client LoadBalancersClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (LoadBalancersClient) ListAllResponder

func (client LoadBalancersClient) ListAllResponder(resp *http.Response) (result LoadBalancerListResult, err error)

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

func (LoadBalancersClient) ListAllSender

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

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

func (LoadBalancersClient) ListNextResults

func (client LoadBalancersClient) ListNextResults(lastResults LoadBalancerListResult) (result LoadBalancerListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (LoadBalancersClient) ListPreparer

func (client LoadBalancersClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancersClient) ListResponder

func (client LoadBalancersClient) ListResponder(resp *http.Response) (result LoadBalancerListResult, err error)

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

func (LoadBalancersClient) ListSender

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

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

type LoadBalancingRule

type LoadBalancingRule struct {
	ID         *string                            `json:"id,omitempty"`
	Properties *LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Etag       *string                            `json:"etag,omitempty"`
}

LoadBalancingRule is rules of the load balancer

type LoadBalancingRulePropertiesFormat

type LoadBalancingRulePropertiesFormat struct {
	FrontendIPConfiguration *SubResource      `json:"frontendIPConfiguration,omitempty"`
	BackendAddressPool      *SubResource      `json:"backendAddressPool,omitempty"`
	Probe                   *SubResource      `json:"probe,omitempty"`
	Protocol                TransportProtocol `json:"protocol,omitempty"`
	LoadDistribution        LoadDistribution  `json:"loadDistribution,omitempty"`
	FrontendPort            *int32            `json:"frontendPort,omitempty"`
	BackendPort             *int32            `json:"backendPort,omitempty"`
	IdleTimeoutInMinutes    *int32            `json:"idleTimeoutInMinutes,omitempty"`
	EnableFloatingIP        *bool             `json:"enableFloatingIP,omitempty"`
	ProvisioningState       *string           `json:"provisioningState,omitempty"`
}

LoadBalancingRulePropertiesFormat is properties of the load balancer

type LoadDistribution

type LoadDistribution string

LoadDistribution enumerates the values for load distribution.

const (
	// Default specifies the default state for load distribution.
	Default LoadDistribution = "Default"
	// SourceIP specifies the source ip state for load distribution.
	SourceIP LoadDistribution = "SourceIP"
	// SourceIPProtocol specifies the source ip protocol state for load
	// distribution.
	SourceIPProtocol LoadDistribution = "SourceIPProtocol"
)

type LocalNetworkGateway

type LocalNetworkGateway struct {
	autorest.Response `json:"-"`
	ID                *string                              `json:"id,omitempty"`
	Name              *string                              `json:"name,omitempty"`
	Type              *string                              `json:"type,omitempty"`
	Location          *string                              `json:"location,omitempty"`
	Tags              *map[string]*string                  `json:"tags,omitempty"`
	Properties        *LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                              `json:"etag,omitempty"`
}

LocalNetworkGateway is a common class for general resource information

type LocalNetworkGatewayListResult

type LocalNetworkGatewayListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LocalNetworkGateway `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

LocalNetworkGatewayListResult is response for ListLocalNetworkGateways Api service call

func (LocalNetworkGatewayListResult) LocalNetworkGatewayListResultPreparer

func (client LocalNetworkGatewayListResult) LocalNetworkGatewayListResultPreparer() (*http.Request, error)

LocalNetworkGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LocalNetworkGatewayPropertiesFormat

type LocalNetworkGatewayPropertiesFormat struct {
	LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"`
	GatewayIPAddress         *string       `json:"gatewayIpAddress,omitempty"`
	ResourceGUID             *string       `json:"resourceGuid,omitempty"`
	ProvisioningState        *string       `json:"provisioningState,omitempty"`
}

LocalNetworkGatewayPropertiesFormat is localNetworkGateway properties

type LocalNetworkGatewaysClient

type LocalNetworkGatewaysClient struct {
	ManagementClient
}

LocalNetworkGatewaysClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewLocalNetworkGatewaysClient

func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClient creates an instance of the LocalNetworkGatewaysClient client.

func NewLocalNetworkGatewaysClientWithBaseURI

func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client.

func (LocalNetworkGatewaysClient) CreateOrUpdate

func (client LocalNetworkGatewaysClient) CreateOrUpdate(resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network gateway. parameters is parameters supplied to the Begin Create or update Local Network Gateway operation through Network resource provider.

func (LocalNetworkGatewaysClient) CreateOrUpdatePreparer

func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LocalNetworkGatewaysClient) CreateOrUpdateResponder

func (client LocalNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (LocalNetworkGatewaysClient) CreateOrUpdateSender

func (client LocalNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (LocalNetworkGatewaysClient) Delete

func (client LocalNetworkGatewaysClient) Delete(resourceGroupName string, localNetworkGatewayName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the Delete LocalNetworkGateway operation deletes the specifed local network Gateway through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network gateway.

func (LocalNetworkGatewaysClient) DeletePreparer

func (client LocalNetworkGatewaysClient) DeletePreparer(resourceGroupName string, localNetworkGatewayName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LocalNetworkGatewaysClient) DeleteResponder

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

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

func (LocalNetworkGatewaysClient) DeleteSender

func (client LocalNetworkGatewaysClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (LocalNetworkGatewaysClient) Get

func (client LocalNetworkGatewaysClient) Get(resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, err error)

Get the Get LocalNetworkGateway operation retrieves information about the specified local network gateway through Network resource provider.

resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network gateway.

func (LocalNetworkGatewaysClient) GetPreparer

func (client LocalNetworkGatewaysClient) GetPreparer(resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LocalNetworkGatewaysClient) GetResponder

func (client LocalNetworkGatewaysClient) GetResponder(resp *http.Response) (result LocalNetworkGateway, err error)

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

func (LocalNetworkGatewaysClient) GetSender

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

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

func (LocalNetworkGatewaysClient) List

func (client LocalNetworkGatewaysClient) List(resourceGroupName string) (result LocalNetworkGatewayListResult, err error)

List the List LocalNetworkGateways opertion retrieves all the local network gateways stored.

resourceGroupName is the name of the resource group.

func (LocalNetworkGatewaysClient) ListNextResults

func (client LocalNetworkGatewaysClient) ListNextResults(lastResults LocalNetworkGatewayListResult) (result LocalNetworkGatewayListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (LocalNetworkGatewaysClient) ListPreparer

func (client LocalNetworkGatewaysClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LocalNetworkGatewaysClient) ListResponder

func (client LocalNetworkGatewaysClient) ListResponder(resp *http.Response) (result LocalNetworkGatewayListResult, err error)

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

func (LocalNetworkGatewaysClient) ListSender

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

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

type ManagementClient

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

ManagementClient is the base client for Network.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

func (ManagementClient) CheckDNSNameAvailability

func (client ManagementClient) CheckDNSNameAvailability(location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error)

CheckDNSNameAvailability checks whether a domain name in the cloudapp.net zone is available for use.

location is the location of the domain name domainNameLabel is the domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.

func (ManagementClient) CheckDNSNameAvailabilityPreparer

func (client ManagementClient) CheckDNSNameAvailabilityPreparer(location string, domainNameLabel string) (*http.Request, error)

CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request.

func (ManagementClient) CheckDNSNameAvailabilityResponder

func (client ManagementClient) CheckDNSNameAvailabilityResponder(resp *http.Response) (result DNSNameAvailabilityResult, err error)

CheckDNSNameAvailabilityResponder handles the response to the CheckDNSNameAvailability request. The method always closes the http.Response Body.

func (ManagementClient) CheckDNSNameAvailabilitySender

func (client ManagementClient) CheckDNSNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// Failed specifies the failed state for operation status.
	Failed OperationStatus = "Failed"
	// InProgress specifies the in progress state for operation status.
	InProgress OperationStatus = "InProgress"
	// Succeeded specifies the succeeded state for operation status.
	Succeeded OperationStatus = "Succeeded"
)

type OutboundNatRule

type OutboundNatRule struct {
	ID         *string                          `json:"id,omitempty"`
	Properties *OutboundNatRulePropertiesFormat `json:"properties,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Etag       *string                          `json:"etag,omitempty"`
}

OutboundNatRule is outbound NAT pool of the loadbalancer

type OutboundNatRulePropertiesFormat

type OutboundNatRulePropertiesFormat struct {
	AllocatedOutboundPorts   *int32         `json:"allocatedOutboundPorts,omitempty"`
	FrontendIPConfigurations *[]SubResource `json:"frontendIPConfigurations,omitempty"`
	BackendAddressPool       *SubResource   `json:"backendAddressPool,omitempty"`
	ProvisioningState        *string        `json:"provisioningState,omitempty"`
}

OutboundNatRulePropertiesFormat is outbound NAT pool of the loadbalancer

type Probe

type Probe struct {
	ID         *string                `json:"id,omitempty"`
	Properties *ProbePropertiesFormat `json:"properties,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Etag       *string                `json:"etag,omitempty"`
}

Probe is load balancer Probe

type ProbePropertiesFormat

type ProbePropertiesFormat struct {
	LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
	Protocol           ProbeProtocol  `json:"protocol,omitempty"`
	Port               *int32         `json:"port,omitempty"`
	IntervalInSeconds  *int32         `json:"intervalInSeconds,omitempty"`
	NumberOfProbes     *int32         `json:"numberOfProbes,omitempty"`
	RequestPath        *string        `json:"requestPath,omitempty"`
	ProvisioningState  *string        `json:"provisioningState,omitempty"`
}

ProbePropertiesFormat is

type ProbeProtocol

type ProbeProtocol string

ProbeProtocol enumerates the values for probe protocol.

const (
	// ProbeProtocolHTTP specifies the probe protocol http state for probe
	// protocol.
	ProbeProtocolHTTP ProbeProtocol = "Http"
	// ProbeProtocolTCP specifies the probe protocol tcp state for probe
	// protocol.
	ProbeProtocolTCP ProbeProtocol = "Tcp"
)

type ProcessorArchitecture

type ProcessorArchitecture string

ProcessorArchitecture enumerates the values for processor architecture.

const (
	// Amd64 specifies the amd 64 state for processor architecture.
	Amd64 ProcessorArchitecture = "Amd64"
	// X86 specifies the x86 state for processor architecture.
	X86 ProcessorArchitecture = "X86"
)

type PublicIPAddress

type PublicIPAddress struct {
	autorest.Response `json:"-"`
	ID                *string                          `json:"id,omitempty"`
	Name              *string                          `json:"name,omitempty"`
	Type              *string                          `json:"type,omitempty"`
	Location          *string                          `json:"location,omitempty"`
	Tags              *map[string]*string              `json:"tags,omitempty"`
	Properties        *PublicIPAddressPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                          `json:"etag,omitempty"`
}

PublicIPAddress is publicIPAddress resource

type PublicIPAddressDNSSettings

type PublicIPAddressDNSSettings struct {
	DomainNameLabel *string `json:"domainNameLabel,omitempty"`
	Fqdn            *string `json:"fqdn,omitempty"`
	ReverseFqdn     *string `json:"reverseFqdn,omitempty"`
}

PublicIPAddressDNSSettings is contains FQDN of the DNS record associated with the public IP address

type PublicIPAddressListResult

type PublicIPAddressListResult struct {
	autorest.Response `json:"-"`
	Value             *[]PublicIPAddress `json:"value,omitempty"`
	NextLink          *string            `json:"nextLink,omitempty"`
}

PublicIPAddressListResult is response for ListPublicIpAddresses Api service call

func (PublicIPAddressListResult) PublicIPAddressListResultPreparer

func (client PublicIPAddressListResult) PublicIPAddressListResultPreparer() (*http.Request, error)

PublicIPAddressListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type PublicIPAddressPropertiesFormat

type PublicIPAddressPropertiesFormat struct {
	PublicIPAllocationMethod IPAllocationMethod          `json:"publicIPAllocationMethod,omitempty"`
	IPConfiguration          *IPConfiguration            `json:"ipConfiguration,omitempty"`
	DNSSettings              *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"`
	IPAddress                *string                     `json:"ipAddress,omitempty"`
	IdleTimeoutInMinutes     *int32                      `json:"idleTimeoutInMinutes,omitempty"`
	ResourceGUID             *string                     `json:"resourceGuid,omitempty"`
	ProvisioningState        *string                     `json:"provisioningState,omitempty"`
}

PublicIPAddressPropertiesFormat is publicIpAddress properties

type PublicIPAddressesClient

type PublicIPAddressesClient struct {
	ManagementClient
}

PublicIPAddressesClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewPublicIPAddressesClient

func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient

NewPublicIPAddressesClient creates an instance of the PublicIPAddressesClient client.

func NewPublicIPAddressesClientWithBaseURI

func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient

NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client.

func (PublicIPAddressesClient) CreateOrUpdate

func (client PublicIPAddressesClient) CreateOrUpdate(resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. publicIPAddressName is the name of the publicIpAddress. parameters is parameters supplied to the create/update PublicIPAddress operation

func (PublicIPAddressesClient) CreateOrUpdatePreparer

func (client PublicIPAddressesClient) CreateOrUpdatePreparer(resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PublicIPAddressesClient) CreateOrUpdateResponder

func (client PublicIPAddressesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (PublicIPAddressesClient) CreateOrUpdateSender

func (client PublicIPAddressesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (PublicIPAddressesClient) Delete

func (client PublicIPAddressesClient) Delete(resourceGroupName string, publicIPAddressName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete publicIpAddress operation deletes the specified publicIpAddress. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. publicIPAddressName is the name of the subnet.

func (PublicIPAddressesClient) DeletePreparer

func (client PublicIPAddressesClient) DeletePreparer(resourceGroupName string, publicIPAddressName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PublicIPAddressesClient) DeleteResponder

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

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

func (PublicIPAddressesClient) DeleteSender

func (client PublicIPAddressesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (PublicIPAddressesClient) Get

func (client PublicIPAddressesClient) Get(resourceGroupName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)

Get the Get publicIpAddress operation retreives information about the specified pubicIpAddress

resourceGroupName is the name of the resource group. publicIPAddressName is the name of the subnet. expand is expand references resources.

func (PublicIPAddressesClient) GetPreparer

func (client PublicIPAddressesClient) GetPreparer(resourceGroupName string, publicIPAddressName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PublicIPAddressesClient) GetResponder

func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result PublicIPAddress, err error)

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

func (PublicIPAddressesClient) GetSender

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

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

func (PublicIPAddressesClient) List

func (client PublicIPAddressesClient) List(resourceGroupName string) (result PublicIPAddressListResult, err error)

List the List publicIpAddress opertion retrieves all the publicIpAddresses in a resource group.

resourceGroupName is the name of the resource group.

func (PublicIPAddressesClient) ListAll

func (client PublicIPAddressesClient) ListAll() (result PublicIPAddressListResult, err error)

ListAll the List publicIpAddress opertion retrieves all the publicIpAddresses in a subscription.

func (PublicIPAddressesClient) ListAllNextResults

func (client PublicIPAddressesClient) ListAllNextResults(lastResults PublicIPAddressListResult) (result PublicIPAddressListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (PublicIPAddressesClient) ListAllPreparer

func (client PublicIPAddressesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (PublicIPAddressesClient) ListAllResponder

func (client PublicIPAddressesClient) ListAllResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

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

func (PublicIPAddressesClient) ListAllSender

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

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

func (PublicIPAddressesClient) ListNextResults

func (client PublicIPAddressesClient) ListNextResults(lastResults PublicIPAddressListResult) (result PublicIPAddressListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (PublicIPAddressesClient) ListPreparer

func (client PublicIPAddressesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PublicIPAddressesClient) ListResponder

func (client PublicIPAddressesClient) ListResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

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

func (PublicIPAddressesClient) ListSender

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

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

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is

type Route

type Route struct {
	autorest.Response `json:"-"`
	ID                *string                `json:"id,omitempty"`
	Properties        *RoutePropertiesFormat `json:"properties,omitempty"`
	Name              *string                `json:"name,omitempty"`
	Etag              *string                `json:"etag,omitempty"`
}

Route is route resource

type RouteListResult

type RouteListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Route `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

RouteListResult is response for ListRoute Api servive call

func (RouteListResult) RouteListResultPreparer

func (client RouteListResult) RouteListResultPreparer() (*http.Request, error)

RouteListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RouteNextHopType

type RouteNextHopType string

RouteNextHopType enumerates the values for route next hop type.

const (
	// RouteNextHopTypeInternet specifies the route next hop type internet
	// state for route next hop type.
	RouteNextHopTypeInternet RouteNextHopType = "Internet"
	// RouteNextHopTypeNone specifies the route next hop type none state for
	// route next hop type.
	RouteNextHopTypeNone RouteNextHopType = "None"
	// RouteNextHopTypeVirtualAppliance specifies the route next hop type
	// virtual appliance state for route next hop type.
	RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance"
	// RouteNextHopTypeVirtualNetworkGateway specifies the route next hop type
	// virtual network gateway state for route next hop type.
	RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway"
	// RouteNextHopTypeVnetLocal specifies the route next hop type vnet local
	// state for route next hop type.
	RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal"
)

type RoutePropertiesFormat

type RoutePropertiesFormat struct {
	AddressPrefix     *string          `json:"addressPrefix,omitempty"`
	NextHopType       RouteNextHopType `json:"nextHopType,omitempty"`
	NextHopIPAddress  *string          `json:"nextHopIpAddress,omitempty"`
	ProvisioningState *string          `json:"provisioningState,omitempty"`
}

RoutePropertiesFormat is route resource

type RouteTable

type RouteTable struct {
	autorest.Response `json:"-"`
	ID                *string                     `json:"id,omitempty"`
	Name              *string                     `json:"name,omitempty"`
	Type              *string                     `json:"type,omitempty"`
	Location          *string                     `json:"location,omitempty"`
	Tags              *map[string]*string         `json:"tags,omitempty"`
	Properties        *RouteTablePropertiesFormat `json:"properties,omitempty"`
	Etag              *string                     `json:"etag,omitempty"`
}

RouteTable is routeTable resource

type RouteTableListResult

type RouteTableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RouteTable `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

RouteTableListResult is response for ListRouteTable Api servive call

func (RouteTableListResult) RouteTableListResultPreparer

func (client RouteTableListResult) RouteTableListResultPreparer() (*http.Request, error)

RouteTableListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RouteTablePropertiesFormat

type RouteTablePropertiesFormat struct {
	Routes            *[]Route  `json:"routes,omitempty"`
	Subnets           *[]Subnet `json:"subnets,omitempty"`
	ProvisioningState *string   `json:"provisioningState,omitempty"`
}

RouteTablePropertiesFormat is route Table resource

type RouteTablesClient

type RouteTablesClient struct {
	ManagementClient
}

RouteTablesClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewRouteTablesClient

func NewRouteTablesClient(subscriptionID string) RouteTablesClient

NewRouteTablesClient creates an instance of the RouteTablesClient client.

func NewRouteTablesClientWithBaseURI

func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient

NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client.

func (RouteTablesClient) CreateOrUpdate

func (client RouteTablesClient) CreateOrUpdate(resourceGroupName string, routeTableName string, parameters RouteTable, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put RouteTable operation creates/updates a route tablein the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. parameters is parameters supplied to the create/update Route Table operation

func (RouteTablesClient) CreateOrUpdatePreparer

func (client RouteTablesClient) CreateOrUpdatePreparer(resourceGroupName string, routeTableName string, parameters RouteTable, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RouteTablesClient) CreateOrUpdateResponder

func (client RouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (RouteTablesClient) CreateOrUpdateSender

func (client RouteTablesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (RouteTablesClient) Delete

func (client RouteTablesClient) Delete(resourceGroupName string, routeTableName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the Delete RouteTable operation deletes the specifed Route Table This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table.

func (RouteTablesClient) DeletePreparer

func (client RouteTablesClient) DeletePreparer(resourceGroupName string, routeTableName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RouteTablesClient) DeleteResponder

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

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

func (RouteTablesClient) DeleteSender

func (client RouteTablesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (RouteTablesClient) Get

func (client RouteTablesClient) Get(resourceGroupName string, routeTableName string, expand string) (result RouteTable, err error)

Get the Get RouteTables operation retrieves information about the specified route table.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. expand is expand references resources.

func (RouteTablesClient) GetPreparer

func (client RouteTablesClient) GetPreparer(resourceGroupName string, routeTableName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RouteTablesClient) GetResponder

func (client RouteTablesClient) GetResponder(resp *http.Response) (result RouteTable, err error)

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

func (RouteTablesClient) GetSender

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

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

func (RouteTablesClient) List

func (client RouteTablesClient) List(resourceGroupName string) (result RouteTableListResult, err error)

List the list RouteTables returns all route tables in a resource group

resourceGroupName is the name of the resource group.

func (RouteTablesClient) ListAll

func (client RouteTablesClient) ListAll() (result RouteTableListResult, err error)

ListAll the list RouteTables returns all route tables in a subscription

func (RouteTablesClient) ListAllNextResults

func (client RouteTablesClient) ListAllNextResults(lastResults RouteTableListResult) (result RouteTableListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (RouteTablesClient) ListAllPreparer

func (client RouteTablesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (RouteTablesClient) ListAllResponder

func (client RouteTablesClient) ListAllResponder(resp *http.Response) (result RouteTableListResult, err error)

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

func (RouteTablesClient) ListAllSender

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

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

func (RouteTablesClient) ListNextResults

func (client RouteTablesClient) ListNextResults(lastResults RouteTableListResult) (result RouteTableListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (RouteTablesClient) ListPreparer

func (client RouteTablesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (RouteTablesClient) ListResponder

func (client RouteTablesClient) ListResponder(resp *http.Response) (result RouteTableListResult, err error)

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

func (RouteTablesClient) ListSender

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

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

type RoutesClient

type RoutesClient struct {
	ManagementClient
}

RoutesClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewRoutesClient

func NewRoutesClient(subscriptionID string) RoutesClient

NewRoutesClient creates an instance of the RoutesClient client.

func NewRoutesClientWithBaseURI

func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient

NewRoutesClientWithBaseURI creates an instance of the RoutesClient client.

func (RoutesClient) CreateOrUpdate

func (client RoutesClient) CreateOrUpdate(resourceGroupName string, routeTableName string, routeName string, routeParameters Route, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put route operation creates/updates a route in the specified route table This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is the name of the route. routeParameters is parameters supplied to the create/update routeoperation

func (RoutesClient) CreateOrUpdatePreparer

func (client RoutesClient) CreateOrUpdatePreparer(resourceGroupName string, routeTableName string, routeName string, routeParameters Route, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RoutesClient) CreateOrUpdateResponder

func (client RoutesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (RoutesClient) CreateOrUpdateSender

func (client RoutesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (RoutesClient) Delete

func (client RoutesClient) Delete(resourceGroupName string, routeTableName string, routeName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete route operation deletes the specified route from a route table. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is the name of the route.

func (RoutesClient) DeletePreparer

func (client RoutesClient) DeletePreparer(resourceGroupName string, routeTableName string, routeName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RoutesClient) DeleteResponder

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

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

func (RoutesClient) DeleteSender

func (client RoutesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (RoutesClient) Get

func (client RoutesClient) Get(resourceGroupName string, routeTableName string, routeName string) (result Route, err error)

Get the Get route operation retreives information about the specified route from the route table.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is the name of the route.

func (RoutesClient) GetPreparer

func (client RoutesClient) GetPreparer(resourceGroupName string, routeTableName string, routeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RoutesClient) GetResponder

func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err error)

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

func (RoutesClient) GetSender

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

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

func (RoutesClient) List

func (client RoutesClient) List(resourceGroupName string, routeTableName string) (result RouteListResult, err error)

List the List network security rule opertion retrieves all the routes in a route table.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table.

func (RoutesClient) ListNextResults

func (client RoutesClient) ListNextResults(lastResults RouteListResult) (result RouteListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (RoutesClient) ListPreparer

func (client RoutesClient) ListPreparer(resourceGroupName string, routeTableName string) (*http.Request, error)

ListPreparer prepares the List request.

func (RoutesClient) ListResponder

func (client RoutesClient) ListResponder(resp *http.Response) (result RouteListResult, err error)

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

func (RoutesClient) ListSender

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

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

type SecurityGroup

type SecurityGroup struct {
	autorest.Response `json:"-"`
	ID                *string                        `json:"id,omitempty"`
	Name              *string                        `json:"name,omitempty"`
	Type              *string                        `json:"type,omitempty"`
	Location          *string                        `json:"location,omitempty"`
	Tags              *map[string]*string            `json:"tags,omitempty"`
	Properties        *SecurityGroupPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                        `json:"etag,omitempty"`
}

SecurityGroup is networkSecurityGroup resource

type SecurityGroupListResult

type SecurityGroupListResult struct {
	autorest.Response `json:"-"`
	Value             *[]SecurityGroup `json:"value,omitempty"`
	NextLink          *string          `json:"nextLink,omitempty"`
}

SecurityGroupListResult is response for ListNetworkSecurityGroups Api servive call

func (SecurityGroupListResult) SecurityGroupListResultPreparer

func (client SecurityGroupListResult) SecurityGroupListResultPreparer() (*http.Request, error)

SecurityGroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SecurityGroupPropertiesFormat

type SecurityGroupPropertiesFormat struct {
	SecurityRules        *[]SecurityRule `json:"securityRules,omitempty"`
	DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"`
	NetworkInterfaces    *[]Interface    `json:"networkInterfaces,omitempty"`
	Subnets              *[]Subnet       `json:"subnets,omitempty"`
	ResourceGUID         *string         `json:"resourceGuid,omitempty"`
	ProvisioningState    *string         `json:"provisioningState,omitempty"`
}

SecurityGroupPropertiesFormat is network Security Group resource

type SecurityGroupsClient

type SecurityGroupsClient struct {
	ManagementClient
}

SecurityGroupsClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewSecurityGroupsClient

func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient

NewSecurityGroupsClient creates an instance of the SecurityGroupsClient client.

func NewSecurityGroupsClientWithBaseURI

func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient

NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client.

func (SecurityGroupsClient) CreateOrUpdate

func (client SecurityGroupsClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put NetworkSecurityGroup operation creates/updates a network security groupin the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. parameters is parameters supplied to the create/update Network Security Group operation

func (SecurityGroupsClient) CreateOrUpdatePreparer

func (client SecurityGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SecurityGroupsClient) CreateOrUpdateResponder

func (client SecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (SecurityGroupsClient) CreateOrUpdateSender

func (client SecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (SecurityGroupsClient) Delete

func (client SecurityGroupsClient) Delete(resourceGroupName string, networkSecurityGroupName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the Delete NetworkSecurityGroup operation deletes the specifed network security group This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group.

func (SecurityGroupsClient) DeletePreparer

func (client SecurityGroupsClient) DeletePreparer(resourceGroupName string, networkSecurityGroupName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecurityGroupsClient) DeleteResponder

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

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

func (SecurityGroupsClient) DeleteSender

func (client SecurityGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (SecurityGroupsClient) Get

func (client SecurityGroupsClient) Get(resourceGroupName string, networkSecurityGroupName string, expand string) (result SecurityGroup, err error)

Get the Get NetworkSecurityGroups operation retrieves information about the specified network security group.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. expand is expand references resources.

func (SecurityGroupsClient) GetPreparer

func (client SecurityGroupsClient) GetPreparer(resourceGroupName string, networkSecurityGroupName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecurityGroupsClient) GetResponder

func (client SecurityGroupsClient) GetResponder(resp *http.Response) (result SecurityGroup, err error)

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

func (SecurityGroupsClient) GetSender

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

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

func (SecurityGroupsClient) List

func (client SecurityGroupsClient) List(resourceGroupName string) (result SecurityGroupListResult, err error)

List the list NetworkSecurityGroups returns all network security groups in a resource group

resourceGroupName is the name of the resource group.

func (SecurityGroupsClient) ListAll

func (client SecurityGroupsClient) ListAll() (result SecurityGroupListResult, err error)

ListAll the list NetworkSecurityGroups returns all network security groups in a subscription

func (SecurityGroupsClient) ListAllNextResults

func (client SecurityGroupsClient) ListAllNextResults(lastResults SecurityGroupListResult) (result SecurityGroupListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (SecurityGroupsClient) ListAllPreparer

func (client SecurityGroupsClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (SecurityGroupsClient) ListAllResponder

func (client SecurityGroupsClient) ListAllResponder(resp *http.Response) (result SecurityGroupListResult, err error)

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

func (SecurityGroupsClient) ListAllSender

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

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

func (SecurityGroupsClient) ListNextResults

func (client SecurityGroupsClient) ListNextResults(lastResults SecurityGroupListResult) (result SecurityGroupListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (SecurityGroupsClient) ListPreparer

func (client SecurityGroupsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SecurityGroupsClient) ListResponder

func (client SecurityGroupsClient) ListResponder(resp *http.Response) (result SecurityGroupListResult, err error)

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

func (SecurityGroupsClient) ListSender

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

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

type SecurityRule

type SecurityRule struct {
	autorest.Response `json:"-"`
	ID                *string                       `json:"id,omitempty"`
	Properties        *SecurityRulePropertiesFormat `json:"properties,omitempty"`
	Name              *string                       `json:"name,omitempty"`
	Etag              *string                       `json:"etag,omitempty"`
}

SecurityRule is network security rule

type SecurityRuleAccess

type SecurityRuleAccess string

SecurityRuleAccess enumerates the values for security rule access.

const (
	// Allow specifies the allow state for security rule access.
	Allow SecurityRuleAccess = "Allow"
	// Deny specifies the deny state for security rule access.
	Deny SecurityRuleAccess = "Deny"
)

type SecurityRuleDirection

type SecurityRuleDirection string

SecurityRuleDirection enumerates the values for security rule direction.

const (
	// Inbound specifies the inbound state for security rule direction.
	Inbound SecurityRuleDirection = "Inbound"
	// Outbound specifies the outbound state for security rule direction.
	Outbound SecurityRuleDirection = "Outbound"
)

type SecurityRuleListResult

type SecurityRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]SecurityRule `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

SecurityRuleListResult is response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group

func (SecurityRuleListResult) SecurityRuleListResultPreparer

func (client SecurityRuleListResult) SecurityRuleListResultPreparer() (*http.Request, error)

SecurityRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SecurityRulePropertiesFormat

type SecurityRulePropertiesFormat struct {
	Description              *string               `json:"description,omitempty"`
	Protocol                 SecurityRuleProtocol  `json:"protocol,omitempty"`
	SourcePortRange          *string               `json:"sourcePortRange,omitempty"`
	DestinationPortRange     *string               `json:"destinationPortRange,omitempty"`
	SourceAddressPrefix      *string               `json:"sourceAddressPrefix,omitempty"`
	DestinationAddressPrefix *string               `json:"destinationAddressPrefix,omitempty"`
	Access                   SecurityRuleAccess    `json:"access,omitempty"`
	Priority                 *int32                `json:"priority,omitempty"`
	Direction                SecurityRuleDirection `json:"direction,omitempty"`
	ProvisioningState        *string               `json:"provisioningState,omitempty"`
}

SecurityRulePropertiesFormat is

type SecurityRuleProtocol

type SecurityRuleProtocol string

SecurityRuleProtocol enumerates the values for security rule protocol.

const (
	// Asterisk specifies the asterisk state for security rule protocol.
	Asterisk SecurityRuleProtocol = "*"
	// TCP specifies the tcp state for security rule protocol.
	TCP SecurityRuleProtocol = "Tcp"
	// UDP specifies the udp state for security rule protocol.
	UDP SecurityRuleProtocol = "Udp"
)

type SecurityRulesClient

type SecurityRulesClient struct {
	ManagementClient
}

SecurityRulesClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewSecurityRulesClient

func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient

NewSecurityRulesClient creates an instance of the SecurityRulesClient client.

func NewSecurityRulesClientWithBaseURI

func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient

NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client.

func (SecurityRulesClient) CreateOrUpdate

func (client SecurityRulesClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put network security rule operation creates/updates a security rule in the specified network security group This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. securityRuleName is the name of the security rule. securityRuleParameters is parameters supplied to the create/update network security rule operation

func (SecurityRulesClient) CreateOrUpdatePreparer

func (client SecurityRulesClient) CreateOrUpdatePreparer(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SecurityRulesClient) CreateOrUpdateResponder

func (client SecurityRulesClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (SecurityRulesClient) CreateOrUpdateSender

func (client SecurityRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (SecurityRulesClient) Delete

func (client SecurityRulesClient) Delete(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete network security rule operation deletes the specified network security rule. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. securityRuleName is the name of the security rule.

func (SecurityRulesClient) DeletePreparer

func (client SecurityRulesClient) DeletePreparer(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecurityRulesClient) DeleteResponder

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

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

func (SecurityRulesClient) DeleteSender

func (client SecurityRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (SecurityRulesClient) Get

func (client SecurityRulesClient) Get(resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, err error)

Get the Get NetworkSecurityRule operation retreives information about the specified network security rule.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. securityRuleName is the name of the security rule.

func (SecurityRulesClient) GetPreparer

func (client SecurityRulesClient) GetPreparer(resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecurityRulesClient) GetResponder

func (client SecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)

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

func (SecurityRulesClient) GetSender

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

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

func (SecurityRulesClient) List

func (client SecurityRulesClient) List(resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResult, err error)

List the List network security rule opertion retrieves all the security rules in a network security group.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group.

func (SecurityRulesClient) ListNextResults

func (client SecurityRulesClient) ListNextResults(lastResults SecurityRuleListResult) (result SecurityRuleListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (SecurityRulesClient) ListPreparer

func (client SecurityRulesClient) ListPreparer(resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SecurityRulesClient) ListResponder

func (client SecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)

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

func (SecurityRulesClient) ListSender

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

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

type ServiceProviderProvisioningState

type ServiceProviderProvisioningState string

ServiceProviderProvisioningState enumerates the values for service provider provisioning state.

const (
	// Deprovisioning specifies the deprovisioning state for service provider
	// provisioning state.
	Deprovisioning ServiceProviderProvisioningState = "Deprovisioning"
	// NotProvisioned specifies the not provisioned state for service provider
	// provisioning state.
	NotProvisioned ServiceProviderProvisioningState = "NotProvisioned"
	// Provisioned specifies the provisioned state for service provider
	// provisioning state.
	Provisioned ServiceProviderProvisioningState = "Provisioned"
	// Provisioning specifies the provisioning state for service provider
	// provisioning state.
	Provisioning ServiceProviderProvisioningState = "Provisioning"
)

type String

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

String is

type SubResource

type SubResource struct {
	ID *string `json:"id,omitempty"`
}

SubResource is

type Subnet

type Subnet struct {
	autorest.Response `json:"-"`
	ID                *string                 `json:"id,omitempty"`
	Properties        *SubnetPropertiesFormat `json:"properties,omitempty"`
	Name              *string                 `json:"name,omitempty"`
	Etag              *string                 `json:"etag,omitempty"`
}

Subnet is subnet in a VirtualNework resource

type SubnetListResult

type SubnetListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Subnet `json:"value,omitempty"`
	NextLink          *string   `json:"nextLink,omitempty"`
}

SubnetListResult is response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network

func (SubnetListResult) SubnetListResultPreparer

func (client SubnetListResult) SubnetListResultPreparer() (*http.Request, error)

SubnetListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SubnetPropertiesFormat

type SubnetPropertiesFormat struct {
	AddressPrefix        *string            `json:"addressPrefix,omitempty"`
	NetworkSecurityGroup *SecurityGroup     `json:"networkSecurityGroup,omitempty"`
	RouteTable           *RouteTable        `json:"routeTable,omitempty"`
	IPConfigurations     *[]IPConfiguration `json:"ipConfigurations,omitempty"`
	ProvisioningState    *string            `json:"provisioningState,omitempty"`
}

SubnetPropertiesFormat is

type SubnetsClient

type SubnetsClient struct {
	ManagementClient
}

SubnetsClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewSubnetsClient

func NewSubnetsClient(subscriptionID string) SubnetsClient

NewSubnetsClient creates an instance of the SubnetsClient client.

func NewSubnetsClientWithBaseURI

func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient

NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client.

func (SubnetsClient) CreateOrUpdate

func (client SubnetsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put Subnet operation creates/updates a subnet in thespecified virtual network This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. subnetName is the name of the subnet. subnetParameters is parameters supplied to the create/update Subnet operation

func (SubnetsClient) CreateOrUpdatePreparer

func (client SubnetsClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SubnetsClient) CreateOrUpdateResponder

func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (SubnetsClient) CreateOrUpdateSender

func (client SubnetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (SubnetsClient) Delete

func (client SubnetsClient) Delete(resourceGroupName string, virtualNetworkName string, subnetName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the delete subnet operation deletes the specified subnet. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. subnetName is the name of the subnet.

func (SubnetsClient) DeletePreparer

func (client SubnetsClient) DeletePreparer(resourceGroupName string, virtualNetworkName string, subnetName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SubnetsClient) DeleteResponder

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

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

func (SubnetsClient) DeleteSender

func (client SubnetsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (SubnetsClient) Get

func (client SubnetsClient) Get(resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result Subnet, err error)

Get the Get subnet operation retreives information about the specified subnet.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. subnetName is the name of the subnet. expand is expand references resources.

func (SubnetsClient) GetPreparer

func (client SubnetsClient) GetPreparer(resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SubnetsClient) GetResponder

func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, err error)

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

func (SubnetsClient) GetSender

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

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

func (SubnetsClient) List

func (client SubnetsClient) List(resourceGroupName string, virtualNetworkName string) (result SubnetListResult, err error)

List the List subnets opertion retrieves all the subnets in a virtual network.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network.

func (SubnetsClient) ListNextResults

func (client SubnetsClient) ListNextResults(lastResults SubnetListResult) (result SubnetListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (SubnetsClient) ListPreparer

func (client SubnetsClient) ListPreparer(resourceGroupName string, virtualNetworkName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SubnetsClient) ListResponder

func (client SubnetsClient) ListResponder(resp *http.Response) (result SubnetListResult, err error)

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

func (SubnetsClient) ListSender

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

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

type TransportProtocol

type TransportProtocol string

TransportProtocol enumerates the values for transport protocol.

const (
	// TransportProtocolTCP specifies the transport protocol tcp state for
	// transport protocol.
	TransportProtocolTCP TransportProtocol = "Tcp"
	// TransportProtocolUDP specifies the transport protocol udp state for
	// transport protocol.
	TransportProtocolUDP TransportProtocol = "Udp"
)

type Usage

type Usage struct {
	Unit         UsageUnit  `json:"unit,omitempty"`
	CurrentValue *int64     `json:"currentValue,omitempty"`
	Limit        *int64     `json:"limit,omitempty"`
	Name         *UsageName `json:"name,omitempty"`
}

Usage is describes Network Resource Usage.

type UsageName

type UsageName struct {
	Value          *string `json:"value,omitempty"`
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageName is the Usage Names.

type UsageUnit

type UsageUnit string

UsageUnit enumerates the values for usage unit.

const (
	// Count specifies the count state for usage unit.
	Count UsageUnit = "Count"
)

type UsagesClient

type UsagesClient struct {
	ManagementClient
}

UsagesClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewUsagesClient

func NewUsagesClient(subscriptionID string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.

func (UsagesClient) List

func (client UsagesClient) List(location string) (result UsagesListResult, err error)

List lists compute usages for a subscription.

location is the location upon which resource usage is queried.

func (UsagesClient) ListNextResults

func (client UsagesClient) ListNextResults(lastResults UsagesListResult) (result UsagesListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (UsagesClient) ListPreparer

func (client UsagesClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsagesClient) ListResponder

func (client UsagesClient) ListResponder(resp *http.Response) (result UsagesListResult, err error)

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

func (UsagesClient) ListSender

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

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

type UsagesListResult

type UsagesListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Usage `json:"value,omitempty"`
	NextLink          *string  `json:",omitempty"`
}

UsagesListResult is the List Usages operation response.

func (UsagesListResult) UsagesListResultPreparer

func (client UsagesListResult) UsagesListResultPreparer() (*http.Request, error)

UsagesListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetwork

type VirtualNetwork struct {
	autorest.Response `json:"-"`
	ID                *string                         `json:"id,omitempty"`
	Name              *string                         `json:"name,omitempty"`
	Type              *string                         `json:"type,omitempty"`
	Location          *string                         `json:"location,omitempty"`
	Tags              *map[string]*string             `json:"tags,omitempty"`
	Properties        *VirtualNetworkPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                         `json:"etag,omitempty"`
}

VirtualNetwork is virtual Network resource

type VirtualNetworkGateway

type VirtualNetworkGateway struct {
	autorest.Response `json:"-"`
	ID                *string                                `json:"id,omitempty"`
	Name              *string                                `json:"name,omitempty"`
	Type              *string                                `json:"type,omitempty"`
	Location          *string                                `json:"location,omitempty"`
	Tags              *map[string]*string                    `json:"tags,omitempty"`
	Properties        *VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                                `json:"etag,omitempty"`
}

VirtualNetworkGateway is a common class for general resource information

type VirtualNetworkGatewayConnection

type VirtualNetworkGatewayConnection struct {
	autorest.Response `json:"-"`
	ID                *string                                          `json:"id,omitempty"`
	Name              *string                                          `json:"name,omitempty"`
	Type              *string                                          `json:"type,omitempty"`
	Location          *string                                          `json:"location,omitempty"`
	Tags              *map[string]*string                              `json:"tags,omitempty"`
	Properties        *VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"`
	Etag              *string                                          `json:"etag,omitempty"`
}

VirtualNetworkGatewayConnection is a common class for general resource information

type VirtualNetworkGatewayConnectionListResult

type VirtualNetworkGatewayConnectionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkGatewayConnection `json:"value,omitempty"`
	NextLink          *string                            `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayConnectionListResult is response for ListVirtualNetworkGatewayConnections Api service call

func (VirtualNetworkGatewayConnectionListResult) VirtualNetworkGatewayConnectionListResultPreparer

func (client VirtualNetworkGatewayConnectionListResult) VirtualNetworkGatewayConnectionListResultPreparer() (*http.Request, error)

VirtualNetworkGatewayConnectionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkGatewayConnectionPropertiesFormat

type VirtualNetworkGatewayConnectionPropertiesFormat struct {
	AuthorizationKey        *string                               `json:"authorizationKey,omitempty"`
	VirtualNetworkGateway1  *VirtualNetworkGateway                `json:"virtualNetworkGateway1,omitempty"`
	VirtualNetworkGateway2  *VirtualNetworkGateway                `json:"virtualNetworkGateway2,omitempty"`
	LocalNetworkGateway2    *LocalNetworkGateway                  `json:"localNetworkGateway2,omitempty"`
	ConnectionType          VirtualNetworkGatewayConnectionType   `json:"connectionType,omitempty"`
	RoutingWeight           *int32                                `json:"routingWeight,omitempty"`
	SharedKey               *string                               `json:"sharedKey,omitempty"`
	ConnectionStatus        VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	EgressBytesTransferred  *int64                                `json:"egressBytesTransferred,omitempty"`
	IngressBytesTransferred *int64                                `json:"ingressBytesTransferred,omitempty"`
	Peer                    *SubResource                          `json:"peer,omitempty"`
	ResourceGUID            *string                               `json:"resourceGuid,omitempty"`
	ProvisioningState       *string                               `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayConnectionPropertiesFormat is virtualNeworkGatewayConnection properties

type VirtualNetworkGatewayConnectionStatus

type VirtualNetworkGatewayConnectionStatus string

VirtualNetworkGatewayConnectionStatus enumerates the values for virtual network gateway connection status.

const (
	// Connected specifies the connected state for virtual network gateway
	// connection status.
	Connected VirtualNetworkGatewayConnectionStatus = "Connected"
	// Connecting specifies the connecting state for virtual network gateway
	// connection status.
	Connecting VirtualNetworkGatewayConnectionStatus = "Connecting"
	// NotConnected specifies the not connected state for virtual network
	// gateway connection status.
	NotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected"
	// Unknown specifies the unknown state for virtual network gateway
	// connection status.
	Unknown VirtualNetworkGatewayConnectionStatus = "Unknown"
)

type VirtualNetworkGatewayConnectionType

type VirtualNetworkGatewayConnectionType string

VirtualNetworkGatewayConnectionType enumerates the values for virtual network gateway connection type.

const (
	// ExpressRoute specifies the express route state for virtual network
	// gateway connection type.
	ExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
	// IPsec specifies the i psec state for virtual network gateway connection
	// type.
	IPsec VirtualNetworkGatewayConnectionType = "IPsec"
	// Vnet2Vnet specifies the vnet 2 vnet state for virtual network gateway
	// connection type.
	Vnet2Vnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
	// VPNClient specifies the vpn client state for virtual network gateway
	// connection type.
	VPNClient VirtualNetworkGatewayConnectionType = "VPNClient"
)

type VirtualNetworkGatewayConnectionsClient

type VirtualNetworkGatewayConnectionsClient struct {
	ManagementClient
}

VirtualNetworkGatewayConnectionsClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewVirtualNetworkGatewayConnectionsClient

func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClient creates an instance of the VirtualNetworkGatewayConnectionsClient client.

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the VirtualNetworkGatewayConnectionsClient client.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdate

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway conenction. parameters is parameters supplied to the Begin Create or update Virtual Network Gateway connection operation through Network resource provider.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewayConnectionsClient) Delete

func (client VirtualNetworkGatewayConnectionsClient) Delete(resourceGroupName string, virtualNetworkGatewayConnectionName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the Delete VirtualNetworkGatewayConnection operation deletes the specifed virtual network Gateway connection through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway connection.

func (VirtualNetworkGatewayConnectionsClient) DeletePreparer

func (client VirtualNetworkGatewayConnectionsClient) DeletePreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkGatewayConnectionsClient) DeleteResponder

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

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

func (VirtualNetworkGatewayConnectionsClient) DeleteSender

func (client VirtualNetworkGatewayConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewayConnectionsClient) Get

func (client VirtualNetworkGatewayConnectionsClient) Get(resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, err error)

Get the Get VirtualNetworkGatewayConnection operation retrieves information about the specified virtual network gateway connection through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway connection.

func (VirtualNetworkGatewayConnectionsClient) GetPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkGatewayConnectionsClient) GetResponder

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

func (VirtualNetworkGatewayConnectionsClient) GetSender

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

func (VirtualNetworkGatewayConnectionsClient) GetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(resourceGroupName string, connectionSharedKeyName string) (result ConnectionSharedKeyResult, err error)

GetSharedKey the Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.

resourceGroupName is the name of the resource group. connectionSharedKeyName is the virtual network gateway connection shared key name.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer(resourceGroupName string, connectionSharedKeyName string) (*http.Request, error)

GetSharedKeyPreparer prepares the GetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKeyResult, err error)

GetSharedKeyResponder handles the response to the GetSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeySender

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeySender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewayConnectionsClient) List

List the List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.

resourceGroupName is the name of the resource group.

func (VirtualNetworkGatewayConnectionsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworkGatewayConnectionsClient) ListPreparer

func (client VirtualNetworkGatewayConnectionsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkGatewayConnectionsClient) ListResponder

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

func (VirtualNetworkGatewayConnectionsClient) ListSender

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

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey, cancel <-chan struct{}) (result autorest.Response, err error)

ResetSharedKey the VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection reset shared key Name. parameters is parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey, cancel <-chan struct{}) (*http.Request, error)

ResetSharedKeyPreparer prepares the ResetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder(resp *http.Response) (result autorest.Response, err error)

ResetSharedKeyResponder handles the response to the ResetSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewayConnectionsClient) SetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey, cancel <-chan struct{}) (result autorest.Response, err error)

SetSharedKey the Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection name. parameters is parameters supplied to the Begin Set Virtual Network Gateway conection Shared key operation throughNetwork resource provider.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey, cancel <-chan struct{}) (*http.Request, error)

SetSharedKeyPreparer prepares the SetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder(resp *http.Response) (result autorest.Response, err error)

SetSharedKeyResponder handles the response to the SetSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeySender

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeySender(req *http.Request) (*http.Response, error)

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

type VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayIPConfiguration struct {
	ID         *string                                               `json:"id,omitempty"`
	Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name       *string                                               `json:"name,omitempty"`
	Etag       *string                                               `json:"etag,omitempty"`
}

VirtualNetworkGatewayIPConfiguration is ipConfiguration for Virtual network gateway

type VirtualNetworkGatewayIPConfigurationPropertiesFormat

type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *SubResource       `json:"subnet,omitempty"`
	PublicIPAddress           *SubResource       `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayIPConfigurationPropertiesFormat is properties of VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayListResult

type VirtualNetworkGatewayListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkGateway `json:"value,omitempty"`
	NextLink          *string                  `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayListResult is response for ListVirtualNetworkGateways Api service call

func (VirtualNetworkGatewayListResult) VirtualNetworkGatewayListResultPreparer

func (client VirtualNetworkGatewayListResult) VirtualNetworkGatewayListResultPreparer() (*http.Request, error)

VirtualNetworkGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkGatewayPropertiesFormat

type VirtualNetworkGatewayPropertiesFormat struct {
	IPConfigurations       *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"`
	GatewayType            VirtualNetworkGatewayType               `json:"gatewayType,omitempty"`
	VpnType                VpnType                                 `json:"vpnType,omitempty"`
	EnableBgp              *bool                                   `json:"enableBgp,omitempty"`
	GatewayDefaultSite     *SubResource                            `json:"gatewayDefaultSite,omitempty"`
	Sku                    *VirtualNetworkGatewaySku               `json:"sku,omitempty"`
	VpnClientConfiguration *VpnClientConfiguration                 `json:"vpnClientConfiguration,omitempty"`
	ResourceGUID           *string                                 `json:"resourceGuid,omitempty"`
	ProvisioningState      *string                                 `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayPropertiesFormat is virtualNeworkGateay properties

type VirtualNetworkGatewaySku

type VirtualNetworkGatewaySku struct {
	Name     VirtualNetworkGatewaySkuName `json:"name,omitempty"`
	Tier     VirtualNetworkGatewaySkuTier `json:"tier,omitempty"`
	Capacity *int32                       `json:"capacity,omitempty"`
}

VirtualNetworkGatewaySku is virtualNetworkGatewaySku details

type VirtualNetworkGatewaySkuName

type VirtualNetworkGatewaySkuName string

VirtualNetworkGatewaySkuName enumerates the values for virtual network gateway sku name.

const (
	// VirtualNetworkGatewaySkuNameBasic specifies the virtual network gateway
	// sku name basic state for virtual network gateway sku name.
	VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic"
	// VirtualNetworkGatewaySkuNameHighPerformance specifies the virtual
	// network gateway sku name high performance state for virtual network
	// gateway sku name.
	VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance"
	// VirtualNetworkGatewaySkuNameStandard specifies the virtual network
	// gateway sku name standard state for virtual network gateway sku name.
	VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard"
)

type VirtualNetworkGatewaySkuTier

type VirtualNetworkGatewaySkuTier string

VirtualNetworkGatewaySkuTier enumerates the values for virtual network gateway sku tier.

const (
	// VirtualNetworkGatewaySkuTierBasic specifies the virtual network gateway
	// sku tier basic state for virtual network gateway sku tier.
	VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic"
	// VirtualNetworkGatewaySkuTierHighPerformance specifies the virtual
	// network gateway sku tier high performance state for virtual network
	// gateway sku tier.
	VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance"
	// VirtualNetworkGatewaySkuTierStandard specifies the virtual network
	// gateway sku tier standard state for virtual network gateway sku tier.
	VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard"
)

type VirtualNetworkGatewayType

type VirtualNetworkGatewayType string

VirtualNetworkGatewayType enumerates the values for virtual network gateway type.

const (
	// VirtualNetworkGatewayTypeExpressRoute specifies the virtual network
	// gateway type express route state for virtual network gateway type.
	VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute"
	// VirtualNetworkGatewayTypeVpn specifies the virtual network gateway type
	// vpn state for virtual network gateway type.
	VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn"
)

type VirtualNetworkGatewaysClient

type VirtualNetworkGatewaysClient struct {
	ManagementClient
}

VirtualNetworkGatewaysClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewVirtualNetworkGatewaysClient

func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClient creates an instance of the VirtualNetworkGatewaysClient client.

func NewVirtualNetworkGatewaysClientWithBaseURI

func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client.

func (VirtualNetworkGatewaysClient) CreateOrUpdate

func (client VirtualNetworkGatewaysClient) CreateOrUpdate(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to the Begin Create or update Virtual Network Gateway operation through Network resource provider.

func (VirtualNetworkGatewaysClient) CreateOrUpdatePreparer

func (client VirtualNetworkGatewaysClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkGatewaysClient) CreateOrUpdateResponder

func (client VirtualNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualNetworkGatewaysClient) CreateOrUpdateSender

func (client VirtualNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewaysClient) Delete

func (client VirtualNetworkGatewaysClient) Delete(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the Delete VirtualNetworkGateway operation deletes the specifed virtual network Gateway through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) DeletePreparer

func (client VirtualNetworkGatewaysClient) DeletePreparer(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkGatewaysClient) DeleteResponder

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

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

func (VirtualNetworkGatewaysClient) DeleteSender

func (client VirtualNetworkGatewaysClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewaysClient) Generatevpnclientpackage

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

Generatevpnclientpackage the Generatevpnclientpackage operation generates Vpn client package for P2S client of the virtual network gateway in the specified resource group through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to the Begin Generating Virtual Network Gateway Vpn client package operation through Network resource provider.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer(resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (*http.Request, error)

GeneratevpnclientpackagePreparer prepares the Generatevpnclientpackage request.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder(resp *http.Response) (result String, err error)

GeneratevpnclientpackageResponder handles the response to the Generatevpnclientpackage request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewaysClient) Get

func (client VirtualNetworkGatewaysClient) Get(resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, err error)

Get the Get VirtualNetworkGateway operation retrieves information about the specified virtual network gateway through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetPreparer

func (client VirtualNetworkGatewaysClient) GetPreparer(resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkGatewaysClient) GetResponder

func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)

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

func (VirtualNetworkGatewaysClient) GetSender

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

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

func (VirtualNetworkGatewaysClient) List

func (client VirtualNetworkGatewaysClient) List(resourceGroupName string) (result VirtualNetworkGatewayListResult, err error)

List the List VirtualNetworkGateways opertion retrieves all the virtual network gateways stored.

resourceGroupName is the name of the resource group.

func (VirtualNetworkGatewaysClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworkGatewaysClient) ListPreparer

func (client VirtualNetworkGatewaysClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkGatewaysClient) ListResponder

func (client VirtualNetworkGatewaysClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayListResult, err error)

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

func (VirtualNetworkGatewaysClient) ListSender

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

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

func (VirtualNetworkGatewaysClient) Reset

func (client VirtualNetworkGatewaysClient) Reset(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, cancel <-chan struct{}) (result autorest.Response, err error)

Reset the Reset VirtualNetworkGateway operation resets the primary of the virtual network gateway in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider.

func (VirtualNetworkGatewaysClient) ResetPreparer

func (client VirtualNetworkGatewaysClient) ResetPreparer(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, cancel <-chan struct{}) (*http.Request, error)

ResetPreparer prepares the Reset request.

func (VirtualNetworkGatewaysClient) ResetResponder

func (client VirtualNetworkGatewaysClient) ResetResponder(resp *http.Response) (result autorest.Response, err error)

ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) ResetSender

func (client VirtualNetworkGatewaysClient) ResetSender(req *http.Request) (*http.Response, error)

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

type VirtualNetworkListResult

type VirtualNetworkListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetwork `json:"value,omitempty"`
	NextLink          *string           `json:"nextLink,omitempty"`
}

VirtualNetworkListResult is response for ListVirtualNetworks Api servive call

func (VirtualNetworkListResult) VirtualNetworkListResultPreparer

func (client VirtualNetworkListResult) VirtualNetworkListResultPreparer() (*http.Request, error)

VirtualNetworkListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkPropertiesFormat

type VirtualNetworkPropertiesFormat struct {
	AddressSpace      *AddressSpace `json:"addressSpace,omitempty"`
	DhcpOptions       *DhcpOptions  `json:"dhcpOptions,omitempty"`
	Subnets           *[]Subnet     `json:"subnets,omitempty"`
	ResourceGUID      *string       `json:"resourceGuid,omitempty"`
	ProvisioningState *string       `json:"provisioningState,omitempty"`
}

VirtualNetworkPropertiesFormat is

type VirtualNetworksClient

type VirtualNetworksClient struct {
	ManagementClient
}

VirtualNetworksClient is the the Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resrources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.

func NewVirtualNetworksClient

func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient

NewVirtualNetworksClient creates an instance of the VirtualNetworksClient client.

func NewVirtualNetworksClientWithBaseURI

func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient

NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client.

func (VirtualNetworksClient) CreateOrUpdate

func (client VirtualNetworksClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork, cancel <-chan struct{}) (result autorest.Response, err error)

CreateOrUpdate the Put VirtualNetwork operation creates/updates a virtual network in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. parameters is parameters supplied to the create/update Virtual Network operation

func (VirtualNetworksClient) CreateOrUpdatePreparer

func (client VirtualNetworksClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworksClient) CreateOrUpdateResponder

func (client VirtualNetworksClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualNetworksClient) CreateOrUpdateSender

func (client VirtualNetworksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworksClient) Delete

func (client VirtualNetworksClient) Delete(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete the Delete VirtualNetwork operation deletes the specifed virtual network This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network.

func (VirtualNetworksClient) DeletePreparer

func (client VirtualNetworksClient) DeletePreparer(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworksClient) DeleteResponder

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

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

func (VirtualNetworksClient) DeleteSender

func (client VirtualNetworksClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworksClient) Get

func (client VirtualNetworksClient) Get(resourceGroupName string, virtualNetworkName string, expand string) (result VirtualNetwork, err error)

Get the Get VirtualNetwork operation retrieves information about the specified virtual network.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. expand is expand references resources.

func (VirtualNetworksClient) GetPreparer

func (client VirtualNetworksClient) GetPreparer(resourceGroupName string, virtualNetworkName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworksClient) GetResponder

func (client VirtualNetworksClient) GetResponder(resp *http.Response) (result VirtualNetwork, err error)

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

func (VirtualNetworksClient) GetSender

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

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

func (VirtualNetworksClient) List

func (client VirtualNetworksClient) List(resourceGroupName string) (result VirtualNetworkListResult, err error)

List the list VirtualNetwork returns all Virtual Networks in a resource group

resourceGroupName is the name of the resource group.

func (VirtualNetworksClient) ListAll

func (client VirtualNetworksClient) ListAll() (result VirtualNetworkListResult, err error)

ListAll the list VirtualNetwork returns all Virtual Networks in a subscription

func (VirtualNetworksClient) ListAllNextResults

func (client VirtualNetworksClient) ListAllNextResults(lastResults VirtualNetworkListResult) (result VirtualNetworkListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (VirtualNetworksClient) ListAllPreparer

func (client VirtualNetworksClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualNetworksClient) ListAllResponder

func (client VirtualNetworksClient) ListAllResponder(resp *http.Response) (result VirtualNetworkListResult, err error)

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

func (VirtualNetworksClient) ListAllSender

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

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

func (VirtualNetworksClient) ListNextResults

func (client VirtualNetworksClient) ListNextResults(lastResults VirtualNetworkListResult) (result VirtualNetworkListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworksClient) ListPreparer

func (client VirtualNetworksClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworksClient) ListResponder

func (client VirtualNetworksClient) ListResponder(resp *http.Response) (result VirtualNetworkListResult, err error)

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

func (VirtualNetworksClient) ListSender

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

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

type VpnClientConfiguration

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

VpnClientConfiguration is vpnClientConfiguration for P2S client

type VpnClientParameters

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

VpnClientParameters is vpnClientParameters

type VpnClientRevokedCertificate

type VpnClientRevokedCertificate struct {
	ID         *string                                      `json:"id,omitempty"`
	Properties *VpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"`
	Name       *string                                      `json:"name,omitempty"`
	Etag       *string                                      `json:"etag,omitempty"`
}

VpnClientRevokedCertificate is vPN client revoked certificate of virtual network gateway

type VpnClientRevokedCertificatePropertiesFormat

type VpnClientRevokedCertificatePropertiesFormat struct {
	Thumbprint        *string `json:"thumbprint,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

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

type VpnClientRootCertificate

type VpnClientRootCertificate struct {
	ID         *string                                   `json:"id,omitempty"`
	Properties *VpnClientRootCertificatePropertiesFormat `json:"properties,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Etag       *string                                   `json:"etag,omitempty"`
}

VpnClientRootCertificate is vPN client root certificate of virtual network gateway

type VpnClientRootCertificatePropertiesFormat

type VpnClientRootCertificatePropertiesFormat struct {
	PublicCertData    *string `json:"publicCertData,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VpnClientRootCertificatePropertiesFormat is properties of SSL certificates of application gateway

type VpnType

type VpnType string

VpnType enumerates the values for vpn type.

const (
	// PolicyBased specifies the policy based state for vpn type.
	PolicyBased VpnType = "PolicyBased"
	// RouteBased specifies the route based state for vpn type.
	RouteBased VpnType = "RouteBased"
)

Jump to

Keyboard shortcuts

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