network

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2015 License: MIT, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiVersion     = "2015-05-01-preview"
	DefaultBaseUri = "https://management.azure.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationGateway

type ApplicationGateway struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		Sku struct {
			Name     ApplicationGatewaySkuName `json:"name,omitempty"`
			Tier     ApplicationGatewayTier    `json:"tier,omitempty"`
			Capacity int                       `json:"capacity,omitempty"`
		} `json:"sku,omitempty"`
		OperationalState              ApplicationGatewayOperationalState          `json:"operationalState,omitempty"`
		GatewayIpConfigurations       []ApplicationGatewayIpConfiguration         `json:"gatewayIpConfigurations,omitempty"`
		SslCertificates               []ApplicationGatewaySslCertificate          `json:"sslCertificates,omitempty"`
		FrontendIpConfigurations      []ApplicationGatewayFrontendIpConfiguration `json:"frontendIpConfigurations,omitempty"`
		FrontendPorts                 []ApplicationGatewayFrontendPort            `json:"frontendPorts,omitempty"`
		BackendAddressPools           []ApplicationGatewayBackendAddressPool      `json:"backendAddressPools,omitempty"`
		BackendHttpSettingsCollection []ApplicationGatewayBackendHttpSettings     `json:"backendHttpSettingsCollection,omitempty"`
		HttpListeners                 []ApplicationGatewayHttpListener            `json:"httpListeners,omitempty"`
		RequestRoutingRules           []ApplicationGatewayRequestRoutingRule      `json:"requestRoutingRules,omitempty"`
		ProvisioningState             string                                      `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

ApplicationGateways resource

type ApplicationGatewayBackendAddress

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

Backend Address of application gateway

type ApplicationGatewayBackendAddressPool

type ApplicationGatewayBackendAddressPool struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		BackendIpConfigurations []SubResource                      `json:"backendIpConfigurations,omitempty"`
		BackendAddresses        []ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
		ProvisioningState       string                             `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Backend Address Pool of application gateway

type ApplicationGatewayBackendHttpSettings

type ApplicationGatewayBackendHttpSettings struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		Port                int                                   `json:"port,omitempty"`
		Protocol            ApplicationGatewayProtocol            `json:"protocol,omitempty"`
		CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`
		ProvisioningState   string                                `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Backend address pool settings of application gateway

type ApplicationGatewayCookieBasedAffinity

type ApplicationGatewayCookieBasedAffinity string
const (
	Disabled ApplicationGatewayCookieBasedAffinity = "Disabled"
	Enabled  ApplicationGatewayCookieBasedAffinity = "Enabled"
)

type ApplicationGatewayFrontendIpConfiguration

type ApplicationGatewayFrontendIpConfiguration struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		PrivateIPAddress          string             `json:"privateIPAddress,omitempty"`
		PrivateIPAllocationMethod IpAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
		Subnet                    struct {
			Id string `json:"id,omitempty"`
		} `json:"subnet,omitempty"`
		PublicIPAddress struct {
			Id string `json:"id,omitempty"`
		} `json:"publicIPAddress,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Frontend IP configuration of application gateway

type ApplicationGatewayFrontendPort

type ApplicationGatewayFrontendPort struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		Port              int    `json:"port,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Frontend Port of application gateway

type ApplicationGatewayHttpListener

type ApplicationGatewayHttpListener struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		FrontendIpConfiguration struct {
			Id string `json:"id,omitempty"`
		} `json:"frontendIpConfiguration,omitempty"`
		FrontendPort struct {
			Id string `json:"id,omitempty"`
		} `json:"frontendPort,omitempty"`
		Protocol       ApplicationGatewayProtocol `json:"protocol,omitempty"`
		SslCertificate struct {
			Id string `json:"id,omitempty"`
		} `json:"sslCertificate,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Http listener of application gateway

type ApplicationGatewayIpConfiguration

type ApplicationGatewayIpConfiguration struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		Subnet struct {
			Id string `json:"id,omitempty"`
		} `json:"subnet,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

IP configuration of application gateway

type ApplicationGatewayListResult

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

Response for ListLoadBalancers Api service call

type ApplicationGatewayOperationalState

type ApplicationGatewayOperationalState string
const (
	Running  ApplicationGatewayOperationalState = "Running"
	Starting ApplicationGatewayOperationalState = "Starting"
	Stopped  ApplicationGatewayOperationalState = "Stopped"
	Stopping ApplicationGatewayOperationalState = "Stopping"
)

type ApplicationGatewayProtocol

type ApplicationGatewayProtocol string
const (
	ApplicationGatewayProtocolHttp  ApplicationGatewayProtocol = "Http"
	ApplicationGatewayProtocolHttps ApplicationGatewayProtocol = "Https"
)

type ApplicationGatewayRequestRoutingRule

type ApplicationGatewayRequestRoutingRule struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		RuleType           ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
		BackendAddressPool struct {
			Id string `json:"id,omitempty"`
		} `json:"backendAddressPool,omitempty"`
		BackendHttpSettings struct {
			Id string `json:"id,omitempty"`
		} `json:"backendHttpSettings,omitempty"`
		HttpListener struct {
			Id string `json:"id,omitempty"`
		} `json:"httpListener,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Request routing rule of application gateway

type ApplicationGatewayRequestRoutingRuleType

type ApplicationGatewayRequestRoutingRuleType string
const (
	Basic ApplicationGatewayRequestRoutingRuleType = "Basic"
)

type ApplicationGatewaySkuName

type ApplicationGatewaySkuName string
const (
	StandardLarge  ApplicationGatewaySkuName = "Standard_Large"
	StandardMedium ApplicationGatewaySkuName = "Standard_Medium"
	StandardSmall  ApplicationGatewaySkuName = "Standard_Small"
)

type ApplicationGatewaySslCertificate

type ApplicationGatewaySslCertificate struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		Data              string `json:"data,omitempty"`
		Password          string `json:"password,omitempty"`
		PublicCertData    string `json:"publicCertData,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

SSL certificates of application gateway

type ApplicationGatewayTier

type ApplicationGatewayTier string
const (
	Standard ApplicationGatewayTier = "Standard"
)

type ApplicationGatewaysClient

type ApplicationGatewaysClient struct {
	NetworkResourceProviderClient
}

ApplicationGateways Client

func NewApplicationGatewaysClient

func NewApplicationGatewaysClient(subscriptionId string) ApplicationGatewaysClient

func NewApplicationGatewaysClientWithBaseUri

func NewApplicationGatewaysClientWithBaseUri(baseUri string, subscriptionId string) ApplicationGatewaysClient

func (ApplicationGatewaysClient) CreateOrUpdate

func (client ApplicationGatewaysClient) CreateOrUpdate(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (result ApplicationGateway, ae autorest.Error)

CreateOrUpdate the Put ApplicationGateway operation creates/updates a ApplicationGateway

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

func (ApplicationGatewaysClient) CreateOrUpdateRequestPreparer

func (client ApplicationGatewaysClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (ApplicationGatewaysClient) Delete

func (client ApplicationGatewaysClient) Delete(resourceGroupName string, applicationGatewayName string) (result autorest.Response, ae autorest.Error)

Delete the delete applicationgateway operation deletes the specified applicationgateway.

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

func (ApplicationGatewaysClient) DeleteRequestPreparer

func (client ApplicationGatewaysClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (ApplicationGatewaysClient) Get

func (client ApplicationGatewaysClient) Get(resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, ae autorest.Error)

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

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

func (ApplicationGatewaysClient) GetRequestPreparer

func (client ApplicationGatewaysClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (ApplicationGatewaysClient) List

func (client ApplicationGatewaysClient) List(resourceGroupName string) (result ApplicationGatewayListResult, ae autorest.Error)

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

resourceGroupName is the name of the resource group.

func (ApplicationGatewaysClient) ListAll

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

func (ApplicationGatewaysClient) ListAllRequestPreparer

func (client ApplicationGatewaysClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (ApplicationGatewaysClient) ListRequestPreparer

func (client ApplicationGatewaysClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (ApplicationGatewaysClient) NewCreateOrUpdateRequest

func (client ApplicationGatewaysClient) NewCreateOrUpdateRequest(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (*http.Request, error)

Create the CreateOrUpdate request.

func (ApplicationGatewaysClient) NewDeleteRequest

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

Create the Delete request.

func (ApplicationGatewaysClient) NewGetRequest

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

Create the Get request.

func (ApplicationGatewaysClient) NewListAllRequest

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

Create the ListAll request.

func (ApplicationGatewaysClient) NewListRequest

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

Create the List request.

func (ApplicationGatewaysClient) NewStartRequest

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

Create the Start request.

func (ApplicationGatewaysClient) NewStopRequest

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

Create the Stop request.

func (ApplicationGatewaysClient) Start

func (client ApplicationGatewaysClient) Start(resourceGroupName string, applicationGatewayName string) (result autorest.Response, ae autorest.Error)

Start the Start ApplicationGateway operation starts application gatewayin the specified resource group through Network resource provider.

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

func (ApplicationGatewaysClient) StartRequestPreparer

func (client ApplicationGatewaysClient) StartRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Start request.

func (ApplicationGatewaysClient) Stop

func (client ApplicationGatewaysClient) Stop(resourceGroupName string, applicationGatewayName string) (result autorest.Response, ae autorest.Error)

Stop the STOP ApplicationGateway operation stops application gatewayin the specified resource group through Network resource provider.

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

func (ApplicationGatewaysClient) StopRequestPreparer

func (client ApplicationGatewaysClient) StopRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Stop request.

type BackendAddressPool

type BackendAddressPool struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		BackendIPConfigurations []SubResource `json:"backendIPConfigurations,omitempty"`
		LoadBalancingRules      []SubResource `json:"loadBalancingRules,omitempty"`
		ProvisioningState       string        `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Pool of backend IP addresseses

type ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	autorest.Response `json:"-"`
	Properties        struct {
		KeyLength int32 `json:"keyLength,omitempty"`
	} `json:"properties,omitempty"`
}

type ConnectionSharedKey

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

Response for GetConnectionSharedKey Api servive call

type DnsNameAvailabilityResult

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

Response for CheckDnsNameAvailability Api servive call

type FrontendIpConfiguration

type FrontendIpConfiguration struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		PrivateIPAddress          string             `json:"privateIPAddress,omitempty"`
		PrivateIPAllocationMethod IpAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
		Subnet                    struct {
			Id string `json:"id,omitempty"`
		} `json:"subnet,omitempty"`
		PublicIPAddress struct {
			Id string `json:"id,omitempty"`
		} `json:"publicIPAddress,omitempty"`
		InboundNatRules    []SubResource `json:"inboundNatRules,omitempty"`
		LoadBalancingRules []SubResource `json:"loadBalancingRules,omitempty"`
		ProvisioningState  string        `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Frontend IP address of the load balancer

type InboundNatRule

type InboundNatRule struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		FrontendIPConfiguration struct {
			Id string `json:"id,omitempty"`
		} `json:"frontendIPConfiguration,omitempty"`
		BackendIPConfiguration struct {
			Id string `json:"id,omitempty"`
		} `json:"backendIPConfiguration,omitempty"`
		Protocol             TransportProtocol `json:"protocol,omitempty"`
		FrontendPort         int               `json:"frontendPort,omitempty"`
		BackendPort          int               `json:"backendPort,omitempty"`
		IdleTimeoutInMinutes int               `json:"idleTimeoutInMinutes,omitempty"`
		EnableFloatingIP     bool              `json:"enableFloatingIP,omitempty"`
		ProvisioningState    string            `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Inbound NAT rule of the loadbalancer

type IpAllocationMethod

type IpAllocationMethod string
const (
	Dynamic IpAllocationMethod = "Dynamic"
	Static  IpAllocationMethod = "Static"
)

type LoadBalancer

type LoadBalancer struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		FrontendIPConfigurations []FrontendIpConfiguration `json:"frontendIPConfigurations,omitempty"`
		BackendAddressPools      []BackendAddressPool      `json:"backendAddressPools,omitempty"`
		LoadBalancingRules       []LoadBalancingRule       `json:"loadBalancingRules,omitempty"`
		Probes                   []Probe                   `json:"probes,omitempty"`
		InboundNatRules          []InboundNatRule          `json:"inboundNatRules,omitempty"`
		ProvisioningState        string                    `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

LoadBalancer resource

type LoadBalancerListResult

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

Response for ListLoadBalancers Api service call

type LoadBalancersClient

type LoadBalancersClient struct {
	NetworkResourceProviderClient
}

LoadBalancers Client

func NewLoadBalancersClient

func NewLoadBalancersClient(subscriptionId string) LoadBalancersClient

func NewLoadBalancersClientWithBaseUri

func NewLoadBalancersClientWithBaseUri(baseUri string, subscriptionId string) LoadBalancersClient

func (LoadBalancersClient) CreateOrUpdate

func (client LoadBalancersClient) CreateOrUpdate(resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (result LoadBalancer, ae autorest.Error)

CreateOrUpdate the Put LoadBalancer operation creates/updates a LoadBalancer

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

func (LoadBalancersClient) CreateOrUpdateRequestPreparer

func (client LoadBalancersClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (LoadBalancersClient) Delete

func (client LoadBalancersClient) Delete(resourceGroupName string, loadBalancerName string) (result autorest.Response, ae autorest.Error)

Delete the delete loadbalancer operation deletes the specified loadbalancer.

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

func (LoadBalancersClient) DeleteRequestPreparer

func (client LoadBalancersClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (LoadBalancersClient) Get

func (client LoadBalancersClient) Get(resourceGroupName string, loadBalancerName string) (result LoadBalancer, ae autorest.Error)

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

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

func (LoadBalancersClient) GetRequestPreparer

func (client LoadBalancersClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (LoadBalancersClient) List

func (client LoadBalancersClient) List(resourceGroupName string) (result LoadBalancerListResult, ae autorest.Error)

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

resourceGroupName is the name of the resource group.

func (LoadBalancersClient) ListAll

func (client LoadBalancersClient) ListAll() (result LoadBalancerListResult, ae autorest.Error)

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

func (LoadBalancersClient) ListAllRequestPreparer

func (client LoadBalancersClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (LoadBalancersClient) ListRequestPreparer

func (client LoadBalancersClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (LoadBalancersClient) NewCreateOrUpdateRequest

func (client LoadBalancersClient) NewCreateOrUpdateRequest(resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (*http.Request, error)

Create the CreateOrUpdate request.

func (LoadBalancersClient) NewDeleteRequest

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

Create the Delete request.

func (LoadBalancersClient) NewGetRequest

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

Create the Get request.

func (LoadBalancersClient) NewListAllRequest

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

Create the ListAll request.

func (LoadBalancersClient) NewListRequest

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

Create the List request.

type LoadBalancingRule

type LoadBalancingRule struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		FrontendIPConfiguration struct {
			Id string `json:"id,omitempty"`
		} `json:"frontendIPConfiguration,omitempty"`
		BackendAddressPool struct {
			Id string `json:"id,omitempty"`
		} `json:"backendAddressPool,omitempty"`
		Probe struct {
			Id string `json:"id,omitempty"`
		} `json:"probe,omitempty"`
		Protocol             TransportProtocol `json:"protocol,omitempty"`
		LoadDistribution     LoadDistribution  `json:"loadDistribution,omitempty"`
		FrontendPort         int               `json:"frontendPort,omitempty"`
		BackendPort          int               `json:"backendPort,omitempty"`
		IdleTimeoutInMinutes int               `json:"idleTimeoutInMinutes,omitempty"`
		EnableFloatingIP     bool              `json:"enableFloatingIP,omitempty"`
		ProvisioningState    string            `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Rules of the load balancer

type LoadDistribution

type LoadDistribution string
const (
	Default          LoadDistribution = "Default"
	SourceIP         LoadDistribution = "SourceIP"
	SourceIPProtocol LoadDistribution = "SourceIPProtocol"
)

type LocalNetworkGateway

type LocalNetworkGateway struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		LocalNetworkAddressSpace struct {
			AddressPrefixes []string `json:"addressPrefixes,omitempty"`
		} `json:"localNetworkAddressSpace,omitempty"`
		GatewayIpAddress  string `json:"gatewayIpAddress,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

A common class for general resource information

type LocalNetworkGatewayListResult

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

Response for ListLocalNetworkGateways Api service call

type LocalNetworkGatewaysClient

type LocalNetworkGatewaysClient struct {
	NetworkResourceProviderClient
}

LocalNetworkGateways Client

func NewLocalNetworkGatewaysClient

func NewLocalNetworkGatewaysClient(subscriptionId string) LocalNetworkGatewaysClient

func NewLocalNetworkGatewaysClientWithBaseUri

func NewLocalNetworkGatewaysClientWithBaseUri(baseUri string, subscriptionId string) LocalNetworkGatewaysClient

func (LocalNetworkGatewaysClient) CreateOrUpdate

func (client LocalNetworkGatewaysClient) CreateOrUpdate(resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (result LocalNetworkGateway, ae autorest.Error)

CreateOrUpdate the Put LocalNetworkGateway operation creates/updates a local network gateway in the specified resource group through Network resource provider.

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

func (LocalNetworkGatewaysClient) CreateOrUpdateRequestPreparer

func (client LocalNetworkGatewaysClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (LocalNetworkGatewaysClient) Delete

func (client LocalNetworkGatewaysClient) Delete(resourceGroupName string, localNetworkGatewayName string) (result autorest.Response, ae autorest.Error)

Delete the Delete LocalNetworkGateway operation deletes the specifed local network Gateway through Network resource provider.

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

func (LocalNetworkGatewaysClient) DeleteRequestPreparer

func (client LocalNetworkGatewaysClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (LocalNetworkGatewaysClient) Get

func (client LocalNetworkGatewaysClient) Get(resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, ae autorest.Error)

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

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

func (LocalNetworkGatewaysClient) GetRequestPreparer

func (client LocalNetworkGatewaysClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (LocalNetworkGatewaysClient) List

func (client LocalNetworkGatewaysClient) List(resourceGroupName string) (result LocalNetworkGatewayListResult, ae autorest.Error)

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

resourceGroupName is the name of the resource group.

func (LocalNetworkGatewaysClient) ListRequestPreparer

func (client LocalNetworkGatewaysClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (LocalNetworkGatewaysClient) NewCreateOrUpdateRequest

func (client LocalNetworkGatewaysClient) NewCreateOrUpdateRequest(resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (*http.Request, error)

Create the CreateOrUpdate request.

func (LocalNetworkGatewaysClient) NewDeleteRequest

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

Create the Delete request.

func (LocalNetworkGatewaysClient) NewGetRequest

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

Create the Get request.

func (LocalNetworkGatewaysClient) NewListRequest

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

Create the List request.

type NetworkInterface

type NetworkInterface struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		VirtualMachine struct {
			Id string `json:"id,omitempty"`
		} `json:"virtualMachine,omitempty"`
		NetworkSecurityGroup struct {
			Id string `json:"id,omitempty"`
		} `json:"networkSecurityGroup,omitempty"`
		IpConfigurations []NetworkInterfaceIpConfiguration `json:"ipConfigurations,omitempty"`
		DnsSettings      struct {
			DnsServers           []string `json:"dnsServers,omitempty"`
			AppliedDnsServers    []string `json:"appliedDnsServers,omitempty"`
			InternalDnsNameLabel string   `json:"internalDnsNameLabel,omitempty"`
			InternalFqdn         string   `json:"internalFqdn,omitempty"`
		} `json:"dnsSettings,omitempty"`
		MacAddress        string `json:"macAddress,omitempty"`
		Primary           bool   `json:"primary,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

A NetworkInterface in a resource group

type NetworkInterfaceIpConfiguration

type NetworkInterfaceIpConfiguration struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		PrivateIPAddress          string             `json:"privateIPAddress,omitempty"`
		PrivateIPAllocationMethod IpAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
		Subnet                    struct {
			Id string `json:"id,omitempty"`
		} `json:"subnet,omitempty"`
		PublicIPAddress struct {
			Id string `json:"id,omitempty"`
		} `json:"publicIPAddress,omitempty"`
		LoadBalancerBackendAddressPools []SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
		LoadBalancerInboundNatRules     []SubResource `json:"loadBalancerInboundNatRules,omitempty"`
		ProvisioningState               string        `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

IPConfiguration in a NetworkInterface

type NetworkInterfaceListResult

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

Response for ListNetworkInterface Api service call

type NetworkInterfacesClient

type NetworkInterfacesClient struct {
	NetworkResourceProviderClient
}

NetworkInterfaces Client

func NewNetworkInterfacesClient

func NewNetworkInterfacesClient(subscriptionId string) NetworkInterfacesClient

func NewNetworkInterfacesClientWithBaseUri

func NewNetworkInterfacesClientWithBaseUri(baseUri string, subscriptionId string) NetworkInterfacesClient

func (NetworkInterfacesClient) CreateOrUpdate

func (client NetworkInterfacesClient) CreateOrUpdate(resourceGroupName string, networkInterfaceName string, parameters NetworkInterface) (result NetworkInterface, ae autorest.Error)

CreateOrUpdate the Put NetworkInterface operation creates/updates a networkInterface

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

func (NetworkInterfacesClient) CreateOrUpdateRequestPreparer

func (client NetworkInterfacesClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (NetworkInterfacesClient) Delete

func (client NetworkInterfacesClient) Delete(resourceGroupName string, networkInterfaceName string) (result autorest.Response, ae autorest.Error)

Delete the delete netwokInterface operation deletes the specified netwokInterface.

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

func (NetworkInterfacesClient) DeleteRequestPreparer

func (client NetworkInterfacesClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (NetworkInterfacesClient) Get

func (client NetworkInterfacesClient) Get(resourceGroupName string, networkInterfaceName string) (result NetworkInterface, ae autorest.Error)

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

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

func (NetworkInterfacesClient) GetRequestPreparer

func (client NetworkInterfacesClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (NetworkInterfacesClient) List

func (client NetworkInterfacesClient) List(resourceGroupName string) (result NetworkInterfaceListResult, ae autorest.Error)

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

resourceGroupName is the name of the resource group.

func (NetworkInterfacesClient) ListAll

func (client NetworkInterfacesClient) ListAll() (result NetworkInterfaceListResult, ae autorest.Error)

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

func (NetworkInterfacesClient) ListAllRequestPreparer

func (client NetworkInterfacesClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (NetworkInterfacesClient) ListRequestPreparer

func (client NetworkInterfacesClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (NetworkInterfacesClient) NewCreateOrUpdateRequest

func (client NetworkInterfacesClient) NewCreateOrUpdateRequest(resourceGroupName string, networkInterfaceName string, parameters NetworkInterface) (*http.Request, error)

Create the CreateOrUpdate request.

func (NetworkInterfacesClient) NewDeleteRequest

func (client NetworkInterfacesClient) NewDeleteRequest(resourceGroupName string, networkInterfaceName string) (*http.Request, error)

Create the Delete request.

func (NetworkInterfacesClient) NewGetRequest

func (client NetworkInterfacesClient) NewGetRequest(resourceGroupName string, networkInterfaceName string) (*http.Request, error)

Create the Get request.

func (NetworkInterfacesClient) NewListAllRequest

func (client NetworkInterfacesClient) NewListAllRequest() (*http.Request, error)

Create the ListAll request.

func (NetworkInterfacesClient) NewListRequest

func (client NetworkInterfacesClient) NewListRequest(resourceGroupName string) (*http.Request, error)

Create the List request.

type NetworkResourceProviderClient

type NetworkResourceProviderClient struct {
	autorest.Client
	BaseUri        string
	SubscriptionId string
}

func New

func New(subscriptionId string) NetworkResourceProviderClient

func NewWithBaseUri

func NewWithBaseUri(baseUri string, subscriptionId string) NetworkResourceProviderClient

func (NetworkResourceProviderClient) CheckDnsNameAvailability

func (client NetworkResourceProviderClient) CheckDnsNameAvailability(location string, domainNameLabel string) (result DnsNameAvailabilityResult, ae autorest.Error)

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

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

func (NetworkResourceProviderClient) CheckDnsNameAvailabilityRequestPreparer

func (client NetworkResourceProviderClient) CheckDnsNameAvailabilityRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CheckDnsNameAvailability request.

func (NetworkResourceProviderClient) NewCheckDnsNameAvailabilityRequest

func (client NetworkResourceProviderClient) NewCheckDnsNameAvailabilityRequest(location string, domainNameLabel string) (*http.Request, error)

Create the CheckDnsNameAvailability request.

type NetworkSecurityGroup

type NetworkSecurityGroup struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		SecurityRules        []SecurityRule `json:"securityRules,omitempty"`
		DefaultSecurityRules []SecurityRule `json:"defaultSecurityRules,omitempty"`
		NetworkInterfaces    []SubResource  `json:"networkInterfaces,omitempty"`
		Subnets              []SubResource  `json:"subnets,omitempty"`
		ProvisioningState    string         `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

NetworkSecurityGroup resource

type NetworkSecurityGroupListResult

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

Response for ListNetworkSecurityGroups Api servive call

type NetworkSecurityGroupsClient

type NetworkSecurityGroupsClient struct {
	NetworkResourceProviderClient
}

NetworkSecurityGroups Client

func NewNetworkSecurityGroupsClient

func NewNetworkSecurityGroupsClient(subscriptionId string) NetworkSecurityGroupsClient

func NewNetworkSecurityGroupsClientWithBaseUri

func NewNetworkSecurityGroupsClientWithBaseUri(baseUri string, subscriptionId string) NetworkSecurityGroupsClient

func (NetworkSecurityGroupsClient) CreateOrUpdate

func (client NetworkSecurityGroupsClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, parameters NetworkSecurityGroup) (result NetworkSecurityGroup, ae autorest.Error)

CreateOrUpdate the Put NetworkSecurityGroup operation creates/updates a network security groupin the specified resource group.

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

func (NetworkSecurityGroupsClient) CreateOrUpdateRequestPreparer

func (client NetworkSecurityGroupsClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (NetworkSecurityGroupsClient) Delete

func (client NetworkSecurityGroupsClient) Delete(resourceGroupName string, networkSecurityGroupName string) (result autorest.Response, ae autorest.Error)

Delete the Delete NetworkSecurityGroup operation deletes the specifed network security group

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

func (NetworkSecurityGroupsClient) DeleteRequestPreparer

func (client NetworkSecurityGroupsClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (NetworkSecurityGroupsClient) Get

func (client NetworkSecurityGroupsClient) Get(resourceGroupName string, networkSecurityGroupName string) (result NetworkSecurityGroup, ae autorest.Error)

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

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

func (NetworkSecurityGroupsClient) GetRequestPreparer

func (client NetworkSecurityGroupsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (NetworkSecurityGroupsClient) List

func (client NetworkSecurityGroupsClient) List(resourceGroupName string) (result NetworkSecurityGroupListResult, ae autorest.Error)

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

resourceGroupName is the name of the resource group.

func (NetworkSecurityGroupsClient) ListAll

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

func (NetworkSecurityGroupsClient) ListAllRequestPreparer

func (client NetworkSecurityGroupsClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (NetworkSecurityGroupsClient) ListRequestPreparer

func (client NetworkSecurityGroupsClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (NetworkSecurityGroupsClient) NewCreateOrUpdateRequest

func (client NetworkSecurityGroupsClient) NewCreateOrUpdateRequest(resourceGroupName string, networkSecurityGroupName string, parameters NetworkSecurityGroup) (*http.Request, error)

Create the CreateOrUpdate request.

func (NetworkSecurityGroupsClient) NewDeleteRequest

func (client NetworkSecurityGroupsClient) NewDeleteRequest(resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)

Create the Delete request.

func (NetworkSecurityGroupsClient) NewGetRequest

func (client NetworkSecurityGroupsClient) NewGetRequest(resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)

Create the Get request.

func (NetworkSecurityGroupsClient) NewListAllRequest

func (client NetworkSecurityGroupsClient) NewListAllRequest() (*http.Request, error)

Create the ListAll request.

func (NetworkSecurityGroupsClient) NewListRequest

func (client NetworkSecurityGroupsClient) NewListRequest(resourceGroupName string) (*http.Request, error)

Create the List request.

type OperationStatus

type OperationStatus string
const (
	Failed     OperationStatus = "Failed"
	InProgress OperationStatus = "InProgress"
	Succeeded  OperationStatus = "Succeeded"
)

type Probe

type Probe struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		LoadBalancingRules []SubResource `json:"loadBalancingRules,omitempty"`
		Protocol           ProbeProtocol `json:"protocol,omitempty"`
		Port               int           `json:"port,omitempty"`
		IntervalInSeconds  int           `json:"intervalInSeconds,omitempty"`
		NumberOfProbes     int           `json:"numberOfProbes,omitempty"`
		RequestPath        string        `json:"requestPath,omitempty"`
		ProvisioningState  string        `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Load balancer Probe

type ProbeProtocol

type ProbeProtocol string
const (
	ProbeProtocolHttp ProbeProtocol = "Http"
	ProbeProtocolTcp  ProbeProtocol = "Tcp"
)

type PublicIpAddress

type PublicIpAddress struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		PublicIPAllocationMethod IpAllocationMethod `json:"publicIPAllocationMethod,omitempty"`
		IpConfiguration          struct {
			Id string `json:"id,omitempty"`
		} `json:"ipConfiguration,omitempty"`
		DnsSettings struct {
			DomainNameLabel string `json:"domainNameLabel,omitempty"`
			Fqdn            string `json:"fqdn,omitempty"`
			ReverseFqdn     string `json:"reverseFqdn,omitempty"`
		} `json:"dnsSettings,omitempty"`
		IpAddress            string `json:"ipAddress,omitempty"`
		IdleTimeoutInMinutes int    `json:"idleTimeoutInMinutes,omitempty"`
		ProvisioningState    string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

PublicIPAddress resource

type PublicIpAddressListResult

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

Response for ListPublicIpAddresses Api service call

type PublicIpAddressesClient

type PublicIpAddressesClient struct {
	NetworkResourceProviderClient
}

PublicIpAddresses Client

func NewPublicIpAddressesClient

func NewPublicIpAddressesClient(subscriptionId string) PublicIpAddressesClient

func NewPublicIpAddressesClientWithBaseUri

func NewPublicIpAddressesClientWithBaseUri(baseUri string, subscriptionId string) PublicIpAddressesClient

func (PublicIpAddressesClient) CreateOrUpdate

func (client PublicIpAddressesClient) CreateOrUpdate(resourceGroupName string, publicIpAddressName string, parameters PublicIpAddress) (result PublicIpAddress, ae autorest.Error)

CreateOrUpdate the Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address

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

func (PublicIpAddressesClient) CreateOrUpdateRequestPreparer

func (client PublicIpAddressesClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (PublicIpAddressesClient) Delete

func (client PublicIpAddressesClient) Delete(resourceGroupName string, publicIpAddressName string) (result autorest.Response, ae autorest.Error)

Delete the delete publicIpAddress operation deletes the specified publicIpAddress.

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

func (PublicIpAddressesClient) DeleteRequestPreparer

func (client PublicIpAddressesClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (PublicIpAddressesClient) Get

func (client PublicIpAddressesClient) Get(resourceGroupName string, publicIpAddressName string) (result PublicIpAddress, ae autorest.Error)

Get the Get publicIpAddress operation retreives information about the specified pubicIpAddress

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

func (PublicIpAddressesClient) GetRequestPreparer

func (client PublicIpAddressesClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (PublicIpAddressesClient) List

func (client PublicIpAddressesClient) List(resourceGroupName string) (result PublicIpAddressListResult, ae autorest.Error)

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

resourceGroupName is the name of the resource group.

func (PublicIpAddressesClient) ListAll

func (client PublicIpAddressesClient) ListAll() (result PublicIpAddressListResult, ae autorest.Error)

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

func (PublicIpAddressesClient) ListAllRequestPreparer

func (client PublicIpAddressesClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (PublicIpAddressesClient) ListRequestPreparer

func (client PublicIpAddressesClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (PublicIpAddressesClient) NewCreateOrUpdateRequest

func (client PublicIpAddressesClient) NewCreateOrUpdateRequest(resourceGroupName string, publicIpAddressName string, parameters PublicIpAddress) (*http.Request, error)

Create the CreateOrUpdate request.

func (PublicIpAddressesClient) NewDeleteRequest

func (client PublicIpAddressesClient) NewDeleteRequest(resourceGroupName string, publicIpAddressName string) (*http.Request, error)

Create the Delete request.

func (PublicIpAddressesClient) NewGetRequest

func (client PublicIpAddressesClient) NewGetRequest(resourceGroupName string, publicIpAddressName string) (*http.Request, error)

Create the Get request.

func (PublicIpAddressesClient) NewListAllRequest

func (client PublicIpAddressesClient) NewListAllRequest() (*http.Request, error)

Create the ListAll request.

func (PublicIpAddressesClient) NewListRequest

func (client PublicIpAddressesClient) NewListRequest(resourceGroupName string) (*http.Request, error)

Create the List request.

type SecurityRule

type SecurityRule struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		Description              string                `json:"description,omitempty"`
		Protocol                 SecurityRuleProtocol  `json:"protocol,omitempty"`
		SourcePortRange          string                `json:"sourcePortRange,omitempty"`
		DestinationPortRange     string                `json:"destinationPortRange,omitempty"`
		SourceAddressPrefix      string                `json:"sourceAddressPrefix,omitempty"`
		DestinationAddressPrefix string                `json:"destinationAddressPrefix,omitempty"`
		Access                   SecurityRuleAccess    `json:"access,omitempty"`
		Priority                 int                   `json:"priority,omitempty"`
		Direction                SecurityRuleDirection `json:"direction,omitempty"`
		ProvisioningState        string                `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Network security rule

type SecurityRuleAccess

type SecurityRuleAccess string
const (
	Allow SecurityRuleAccess = "Allow"
	Deny  SecurityRuleAccess = "Deny"
)

type SecurityRuleDirection

type SecurityRuleDirection string
const (
	Inbound  SecurityRuleDirection = "Inbound"
	Outbound SecurityRuleDirection = "Outbound"
)

type SecurityRuleListResult

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

Response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group

type SecurityRuleProtocol

type SecurityRuleProtocol string
const (
	SecurityRuleProtocolAsterisk SecurityRuleProtocol = "*"
	SecurityRuleProtocolTcp      SecurityRuleProtocol = "Tcp"
	SecurityRuleProtocolUdp      SecurityRuleProtocol = "Udp"
)

type SecurityRulesClient

type SecurityRulesClient struct {
	NetworkResourceProviderClient
}

SecurityRules Client

func NewSecurityRulesClient

func NewSecurityRulesClient(subscriptionId string) SecurityRulesClient

func NewSecurityRulesClientWithBaseUri

func NewSecurityRulesClientWithBaseUri(baseUri string, subscriptionId string) SecurityRulesClient

func (SecurityRulesClient) CreateOrUpdate

func (client SecurityRulesClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (result SecurityRule, ae autorest.Error)

CreateOrUpdate the Put network security rule operation creates/updates a security rule in the specified network security group

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

func (SecurityRulesClient) CreateOrUpdateRequestPreparer

func (client SecurityRulesClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (SecurityRulesClient) Delete

func (client SecurityRulesClient) Delete(resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result autorest.Response, ae autorest.Error)

Delete the delete network security rule operation deletes the specified network security rule.

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

func (SecurityRulesClient) DeleteRequestPreparer

func (client SecurityRulesClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (SecurityRulesClient) Get

func (client SecurityRulesClient) Get(resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, ae autorest.Error)

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

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

func (SecurityRulesClient) GetRequestPreparer

func (client SecurityRulesClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (SecurityRulesClient) List

func (client SecurityRulesClient) List(resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResult, ae autorest.Error)

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

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

func (SecurityRulesClient) ListRequestPreparer

func (client SecurityRulesClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (SecurityRulesClient) NewCreateOrUpdateRequest

func (client SecurityRulesClient) NewCreateOrUpdateRequest(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (*http.Request, error)

Create the CreateOrUpdate request.

func (SecurityRulesClient) NewDeleteRequest

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

Create the Delete request.

func (SecurityRulesClient) NewGetRequest

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

Create the Get request.

func (SecurityRulesClient) NewListRequest

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

Create the List request.

type SubResource

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

type Subnet

type Subnet struct {
	autorest.Response `json:"-"`
	Id                string `json:"id,omitempty"`
	Properties        struct {
		AddressPrefix        string `json:"addressPrefix,omitempty"`
		NetworkSecurityGroup struct {
			Id string `json:"id,omitempty"`
		} `json:"networkSecurityGroup,omitempty"`
		IpConfigurations  []SubResource `json:"ipConfigurations,omitempty"`
		ProvisioningState string        `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Subnet in a VirtualNework resource

type SubnetListResult

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

Response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network

type SubnetsClient

type SubnetsClient struct {
	NetworkResourceProviderClient
}

Subnets Client

func NewSubnetsClient

func NewSubnetsClient(subscriptionId string) SubnetsClient

func NewSubnetsClientWithBaseUri

func NewSubnetsClientWithBaseUri(baseUri string, subscriptionId string) SubnetsClient

func (SubnetsClient) CreateOrUpdate

func (client SubnetsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (result Subnet, ae autorest.Error)

CreateOrUpdate the Put Subnet operation creates/updates a subnet in thespecified virtual network

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

func (SubnetsClient) CreateOrUpdateRequestPreparer

func (client SubnetsClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (SubnetsClient) Delete

func (client SubnetsClient) Delete(resourceGroupName string, virtualNetworkName string, subnetName string) (result autorest.Response, ae autorest.Error)

Delete the delete subnet operation deletes the specified subnet.

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

func (SubnetsClient) DeleteRequestPreparer

func (client SubnetsClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (SubnetsClient) Get

func (client SubnetsClient) Get(resourceGroupName string, virtualNetworkName string, subnetName string) (result Subnet, ae autorest.Error)

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

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

func (SubnetsClient) GetRequestPreparer

func (client SubnetsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (SubnetsClient) List

func (client SubnetsClient) List(resourceGroupName string, virtualNetworkName string) (result SubnetListResult, ae autorest.Error)

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

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

func (SubnetsClient) ListRequestPreparer

func (client SubnetsClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (SubnetsClient) NewCreateOrUpdateRequest

func (client SubnetsClient) NewCreateOrUpdateRequest(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (*http.Request, error)

Create the CreateOrUpdate request.

func (SubnetsClient) NewDeleteRequest

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

Create the Delete request.

func (SubnetsClient) NewGetRequest

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

Create the Get request.

func (SubnetsClient) NewListRequest

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

Create the List request.

type TransportProtocol

type TransportProtocol string
const (
	TransportProtocolTcp TransportProtocol = "Tcp"
	TransportProtocolUdp TransportProtocol = "Udp"
)

type Usage

type Usage struct {
	Unit         UsageUnit `json:"unit,omitempty"`
	CurrentValue int       `json:"currentValue,omitempty"`
	Limit        int32     `json:"limit,omitempty"`
	Name         struct {
		Value          string `json:"value,omitempty"`
		LocalizedValue string `json:"localizedValue,omitempty"`
	} `json:"name,omitempty"`
}

Describes Network Resource Usage.

type UsageUnit

type UsageUnit string
const (
	Count UsageUnit = "Count"
)

type UsagesClient

type UsagesClient struct {
	NetworkResourceProviderClient
}

Usages Client

func NewUsagesClient

func NewUsagesClient(subscriptionId string) UsagesClient

func NewUsagesClientWithBaseUri

func NewUsagesClientWithBaseUri(baseUri string, subscriptionId string) UsagesClient

func (UsagesClient) List

func (client UsagesClient) List(location string) (result UsagesListResult, ae autorest.Error)

List lists compute usages for a subscription.

location is the location upon which resource usage is queried.

func (UsagesClient) ListRequestPreparer

func (client UsagesClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (UsagesClient) NewListRequest

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

Create the List request.

type UsagesListResult

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

The List Usages operation response.

type VirtualNetwork

type VirtualNetwork struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		AddressSpace struct {
			AddressPrefixes []string `json:"addressPrefixes,omitempty"`
		} `json:"addressSpace,omitempty"`
		DhcpOptions struct {
			DnsServers []string `json:"dnsServers,omitempty"`
		} `json:"dhcpOptions,omitempty"`
		Subnets           []Subnet `json:"subnets,omitempty"`
		ProvisioningState string   `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

Virtual Network resource

type VirtualNetworkGateway

type VirtualNetworkGateway struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		IpConfigurations  []VirtualNetworkGatewayIpConfiguration `json:"ipConfigurations,omitempty"`
		GatewayType       VirtualNetworkGatewayType              `json:"gatewayType,omitempty"`
		VpnType           VpnType                                `json:"vpnType,omitempty"`
		EnableBgp         bool                                   `json:"enableBgp,omitempty"`
		ProvisioningState string                                 `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

A common class for general resource information

type VirtualNetworkGatewayConnection

type VirtualNetworkGatewayConnection struct {
	autorest.Response `json:"-"`
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name,omitempty"`
	Type              string            `json:"type,omitempty"`
	Location          string            `json:"location,omitempty"`
	Tags              map[string]string `json:"tags,omitempty"`
	Properties        struct {
		VirtualNetworkGateway1 struct {
			Id         string            `json:"id,omitempty"`
			Name       string            `json:"name,omitempty"`
			Type       string            `json:"type,omitempty"`
			Location   string            `json:"location,omitempty"`
			Tags       map[string]string `json:"tags,omitempty"`
			Properties struct {
				IpConfigurations  []VirtualNetworkGatewayIpConfiguration `json:"ipConfigurations,omitempty"`
				GatewayType       VirtualNetworkGatewayType              `json:"gatewayType,omitempty"`
				VpnType           VpnType                                `json:"vpnType,omitempty"`
				EnableBgp         bool                                   `json:"enableBgp,omitempty"`
				ProvisioningState string                                 `json:"provisioningState,omitempty"`
			} `json:"properties,omitempty"`
			Etag string `json:"etag,omitempty"`
		} `json:"virtualNetworkGateway1,omitempty"`
		VirtualNetworkGateway2 struct {
			Id         string            `json:"id,omitempty"`
			Name       string            `json:"name,omitempty"`
			Type       string            `json:"type,omitempty"`
			Location   string            `json:"location,omitempty"`
			Tags       map[string]string `json:"tags,omitempty"`
			Properties struct {
				IpConfigurations  []VirtualNetworkGatewayIpConfiguration `json:"ipConfigurations,omitempty"`
				GatewayType       VirtualNetworkGatewayType              `json:"gatewayType,omitempty"`
				VpnType           VpnType                                `json:"vpnType,omitempty"`
				EnableBgp         bool                                   `json:"enableBgp,omitempty"`
				ProvisioningState string                                 `json:"provisioningState,omitempty"`
			} `json:"properties,omitempty"`
			Etag string `json:"etag,omitempty"`
		} `json:"virtualNetworkGateway2,omitempty"`
		LocalNetworkGateway2 struct {
			Id         string            `json:"id,omitempty"`
			Name       string            `json:"name,omitempty"`
			Type       string            `json:"type,omitempty"`
			Location   string            `json:"location,omitempty"`
			Tags       map[string]string `json:"tags,omitempty"`
			Properties struct {
				LocalNetworkAddressSpace struct {
					AddressPrefixes []string `json:"addressPrefixes,omitempty"`
				} `json:"localNetworkAddressSpace,omitempty"`
				GatewayIpAddress  string `json:"gatewayIpAddress,omitempty"`
				ProvisioningState string `json:"provisioningState,omitempty"`
			} `json:"properties,omitempty"`
			Etag string `json:"etag,omitempty"`
		} `json:"localNetworkGateway2,omitempty"`
		ConnectionType    VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"`
		RoutingWeight     int                                 `json:"routingWeight,omitempty"`
		SharedKey         string                              `json:"sharedKey,omitempty"`
		ProvisioningState string                              `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Etag string `json:"etag,omitempty"`
}

A common class for general resource information

type VirtualNetworkGatewayConnectionListResult

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

Response for ListVirtualNetworkGatewayConnections Api service call

type VirtualNetworkGatewayConnectionType

type VirtualNetworkGatewayConnectionType string
const (
	ExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
	IPsec        VirtualNetworkGatewayConnectionType = "IPsec"
	Vnet2Vnet    VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
	VPNClient    VirtualNetworkGatewayConnectionType = "VPNClient"
)

type VirtualNetworkGatewayConnectionsClient

type VirtualNetworkGatewayConnectionsClient struct {
	NetworkResourceProviderClient
}

VirtualNetworkGatewayConnections Client

func NewVirtualNetworkGatewayConnectionsClient

func NewVirtualNetworkGatewayConnectionsClient(subscriptionId string) VirtualNetworkGatewayConnectionsClient

func NewVirtualNetworkGatewayConnectionsClientWithBaseUri

func NewVirtualNetworkGatewayConnectionsClientWithBaseUri(baseUri string, subscriptionId string) VirtualNetworkGatewayConnectionsClient

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdate

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (result VirtualNetworkGatewayConnection, ae autorest.Error)

CreateOrUpdate the Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider.

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

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (VirtualNetworkGatewayConnectionsClient) Delete

func (client VirtualNetworkGatewayConnectionsClient) Delete(resourceGroupName string, virtualNetworkGatewayConnectionName string) (result autorest.Response, ae autorest.Error)

Delete the Delete VirtualNetworkGatewayConnection operation deletes the specifed virtual network Gateway connection through Network resource provider.

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

func (VirtualNetworkGatewayConnectionsClient) DeleteRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (VirtualNetworkGatewayConnectionsClient) Get

func (client VirtualNetworkGatewayConnectionsClient) Get(resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, ae autorest.Error)

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

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

func (VirtualNetworkGatewayConnectionsClient) GetRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string) (result ConnectionSharedKey, ae autorest.Error)

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

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

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the GetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) List

List the List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.

resourceGroupName is the name of the resource group.

func (VirtualNetworkGatewayConnectionsClient) ListRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (VirtualNetworkGatewayConnectionsClient) NewCreateOrUpdateRequest

func (client VirtualNetworkGatewayConnectionsClient) NewCreateOrUpdateRequest(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (*http.Request, error)

Create the CreateOrUpdate request.

func (VirtualNetworkGatewayConnectionsClient) NewDeleteRequest

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

Create the Delete request.

func (VirtualNetworkGatewayConnectionsClient) NewGetRequest

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

Create the Get request.

func (VirtualNetworkGatewayConnectionsClient) NewGetSharedKeyRequest

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

Create the GetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) NewListRequest

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

Create the List request.

func (VirtualNetworkGatewayConnectionsClient) NewResetSharedKeyRequest

func (client VirtualNetworkGatewayConnectionsClient) NewResetSharedKeyRequest(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (*http.Request, error)

Create the ResetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) NewSetSharedKeyRequest

func (client VirtualNetworkGatewayConnectionsClient) NewSetSharedKeyRequest(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (*http.Request, error)

Create the SetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (result ConnectionResetSharedKey, ae autorest.Error)

ResetSharedKey the VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection reset shared key Name. parameters is parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ResetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (result ConnectionSharedKey, ae autorest.Error)

SetSharedKey the Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection name. parameters is parameters supplied to the Begin Set Virtual Network Gateway conection Shared key operation throughNetwork resource provider.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyRequestPreparer

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the SetSharedKey request.

type VirtualNetworkGatewayIpConfiguration

type VirtualNetworkGatewayIpConfiguration struct {
	Id         string `json:"id,omitempty"`
	Properties struct {
		PrivateIPAddress          string             `json:"privateIPAddress,omitempty"`
		PrivateIPAllocationMethod IpAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
		Subnet                    struct {
			Id string `json:"id,omitempty"`
		} `json:"subnet,omitempty"`
		PublicIPAddress struct {
			Id string `json:"id,omitempty"`
		} `json:"publicIPAddress,omitempty"`
		ProvisioningState string `json:"provisioningState,omitempty"`
	} `json:"properties,omitempty"`
	Name string `json:"name,omitempty"`
	Etag string `json:"etag,omitempty"`
}

IpConfiguration for Virtual network gateway

type VirtualNetworkGatewayListResult

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

Response for ListVirtualNetworkGateways Api service call

type VirtualNetworkGatewayType

type VirtualNetworkGatewayType string
const (
	Vpn VirtualNetworkGatewayType = "Vpn"
)

type VirtualNetworkGatewaysClient

type VirtualNetworkGatewaysClient struct {
	NetworkResourceProviderClient
}

VirtualNetworkGateways Client

func NewVirtualNetworkGatewaysClient

func NewVirtualNetworkGatewaysClient(subscriptionId string) VirtualNetworkGatewaysClient

func NewVirtualNetworkGatewaysClientWithBaseUri

func NewVirtualNetworkGatewaysClientWithBaseUri(baseUri string, subscriptionId string) VirtualNetworkGatewaysClient

func (VirtualNetworkGatewaysClient) CreateOrUpdate

func (client VirtualNetworkGatewaysClient) CreateOrUpdate(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGateway, ae autorest.Error)

CreateOrUpdate the Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider.

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

func (VirtualNetworkGatewaysClient) CreateOrUpdateRequestPreparer

func (client VirtualNetworkGatewaysClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (VirtualNetworkGatewaysClient) Delete

func (client VirtualNetworkGatewaysClient) Delete(resourceGroupName string, virtualNetworkGatewayName string) (result autorest.Response, ae autorest.Error)

Delete the Delete VirtualNetworkGateway operation deletes the specifed virtual network Gateway through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) DeleteRequestPreparer

func (client VirtualNetworkGatewaysClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (VirtualNetworkGatewaysClient) Get

func (client VirtualNetworkGatewaysClient) Get(resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, ae autorest.Error)

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

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetRequestPreparer

func (client VirtualNetworkGatewaysClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (VirtualNetworkGatewaysClient) List

func (client VirtualNetworkGatewaysClient) List(resourceGroupName string) (result VirtualNetworkGatewayListResult, ae autorest.Error)

List the List VirtualNetworkGateways opertion retrieves all the virtual network gateways stored.

resourceGroupName is the name of the resource group.

func (VirtualNetworkGatewaysClient) ListRequestPreparer

func (client VirtualNetworkGatewaysClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (VirtualNetworkGatewaysClient) NewCreateOrUpdateRequest

func (client VirtualNetworkGatewaysClient) NewCreateOrUpdateRequest(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (*http.Request, error)

Create the CreateOrUpdate request.

func (VirtualNetworkGatewaysClient) NewDeleteRequest

func (client VirtualNetworkGatewaysClient) NewDeleteRequest(resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

Create the Delete request.

func (VirtualNetworkGatewaysClient) NewGetRequest

func (client VirtualNetworkGatewaysClient) NewGetRequest(resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

Create the Get request.

func (VirtualNetworkGatewaysClient) NewListRequest

func (client VirtualNetworkGatewaysClient) NewListRequest(resourceGroupName string) (*http.Request, error)

Create the List request.

func (VirtualNetworkGatewaysClient) NewResetRequest

func (client VirtualNetworkGatewaysClient) NewResetRequest(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (*http.Request, error)

Create the Reset request.

func (VirtualNetworkGatewaysClient) Reset

func (client VirtualNetworkGatewaysClient) Reset(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGateway, ae autorest.Error)

Reset the Reset VirtualNetworkGateway operation resets the primary of the virtual network gatewayin the specified resource group through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider.

func (VirtualNetworkGatewaysClient) ResetRequestPreparer

func (client VirtualNetworkGatewaysClient) ResetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Reset request.

type VirtualNetworkListResult

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

Response for ListVirtualNetworks Api servive call

type VirtualNetworksClient

type VirtualNetworksClient struct {
	NetworkResourceProviderClient
}

VirtualNetworks Client

func NewVirtualNetworksClient

func NewVirtualNetworksClient(subscriptionId string) VirtualNetworksClient

func NewVirtualNetworksClientWithBaseUri

func NewVirtualNetworksClientWithBaseUri(baseUri string, subscriptionId string) VirtualNetworksClient

func (VirtualNetworksClient) CreateOrUpdate

func (client VirtualNetworksClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (result VirtualNetwork, ae autorest.Error)

CreateOrUpdate the Put VirtualNetwork operation creates/updates a virtual network in the specified resource group.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. parameters is parameters supplied to the create/update Virtual Network operation

func (VirtualNetworksClient) CreateOrUpdateRequestPreparer

func (client VirtualNetworksClient) CreateOrUpdateRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the CreateOrUpdate request.

func (VirtualNetworksClient) Delete

func (client VirtualNetworksClient) Delete(resourceGroupName string, virtualNetworkName string) (result autorest.Response, ae autorest.Error)

Delete the Delete VirtualNetwork operation deletes the specifed virtual network

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

func (VirtualNetworksClient) DeleteRequestPreparer

func (client VirtualNetworksClient) DeleteRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Delete request.

func (VirtualNetworksClient) Get

func (client VirtualNetworksClient) Get(resourceGroupName string, virtualNetworkName string) (result VirtualNetwork, ae autorest.Error)

Get the Get VirtualNetwork operation retrieves information about the specified virtual network.

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

func (VirtualNetworksClient) GetRequestPreparer

func (client VirtualNetworksClient) GetRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the Get request.

func (VirtualNetworksClient) List

func (client VirtualNetworksClient) List(resourceGroupName string) (result VirtualNetworkListResult, ae autorest.Error)

List the list VirtualNetwork returns all Virtual Networks in a resource group

resourceGroupName is the name of the resource group.

func (VirtualNetworksClient) ListAll

func (client VirtualNetworksClient) ListAll() (result VirtualNetworkListResult, ae autorest.Error)

ListAll the list VirtualNetwork returns all Virtual Networks in a subscription

func (VirtualNetworksClient) ListAllRequestPreparer

func (client VirtualNetworksClient) ListAllRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the ListAll request.

func (VirtualNetworksClient) ListRequestPreparer

func (client VirtualNetworksClient) ListRequestPreparer() autorest.Preparer

Create a Preparer by which to prepare the List request.

func (VirtualNetworksClient) NewCreateOrUpdateRequest

func (client VirtualNetworksClient) NewCreateOrUpdateRequest(resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (*http.Request, error)

Create the CreateOrUpdate request.

func (VirtualNetworksClient) NewDeleteRequest

func (client VirtualNetworksClient) NewDeleteRequest(resourceGroupName string, virtualNetworkName string) (*http.Request, error)

Create the Delete request.

func (VirtualNetworksClient) NewGetRequest

func (client VirtualNetworksClient) NewGetRequest(resourceGroupName string, virtualNetworkName string) (*http.Request, error)

Create the Get request.

func (VirtualNetworksClient) NewListAllRequest

func (client VirtualNetworksClient) NewListAllRequest() (*http.Request, error)

Create the ListAll request.

func (VirtualNetworksClient) NewListRequest

func (client VirtualNetworksClient) NewListRequest(resourceGroupName string) (*http.Request, error)

Create the List request.

type VpnType

type VpnType string
const (
	PolicyBased VpnType = "PolicyBased"
	RouteBased  VpnType = "RouteBased"
)

Jump to

Keyboard shortcuts

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