azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/network/mgmt/2016-06-01/network Index | Files | Directories

package network

import "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2016-06-01/network"

Package network implements the Azure ARM Network service API version 2016-06-01.

Network Client

Index

Package Files

applicationgateways.go client.go expressroutecircuitauthorizations.go expressroutecircuitpeerings.go expressroutecircuits.go expressrouteserviceproviders.go interfacesgroup.go loadbalancers.go localnetworkgateways.go models.go publicipaddresses.go routes.go routetables.go securitygroups.go securityrules.go subnets.go usages.go version.go virtualnetworkgatewayconnections.go virtualnetworkgateways.go virtualnetworkpeerings.go virtualnetworks.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AddressSpace Uses

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

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

type ApplicationGateway Uses

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

ApplicationGateway applicationGateways resource

func (ApplicationGateway) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGateway.

func (*ApplicationGateway) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGateway struct.

type ApplicationGatewayAuthenticationCertificate Uses

type ApplicationGatewayAuthenticationCertificate struct {
    *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayAuthenticationCertificate authentication certificates of application gateway

func (ApplicationGatewayAuthenticationCertificate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificate.

func (*ApplicationGatewayAuthenticationCertificate) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAuthenticationCertificate struct.

type ApplicationGatewayAuthenticationCertificatePropertiesFormat Uses

type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct {
    // Data - Certificate public data
    Data *string `json:"data,omitempty"`
    // ProvisioningState - Provisioning state of the authentication certificate resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayAuthenticationCertificatePropertiesFormat properties of Authentication certificates of application gateway

type ApplicationGatewayBackendAddress Uses

type ApplicationGatewayBackendAddress struct {
    // Fqdn - Dns name
    Fqdn *string `json:"fqdn,omitempty"`
    // IPAddress - Ip address
    IPAddress *string `json:"ipAddress,omitempty"`
}

ApplicationGatewayBackendAddress backend Address of application gateway

type ApplicationGatewayBackendAddressPool Uses

type ApplicationGatewayBackendAddressPool struct {
    *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
    // Name - Resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayBackendAddressPool backend Address Pool of application gateway

func (ApplicationGatewayBackendAddressPool) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayBackendAddressPool.

func (*ApplicationGatewayBackendAddressPool) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendAddressPool struct.

type ApplicationGatewayBackendAddressPoolPropertiesFormat Uses

type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
    // BackendIPConfigurations - Collection of references to IPs defined in NICs
    BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
    // BackendAddresses - Backend addresses
    BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
    // ProvisioningState - Provisioning state of the backend address pool resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of application gateway

type ApplicationGatewayBackendHTTPSettings Uses

type ApplicationGatewayBackendHTTPSettings struct {
    *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayBackendHTTPSettings backend address pool settings of application gateway

func (ApplicationGatewayBackendHTTPSettings) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettings.

func (*ApplicationGatewayBackendHTTPSettings) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendHTTPSettings struct.

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat Uses

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
    // Port - Port
    Port *int32 `json:"port,omitempty"`
    // Protocol - Protocol. Possible values include: 'HTTP', 'HTTPS'
    Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
    // CookieBasedAffinity - Cookie affinity. Possible values include: 'Enabled', 'Disabled'
    CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`
    // RequestTimeout - Request timeout
    RequestTimeout *int32 `json:"requestTimeout,omitempty"`
    // Probe - Probe resource of application gateway
    Probe *SubResource `json:"probe,omitempty"`
    // AuthenticationCertificates - Array of references to Application Gateway Authentication Certificates
    AuthenticationCertificates *[]SubResource `json:"authenticationCertificates,omitempty"`
    // ProvisioningState - Provisioning state of the backend http settings resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendHTTPSettingsPropertiesFormat properties of Backend address pool settings of application gateway

type ApplicationGatewayCookieBasedAffinity Uses

type ApplicationGatewayCookieBasedAffinity string

ApplicationGatewayCookieBasedAffinity enumerates the values for application gateway cookie based affinity.

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

func PossibleApplicationGatewayCookieBasedAffinityValues Uses

func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity

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

type ApplicationGatewayFrontendIPConfiguration Uses

type ApplicationGatewayFrontendIPConfiguration struct {
    *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayFrontendIPConfiguration frontend IP configuration of application gateway

func (ApplicationGatewayFrontendIPConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfiguration.

func (*ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendIPConfiguration struct.

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat Uses

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct {
    // PrivateIPAddress - PrivateIPAddress of the Network Interface IP Configuration
    PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
    // PrivateIPAllocationMethod - PrivateIP allocation method (Static/Dynamic). Possible values include: 'Static', 'Dynamic'
    PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
    // Subnet - Reference of the subnet resource
    Subnet *SubResource `json:"subnet,omitempty"`
    // PublicIPAddress - Reference of the PublicIP resource
    PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
    // ProvisioningState - Provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendIPConfigurationPropertiesFormat properties of Frontend IP configuration of application gateway

type ApplicationGatewayFrontendPort Uses

type ApplicationGatewayFrontendPort struct {
    *ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayFrontendPort frontend Port of application gateway

func (ApplicationGatewayFrontendPort) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendPort.

func (*ApplicationGatewayFrontendPort) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendPort struct.

type ApplicationGatewayFrontendPortPropertiesFormat Uses

type ApplicationGatewayFrontendPortPropertiesFormat struct {
    // Port - Frontend port
    Port *int32 `json:"port,omitempty"`
    // ProvisioningState - Provisioning state of the frontend port resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendPortPropertiesFormat properties of Frontend Port of application gateway

type ApplicationGatewayHTTPListener Uses

type ApplicationGatewayHTTPListener struct {
    *ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayHTTPListener http listener of application gateway

func (ApplicationGatewayHTTPListener) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListener.

func (*ApplicationGatewayHTTPListener) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayHTTPListener struct.

type ApplicationGatewayHTTPListenerPropertiesFormat Uses

type ApplicationGatewayHTTPListenerPropertiesFormat struct {
    // FrontendIPConfiguration - Frontend IP configuration resource of application gateway
    FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
    // FrontendPort - Frontend port resource of application gateway
    FrontendPort *SubResource `json:"frontendPort,omitempty"`
    // Protocol - Protocol. Possible values include: 'HTTP', 'HTTPS'
    Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
    // HostName - Host name of http listener
    HostName *string `json:"hostName,omitempty"`
    // SslCertificate - Ssl certificate resource of application gateway
    SslCertificate *SubResource `json:"sslCertificate,omitempty"`
    // RequireServerNameIndication - RequireServerNameIndication of http listener
    RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"`
    // ProvisioningState - Provisioning state of the http listener resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayHTTPListenerPropertiesFormat properties of Http listener of application gateway

type ApplicationGatewayIPConfiguration Uses

type ApplicationGatewayIPConfiguration struct {
    *ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayIPConfiguration IP configuration of application gateway

func (ApplicationGatewayIPConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayIPConfiguration.

func (*ApplicationGatewayIPConfiguration) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayIPConfiguration struct.

type ApplicationGatewayIPConfigurationPropertiesFormat Uses

type ApplicationGatewayIPConfigurationPropertiesFormat struct {
    // Subnet - Reference of the subnet resource. A subnet from where application gateway gets its private address
    Subnet *SubResource `json:"subnet,omitempty"`
    // ProvisioningState - Provisioning state of the application gateway subnet resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayIPConfigurationPropertiesFormat properties of IP configuration of application gateway

type ApplicationGatewayListResult Uses

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

ApplicationGatewayListResult response for ListApplicationGateways Api service call

func (ApplicationGatewayListResult) IsEmpty Uses

func (aglr ApplicationGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayListResultIterator Uses

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

ApplicationGatewayListResultIterator provides access to a complete listing of ApplicationGateway values.

func NewApplicationGatewayListResultIterator Uses

func NewApplicationGatewayListResultIterator(page ApplicationGatewayListResultPage) ApplicationGatewayListResultIterator

Creates a new instance of the ApplicationGatewayListResultIterator type.

func (*ApplicationGatewayListResultIterator) Next Uses

func (iter *ApplicationGatewayListResultIterator) Next() error

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

func (*ApplicationGatewayListResultIterator) NextWithContext Uses

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

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

func (ApplicationGatewayListResultIterator) NotDone Uses

func (iter ApplicationGatewayListResultIterator) NotDone() bool

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

func (ApplicationGatewayListResultIterator) Response Uses

func (iter ApplicationGatewayListResultIterator) Response() ApplicationGatewayListResult

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

func (ApplicationGatewayListResultIterator) Value Uses

func (iter ApplicationGatewayListResultIterator) Value() ApplicationGateway

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

type ApplicationGatewayListResultPage Uses

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

ApplicationGatewayListResultPage contains a page of ApplicationGateway values.

func NewApplicationGatewayListResultPage Uses

func NewApplicationGatewayListResultPage(getNextPage func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error)) ApplicationGatewayListResultPage

Creates a new instance of the ApplicationGatewayListResultPage type.

func (*ApplicationGatewayListResultPage) Next Uses

func (page *ApplicationGatewayListResultPage) Next() error

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

func (*ApplicationGatewayListResultPage) NextWithContext Uses

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

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

func (ApplicationGatewayListResultPage) NotDone Uses

func (page ApplicationGatewayListResultPage) NotDone() bool

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

func (ApplicationGatewayListResultPage) Response Uses

func (page ApplicationGatewayListResultPage) Response() ApplicationGatewayListResult

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

func (ApplicationGatewayListResultPage) Values Uses

func (page ApplicationGatewayListResultPage) Values() []ApplicationGateway

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

type ApplicationGatewayOperationalState Uses

type ApplicationGatewayOperationalState string

ApplicationGatewayOperationalState enumerates the values for application gateway operational state.

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

func PossibleApplicationGatewayOperationalStateValues Uses

func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState

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

type ApplicationGatewayPathRule Uses

type ApplicationGatewayPathRule struct {
    *ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayPathRule path rule of URL path map of application gateway

func (ApplicationGatewayPathRule) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayPathRule.

func (*ApplicationGatewayPathRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPathRule struct.

type ApplicationGatewayPathRulePropertiesFormat Uses

type ApplicationGatewayPathRulePropertiesFormat struct {
    // Paths - Path rules of URL path map
    Paths *[]string `json:"paths,omitempty"`
    // BackendAddressPool - Backend address pool resource of URL path map
    BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
    // BackendHTTPSettings - Backend http settings resource of URL path map
    BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
    // ProvisioningState - Path rule of URL path map resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayPathRulePropertiesFormat properties of probe of application gateway

type ApplicationGatewayProbe Uses

type ApplicationGatewayProbe struct {
    *ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayProbe probe of application gateway

func (ApplicationGatewayProbe) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayProbe.

func (*ApplicationGatewayProbe) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayProbe struct.

type ApplicationGatewayProbePropertiesFormat Uses

type ApplicationGatewayProbePropertiesFormat struct {
    // Protocol - Protocol. Possible values include: 'HTTP', 'HTTPS'
    Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
    // Host - Host to send probe to
    Host *string `json:"host,omitempty"`
    // Path - Relative path of probe
    Path *string `json:"path,omitempty"`
    // Interval - Probing interval in seconds
    Interval *int32 `json:"interval,omitempty"`
    // Timeout - Probing timeout in seconds
    Timeout *int32 `json:"timeout,omitempty"`
    // UnhealthyThreshold - Probing unhealthy threshold
    UnhealthyThreshold *int32 `json:"unhealthyThreshold,omitempty"`
    // ProvisioningState - Provisioning state of the backend http settings resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayProbePropertiesFormat properties of probe of application gateway

type ApplicationGatewayPropertiesFormat Uses

type ApplicationGatewayPropertiesFormat struct {
    // Sku - Sku of application gateway resource
    Sku *ApplicationGatewaySku `json:"sku,omitempty"`
    // SslPolicy - SSL policy of application gateway resource
    SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"`
    // OperationalState - READ-ONLY; Operational state of application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'
    OperationalState ApplicationGatewayOperationalState `json:"operationalState,omitempty"`
    // GatewayIPConfigurations - Subnets of application gateway resource
    GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"`
    // AuthenticationCertificates - Authentication certificates of application gateway resource
    AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"`
    // SslCertificates - SSL certificates of application gateway resource
    SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"`
    // FrontendIPConfigurations - Frontend IP addresses of application gateway resource
    FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
    // FrontendPorts - Frontend ports of application gateway resource
    FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"`
    // Probes - Probes of application gateway resource
    Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"`
    // BackendAddressPools - Backend address pool of application gateway resource
    BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"`
    // BackendHTTPSettingsCollection - Backend http settings of application gateway resource
    BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
    // HTTPListeners - HTTP listeners of application gateway resource
    HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"`
    // URLPathMaps - URL path map of application gateway resource
    URLPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"`
    // RequestRoutingRules - Request routing rules of application gateway resource
    RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"`
    // ResourceGUID - Resource guid property of the ApplicationGateway resource
    ResourceGUID *string `json:"resourceGuid,omitempty"`
    // ProvisioningState - Provisioning state of the ApplicationGateway resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayPropertiesFormat properties of Application Gateway

type ApplicationGatewayProtocol Uses

type ApplicationGatewayProtocol string

ApplicationGatewayProtocol enumerates the values for application gateway protocol.

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

func PossibleApplicationGatewayProtocolValues Uses

func PossibleApplicationGatewayProtocolValues() []ApplicationGatewayProtocol

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

type ApplicationGatewayRequestRoutingRule Uses

type ApplicationGatewayRequestRoutingRule struct {
    *ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayRequestRoutingRule request routing rule of application gateway

func (ApplicationGatewayRequestRoutingRule) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRule.

func (*ApplicationGatewayRequestRoutingRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRequestRoutingRule struct.

type ApplicationGatewayRequestRoutingRulePropertiesFormat Uses

type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
    // RuleType - Rule type. Possible values include: 'Basic', 'PathBasedRouting'
    RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
    // BackendAddressPool - Backend address pool resource of application gateway
    BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
    // BackendHTTPSettings - Frontend port resource of application gateway
    BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
    // HTTPListener - Http listener resource of application gateway
    HTTPListener *SubResource `json:"httpListener,omitempty"`
    // URLPathMap - Url path map resource of application gateway
    URLPathMap *SubResource `json:"urlPathMap,omitempty"`
    // ProvisioningState - Provisioning state of the request routing rule resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayRequestRoutingRulePropertiesFormat properties of Request routing rule of application gateway

type ApplicationGatewayRequestRoutingRuleType Uses

type ApplicationGatewayRequestRoutingRuleType string

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

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

func PossibleApplicationGatewayRequestRoutingRuleTypeValues Uses

func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType

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

type ApplicationGatewaySku Uses

type ApplicationGatewaySku struct {
    // Name - Name of application gateway SKU. Possible values include: 'StandardSmall', 'StandardMedium', 'StandardLarge'
    Name ApplicationGatewaySkuName `json:"name,omitempty"`
    // Tier - Tier of application gateway. Possible values include: 'Standard'
    Tier ApplicationGatewayTier `json:"tier,omitempty"`
    // Capacity - Capacity (instance count) of application gateway
    Capacity *int32 `json:"capacity,omitempty"`
}

ApplicationGatewaySku SKU of application gateway

type ApplicationGatewaySkuName Uses

type ApplicationGatewaySkuName string

ApplicationGatewaySkuName enumerates the values for application gateway sku name.

const (
    // StandardLarge ...
    StandardLarge ApplicationGatewaySkuName = "Standard_Large"
    // StandardMedium ...
    StandardMedium ApplicationGatewaySkuName = "Standard_Medium"
    // StandardSmall ...
    StandardSmall ApplicationGatewaySkuName = "Standard_Small"
)

func PossibleApplicationGatewaySkuNameValues Uses

func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName

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

type ApplicationGatewaySslCertificate Uses

type ApplicationGatewaySslCertificate struct {
    *ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewaySslCertificate SSL certificates of application gateway

func (ApplicationGatewaySslCertificate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewaySslCertificate.

func (*ApplicationGatewaySslCertificate) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslCertificate struct.

type ApplicationGatewaySslCertificatePropertiesFormat Uses

type ApplicationGatewaySslCertificatePropertiesFormat struct {
    // Data - SSL Certificate data
    Data *string `json:"data,omitempty"`
    // Password - SSL Certificate password
    Password *string `json:"password,omitempty"`
    // PublicCertData - SSL Certificate public data
    PublicCertData *string `json:"publicCertData,omitempty"`
    // ProvisioningState - Provisioning state of the ssl certificate resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of application gateway

type ApplicationGatewaySslPolicy Uses

type ApplicationGatewaySslPolicy struct {
    // DisabledSslProtocols - SSL protocols to be disabled on Application Gateway
    DisabledSslProtocols *[]ApplicationGatewaySslProtocol `json:"disabledSslProtocols,omitempty"`
}

ApplicationGatewaySslPolicy application gateway SSL policy

type ApplicationGatewaySslProtocol Uses

type ApplicationGatewaySslProtocol string

ApplicationGatewaySslProtocol enumerates the values for application gateway ssl protocol.

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

func PossibleApplicationGatewaySslProtocolValues Uses

func PossibleApplicationGatewaySslProtocolValues() []ApplicationGatewaySslProtocol

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

type ApplicationGatewayTier Uses

type ApplicationGatewayTier string

ApplicationGatewayTier enumerates the values for application gateway tier.

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

func PossibleApplicationGatewayTierValues Uses

func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier

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

type ApplicationGatewayURLPathMap Uses

type ApplicationGatewayURLPathMap struct {
    *ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"`
    // Name - Name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ApplicationGatewayURLPathMap urlPathMap of application gateway

func (ApplicationGatewayURLPathMap) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMap.

func (*ApplicationGatewayURLPathMap) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayURLPathMap struct.

type ApplicationGatewayURLPathMapPropertiesFormat Uses

type ApplicationGatewayURLPathMapPropertiesFormat struct {
    // DefaultBackendAddressPool - Default backend address pool resource of URL path map
    DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"`
    // DefaultBackendHTTPSettings - Default backend http settings resource of URL path map
    DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"`
    // PathRules - Path rule of URL path map resource
    PathRules *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"`
    // ProvisioningState - Provisioning state of the backend http settings resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayURLPathMapPropertiesFormat properties of UrlPathMap of application gateway

type ApplicationGatewaysClient Uses

type ApplicationGatewaysClient struct {
    BaseClient
}

ApplicationGatewaysClient is the network Client

func NewApplicationGatewaysClient Uses

func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClient creates an instance of the ApplicationGatewaysClient client.

func NewApplicationGatewaysClientWithBaseURI Uses

func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client.

func (ApplicationGatewaysClient) CreateOrUpdate Uses

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

CreateOrUpdate the Put ApplicationGateway operation creates/updates a ApplicationGateway Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the ApplicationGateway. parameters - parameters supplied to the create/delete ApplicationGateway operation

func (ApplicationGatewaysClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationGatewaysClient) CreateOrUpdateResponder Uses

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

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

func (ApplicationGatewaysClient) CreateOrUpdateSender Uses

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

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

func (ApplicationGatewaysClient) Delete Uses

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

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

func (ApplicationGatewaysClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ApplicationGatewaysClient) DeleteResponder Uses

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 Uses

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

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

func (ApplicationGatewaysClient) Get Uses

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

Get the Get ApplicationGateway operation retrieves information about the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ApplicationGatewaysClient) GetResponder Uses

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 Uses

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 Uses

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

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

func (ApplicationGatewaysClient) ListAll Uses

func (client ApplicationGatewaysClient) ListAll(ctx context.Context) (result ApplicationGatewayListResultPage, err error)

ListAll the List ApplicationGateway operation retrieves all the application gateways in a subscription.

func (ApplicationGatewaysClient) ListAllComplete Uses

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

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

func (ApplicationGatewaysClient) ListAllPreparer Uses

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

ListAllPreparer prepares the ListAll request.

func (ApplicationGatewaysClient) ListAllResponder Uses

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 Uses

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) ListComplete Uses

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

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

func (ApplicationGatewaysClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ApplicationGatewaysClient) ListResponder Uses

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 Uses

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 Uses

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

Start the Start ApplicationGateway operation starts application gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) StartPreparer Uses

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

StartPreparer prepares the Start request.

func (ApplicationGatewaysClient) StartResponder Uses

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 Uses

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

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

func (ApplicationGatewaysClient) Stop Uses

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

Stop the STOP ApplicationGateway operation stops application gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) StopPreparer Uses

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

StopPreparer prepares the Stop request.

func (ApplicationGatewaysClient) StopResponder Uses

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 Uses

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

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

type ApplicationGatewaysCreateOrUpdateFuture Uses

type ApplicationGatewaysCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ApplicationGatewaysCreateOrUpdateFuture) Result Uses

func (future *ApplicationGatewaysCreateOrUpdateFuture) Result(client ApplicationGatewaysClient) (ag ApplicationGateway, err error)

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

type ApplicationGatewaysDeleteFuture Uses

type ApplicationGatewaysDeleteFuture struct {
    azure.Future
}

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

func (*ApplicationGatewaysDeleteFuture) Result Uses

func (future *ApplicationGatewaysDeleteFuture) Result(client ApplicationGatewaysClient) (ar autorest.Response, err error)

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

type ApplicationGatewaysStartFuture Uses

type ApplicationGatewaysStartFuture struct {
    azure.Future
}

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

func (*ApplicationGatewaysStartFuture) Result Uses

func (future *ApplicationGatewaysStartFuture) Result(client ApplicationGatewaysClient) (ar autorest.Response, err error)

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

type ApplicationGatewaysStopFuture Uses

type ApplicationGatewaysStopFuture struct {
    azure.Future
}

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

func (*ApplicationGatewaysStopFuture) Result Uses

func (future *ApplicationGatewaysStopFuture) Result(client ApplicationGatewaysClient) (ar autorest.Response, err error)

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

type AuthorizationListResult Uses

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

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

func (AuthorizationListResult) IsEmpty Uses

func (alr AuthorizationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AuthorizationListResultIterator Uses

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

AuthorizationListResultIterator provides access to a complete listing of ExpressRouteCircuitAuthorization values.

func NewAuthorizationListResultIterator Uses

func NewAuthorizationListResultIterator(page AuthorizationListResultPage) AuthorizationListResultIterator

Creates a new instance of the AuthorizationListResultIterator type.

func (*AuthorizationListResultIterator) Next Uses

func (iter *AuthorizationListResultIterator) Next() error

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

func (*AuthorizationListResultIterator) NextWithContext Uses

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

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

func (AuthorizationListResultIterator) NotDone Uses

func (iter AuthorizationListResultIterator) NotDone() bool

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

func (AuthorizationListResultIterator) Response Uses

func (iter AuthorizationListResultIterator) Response() AuthorizationListResult

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

func (AuthorizationListResultIterator) Value Uses

func (iter AuthorizationListResultIterator) Value() ExpressRouteCircuitAuthorization

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

type AuthorizationListResultPage Uses

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

AuthorizationListResultPage contains a page of ExpressRouteCircuitAuthorization values.

func NewAuthorizationListResultPage Uses

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

Creates a new instance of the AuthorizationListResultPage type.

func (*AuthorizationListResultPage) Next Uses

func (page *AuthorizationListResultPage) Next() error

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

func (*AuthorizationListResultPage) NextWithContext Uses

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

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

func (AuthorizationListResultPage) NotDone Uses

func (page AuthorizationListResultPage) NotDone() bool

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

func (AuthorizationListResultPage) Response Uses

func (page AuthorizationListResultPage) Response() AuthorizationListResult

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

func (AuthorizationListResultPage) Values Uses

func (page AuthorizationListResultPage) Values() []ExpressRouteCircuitAuthorization

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

type AuthorizationPropertiesFormat Uses

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

AuthorizationPropertiesFormat ...

type AuthorizationUseStatus Uses

type AuthorizationUseStatus string

AuthorizationUseStatus enumerates the values for authorization use status.

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

func PossibleAuthorizationUseStatusValues Uses

func PossibleAuthorizationUseStatusValues() []AuthorizationUseStatus

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

type AzureAsyncOperationResult Uses

type AzureAsyncOperationResult struct {
    // Status - Status of the AzureAsyncOperation. Possible values include: 'InProgress', 'Succeeded', 'Failed'
    Status OperationStatus `json:"status,omitempty"`
    Error  *Error          `json:"error,omitempty"`
}

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

type BackendAddressPool Uses

type BackendAddressPool struct {
    *BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

BackendAddressPool pool of backend IP addresses

func (BackendAddressPool) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for BackendAddressPool.

func (*BackendAddressPool) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for BackendAddressPool struct.

type BackendAddressPoolPropertiesFormat Uses

type BackendAddressPoolPropertiesFormat struct {
    // BackendIPConfigurations - READ-ONLY; Gets collection of references to IPs defined in NICs
    BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
    // LoadBalancingRules - READ-ONLY; Gets Load Balancing rules that use this Backend Address Pool
    LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
    // OutboundNatRule - READ-ONLY; Gets outbound rules that use this Backend Address Pool
    OutboundNatRule *SubResource `json:"outboundNatRule,omitempty"`
    // ProvisioningState - Get provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

BackendAddressPoolPropertiesFormat properties of BackendAddressPool

type BaseClient Uses

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

BaseClient is the base client for Network.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CheckDNSNameAvailability Uses

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

CheckDNSNameAvailability checks whether a domain name in the cloudapp.net zone is available for use. Parameters: location - the location of the domain name domainNameLabel - the domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.

func (BaseClient) CheckDNSNameAvailabilityPreparer Uses

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

CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request.

func (BaseClient) CheckDNSNameAvailabilityResponder Uses

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

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

func (BaseClient) CheckDNSNameAvailabilitySender Uses

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

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

type BgpSettings Uses

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

BgpSettings ...

type ConnectionResetSharedKey Uses

type ConnectionResetSharedKey struct {
    autorest.Response `json:"-"`
    // KeyLength - The virtual network connection reset shared key length
    KeyLength *int64 `json:"keyLength,omitempty"`
}

ConnectionResetSharedKey ...

type ConnectionSharedKey Uses

type ConnectionSharedKey struct {
    autorest.Response `json:"-"`
    // Value - The virtual network connection shared key value
    Value *string `json:"value,omitempty"`
}

ConnectionSharedKey response for GetConnectionSharedKey Api service call

type ConnectionSharedKeyResult Uses

type ConnectionSharedKeyResult struct {
    autorest.Response `json:"-"`
    // Value - The virtual network connection shared key value
    Value *string `json:"value,omitempty"`
}

ConnectionSharedKeyResult response for CheckConnectionSharedKey Api service call

type DNSNameAvailabilityResult Uses

type DNSNameAvailabilityResult struct {
    autorest.Response `json:"-"`
    // Available - Domain availability (True/False)
    Available *bool `json:"available,omitempty"`
}

DNSNameAvailabilityResult response for CheckDnsNameAvailability Api service call

type DhcpOptions Uses

type DhcpOptions struct {
    // DNSServers - Gets or sets list of DNS servers IP addresses
    DNSServers *[]string `json:"dnsServers,omitempty"`
}

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

type EffectiveNetworkSecurityGroup Uses

type EffectiveNetworkSecurityGroup struct {
    // NetworkSecurityGroup - Gets the id of network security group that is applied
    NetworkSecurityGroup *SubResource                              `json:"networkSecurityGroup,omitempty"`
    Association          *EffectiveNetworkSecurityGroupAssociation `json:"association,omitempty"`
    // EffectiveSecurityRules - Gets collection of effective security rules
    EffectiveSecurityRules *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`
}

EffectiveNetworkSecurityGroup effective NetworkSecurityGroup

type EffectiveNetworkSecurityGroupAssociation Uses

type EffectiveNetworkSecurityGroupAssociation struct {
    // Subnet - Gets the id of subnet if assigned
    Subnet *SubResource `json:"subnet,omitempty"`
    // NetworkInterface - Gets the id of network interface if assigned
    NetworkInterface *SubResource `json:"networkInterface,omitempty"`
}

EffectiveNetworkSecurityGroupAssociation effective NetworkSecurityGroup association

type EffectiveNetworkSecurityGroupListResult Uses

type EffectiveNetworkSecurityGroupListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets list of effective network security groups
    Value *[]EffectiveNetworkSecurityGroup `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

EffectiveNetworkSecurityGroupListResult response for list effective network security groups api service call

type EffectiveNetworkSecurityRule Uses

type EffectiveNetworkSecurityRule struct {
    // Name - Gets the name of the security rule specified by the user (if created by the user)
    Name *string `json:"name,omitempty"`
    // Protocol - Gets Network protocol this rule applies to. Possible values include: 'TCP', 'UDP', 'Asterisk'
    Protocol SecurityRuleProtocol `json:"protocol,omitempty"`
    // SourcePortRange - Gets source port or range
    SourcePortRange *string `json:"sourcePortRange,omitempty"`
    // DestinationPortRange - Gets destination port or range
    DestinationPortRange *string `json:"destinationPortRange,omitempty"`
    // SourceAddressPrefix - Gets source address prefix
    SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
    // DestinationAddressPrefix - Gets destination address prefix
    DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`
    // ExpandedSourceAddressPrefix - Gets expanded source address prefix
    ExpandedSourceAddressPrefix *[]string `json:"expandedSourceAddressPrefix,omitempty"`
    // ExpandedDestinationAddressPrefix - Gets expanded destination address prefix
    ExpandedDestinationAddressPrefix *[]string `json:"expandedDestinationAddressPrefix,omitempty"`
    // Access - Gets network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'
    Access SecurityRuleAccess `json:"access,omitempty"`
    // Priority - Gets the priority of the rule
    Priority *int32 `json:"priority,omitempty"`
    // Direction - Gets the direction of the rule. Possible values include: 'Inbound', 'Outbound'
    Direction SecurityRuleDirection `json:"direction,omitempty"`
}

EffectiveNetworkSecurityRule effective NetworkSecurityRules

type EffectiveRoute Uses

type EffectiveRoute struct {
    // Name - Gets the name of the user defined route. This is optional.
    Name *string `json:"name,omitempty"`
    // Source - Gets who created the route. Possible values include: 'EffectiveRouteSourceUnknown', 'EffectiveRouteSourceUser', 'EffectiveRouteSourceVirtualNetworkGateway', 'EffectiveRouteSourceDefault'
    Source EffectiveRouteSource `json:"source,omitempty"`
    // State - Gets value of effective route. Possible values include: 'Active', 'Invalid'
    State EffectiveRouteState `json:"state,omitempty"`
    // AddressPrefix - Gets address prefixes of the effective routes in CIDR notation.
    AddressPrefix *[]string `json:"addressPrefix,omitempty"`
    // NextHopIPAddress - Gets the IP address of the next hop of the effective route
    NextHopIPAddress *[]string `json:"nextHopIpAddress,omitempty"`
    // NextHopType - Gets or sets the type of Azure hop the packet should be sent to. Possible values include: 'RouteNextHopTypeVirtualNetworkGateway', 'RouteNextHopTypeVnetLocal', 'RouteNextHopTypeInternet', 'RouteNextHopTypeVirtualAppliance', 'RouteNextHopTypeNone'
    NextHopType RouteNextHopType `json:"nextHopType,omitempty"`
}

EffectiveRoute effective Route

type EffectiveRouteListResult Uses

type EffectiveRouteListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets list of effective routes
    Value *[]EffectiveRoute `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

EffectiveRouteListResult response for list effective route api service call

type EffectiveRouteSource Uses

type EffectiveRouteSource string

EffectiveRouteSource enumerates the values for effective route source.

const (
    // EffectiveRouteSourceDefault ...
    EffectiveRouteSourceDefault EffectiveRouteSource = "Default"
    // EffectiveRouteSourceUnknown ...
    EffectiveRouteSourceUnknown EffectiveRouteSource = "Unknown"
    // EffectiveRouteSourceUser ...
    EffectiveRouteSourceUser EffectiveRouteSource = "User"
    // EffectiveRouteSourceVirtualNetworkGateway ...
    EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway"
)

func PossibleEffectiveRouteSourceValues Uses

func PossibleEffectiveRouteSourceValues() []EffectiveRouteSource

PossibleEffectiveRouteSourceValues returns an array of possible values for the EffectiveRouteSource const type.

type EffectiveRouteState Uses

type EffectiveRouteState string

EffectiveRouteState enumerates the values for effective route state.

const (
    // Active ...
    Active EffectiveRouteState = "Active"
    // Invalid ...
    Invalid EffectiveRouteState = "Invalid"
)

func PossibleEffectiveRouteStateValues Uses

func PossibleEffectiveRouteStateValues() []EffectiveRouteState

PossibleEffectiveRouteStateValues returns an array of possible values for the EffectiveRouteState const type.

type Error Uses

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

Error ...

type ErrorDetails Uses

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

ErrorDetails ...

type ExpressRouteCircuit Uses

type ExpressRouteCircuit struct {
    autorest.Response `json:"-"`
    // Sku - Gets or sets sku
    Sku                                  *ExpressRouteCircuitSku `json:"sku,omitempty"`
    *ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`
    // Etag - Gets a unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ExpressRouteCircuit expressRouteCircuit resource

func (ExpressRouteCircuit) MarshalJSON Uses

func (erc ExpressRouteCircuit) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuit.

func (*ExpressRouteCircuit) UnmarshalJSON Uses

func (erc *ExpressRouteCircuit) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuit struct.

type ExpressRouteCircuitArpTable Uses

type ExpressRouteCircuitArpTable struct {
    // Age - Age.
    Age *int32 `json:"age,omitempty"`
    // Interface - Interface.
    Interface *string `json:"interface,omitempty"`
    // IPAddress - Gets ipAddress.
    IPAddress *string `json:"ipAddress,omitempty"`
    // MacAddress - Gets macAddress.
    MacAddress *string `json:"macAddress,omitempty"`
}

ExpressRouteCircuitArpTable the arp table associated with the ExpressRouteCircuit

type ExpressRouteCircuitAuthorization Uses

type ExpressRouteCircuitAuthorization struct {
    autorest.Response              `json:"-"`
    *AuthorizationPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ExpressRouteCircuitAuthorization authorization in a ExpressRouteCircuit resource

func (ExpressRouteCircuitAuthorization) MarshalJSON Uses

func (erca ExpressRouteCircuitAuthorization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitAuthorization.

func (*ExpressRouteCircuitAuthorization) UnmarshalJSON Uses

func (erca *ExpressRouteCircuitAuthorization) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitAuthorization struct.

type ExpressRouteCircuitAuthorizationsClient Uses

type ExpressRouteCircuitAuthorizationsClient struct {
    BaseClient
}

ExpressRouteCircuitAuthorizationsClient is the network Client

func NewExpressRouteCircuitAuthorizationsClient Uses

func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI Uses

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate Uses

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (result ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)

CreateOrUpdate the Put Authorization operation creates/updates an authorization in the specified ExpressRouteCircuits Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization. authorizationParameters - parameters supplied to the create/update ExpressRouteCircuitAuthorization operation

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer Uses

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder Uses

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

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

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender Uses

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)

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

func (ExpressRouteCircuitAuthorizationsClient) Delete Uses

func (client ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorizationsDeleteFuture, err error)

Delete the delete authorization operation deletes the specified authorization from the specified ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) DeletePreparer Uses

func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitAuthorizationsClient) DeleteResponder Uses

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 Uses

func (client ExpressRouteCircuitAuthorizationsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitAuthorizationsDeleteFuture, err error)

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

func (ExpressRouteCircuitAuthorizationsClient) Get Uses

func (client ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error)

Get the GET authorization operation retrieves the specified authorization from the specified ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ExpressRouteCircuitAuthorizationsClient) GetResponder Uses

func (client ExpressRouteCircuitAuthorizationsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)

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

func (ExpressRouteCircuitAuthorizationsClient) GetSender Uses

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

func (client ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultPage, err error)

List the List authorization operation retrieves all the authorizations in an ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.

func (ExpressRouteCircuitAuthorizationsClient) ListComplete Uses

func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultIterator, err error)

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

func (ExpressRouteCircuitAuthorizationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ExpressRouteCircuitAuthorizationsClient) ListResponder Uses

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 Uses

func (client ExpressRouteCircuitAuthorizationsClient) 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 ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture Uses

type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) Result Uses

func (future *ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) Result(client ExpressRouteCircuitAuthorizationsClient) (erca ExpressRouteCircuitAuthorization, err error)

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

type ExpressRouteCircuitAuthorizationsDeleteFuture Uses

type ExpressRouteCircuitAuthorizationsDeleteFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitAuthorizationsDeleteFuture) Result Uses

func (future *ExpressRouteCircuitAuthorizationsDeleteFuture) Result(client ExpressRouteCircuitAuthorizationsClient) (ar autorest.Response, err error)

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

type ExpressRouteCircuitListResult Uses

type ExpressRouteCircuitListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets a list of ExpressRouteCircuits in a resource group
    Value *[]ExpressRouteCircuit `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitListResult response for ListExpressRouteCircuit Api service call

func (ExpressRouteCircuitListResult) IsEmpty Uses

func (erclr ExpressRouteCircuitListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitListResultIterator Uses

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

ExpressRouteCircuitListResultIterator provides access to a complete listing of ExpressRouteCircuit values.

func NewExpressRouteCircuitListResultIterator Uses

func NewExpressRouteCircuitListResultIterator(page ExpressRouteCircuitListResultPage) ExpressRouteCircuitListResultIterator

Creates a new instance of the ExpressRouteCircuitListResultIterator type.

func (*ExpressRouteCircuitListResultIterator) Next Uses

func (iter *ExpressRouteCircuitListResultIterator) Next() error

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

func (*ExpressRouteCircuitListResultIterator) NextWithContext Uses

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

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

func (ExpressRouteCircuitListResultIterator) NotDone Uses

func (iter ExpressRouteCircuitListResultIterator) NotDone() bool

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

func (ExpressRouteCircuitListResultIterator) Response Uses

func (iter ExpressRouteCircuitListResultIterator) Response() ExpressRouteCircuitListResult

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

func (ExpressRouteCircuitListResultIterator) Value Uses

func (iter ExpressRouteCircuitListResultIterator) Value() ExpressRouteCircuit

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

type ExpressRouteCircuitListResultPage Uses

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

ExpressRouteCircuitListResultPage contains a page of ExpressRouteCircuit values.

func NewExpressRouteCircuitListResultPage Uses

func NewExpressRouteCircuitListResultPage(getNextPage func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error)) ExpressRouteCircuitListResultPage

Creates a new instance of the ExpressRouteCircuitListResultPage type.

func (*ExpressRouteCircuitListResultPage) Next Uses

func (page *ExpressRouteCircuitListResultPage) Next() error

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

func (*ExpressRouteCircuitListResultPage) NextWithContext Uses

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

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

func (ExpressRouteCircuitListResultPage) NotDone Uses

func (page ExpressRouteCircuitListResultPage) NotDone() bool

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

func (ExpressRouteCircuitListResultPage) Response Uses

func (page ExpressRouteCircuitListResultPage) Response() ExpressRouteCircuitListResult

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

func (ExpressRouteCircuitListResultPage) Values Uses

func (page ExpressRouteCircuitListResultPage) Values() []ExpressRouteCircuit

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

type ExpressRouteCircuitPeering Uses

type ExpressRouteCircuitPeering struct {
    autorest.Response                           `json:"-"`
    *ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

ExpressRouteCircuitPeering peering in a ExpressRouteCircuit resource

func (ExpressRouteCircuitPeering) MarshalJSON Uses

func (ercp ExpressRouteCircuitPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitPeering.

func (*ExpressRouteCircuitPeering) UnmarshalJSON Uses

func (ercp *ExpressRouteCircuitPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitPeering struct.

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState Uses

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string

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

const (
    // Configured ...
    Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
    // Configuring ...
    Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
    // NotConfigured ...
    NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
    // ValidationNeeded ...
    ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
)

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues Uses

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues returns an array of possible values for the ExpressRouteCircuitPeeringAdvertisedPublicPrefixState const type.

type ExpressRouteCircuitPeeringConfig Uses

type ExpressRouteCircuitPeeringConfig struct {
    // AdvertisedPublicPrefixes - Gets or sets the reference of AdvertisedPublicPrefixes
    AdvertisedPublicPrefixes *[]string `json:"advertisedPublicPrefixes,omitempty"`
    // AdvertisedPublicPrefixesState - Gets or sets AdvertisedPublicPrefixState of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'
    AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"`
    // CustomerASN - Gets or Sets CustomerAsn of the peering.
    CustomerASN *int32 `json:"customerASN,omitempty"`
    // RoutingRegistryName - Gets or Sets RoutingRegistryName of the config.
    RoutingRegistryName *string `json:"routingRegistryName,omitempty"`
}

ExpressRouteCircuitPeeringConfig specifies the peering config

type ExpressRouteCircuitPeeringListResult Uses

type ExpressRouteCircuitPeeringListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets the peerings in an express route circuit
    Value *[]ExpressRouteCircuitPeering `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

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

func (ExpressRouteCircuitPeeringListResult) IsEmpty Uses

func (ercplr ExpressRouteCircuitPeeringListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitPeeringListResultIterator Uses

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

ExpressRouteCircuitPeeringListResultIterator provides access to a complete listing of ExpressRouteCircuitPeering values.

func NewExpressRouteCircuitPeeringListResultIterator Uses

func NewExpressRouteCircuitPeeringListResultIterator(page ExpressRouteCircuitPeeringListResultPage) ExpressRouteCircuitPeeringListResultIterator

Creates a new instance of the ExpressRouteCircuitPeeringListResultIterator type.

func (*ExpressRouteCircuitPeeringListResultIterator) Next Uses

func (iter *ExpressRouteCircuitPeeringListResultIterator) Next() error

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

func (*ExpressRouteCircuitPeeringListResultIterator) NextWithContext Uses

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

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

func (ExpressRouteCircuitPeeringListResultIterator) NotDone Uses

func (iter ExpressRouteCircuitPeeringListResultIterator) NotDone() bool

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

func (ExpressRouteCircuitPeeringListResultIterator) Response Uses

func (iter ExpressRouteCircuitPeeringListResultIterator) Response() ExpressRouteCircuitPeeringListResult

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

func (ExpressRouteCircuitPeeringListResultIterator) Value Uses

func (iter ExpressRouteCircuitPeeringListResultIterator) Value() ExpressRouteCircuitPeering

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

type ExpressRouteCircuitPeeringListResultPage Uses

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

ExpressRouteCircuitPeeringListResultPage contains a page of ExpressRouteCircuitPeering values.

func NewExpressRouteCircuitPeeringListResultPage Uses

func NewExpressRouteCircuitPeeringListResultPage(getNextPage func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error)) ExpressRouteCircuitPeeringListResultPage

Creates a new instance of the ExpressRouteCircuitPeeringListResultPage type.

func (*ExpressRouteCircuitPeeringListResultPage) Next Uses

func (page *ExpressRouteCircuitPeeringListResultPage) Next() error

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

func (*ExpressRouteCircuitPeeringListResultPage) NextWithContext Uses

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

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

func (ExpressRouteCircuitPeeringListResultPage) NotDone Uses

func (page ExpressRouteCircuitPeeringListResultPage) NotDone() bool

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

func (ExpressRouteCircuitPeeringListResultPage) Response Uses

func (page ExpressRouteCircuitPeeringListResultPage) Response() ExpressRouteCircuitPeeringListResult

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

func (ExpressRouteCircuitPeeringListResultPage) Values Uses

func (page ExpressRouteCircuitPeeringListResultPage) Values() []ExpressRouteCircuitPeering

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

type ExpressRouteCircuitPeeringPropertiesFormat Uses

type ExpressRouteCircuitPeeringPropertiesFormat struct {
    // PeeringType - Gets or sets PeeringType. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
    PeeringType ExpressRouteCircuitPeeringType `json:"peeringType,omitempty"`
    // State - Gets or sets state of Peering. Possible values include: 'ExpressRouteCircuitPeeringStateDisabled', 'ExpressRouteCircuitPeeringStateEnabled'
    State ExpressRouteCircuitPeeringState `json:"state,omitempty"`
    // AzureASN - Gets or sets the azure ASN
    AzureASN *int32 `json:"azureASN,omitempty"`
    // PeerASN - Gets or sets the peer ASN
    PeerASN *int32 `json:"peerASN,omitempty"`
    // PrimaryPeerAddressPrefix - Gets or sets the primary address prefix
    PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
    // SecondaryPeerAddressPrefix - Gets or sets the secondary address prefix
    SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
    // PrimaryAzurePort - Gets or sets the primary port
    PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
    // SecondaryAzurePort - Gets or sets the secondary port
    SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
    // SharedKey - Gets or sets the shared key
    SharedKey *string `json:"sharedKey,omitempty"`
    // VlanID - Gets or sets the vlan id
    VlanID *int32 `json:"vlanId,omitempty"`
    // MicrosoftPeeringConfig - Gets or sets the Microsoft peering config
    MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
    // Stats - Gets or peering stats
    Stats *ExpressRouteCircuitStats `json:"stats,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // GatewayManagerEtag - Gets or sets the GatewayManager Etag
    GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
    // LastModifiedBy - Gets whether the provider or the customer last modified the peering
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
}

ExpressRouteCircuitPeeringPropertiesFormat ...

type ExpressRouteCircuitPeeringState Uses

type ExpressRouteCircuitPeeringState string

ExpressRouteCircuitPeeringState enumerates the values for express route circuit peering state.

const (
    // ExpressRouteCircuitPeeringStateDisabled ...
    ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled"
    // ExpressRouteCircuitPeeringStateEnabled ...
    ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled"
)

func PossibleExpressRouteCircuitPeeringStateValues Uses

func PossibleExpressRouteCircuitPeeringStateValues() []ExpressRouteCircuitPeeringState

PossibleExpressRouteCircuitPeeringStateValues returns an array of possible values for the ExpressRouteCircuitPeeringState const type.

type ExpressRouteCircuitPeeringType Uses

type ExpressRouteCircuitPeeringType string

ExpressRouteCircuitPeeringType enumerates the values for express route circuit peering type.

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

func PossibleExpressRouteCircuitPeeringTypeValues Uses

func PossibleExpressRouteCircuitPeeringTypeValues() []ExpressRouteCircuitPeeringType

PossibleExpressRouteCircuitPeeringTypeValues returns an array of possible values for the ExpressRouteCircuitPeeringType const type.

type ExpressRouteCircuitPeeringsClient Uses

type ExpressRouteCircuitPeeringsClient struct {
    BaseClient
}

ExpressRouteCircuitPeeringsClient is the network Client

func NewExpressRouteCircuitPeeringsClient Uses

func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.

func NewExpressRouteCircuitPeeringsClientWithBaseURI Uses

func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdate Uses

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate the Put Peering operation creates/updates an peering in the specified ExpressRouteCircuits Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. peeringParameters - parameters supplied to the create/update ExpressRouteCircuit Peering operation

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer Uses

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder Uses

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

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

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender Uses

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)

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

func (ExpressRouteCircuitPeeringsClient) Delete Uses

func (client ExpressRouteCircuitPeeringsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeeringsDeleteFuture, err error)

Delete the delete peering operation deletes the specified peering from the ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitPeeringsClient) DeletePreparer Uses

func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitPeeringsClient) DeleteResponder Uses

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 Uses

func (client ExpressRouteCircuitPeeringsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitPeeringsDeleteFuture, err error)

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

func (ExpressRouteCircuitPeeringsClient) Get Uses

func (client ExpressRouteCircuitPeeringsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error)

Get the GET peering operation retrieves the specified authorization from the ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitPeeringsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ExpressRouteCircuitPeeringsClient) GetResponder Uses

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 Uses

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 Uses

func (client ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error)

List the List peering operation retrieves all the peerings in an ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.

func (ExpressRouteCircuitPeeringsClient) ListComplete Uses

func (client ExpressRouteCircuitPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultIterator, err error)

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

func (ExpressRouteCircuitPeeringsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ExpressRouteCircuitPeeringsClient) ListResponder Uses

func (client ExpressRouteCircuitPeeringsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitPeeringListResult, err error)

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

func (ExpressRouteCircuitPeeringsClient) ListSender Uses

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

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

type ExpressRouteCircuitPeeringsCreateOrUpdateFuture Uses

type ExpressRouteCircuitPeeringsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitPeeringsCreateOrUpdateFuture) Result Uses

func (future *ExpressRouteCircuitPeeringsCreateOrUpdateFuture) Result(client ExpressRouteCircuitPeeringsClient) (ercp ExpressRouteCircuitPeering, err error)

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

type ExpressRouteCircuitPeeringsDeleteFuture Uses

type ExpressRouteCircuitPeeringsDeleteFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitPeeringsDeleteFuture) Result Uses

func (future *ExpressRouteCircuitPeeringsDeleteFuture) Result(client ExpressRouteCircuitPeeringsClient) (ar autorest.Response, err error)

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

type ExpressRouteCircuitPropertiesFormat Uses

type ExpressRouteCircuitPropertiesFormat struct {
    // AllowClassicOperations - allow classic operations
    AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"`
    // CircuitProvisioningState - Gets or sets CircuitProvisioningState state of the resource
    CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"`
    // ServiceProviderProvisioningState - Gets or sets ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
    ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`
    // Authorizations - Gets or sets list of authorizations
    Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"`
    // Peerings - Gets or sets list of peerings
    Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
    // ServiceKey - Gets or sets ServiceKey
    ServiceKey *string `json:"serviceKey,omitempty"`
    // ServiceProviderNotes - Gets or sets ServiceProviderNotes
    ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`
    // ServiceProviderProperties - Gets or sets ServiceProviderProperties
    ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // GatewayManagerEtag - Gets or sets the GatewayManager Etag
    GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
}

ExpressRouteCircuitPropertiesFormat properties of ExpressRouteCircuit

type ExpressRouteCircuitRoutesTable Uses

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

ExpressRouteCircuitRoutesTable the routes table associated with the ExpressRouteCircuit

type ExpressRouteCircuitRoutesTableSummary Uses

type ExpressRouteCircuitRoutesTableSummary struct {
    // Neighbor - Neighbor.
    Neighbor *string `json:"neighbor,omitempty"`
    // V - BGP version number spoken to the neighbor.
    V   *int32 `json:"v,omitempty"`
    // As - Autonomous system number.
    As  *int32 `json:"as,omitempty"`
    // UpDown - The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.
    UpDown *string `json:"upDown,omitempty"`
    // StatePfxRcd - Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
    StatePfxRcd *string `json:"statePfxRcd,omitempty"`
}

ExpressRouteCircuitRoutesTableSummary the routes table associated with the ExpressRouteCircuit

type ExpressRouteCircuitServiceProviderProperties Uses

type ExpressRouteCircuitServiceProviderProperties struct {
    // ServiceProviderName - Gets or sets serviceProviderName.
    ServiceProviderName *string `json:"serviceProviderName,omitempty"`
    // PeeringLocation - Gets or sets peering location.
    PeeringLocation *string `json:"peeringLocation,omitempty"`
    // BandwidthInMbps - Gets or sets BandwidthInMbps.
    BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"`
}

ExpressRouteCircuitServiceProviderProperties contains ServiceProviderProperties in an ExpressRouteCircuit

type ExpressRouteCircuitSku Uses

type ExpressRouteCircuitSku struct {
    // Name - Gets or sets name of the sku.
    Name *string `json:"name,omitempty"`
    // Tier - Gets or sets tier of the sku. Possible values include: 'ExpressRouteCircuitSkuTierStandard', 'ExpressRouteCircuitSkuTierPremium'
    Tier ExpressRouteCircuitSkuTier `json:"tier,omitempty"`
    // Family - Gets or sets family of the sku. Possible values include: 'UnlimitedData', 'MeteredData'
    Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"`
}

ExpressRouteCircuitSku contains sku in an ExpressRouteCircuit

type ExpressRouteCircuitSkuFamily Uses

type ExpressRouteCircuitSkuFamily string

ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.

const (
    // MeteredData ...
    MeteredData ExpressRouteCircuitSkuFamily = "MeteredData"
    // UnlimitedData ...
    UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData"
)

func PossibleExpressRouteCircuitSkuFamilyValues Uses

func PossibleExpressRouteCircuitSkuFamilyValues() []ExpressRouteCircuitSkuFamily

PossibleExpressRouteCircuitSkuFamilyValues returns an array of possible values for the ExpressRouteCircuitSkuFamily const type.

type ExpressRouteCircuitSkuTier Uses

type ExpressRouteCircuitSkuTier string

ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.

const (
    // ExpressRouteCircuitSkuTierPremium ...
    ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium"
    // ExpressRouteCircuitSkuTierStandard ...
    ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard"
)

func PossibleExpressRouteCircuitSkuTierValues Uses

func PossibleExpressRouteCircuitSkuTierValues() []ExpressRouteCircuitSkuTier

PossibleExpressRouteCircuitSkuTierValues returns an array of possible values for the ExpressRouteCircuitSkuTier const type.

type ExpressRouteCircuitStats Uses

type ExpressRouteCircuitStats struct {
    autorest.Response `json:"-"`
    // PrimarybytesIn - Gets BytesIn of the peering.
    PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"`
    // PrimarybytesOut - Gets BytesOut of the peering.
    PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"`
    // SecondarybytesIn - Gets BytesIn of the peering.
    SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"`
    // SecondarybytesOut - Gets BytesOut of the peering.
    SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"`
}

ExpressRouteCircuitStats contains Stats associated with the peering

type ExpressRouteCircuitsArpTableListResult Uses

type ExpressRouteCircuitsArpTableListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets List of ArpTable
    Value *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsArpTableListResult response for ListArpTable associated with the Express Route Circuits Api

type ExpressRouteCircuitsClient Uses

type ExpressRouteCircuitsClient struct {
    BaseClient
}

ExpressRouteCircuitsClient is the network Client

func NewExpressRouteCircuitsClient Uses

func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.

func NewExpressRouteCircuitsClientWithBaseURI Uses

func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client.

func (ExpressRouteCircuitsClient) CreateOrUpdate Uses

func (client ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (result ExpressRouteCircuitsCreateOrUpdateFuture, err error)

CreateOrUpdate the Put ExpressRouteCircuit operation creates/updates a ExpressRouteCircuit Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to the create/delete ExpressRouteCircuit operation

func (ExpressRouteCircuitsClient) CreateOrUpdatePreparer Uses

func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitsClient) CreateOrUpdateResponder Uses

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

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

func (ExpressRouteCircuitsClient) CreateOrUpdateSender Uses

func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitsCreateOrUpdateFuture, err error)

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

func (ExpressRouteCircuitsClient) Delete Uses

func (client ExpressRouteCircuitsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error)

Delete the delete ExpressRouteCircuit operation deletes the specified ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route Circuit.

func (ExpressRouteCircuitsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitsClient) DeleteResponder Uses

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 Uses

func (client ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitsDeleteFuture, err error)

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

func (ExpressRouteCircuitsClient) Get Uses

func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)

Get the Get ExpressRouteCircuit operation retrieves information about the specified ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.

func (ExpressRouteCircuitsClient) GetPeeringStats Uses

func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error)

GetPeeringStats the List stats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitsClient) GetPeeringStatsPreparer Uses

func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

GetPeeringStatsPreparer prepares the GetPeeringStats request.

func (ExpressRouteCircuitsClient) GetPeeringStatsResponder Uses

func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)

GetPeeringStatsResponder handles the response to the GetPeeringStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetPeeringStatsSender Uses

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

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

func (ExpressRouteCircuitsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ExpressRouteCircuitsClient) GetResponder Uses

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 Uses

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

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

func (ExpressRouteCircuitsClient) GetStats Uses

func (client ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)

GetStats the List stats ExpressRouteCircuit operation retrieves all the stats from a ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.

func (ExpressRouteCircuitsClient) GetStatsPreparer Uses

func (client ExpressRouteCircuitsClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)

GetStatsPreparer prepares the GetStats request.

func (ExpressRouteCircuitsClient) GetStatsResponder Uses

func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)

GetStatsResponder handles the response to the GetStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetStatsSender Uses

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

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

func (ExpressRouteCircuitsClient) List Uses

func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error)

List the List ExpressRouteCircuit operation retrieves all the ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ExpressRouteCircuitsClient) ListAll Uses

func (client ExpressRouteCircuitsClient) ListAll(ctx context.Context) (result ExpressRouteCircuitListResultPage, err error)

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

func (ExpressRouteCircuitsClient) ListAllComplete Uses

func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (result ExpressRouteCircuitListResultIterator, err error)

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

func (ExpressRouteCircuitsClient) ListAllPreparer Uses

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

ListAllPreparer prepares the ListAll request.

func (ExpressRouteCircuitsClient) ListAllResponder Uses

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 Uses

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 Uses

func (client ExpressRouteCircuitsClient) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListArpTableFuture, err error)

ListArpTable the ListArpTable from ExpressRouteCircuit operation retrieves the currently advertised arp table associated with the ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListArpTablePreparer Uses

func (client ExpressRouteCircuitsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)

ListArpTablePreparer prepares the ListArpTable request.

func (ExpressRouteCircuitsClient) ListArpTableResponder Uses

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 Uses

func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (future ExpressRouteCircuitsListArpTableFuture, err error)

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

func (ExpressRouteCircuitsClient) ListComplete Uses

func (client ExpressRouteCircuitsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultIterator, err error)

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

func (ExpressRouteCircuitsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ExpressRouteCircuitsClient) ListResponder Uses

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 Uses

func (client ExpressRouteCircuitsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableFuture, err error)

ListRoutesTable the ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTablePreparer Uses

func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)

ListRoutesTablePreparer prepares the ListRoutesTable request.

func (ExpressRouteCircuitsClient) ListRoutesTableResponder Uses

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 Uses

func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableFuture, err error)

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

func (ExpressRouteCircuitsClient) ListRoutesTableSummary Uses

func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)

ListRoutesTableSummary the ListRoutesTable from ExpressRouteCircuit operation retrieves the currently advertised routes table associated with the ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer Uses

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)

ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder Uses

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableSummaryListResult, err error)

ListRoutesTableSummaryResponder handles the response to the ListRoutesTableSummary request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTableSummarySender Uses

func (client ExpressRouteCircuitsClient) ListRoutesTableSummarySender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)

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

func (ExpressRouteCircuitsClient) ListSender Uses

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

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

type ExpressRouteCircuitsCreateOrUpdateFuture Uses

type ExpressRouteCircuitsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitsCreateOrUpdateFuture) Result Uses

func (future *ExpressRouteCircuitsCreateOrUpdateFuture) Result(client ExpressRouteCircuitsClient) (erc ExpressRouteCircuit, err error)

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

type ExpressRouteCircuitsDeleteFuture Uses

type ExpressRouteCircuitsDeleteFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitsDeleteFuture) Result Uses

func (future *ExpressRouteCircuitsDeleteFuture) Result(client ExpressRouteCircuitsClient) (ar autorest.Response, err error)

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

type ExpressRouteCircuitsListArpTableFuture Uses

type ExpressRouteCircuitsListArpTableFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitsListArpTableFuture) Result Uses

func (future *ExpressRouteCircuitsListArpTableFuture) Result(client ExpressRouteCircuitsClient) (ercatlr ExpressRouteCircuitsArpTableListResult, err error)

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

type ExpressRouteCircuitsListRoutesTableFuture Uses

type ExpressRouteCircuitsListRoutesTableFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitsListRoutesTableFuture) Result Uses

func (future *ExpressRouteCircuitsListRoutesTableFuture) Result(client ExpressRouteCircuitsClient) (ercrtlr ExpressRouteCircuitsRoutesTableListResult, err error)

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

type ExpressRouteCircuitsListRoutesTableSummaryFuture Uses

type ExpressRouteCircuitsListRoutesTableSummaryFuture struct {
    azure.Future
}

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

func (*ExpressRouteCircuitsListRoutesTableSummaryFuture) Result Uses

func (future *ExpressRouteCircuitsListRoutesTableSummaryFuture) Result(client ExpressRouteCircuitsClient) (ercrtslr ExpressRouteCircuitsRoutesTableSummaryListResult, err error)

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

type ExpressRouteCircuitsRoutesTableListResult Uses

type ExpressRouteCircuitsRoutesTableListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets List of RoutesTable
    Value *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsRoutesTableListResult response for ListRoutesTable associated with the Express Route Circuits Api

type ExpressRouteCircuitsRoutesTableSummaryListResult Uses

type ExpressRouteCircuitsRoutesTableSummaryListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets List of RoutesTable
    Value *[]ExpressRouteCircuitRoutesTableSummary `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsRoutesTableSummaryListResult response for ListRoutesTable associated with the Express Route Circuits Api

type ExpressRouteServiceProvider Uses

type ExpressRouteServiceProvider struct {
    *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

ExpressRouteServiceProvider expressRouteResourceProvider object

func (ExpressRouteServiceProvider) MarshalJSON Uses

func (ersp ExpressRouteServiceProvider) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteServiceProvider.

func (*ExpressRouteServiceProvider) UnmarshalJSON Uses

func (ersp *ExpressRouteServiceProvider) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteServiceProvider struct.

type ExpressRouteServiceProviderBandwidthsOffered Uses

type ExpressRouteServiceProviderBandwidthsOffered struct {
    // OfferName - Gets the OfferName
    OfferName *string `json:"offerName,omitempty"`
    // ValueInMbps - Gets the ValueInMbps.
    ValueInMbps *int32 `json:"valueInMbps,omitempty"`
}

ExpressRouteServiceProviderBandwidthsOffered contains Bandwidths offered in ExpressRouteServiceProviders

type ExpressRouteServiceProviderListResult Uses

type ExpressRouteServiceProviderListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets List of ExpressRouteResourceProvider
    Value *[]ExpressRouteServiceProvider `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteServiceProviderListResult response for ListExpressRouteServiceProvider Api service call

func (ExpressRouteServiceProviderListResult) IsEmpty Uses

func (ersplr ExpressRouteServiceProviderListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteServiceProviderListResultIterator Uses

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

ExpressRouteServiceProviderListResultIterator provides access to a complete listing of ExpressRouteServiceProvider values.

func NewExpressRouteServiceProviderListResultIterator Uses

func NewExpressRouteServiceProviderListResultIterator(page ExpressRouteServiceProviderListResultPage) ExpressRouteServiceProviderListResultIterator

Creates a new instance of the ExpressRouteServiceProviderListResultIterator type.

func (*ExpressRouteServiceProviderListResultIterator) Next Uses

func (iter *ExpressRouteServiceProviderListResultIterator) Next() error

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

func (*ExpressRouteServiceProviderListResultIterator) NextWithContext Uses

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

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

func (ExpressRouteServiceProviderListResultIterator) NotDone Uses

func (iter ExpressRouteServiceProviderListResultIterator) NotDone() bool

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

func (ExpressRouteServiceProviderListResultIterator) Response Uses

func (iter ExpressRouteServiceProviderListResultIterator) Response() ExpressRouteServiceProviderListResult

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

func (ExpressRouteServiceProviderListResultIterator) Value Uses

func (iter ExpressRouteServiceProviderListResultIterator) Value() ExpressRouteServiceProvider

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

type ExpressRouteServiceProviderListResultPage Uses

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

ExpressRouteServiceProviderListResultPage contains a page of ExpressRouteServiceProvider values.

func NewExpressRouteServiceProviderListResultPage Uses

func NewExpressRouteServiceProviderListResultPage(getNextPage func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error)) ExpressRouteServiceProviderListResultPage

Creates a new instance of the ExpressRouteServiceProviderListResultPage type.

func (*ExpressRouteServiceProviderListResultPage) Next Uses

func (page *ExpressRouteServiceProviderListResultPage) Next() error

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

func (*ExpressRouteServiceProviderListResultPage) NextWithContext Uses

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

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

func (ExpressRouteServiceProviderListResultPage) NotDone Uses

func (page ExpressRouteServiceProviderListResultPage) NotDone() bool

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

func (ExpressRouteServiceProviderListResultPage) Response Uses

func (page ExpressRouteServiceProviderListResultPage) Response() ExpressRouteServiceProviderListResult

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

func (ExpressRouteServiceProviderListResultPage) Values Uses

func (page ExpressRouteServiceProviderListResultPage) Values() []ExpressRouteServiceProvider

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

type ExpressRouteServiceProviderPropertiesFormat Uses

type ExpressRouteServiceProviderPropertiesFormat struct {
    // PeeringLocations - Gets or list of peering locations
    PeeringLocations *[]string `json:"peeringLocations,omitempty"`
    // BandwidthsOffered - Gets or bandwidths offered
    BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`
    // ProvisioningState - Gets provisioning state of the resource
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ExpressRouteServiceProviderPropertiesFormat properties of ExpressRouteServiceProvider

type ExpressRouteServiceProvidersClient Uses

type ExpressRouteServiceProvidersClient struct {
    BaseClient
}

ExpressRouteServiceProvidersClient is the network Client

func NewExpressRouteServiceProvidersClient Uses

func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClient creates an instance of the ExpressRouteServiceProvidersClient client.

func NewExpressRouteServiceProvidersClientWithBaseURI Uses

func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient client.

func (ExpressRouteServiceProvidersClient) List Uses

func (client ExpressRouteServiceProvidersClient) List(ctx context.Context) (result ExpressRouteServiceProviderListResultPage, err error)

List the List ExpressRouteServiceProvider operation retrieves all the available ExpressRouteServiceProviders.

func (ExpressRouteServiceProvidersClient) ListComplete Uses

func (client ExpressRouteServiceProvidersClient) ListComplete(ctx context.Context) (result ExpressRouteServiceProviderListResultIterator, err error)

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

func (ExpressRouteServiceProvidersClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ExpressRouteServiceProvidersClient) ListResponder Uses

func (client ExpressRouteServiceProvidersClient) ListResponder(resp *http.Response) (result ExpressRouteServiceProviderListResult, err error)

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

func (ExpressRouteServiceProvidersClient) ListSender Uses

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 Uses

type FrontendIPConfiguration struct {
    *FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

FrontendIPConfiguration frontend IP address of the load balancer

func (FrontendIPConfiguration) MarshalJSON Uses

func (fic FrontendIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontendIPConfiguration.

func (*FrontendIPConfiguration) UnmarshalJSON Uses

func (fic *FrontendIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FrontendIPConfiguration struct.

type FrontendIPConfigurationPropertiesFormat Uses

type FrontendIPConfigurationPropertiesFormat struct {
    // InboundNatRules - READ-ONLY; Read only. Inbound rules URIs that use this frontend IP
    InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"`
    // InboundNatPools - READ-ONLY; Read only. Inbound pools URIs that use this frontend IP
    InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"`
    // OutboundNatRules - READ-ONLY; Read only. Outbound rules URIs that use this frontend IP
    OutboundNatRules *[]SubResource `json:"outboundNatRules,omitempty"`
    // LoadBalancingRules - READ-ONLY; Gets Load Balancing rules URIs that use this frontend IP
    LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
    // PrivateIPAddress - Gets or sets the privateIPAddress of the IP Configuration
    PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
    // PrivateIPAllocationMethod - Gets or sets PrivateIP allocation method. Possible values include: 'Static', 'Dynamic'
    PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
    // Subnet - Gets or sets the reference of the subnet resource
    Subnet *Subnet `json:"subnet,omitempty"`
    // PublicIPAddress - Gets or sets the reference of the PublicIP resource
    PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

FrontendIPConfigurationPropertiesFormat properties of Frontend IP Configuration of the load balancer

type IPAddressAvailabilityResult Uses

type IPAddressAvailabilityResult struct {
    autorest.Response `json:"-"`
    // Available - Private IP address availability
    Available *bool `json:"available,omitempty"`
    // AvailableIPAddresses - Contains other available private IP addresses if the asked for address is taken
    AvailableIPAddresses *[]string `json:"availableIPAddresses,omitempty"`
}

IPAddressAvailabilityResult response for CheckIPAddressAvailability Api service call

type IPAllocationMethod Uses

type IPAllocationMethod string

IPAllocationMethod enumerates the values for ip allocation method.

const (
    // Dynamic ...
    Dynamic IPAllocationMethod = "Dynamic"
    // Static ...
    Static IPAllocationMethod = "Static"
)

func PossibleIPAllocationMethodValues Uses

func PossibleIPAllocationMethodValues() []IPAllocationMethod

PossibleIPAllocationMethodValues returns an array of possible values for the IPAllocationMethod const type.

type IPConfiguration Uses

type IPConfiguration struct {
    *IPConfigurationPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

IPConfiguration iPConfiguration

func (IPConfiguration) MarshalJSON Uses

func (ic IPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IPConfiguration.

func (*IPConfiguration) UnmarshalJSON Uses

func (ic *IPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IPConfiguration struct.

type IPConfigurationPropertiesFormat Uses

type IPConfigurationPropertiesFormat struct {
    // PrivateIPAddress - Gets or sets the privateIPAddress of the IP Configuration
    PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
    // PrivateIPAllocationMethod - Gets or sets PrivateIP allocation method. Possible values include: 'Static', 'Dynamic'
    PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
    // Subnet - Gets or sets the reference of the subnet resource
    Subnet *Subnet `json:"subnet,omitempty"`
    // PublicIPAddress - Gets or sets the reference of the PublicIP resource
    PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

IPConfigurationPropertiesFormat properties of IPConfiguration

type IPVersion Uses

type IPVersion string

IPVersion enumerates the values for ip version.

const (
    // IPv4 ...
    IPv4 IPVersion = "IPv4"
    // IPv6 ...
    IPv6 IPVersion = "IPv6"
)

func PossibleIPVersionValues Uses

func PossibleIPVersionValues() []IPVersion

PossibleIPVersionValues returns an array of possible values for the IPVersion const type.

type InboundNatPool Uses

type InboundNatPool struct {
    *InboundNatPoolPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

InboundNatPool inbound NAT pool of the load balancer

func (InboundNatPool) MarshalJSON Uses

func (inp InboundNatPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InboundNatPool.

func (*InboundNatPool) UnmarshalJSON Uses

func (inp *InboundNatPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InboundNatPool struct.

type InboundNatPoolPropertiesFormat Uses

type InboundNatPoolPropertiesFormat struct {
    // FrontendIPConfiguration - Gets or sets a reference to frontend IP Addresses
    FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
    // Protocol - Gets or sets the transport protocol for the endpoint. Possible values are Udp or Tcp. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP'
    Protocol TransportProtocol `json:"protocol,omitempty"`
    // FrontendPortRangeStart - Gets or sets the starting port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive
    FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"`
    // FrontendPortRangeEnd - Gets or sets the ending port range for the NAT pool. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive
    FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"`
    // BackendPort - Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to '*' to automatically assign an unallocated port that is discoverable using the runtime API
    BackendPort *int32 `json:"backendPort,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

InboundNatPoolPropertiesFormat properties of Inbound NAT pool

type InboundNatRule Uses

type InboundNatRule struct {
    *InboundNatRulePropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

InboundNatRule inbound NAT rule of the loadbalancer

func (InboundNatRule) MarshalJSON Uses

func (inr InboundNatRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InboundNatRule.

func (*InboundNatRule) UnmarshalJSON Uses

func (inr *InboundNatRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InboundNatRule struct.

type InboundNatRulePropertiesFormat Uses

type InboundNatRulePropertiesFormat struct {
    // FrontendIPConfiguration - Gets or sets a reference to frontend IP Addresses
    FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
    // BackendIPConfiguration - READ-ONLY; Gets or sets a reference to a private ip address defined on a NetworkInterface of a VM. Traffic sent to frontendPort of each of the frontendIPConfigurations is forwarded to the backed IP
    BackendIPConfiguration *InterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"`
    // Protocol - Gets or sets the transport protocol for the endpoint. Possible values are Udp or Tcp. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP'
    Protocol TransportProtocol `json:"protocol,omitempty"`
    // FrontendPort - Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive
    FrontendPort *int32 `json:"frontendPort,omitempty"`
    // BackendPort - Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to '*' to automatically assign an unallocated port that is discoverable using the runtime API
    BackendPort *int32 `json:"backendPort,omitempty"`
    // IdleTimeoutInMinutes - Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp
    IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
    // EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint
    EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

InboundNatRulePropertiesFormat properties of Inbound NAT rule

type Interface Uses

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

Interface a NetworkInterface in a resource group

func (Interface) MarshalJSON Uses

func (i Interface) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Interface.

func (*Interface) UnmarshalJSON Uses

func (i *Interface) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Interface struct.

type InterfaceDNSSettings Uses

type InterfaceDNSSettings struct {
    // DNSServers - Gets or sets list of DNS servers IP addresses
    DNSServers *[]string `json:"dnsServers,omitempty"`
    // AppliedDNSServers - Gets or sets list of Applied DNS servers IP addresses
    AppliedDNSServers *[]string `json:"appliedDnsServers,omitempty"`
    // InternalDNSNameLabel - Gets or sets the internal DNS name
    InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty"`
    // InternalFqdn - Gets or sets the internal fqdn.
    InternalFqdn *string `json:"internalFqdn,omitempty"`
    // InternalDomainNameSuffix - Gets or sets internal domain name suffix of the NIC.
    InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"`
}

InterfaceDNSSettings dns settings of a network interface

type InterfaceIPConfiguration Uses

type InterfaceIPConfiguration struct {
    *InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

InterfaceIPConfiguration iPConfiguration in a NetworkInterface

func (InterfaceIPConfiguration) MarshalJSON Uses

func (iic InterfaceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceIPConfiguration.

func (*InterfaceIPConfiguration) UnmarshalJSON Uses

func (iic *InterfaceIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InterfaceIPConfiguration struct.

type InterfaceIPConfigurationPropertiesFormat Uses

type InterfaceIPConfigurationPropertiesFormat struct {
    // ApplicationGatewayBackendAddressPools - Gets or sets the reference of ApplicationGatewayBackendAddressPool resource
    ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"`
    // LoadBalancerBackendAddressPools - Gets or sets the reference of LoadBalancerBackendAddressPool resource
    LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"`
    // LoadBalancerInboundNatRules - Gets or sets list of references of LoadBalancerInboundNatRules
    LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"`
    PrivateIPAddress            *string           `json:"privateIPAddress,omitempty"`
    // PrivateIPAllocationMethod - Gets or sets PrivateIP allocation method. Possible values include: 'Static', 'Dynamic'
    PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
    // PrivateIPAddressVersion - Gets or sets PrivateIP address version (IPv4/IPv6). Possible values include: 'IPv4', 'IPv6'
    PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
    Subnet                  *Subnet   `json:"subnet,omitempty"`
    // Primary - Gets whether this is a primary customer address on the NIC
    Primary           *bool            `json:"primary,omitempty"`
    PublicIPAddress   *PublicIPAddress `json:"publicIPAddress,omitempty"`
    ProvisioningState *string          `json:"provisioningState,omitempty"`
}

InterfaceIPConfigurationPropertiesFormat properties of IPConfiguration

type InterfaceListResult Uses

type InterfaceListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets or sets list of NetworkInterfaces in a resource group
    Value *[]Interface `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

InterfaceListResult response for ListNetworkInterface Api service call

func (InterfaceListResult) IsEmpty Uses

func (ilr InterfaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InterfaceListResultIterator Uses

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

InterfaceListResultIterator provides access to a complete listing of Interface values.

func NewInterfaceListResultIterator Uses

func NewInterfaceListResultIterator(page InterfaceListResultPage) InterfaceListResultIterator

Creates a new instance of the InterfaceListResultIterator type.

func (*InterfaceListResultIterator) Next Uses

func (iter *InterfaceListResultIterator) Next() error

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

func (*InterfaceListResultIterator) NextWithContext Uses

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

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

func (InterfaceListResultIterator) NotDone Uses

func (iter InterfaceListResultIterator) NotDone() bool

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

func (InterfaceListResultIterator) Response Uses

func (iter InterfaceListResultIterator) Response() InterfaceListResult

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

func (InterfaceListResultIterator) Value Uses

func (iter InterfaceListResultIterator) Value() Interface

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

type InterfaceListResultPage Uses

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

InterfaceListResultPage contains a page of Interface values.

func NewInterfaceListResultPage Uses

func NewInterfaceListResultPage(getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage

Creates a new instance of the InterfaceListResultPage type.

func (*InterfaceListResultPage) Next Uses

func (page *InterfaceListResultPage) Next() error

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

func (*InterfaceListResultPage) NextWithContext Uses

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

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

func (InterfaceListResultPage) NotDone Uses

func (page InterfaceListResultPage) NotDone() bool

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

func (InterfaceListResultPage) Response Uses

func (page InterfaceListResultPage) Response() InterfaceListResult

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

func (InterfaceListResultPage) Values Uses

func (page InterfaceListResultPage) Values() []Interface

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

type InterfacePropertiesFormat Uses

type InterfacePropertiesFormat struct {
    // VirtualMachine - Gets or sets the reference of a VirtualMachine
    VirtualMachine *SubResource `json:"virtualMachine,omitempty"`
    // NetworkSecurityGroup - Gets or sets the reference of the NetworkSecurityGroup resource
    NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"`
    // IPConfigurations - Gets or sets list of IPConfigurations of the network interface
    IPConfigurations *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
    // DNSSettings - Gets or sets DNS settings in network interface
    DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"`
    // MacAddress - Gets the MAC address of the network interface
    MacAddress *string `json:"macAddress,omitempty"`
    // Primary - Gets whether this is a primary NIC on a virtual machine
    Primary *bool `json:"primary,omitempty"`
    // EnableIPForwarding - Gets or sets whether IPForwarding is enabled on the NIC
    EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
    // ResourceGUID - Gets or sets resource guid property of the network interface resource
    ResourceGUID *string `json:"resourceGuid,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

InterfacePropertiesFormat networkInterface properties.

type InterfacesClient Uses

type InterfacesClient struct {
    BaseClient
}

InterfacesClient is the network Client

func NewInterfacesClient Uses

func NewInterfacesClient(subscriptionID string) InterfacesClient

NewInterfacesClient creates an instance of the InterfacesClient client.

func NewInterfacesClientWithBaseURI Uses

func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient

NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client.

func (InterfacesClient) CreateOrUpdate Uses

func (client InterfacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (result InterfacesCreateOrUpdateFuture, err error)

CreateOrUpdate the Put NetworkInterface operation creates/updates a networkInterface Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. parameters - parameters supplied to the create/update NetworkInterface operation

func (InterfacesClient) CreateOrUpdatePreparer Uses

func (client InterfacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InterfacesClient) CreateOrUpdateResponder Uses

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

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

func (InterfacesClient) CreateOrUpdateSender Uses

func (client InterfacesClient) CreateOrUpdateSender(req *http.Request) (future InterfacesCreateOrUpdateFuture, err error)

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

func (InterfacesClient) Delete Uses

func (client InterfacesClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesDeleteFuture, err error)

Delete the delete networkInterface operation deletes the specified networkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfacesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (InterfacesClient) DeleteResponder Uses

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 Uses

func (client InterfacesClient) DeleteSender(req *http.Request) (future InterfacesDeleteFuture, err error)

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

func (InterfacesClient) Get Uses

func (client InterfacesClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error)

Get the Get network interface operation retrieves information about the specified network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. expand - expand references resources.

func (InterfacesClient) GetEffectiveRouteTable Uses

func (client InterfacesClient) GetEffectiveRouteTable(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesGetEffectiveRouteTableFuture, err error)

GetEffectiveRouteTable retrieves all the route tables applied on a networkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfacesClient) GetEffectiveRouteTablePreparer Uses

func (client InterfacesClient) GetEffectiveRouteTablePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)

GetEffectiveRouteTablePreparer prepares the GetEffectiveRouteTable request.

func (InterfacesClient) GetEffectiveRouteTableResponder Uses

func (client InterfacesClient) GetEffectiveRouteTableResponder(resp *http.Response) (result EffectiveRouteListResult, err error)

GetEffectiveRouteTableResponder handles the response to the GetEffectiveRouteTable request. The method always closes the http.Response Body.

func (InterfacesClient) GetEffectiveRouteTableSender Uses

func (client InterfacesClient) GetEffectiveRouteTableSender(req *http.Request) (future InterfacesGetEffectiveRouteTableFuture, err error)

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

func (InterfacesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (InterfacesClient) GetResponder Uses

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 Uses

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 Uses

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

GetVirtualMachineScaleSetNetworkInterface the Get network interface operation retrieves information about the specified network interface in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. expand - expand references resources.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer Uses

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

GetVirtualMachineScaleSetNetworkInterfacePreparer prepares the GetVirtualMachineScaleSetNetworkInterface request.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder Uses

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 Uses

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 Uses

func (client InterfacesClient) List(ctx context.Context, resourceGroupName string) (result InterfaceListResultPage, err error)

List the List networkInterfaces operation retrieves all the networkInterfaces in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (InterfacesClient) ListAll Uses

func (client InterfacesClient) ListAll(ctx context.Context) (result InterfaceListResultPage, err error)

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

func (InterfacesClient) ListAllComplete Uses

func (client InterfacesClient) ListAllComplete(ctx context.Context) (result InterfaceListResultIterator, err error)

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

func (InterfacesClient) ListAllPreparer Uses

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

ListAllPreparer prepares the ListAll request.

func (InterfacesClient) ListAllResponder Uses

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 Uses

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

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

func (InterfacesClient) ListComplete Uses

func (client InterfacesClient) ListComplete(ctx context.Context, resourceGroupName string) (result InterfaceListResultIterator, err error)

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

func (InterfacesClient) ListEffectiveNetworkSecurityGroups Uses

func (client InterfacesClient) ListEffectiveNetworkSecurityGroups(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesListEffectiveNetworkSecurityGroupsFuture, err error)

ListEffectiveNetworkSecurityGroups the list effective network security group operation retrieves all the network security groups applied on a networkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer Uses

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)

ListEffectiveNetworkSecurityGroupsPreparer prepares the ListEffectiveNetworkSecurityGroups request.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsResponder Uses

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsResponder(resp *http.Response) (result EffectiveNetworkSecurityGroupListResult, err error)

ListEffectiveNetworkSecurityGroupsResponder handles the response to the ListEffectiveNetworkSecurityGroups request. The method always closes the http.Response Body.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsSender Uses

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsSender(req *http.Request) (future InterfacesListEffectiveNetworkSecurityGroupsFuture, err error)

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

func (InterfacesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (InterfacesClient) ListResponder Uses

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 Uses

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 Uses

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultPage, err error)

ListVirtualMachineScaleSetNetworkInterfaces the list network interface operation retrieves information about all network interfaces in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete Uses

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultIterator, err error)

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

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer Uses

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

ListVirtualMachineScaleSetNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetNetworkInterfaces request.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder Uses

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 Uses

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 Uses

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultPage, err error)

ListVirtualMachineScaleSetVMNetworkInterfaces the list network interface operation retrieves information about all network interfaces in a virtual machine from a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete Uses

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultIterator, err error)

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

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer Uses

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

ListVirtualMachineScaleSetVMNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetVMNetworkInterfaces request.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder Uses

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 Uses

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

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

type InterfacesCreateOrUpdateFuture Uses

type InterfacesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*InterfacesCreateOrUpdateFuture) Result Uses

func (future *InterfacesCreateOrUpdateFuture) Result(client InterfacesClient) (i Interface, err error)

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

type InterfacesDeleteFuture Uses

type InterfacesDeleteFuture struct {
    azure.Future
}

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

func (*InterfacesDeleteFuture) Result Uses

func (future *InterfacesDeleteFuture) Result(client InterfacesClient) (ar autorest.Response, err error)

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

type InterfacesGetEffectiveRouteTableFuture Uses

type InterfacesGetEffectiveRouteTableFuture struct {
    azure.Future
}

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

func (*InterfacesGetEffectiveRouteTableFuture) Result Uses

func (future *InterfacesGetEffectiveRouteTableFuture) Result(client InterfacesClient) (erlr EffectiveRouteListResult, err error)

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

type InterfacesListEffectiveNetworkSecurityGroupsFuture Uses

type InterfacesListEffectiveNetworkSecurityGroupsFuture struct {
    azure.Future
}

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

func (*InterfacesListEffectiveNetworkSecurityGroupsFuture) Result Uses

func (future *InterfacesListEffectiveNetworkSecurityGroupsFuture) Result(client InterfacesClient) (ensglr EffectiveNetworkSecurityGroupListResult, err error)

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

type LoadBalancer Uses

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

LoadBalancer loadBalancer resource

func (LoadBalancer) MarshalJSON Uses

func (lb LoadBalancer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancer.

func (*LoadBalancer) UnmarshalJSON Uses

func (lb *LoadBalancer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LoadBalancer struct.

type LoadBalancerListResult Uses

type LoadBalancerListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets a list of LoadBalancers in a resource group
    Value *[]LoadBalancer `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerListResult response for ListLoadBalancers Api service call

func (LoadBalancerListResult) IsEmpty Uses

func (lblr LoadBalancerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerListResultIterator Uses

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

LoadBalancerListResultIterator provides access to a complete listing of LoadBalancer values.

func NewLoadBalancerListResultIterator Uses

func NewLoadBalancerListResultIterator(page LoadBalancerListResultPage) LoadBalancerListResultIterator

Creates a new instance of the LoadBalancerListResultIterator type.

func (*LoadBalancerListResultIterator) Next Uses

func (iter *LoadBalancerListResultIterator) Next() error

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

func (*LoadBalancerListResultIterator) NextWithContext Uses

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

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

func (LoadBalancerListResultIterator) NotDone Uses

func (iter LoadBalancerListResultIterator) NotDone() bool

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

func (LoadBalancerListResultIterator) Response Uses

func (iter LoadBalancerListResultIterator) Response() LoadBalancerListResult

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

func (LoadBalancerListResultIterator) Value Uses

func (iter LoadBalancerListResultIterator) Value() LoadBalancer

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

type LoadBalancerListResultPage Uses

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

LoadBalancerListResultPage contains a page of LoadBalancer values.

func NewLoadBalancerListResultPage Uses

func NewLoadBalancerListResultPage(getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage

Creates a new instance of the LoadBalancerListResultPage type.

func (*LoadBalancerListResultPage) Next Uses

func (page *LoadBalancerListResultPage) Next() error

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

func (*LoadBalancerListResultPage) NextWithContext Uses

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

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

func (LoadBalancerListResultPage) NotDone Uses

func (page LoadBalancerListResultPage) NotDone() bool

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

func (LoadBalancerListResultPage) Response Uses

func (page LoadBalancerListResultPage) Response() LoadBalancerListResult

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

func (LoadBalancerListResultPage) Values Uses

func (page LoadBalancerListResultPage) Values() []LoadBalancer

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

type LoadBalancerPropertiesFormat Uses

type LoadBalancerPropertiesFormat struct {
    // FrontendIPConfigurations - Gets or sets frontend IP addresses of the load balancer
    FrontendIPConfigurations *[]FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
    // BackendAddressPools - Gets or sets Pools of backend IP addresses
    BackendAddressPools *[]BackendAddressPool `json:"backendAddressPools,omitempty"`
    // LoadBalancingRules - Gets or sets load balancing rules
    LoadBalancingRules *[]LoadBalancingRule `json:"loadBalancingRules,omitempty"`
    // Probes - Gets or sets list of Load balancer probes
    Probes *[]Probe `json:"probes,omitempty"`
    // InboundNatRules - Gets or sets list of inbound rules
    InboundNatRules *[]InboundNatRule `json:"inboundNatRules,omitempty"`
    // InboundNatPools - Gets or sets inbound NAT pools
    InboundNatPools *[]InboundNatPool `json:"inboundNatPools,omitempty"`
    // OutboundNatRules - Gets or sets outbound NAT rules
    OutboundNatRules *[]OutboundNatRule `json:"outboundNatRules,omitempty"`
    // ResourceGUID - Gets or sets resource guid property of the Load balancer resource
    ResourceGUID *string `json:"resourceGuid,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

LoadBalancerPropertiesFormat properties of Load Balancer

type LoadBalancersClient Uses

type LoadBalancersClient struct {
    BaseClient
}

LoadBalancersClient is the network Client

func NewLoadBalancersClient Uses

func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient

NewLoadBalancersClient creates an instance of the LoadBalancersClient client.

func NewLoadBalancersClientWithBaseURI Uses

func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient

NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client.

func (LoadBalancersClient) CreateOrUpdate Uses

func (client LoadBalancersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (result LoadBalancersCreateOrUpdateFuture, err error)

CreateOrUpdate the Put LoadBalancer operation creates/updates a LoadBalancer Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the loadBalancer. parameters - parameters supplied to the create/delete LoadBalancer operation

func (LoadBalancersClient) CreateOrUpdatePreparer Uses

func (client LoadBalancersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LoadBalancersClient) CreateOrUpdateResponder Uses

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

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

func (LoadBalancersClient) CreateOrUpdateSender Uses

func (client LoadBalancersClient) CreateOrUpdateSender(req *http.Request) (future LoadBalancersCreateOrUpdateFuture, err error)

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

func (LoadBalancersClient) Delete Uses

func (client LoadBalancersClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancersDeleteFuture, err error)

Delete the delete LoadBalancer operation deletes the specified load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the loadBalancer.

func (LoadBalancersClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (LoadBalancersClient) DeleteResponder Uses

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 Uses

func (client LoadBalancersClient) DeleteSender(req *http.Request) (future LoadBalancersDeleteFuture, err error)

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

func (LoadBalancersClient) Get Uses

func (client LoadBalancersClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error)

Get the Get LoadBalancer operation retrieves information about the specified LoadBalancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the loadBalancer. expand - expand references resources.

func (LoadBalancersClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (LoadBalancersClient) GetResponder Uses

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 Uses

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 Uses

func (client LoadBalancersClient) List(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultPage, err error)

List the List loadBalancer operation retrieves all the load balancers in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (LoadBalancersClient) ListAll Uses

func (client LoadBalancersClient) ListAll(ctx context.Context) (result LoadBalancerListResultPage, err error)

ListAll the List loadBalancer operation retrieves all the load balancers in a subscription.

func (LoadBalancersClient) ListAllComplete Uses

func (client LoadBalancersClient) ListAllComplete(ctx context.Context) (result LoadBalancerListResultIterator, err error)

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

func (LoadBalancersClient) ListAllPreparer Uses

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

ListAllPreparer prepares the ListAll request.

func (LoadBalancersClient) ListAllResponder Uses

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 Uses

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

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

func (LoadBalancersClient) ListComplete Uses

func (client LoadBalancersClient) ListComplete(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultIterator, err error)

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

func (LoadBalancersClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (LoadBalancersClient) ListResponder Uses

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 Uses

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

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

type LoadBalancersCreateOrUpdateFuture Uses

type LoadBalancersCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*LoadBalancersCreateOrUpdateFuture) Result Uses

func (future *LoadBalancersCreateOrUpdateFuture) Result(client LoadBalancersClient) (lb LoadBalancer, err error)

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

type LoadBalancersDeleteFuture Uses

type LoadBalancersDeleteFuture struct {
    azure.Future
}

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

func (*LoadBalancersDeleteFuture) Result Uses

func (future *LoadBalancersDeleteFuture) Result(client LoadBalancersClient) (ar autorest.Response, err error)

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

type LoadBalancingRule Uses

type LoadBalancingRule struct {
    *LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

LoadBalancingRule rules of the load balancer

func (LoadBalancingRule) MarshalJSON Uses

func (lbr LoadBalancingRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancingRule.

func (*LoadBalancingRule) UnmarshalJSON Uses

func (lbr *LoadBalancingRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LoadBalancingRule struct.

type LoadBalancingRulePropertiesFormat Uses

type LoadBalancingRulePropertiesFormat struct {
    // FrontendIPConfiguration - Gets or sets a reference to frontend IP Addresses
    FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
    // BackendAddressPool - Gets or sets  a reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs
    BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
    // Probe - Gets or sets the reference of the load balancer probe used by the Load Balancing rule.
    Probe *SubResource `json:"probe,omitempty"`
    // Protocol - Gets or sets the transport protocol for the external endpoint. Possible values are Udp or Tcp. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP'
    Protocol TransportProtocol `json:"protocol,omitempty"`
    // LoadDistribution - Gets or sets the load distribution policy for this rule. Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol'
    LoadDistribution LoadDistribution `json:"loadDistribution,omitempty"`
    // FrontendPort - Gets or sets the port for the external endpoint. You can specify any port number you choose, but the port numbers specified for each role in the service must be unique. Possible values range between 1 and 65535, inclusive
    FrontendPort *int32 `json:"frontendPort,omitempty"`
    // BackendPort - Gets or sets a port used for internal connections on the endpoint. The localPort attribute maps the eternal port of the endpoint to an internal port on a role. This is useful in scenarios where a role must communicate to an internal component on a port that is different from the one that is exposed externally. If not specified, the value of localPort is the same as the port attribute. Set the value of localPort to '*' to automatically assign an unallocated port that is discoverable using the runtime API
    BackendPort *int32 `json:"backendPort,omitempty"`
    // IdleTimeoutInMinutes - Gets or sets the timeout for the Tcp idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to Tcp
    IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
    // EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn availability Group. This setting is required when using the SQL Always ON availability Groups in SQL server. This setting can't be changed after you create the endpoint
    EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

LoadBalancingRulePropertiesFormat properties of the load balancer

type LoadDistribution Uses

type LoadDistribution string

LoadDistribution enumerates the values for load distribution.

const (
    // Default ...
    Default LoadDistribution = "Default"
    // SourceIP ...
    SourceIP LoadDistribution = "SourceIP"
    // SourceIPProtocol ...
    SourceIPProtocol LoadDistribution = "SourceIPProtocol"
)

func PossibleLoadDistributionValues Uses

func PossibleLoadDistributionValues() []LoadDistribution

PossibleLoadDistributionValues returns an array of possible values for the LoadDistribution const type.

type LocalNetworkGateway Uses

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

LocalNetworkGateway a common class for general resource information

func (LocalNetworkGateway) MarshalJSON Uses

func (lng LocalNetworkGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalNetworkGateway.

func (*LocalNetworkGateway) UnmarshalJSON Uses

func (lng *LocalNetworkGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LocalNetworkGateway struct.

type LocalNetworkGatewayListResult Uses

type LocalNetworkGatewayListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets List of LocalNetworkGateways that exists in a resource group
    Value *[]LocalNetworkGateway `json:"value,omitempty"`
    // NextLink - Gets the URL to get the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

LocalNetworkGatewayListResult response for ListLocalNetworkGateways Api service call

func (LocalNetworkGatewayListResult) IsEmpty Uses

func (lnglr LocalNetworkGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LocalNetworkGatewayListResultIterator Uses

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

LocalNetworkGatewayListResultIterator provides access to a complete listing of LocalNetworkGateway values.

func NewLocalNetworkGatewayListResultIterator Uses

func NewLocalNetworkGatewayListResultIterator(page LocalNetworkGatewayListResultPage) LocalNetworkGatewayListResultIterator

Creates a new instance of the LocalNetworkGatewayListResultIterator type.

func (*LocalNetworkGatewayListResultIterator) Next Uses

func (iter *LocalNetworkGatewayListResultIterator) Next() error

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

func (*LocalNetworkGatewayListResultIterator) NextWithContext Uses

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

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

func (LocalNetworkGatewayListResultIterator) NotDone Uses

func (iter LocalNetworkGatewayListResultIterator) NotDone() bool

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

func (LocalNetworkGatewayListResultIterator) Response Uses

func (iter LocalNetworkGatewayListResultIterator) Response() LocalNetworkGatewayListResult

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

func (LocalNetworkGatewayListResultIterator) Value Uses

func (iter LocalNetworkGatewayListResultIterator) Value() LocalNetworkGateway

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

type LocalNetworkGatewayListResultPage Uses

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

LocalNetworkGatewayListResultPage contains a page of LocalNetworkGateway values.

func NewLocalNetworkGatewayListResultPage Uses

func NewLocalNetworkGatewayListResultPage(getNextPage func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error)) LocalNetworkGatewayListResultPage

Creates a new instance of the LocalNetworkGatewayListResultPage type.

func (*LocalNetworkGatewayListResultPage) Next Uses

func (page *LocalNetworkGatewayListResultPage) Next() error

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

func (*LocalNetworkGatewayListResultPage) NextWithContext Uses

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

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

func (LocalNetworkGatewayListResultPage) NotDone Uses

func (page LocalNetworkGatewayListResultPage) NotDone() bool

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

func (LocalNetworkGatewayListResultPage) Response Uses

func (page LocalNetworkGatewayListResultPage) Response() LocalNetworkGatewayListResult

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

func (LocalNetworkGatewayListResultPage) Values Uses

func (page LocalNetworkGatewayListResultPage) Values() []LocalNetworkGateway

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

type LocalNetworkGatewayPropertiesFormat Uses

type LocalNetworkGatewayPropertiesFormat struct {
    // LocalNetworkAddressSpace - Local network site Address space
    LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"`
    // GatewayIPAddress - IP address of local network gateway.
    GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"`
    // BgpSettings - Local network gateway's BGP speaker settings
    BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`
    // ResourceGUID - Gets or sets resource guid property of the LocalNetworkGateway resource
    ResourceGUID *string `json:"resourceGuid,omitempty"`
    // ProvisioningState - Gets provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

LocalNetworkGatewayPropertiesFormat localNetworkGateway properties

type LocalNetworkGatewaysClient Uses

type LocalNetworkGatewaysClient struct {
    BaseClient
}

LocalNetworkGatewaysClient is the network Client

func NewLocalNetworkGatewaysClient Uses

func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClient creates an instance of the LocalNetworkGatewaysClient client.

func NewLocalNetworkGatewaysClientWithBaseURI Uses

func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client.

func (LocalNetworkGatewaysClient) CreateOrUpdate Uses

func (client LocalNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (result LocalNetworkGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate the Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway. parameters - parameters supplied to the Begin Create or update Local Network Gateway operation through Network resource provider.

func (LocalNetworkGatewaysClient) CreateOrUpdatePreparer Uses

func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LocalNetworkGatewaysClient) CreateOrUpdateResponder Uses

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

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

func (LocalNetworkGatewaysClient) CreateOrUpdateSender Uses

func (client LocalNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (future LocalNetworkGatewaysCreateOrUpdateFuture, err error)

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

func (LocalNetworkGatewaysClient) Delete Uses

func (client LocalNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGatewaysDeleteFuture, err error)

Delete the Delete LocalNetworkGateway operation deletes the specified local network Gateway through Network resource provider. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway.

func (LocalNetworkGatewaysClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (LocalNetworkGatewaysClient) DeleteResponder Uses

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 Uses

func (client LocalNetworkGatewaysClient) DeleteSender(req *http.Request) (future LocalNetworkGatewaysDeleteFuture, err error)

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

func (LocalNetworkGatewaysClient) Get Uses

func (client LocalNetworkGatewaysClient) Get(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway.

func (LocalNetworkGatewaysClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (LocalNetworkGatewaysClient) GetResponder Uses

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 Uses

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 Uses

func (client LocalNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultPage, err error)

List the List LocalNetworkGateways operation retrieves all the local network gateways stored. Parameters: resourceGroupName - the name of the resource group.

func (LocalNetworkGatewaysClient) ListComplete Uses

func (client LocalNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultIterator, err error)

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

func (LocalNetworkGatewaysClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (LocalNetworkGatewaysClient) ListResponder Uses

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 Uses

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

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

type LocalNetworkGatewaysCreateOrUpdateFuture Uses

type LocalNetworkGatewaysCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*LocalNetworkGatewaysCreateOrUpdateFuture) Result Uses

func (future *LocalNetworkGatewaysCreateOrUpdateFuture) Result(client LocalNetworkGatewaysClient) (lng LocalNetworkGateway, err error)

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

type LocalNetworkGatewaysDeleteFuture Uses

type LocalNetworkGatewaysDeleteFuture struct {
    azure.Future
}

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

func (*LocalNetworkGatewaysDeleteFuture) Result Uses

func (future *LocalNetworkGatewaysDeleteFuture) Result(client LocalNetworkGatewaysClient) (ar autorest.Response, err error)

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

type OperationStatus Uses

type OperationStatus string

OperationStatus enumerates the values for operation status.

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

func PossibleOperationStatusValues Uses

func PossibleOperationStatusValues() []OperationStatus

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

type OutboundNatRule Uses

type OutboundNatRule struct {
    *OutboundNatRulePropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

OutboundNatRule outbound NAT pool of the load balancer

func (OutboundNatRule) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OutboundNatRule.

func (*OutboundNatRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for OutboundNatRule struct.

type OutboundNatRulePropertiesFormat Uses

type OutboundNatRulePropertiesFormat struct {
    // AllocatedOutboundPorts - Gets or sets the number of outbound ports to be used for SNAT
    AllocatedOutboundPorts *int32 `json:"allocatedOutboundPorts,omitempty"`
    // FrontendIPConfigurations - Gets or sets Frontend IP addresses of the load balancer
    FrontendIPConfigurations *[]SubResource `json:"frontendIPConfigurations,omitempty"`
    // BackendAddressPool - Gets or sets a reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs
    BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

OutboundNatRulePropertiesFormat outbound NAT pool of the load balancer

type Probe Uses

type Probe struct {
    *ProbePropertiesFormat `json:"properties,omitempty"`
    // Name - Gets name of the resource that is unique within a resource group. This name can be used to access the resource
    Name *string `json:"name,omitempty"`
    // Etag - A unique read-only string that changes whenever the resource is updated
    Etag *string `json:"etag,omitempty"`
    // ID - Resource Id
    ID  *string `json:"id,omitempty"`
}

Probe load balancer Probe

func (Probe) MarshalJSON Uses

func (p Probe) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Probe.

func (*Probe) UnmarshalJSON Uses

func (p *Probe) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Probe struct.

type ProbePropertiesFormat Uses

type ProbePropertiesFormat struct {
    // LoadBalancingRules - READ-ONLY; Gets Load balancer rules that use this probe
    LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
    // Protocol - Gets or sets the protocol of the end point. Possible values are http or Tcp. If Tcp is specified, a received ACK is required for the probe to be successful. If http is specified,a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP'
    Protocol ProbeProtocol `json:"protocol,omitempty"`
    // Port - Gets or sets Port for communicating the probe. Possible values range from 1 to 65535, inclusive.
    Port *int32 `json:"port,omitempty"`
    // IntervalInSeconds - Gets or sets the interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5
    IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
    // NumberOfProbes - Gets or sets the number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
    NumberOfProbes *int32 `json:"numberOfProbes,omitempty"`
    // RequestPath - Gets or sets the URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value
    RequestPath *string `json:"requestPath,omitempty"`
    // ProvisioningState - Gets provisioning state of the PublicIP resource Updating/Deleting/Failed
    ProvisioningState *string `json: