Documentation ¶
Overview ¶
Package network implements the Azure ARM Network service API version 2016-03-30.
Network Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AddressSpace
- type ApplicationGateway
- type ApplicationGatewayBackendAddress
- type ApplicationGatewayBackendAddressPool
- type ApplicationGatewayBackendAddressPoolPropertiesFormat
- type ApplicationGatewayBackendHTTPSettings
- type ApplicationGatewayBackendHTTPSettingsPropertiesFormat
- type ApplicationGatewayCookieBasedAffinity
- type ApplicationGatewayFrontendIPConfiguration
- type ApplicationGatewayFrontendIPConfigurationPropertiesFormat
- type ApplicationGatewayFrontendPort
- type ApplicationGatewayFrontendPortPropertiesFormat
- type ApplicationGatewayHTTPListener
- type ApplicationGatewayHTTPListenerPropertiesFormat
- type ApplicationGatewayIPConfiguration
- type ApplicationGatewayIPConfigurationPropertiesFormat
- type ApplicationGatewayListResult
- type ApplicationGatewayListResultIterator
- func (iter *ApplicationGatewayListResultIterator) Next() error
- func (iter *ApplicationGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ApplicationGatewayListResultIterator) NotDone() bool
- func (iter ApplicationGatewayListResultIterator) Response() ApplicationGatewayListResult
- func (iter ApplicationGatewayListResultIterator) Value() ApplicationGateway
- type ApplicationGatewayListResultPage
- func (page *ApplicationGatewayListResultPage) Next() error
- func (page *ApplicationGatewayListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ApplicationGatewayListResultPage) NotDone() bool
- func (page ApplicationGatewayListResultPage) Response() ApplicationGatewayListResult
- func (page ApplicationGatewayListResultPage) Values() []ApplicationGateway
- type ApplicationGatewayOperationalState
- type ApplicationGatewayPathRule
- type ApplicationGatewayPathRulePropertiesFormat
- type ApplicationGatewayProbe
- type ApplicationGatewayProbePropertiesFormat
- type ApplicationGatewayPropertiesFormat
- type ApplicationGatewayProtocol
- type ApplicationGatewayRequestRoutingRule
- type ApplicationGatewayRequestRoutingRulePropertiesFormat
- type ApplicationGatewayRequestRoutingRuleType
- type ApplicationGatewaySku
- type ApplicationGatewaySkuName
- type ApplicationGatewaySslCertificate
- type ApplicationGatewaySslCertificatePropertiesFormat
- type ApplicationGatewayTier
- type ApplicationGatewayURLPathMap
- type ApplicationGatewayURLPathMapPropertiesFormat
- type ApplicationGatewaysClient
- func (client ApplicationGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGatewayName string, ...) (result ApplicationGatewaysCreateOrUpdateFuture, err error)
- func (client ApplicationGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, ...) (*http.Request, error)
- func (client ApplicationGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGateway, err error)
- func (client ApplicationGatewaysClient) CreateOrUpdateSender(req *http.Request) (future ApplicationGatewaysCreateOrUpdateFuture, err error)
- func (client ApplicationGatewaysClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysDeleteFuture, err error)
- func (client ApplicationGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
- func (client ApplicationGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationGatewaysClient) DeleteSender(req *http.Request) (future ApplicationGatewaysDeleteFuture, err error)
- func (client ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)
- func (client ApplicationGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
- func (client ApplicationGatewaysClient) GetResponder(resp *http.Response) (result ApplicationGateway, err error)
- func (client ApplicationGatewaysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGatewaysClient) List(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultPage, err error)
- func (client ApplicationGatewaysClient) ListAll(ctx context.Context) (result ApplicationGatewayListResultPage, err error)
- func (client ApplicationGatewaysClient) ListAllComplete(ctx context.Context) (result ApplicationGatewayListResultIterator, err error)
- func (client ApplicationGatewaysClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client ApplicationGatewaysClient) ListAllResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)
- func (client ApplicationGatewaysClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultIterator, err error)
- func (client ApplicationGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ApplicationGatewaysClient) ListResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)
- func (client ApplicationGatewaysClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ApplicationGatewaysClient) Start(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStartFuture, err error)
- func (client ApplicationGatewaysClient) StartPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
- func (client ApplicationGatewaysClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationGatewaysClient) StartSender(req *http.Request) (future ApplicationGatewaysStartFuture, err error)
- func (client ApplicationGatewaysClient) Stop(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStopFuture, err error)
- func (client ApplicationGatewaysClient) StopPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
- func (client ApplicationGatewaysClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationGatewaysClient) StopSender(req *http.Request) (future ApplicationGatewaysStopFuture, err error)
- type ApplicationGatewaysCreateOrUpdateFuture
- type ApplicationGatewaysDeleteFuture
- type ApplicationGatewaysStartFuture
- type ApplicationGatewaysStopFuture
- type AuthorizationListResult
- type AuthorizationListResultIterator
- func (iter *AuthorizationListResultIterator) Next() error
- func (iter *AuthorizationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AuthorizationListResultIterator) NotDone() bool
- func (iter AuthorizationListResultIterator) Response() AuthorizationListResult
- func (iter AuthorizationListResultIterator) Value() ExpressRouteCircuitAuthorization
- type AuthorizationListResultPage
- func (page *AuthorizationListResultPage) Next() error
- func (page *AuthorizationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page AuthorizationListResultPage) NotDone() bool
- func (page AuthorizationListResultPage) Response() AuthorizationListResult
- func (page AuthorizationListResultPage) Values() []ExpressRouteCircuitAuthorization
- type AuthorizationPropertiesFormat
- type AuthorizationUseStatus
- type AzureAsyncOperationResult
- type BackendAddressPool
- type BackendAddressPoolPropertiesFormat
- type BaseClient
- func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error)
- func (client BaseClient) CheckDNSNameAvailabilityPreparer(ctx context.Context, location string, domainNameLabel string) (*http.Request, error)
- func (client BaseClient) CheckDNSNameAvailabilityResponder(resp *http.Response) (result DNSNameAvailabilityResult, err error)
- func (client BaseClient) CheckDNSNameAvailabilitySender(req *http.Request) (*http.Response, error)
- type BgpSettings
- type ConnectionResetSharedKey
- type ConnectionSharedKey
- type ConnectionSharedKeyResult
- type DNSNameAvailabilityResult
- type DhcpOptions
- type Error
- type ErrorDetails
- type ExpressRouteCircuit
- type ExpressRouteCircuitArpTable
- type ExpressRouteCircuitAuthorization
- type ExpressRouteCircuitAuthorizationsClient
- func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitAuthorizationsDeleteFuture, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitAuthorizationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitAuthorizationsDeleteFuture, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitAuthorization, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitAuthorizationsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultPage, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultIterator, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
- func (client ExpressRouteCircuitAuthorizationsClient) ListResponder(resp *http.Response) (result AuthorizationListResult, err error)
- func (client ExpressRouteCircuitAuthorizationsClient) ListSender(req *http.Request) (*http.Response, error)
- type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture
- type ExpressRouteCircuitAuthorizationsDeleteFuture
- type ExpressRouteCircuitListResult
- type ExpressRouteCircuitListResultIterator
- func (iter *ExpressRouteCircuitListResultIterator) Next() error
- func (iter *ExpressRouteCircuitListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExpressRouteCircuitListResultIterator) NotDone() bool
- func (iter ExpressRouteCircuitListResultIterator) Response() ExpressRouteCircuitListResult
- func (iter ExpressRouteCircuitListResultIterator) Value() ExpressRouteCircuit
- type ExpressRouteCircuitListResultPage
- func (page *ExpressRouteCircuitListResultPage) Next() error
- func (page *ExpressRouteCircuitListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ExpressRouteCircuitListResultPage) NotDone() bool
- func (page ExpressRouteCircuitListResultPage) Response() ExpressRouteCircuitListResult
- func (page ExpressRouteCircuitListResultPage) Values() []ExpressRouteCircuit
- type ExpressRouteCircuitPeering
- type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
- type ExpressRouteCircuitPeeringConfig
- type ExpressRouteCircuitPeeringListResult
- type ExpressRouteCircuitPeeringListResultIterator
- func (iter *ExpressRouteCircuitPeeringListResultIterator) Next() error
- func (iter *ExpressRouteCircuitPeeringListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExpressRouteCircuitPeeringListResultIterator) NotDone() bool
- func (iter ExpressRouteCircuitPeeringListResultIterator) Response() ExpressRouteCircuitPeeringListResult
- func (iter ExpressRouteCircuitPeeringListResultIterator) Value() ExpressRouteCircuitPeering
- type ExpressRouteCircuitPeeringListResultPage
- func (page *ExpressRouteCircuitPeeringListResultPage) Next() error
- func (page *ExpressRouteCircuitPeeringListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ExpressRouteCircuitPeeringListResultPage) NotDone() bool
- func (page ExpressRouteCircuitPeeringListResultPage) Response() ExpressRouteCircuitPeeringListResult
- func (page ExpressRouteCircuitPeeringListResultPage) Values() []ExpressRouteCircuitPeering
- type ExpressRouteCircuitPeeringPropertiesFormat
- type ExpressRouteCircuitPeeringState
- type ExpressRouteCircuitPeeringType
- type ExpressRouteCircuitPeeringsClient
- func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)
- func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)
- func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)
- func (client ExpressRouteCircuitPeeringsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitPeeringsDeleteFuture, err error)
- func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitPeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ExpressRouteCircuitPeeringsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitPeeringsDeleteFuture, err error)
- func (client ExpressRouteCircuitPeeringsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitPeering, err error)
- func (client ExpressRouteCircuitPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)
- func (client ExpressRouteCircuitPeeringsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error)
- func (client ExpressRouteCircuitPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultIterator, err error)
- func (client ExpressRouteCircuitPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
- func (client ExpressRouteCircuitPeeringsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitPeeringListResult, err error)
- func (client ExpressRouteCircuitPeeringsClient) ListSender(req *http.Request) (*http.Response, error)
- type ExpressRouteCircuitPeeringsCreateOrUpdateFuture
- type ExpressRouteCircuitPeeringsDeleteFuture
- type ExpressRouteCircuitPropertiesFormat
- type ExpressRouteCircuitRoutesTable
- type ExpressRouteCircuitRoutesTableSummary
- type ExpressRouteCircuitServiceProviderProperties
- type ExpressRouteCircuitSku
- type ExpressRouteCircuitSkuFamily
- type ExpressRouteCircuitSkuTier
- type ExpressRouteCircuitStats
- type ExpressRouteCircuitsArpTableListResult
- type ExpressRouteCircuitsClient
- func (client ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitsCreateOrUpdateFuture, err error)
- func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
- func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitsCreateOrUpdateFuture, err error)
- func (client ExpressRouteCircuitsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error)
- func (client ExpressRouteCircuitsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitsDeleteFuture, err error)
- func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)
- func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitStats, err error)
- func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)
- func (client ExpressRouteCircuitsClient) GetPeeringStatsSender(req *http.Request) (*http.Response, error)
- func (client ExpressRouteCircuitsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
- func (client ExpressRouteCircuitsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)
- func (client ExpressRouteCircuitsClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)
- func (client ExpressRouteCircuitsClient) GetStatsSender(req *http.Request) (*http.Response, error)
- func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error)
- func (client ExpressRouteCircuitsClient) ListAll(ctx context.Context) (result ExpressRouteCircuitListResultPage, err error)
- func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (result ExpressRouteCircuitListResultIterator, err error)
- func (client ExpressRouteCircuitsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) ListAllResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)
- func (client ExpressRouteCircuitsClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client ExpressRouteCircuitsClient) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitsListArpTableFuture, err error)
- func (client ExpressRouteCircuitsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)
- func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (future ExpressRouteCircuitsListArpTableFuture, err error)
- func (client ExpressRouteCircuitsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultIterator, err error)
- func (client ExpressRouteCircuitsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)
- func (client ExpressRouteCircuitsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitsListRoutesTableFuture, err error)
- func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)
- func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableFuture, err error)
- func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, ...) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)
- func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, circuitName string, ...) (*http.Request, error)
- func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableSummaryListResult, err error)
- func (client ExpressRouteCircuitsClient) ListRoutesTableSummarySender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)
- func (client ExpressRouteCircuitsClient) ListSender(req *http.Request) (*http.Response, error)
- type ExpressRouteCircuitsCreateOrUpdateFuture
- type ExpressRouteCircuitsDeleteFuture
- type ExpressRouteCircuitsListArpTableFuture
- type ExpressRouteCircuitsListRoutesTableFuture
- type ExpressRouteCircuitsListRoutesTableSummaryFuture
- type ExpressRouteCircuitsRoutesTableListResult
- type ExpressRouteCircuitsRoutesTableSummaryListResult
- type ExpressRouteServiceProvider
- type ExpressRouteServiceProviderBandwidthsOffered
- type ExpressRouteServiceProviderListResult
- type ExpressRouteServiceProviderListResultIterator
- func (iter *ExpressRouteServiceProviderListResultIterator) Next() error
- func (iter *ExpressRouteServiceProviderListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExpressRouteServiceProviderListResultIterator) NotDone() bool
- func (iter ExpressRouteServiceProviderListResultIterator) Response() ExpressRouteServiceProviderListResult
- func (iter ExpressRouteServiceProviderListResultIterator) Value() ExpressRouteServiceProvider
- type ExpressRouteServiceProviderListResultPage
- func (page *ExpressRouteServiceProviderListResultPage) Next() error
- func (page *ExpressRouteServiceProviderListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ExpressRouteServiceProviderListResultPage) NotDone() bool
- func (page ExpressRouteServiceProviderListResultPage) Response() ExpressRouteServiceProviderListResult
- func (page ExpressRouteServiceProviderListResultPage) Values() []ExpressRouteServiceProvider
- type ExpressRouteServiceProviderPropertiesFormat
- type ExpressRouteServiceProvidersClient
- func (client ExpressRouteServiceProvidersClient) List(ctx context.Context) (result ExpressRouteServiceProviderListResultPage, err error)
- func (client ExpressRouteServiceProvidersClient) ListComplete(ctx context.Context) (result ExpressRouteServiceProviderListResultIterator, err error)
- func (client ExpressRouteServiceProvidersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ExpressRouteServiceProvidersClient) ListResponder(resp *http.Response) (result ExpressRouteServiceProviderListResult, err error)
- func (client ExpressRouteServiceProvidersClient) ListSender(req *http.Request) (*http.Response, error)
- type FrontendIPConfiguration
- type FrontendIPConfigurationPropertiesFormat
- type IPAllocationMethod
- type IPConfiguration
- type IPConfigurationPropertiesFormat
- type IPVersion
- type InboundNatPool
- type InboundNatPoolPropertiesFormat
- type InboundNatRule
- type InboundNatRulePropertiesFormat
- type Interface
- type InterfaceDNSSettings
- type InterfaceIPConfiguration
- type InterfaceIPConfigurationPropertiesFormat
- type InterfaceListResult
- type InterfaceListResultIterator
- func (iter *InterfaceListResultIterator) Next() error
- func (iter *InterfaceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter InterfaceListResultIterator) NotDone() bool
- func (iter InterfaceListResultIterator) Response() InterfaceListResult
- func (iter InterfaceListResultIterator) Value() Interface
- type InterfaceListResultPage
- func (page *InterfaceListResultPage) Next() error
- func (page *InterfaceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page InterfaceListResultPage) NotDone() bool
- func (page InterfaceListResultPage) Response() InterfaceListResult
- func (page InterfaceListResultPage) Values() []Interface
- type InterfacePropertiesFormat
- type InterfacesClient
- func (client InterfacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, ...) (result InterfacesCreateOrUpdateFuture, err error)
- func (client InterfacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, ...) (*http.Request, error)
- func (client InterfacesClient) CreateOrUpdateResponder(resp *http.Response) (result Interface, err error)
- func (client InterfacesClient) CreateOrUpdateSender(req *http.Request) (future InterfacesCreateOrUpdateFuture, err error)
- func (client InterfacesClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesDeleteFuture, err error)
- func (client InterfacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
- func (client InterfacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client InterfacesClient) DeleteSender(req *http.Request) (future InterfacesDeleteFuture, err error)
- func (client InterfacesClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, ...) (result Interface, err error)
- func (client InterfacesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, ...) (*http.Request, error)
- func (client InterfacesClient) GetResponder(resp *http.Response) (result Interface, err error)
- func (client InterfacesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, ...) (result Interface, err error)
- func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder(resp *http.Response) (result Interface, err error)
- func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender(req *http.Request) (*http.Response, error)
- func (client InterfacesClient) List(ctx context.Context, resourceGroupName string) (result InterfaceListResultPage, err error)
- func (client InterfacesClient) ListAll(ctx context.Context) (result InterfaceListResultPage, err error)
- func (client InterfacesClient) ListAllComplete(ctx context.Context) (result InterfaceListResultIterator, err error)
- func (client InterfacesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client InterfacesClient) ListAllResponder(resp *http.Response) (result InterfaceListResult, err error)
- func (client InterfacesClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client InterfacesClient) ListComplete(ctx context.Context, resourceGroupName string) (result InterfaceListResultIterator, err error)
- func (client InterfacesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client InterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)
- func (client InterfacesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, ...) (result InterfaceListResultPage, err error)
- func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, ...) (result InterfaceListResultIterator, err error)
- func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
- func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender(req *http.Request) (*http.Response, error)
- func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(ctx context.Context, resourceGroupName string, ...) (result InterfaceListResultPage, err error)
- func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, ...) (result InterfaceListResultIterator, err error)
- func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
- func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender(req *http.Request) (*http.Response, error)
- type InterfacesCreateOrUpdateFuture
- type InterfacesDeleteFuture
- type LoadBalancer
- type LoadBalancerListResult
- type LoadBalancerListResultIterator
- func (iter *LoadBalancerListResultIterator) Next() error
- func (iter *LoadBalancerListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LoadBalancerListResultIterator) NotDone() bool
- func (iter LoadBalancerListResultIterator) Response() LoadBalancerListResult
- func (iter LoadBalancerListResultIterator) Value() LoadBalancer
- type LoadBalancerListResultPage
- func (page *LoadBalancerListResultPage) Next() error
- func (page *LoadBalancerListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LoadBalancerListResultPage) NotDone() bool
- func (page LoadBalancerListResultPage) Response() LoadBalancerListResult
- func (page LoadBalancerListResultPage) Values() []LoadBalancer
- type LoadBalancerPropertiesFormat
- type LoadBalancersClient
- func (client LoadBalancersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, ...) (result LoadBalancersCreateOrUpdateFuture, err error)
- func (client LoadBalancersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, ...) (*http.Request, error)
- func (client LoadBalancersClient) CreateOrUpdateResponder(resp *http.Response) (result LoadBalancer, err error)
- func (client LoadBalancersClient) CreateOrUpdateSender(req *http.Request) (future LoadBalancersCreateOrUpdateFuture, err error)
- func (client LoadBalancersClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancersDeleteFuture, err error)
- func (client LoadBalancersClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
- func (client LoadBalancersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LoadBalancersClient) DeleteSender(req *http.Request) (future LoadBalancersDeleteFuture, err error)
- func (client LoadBalancersClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, ...) (result LoadBalancer, err error)
- func (client LoadBalancersClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, ...) (*http.Request, error)
- func (client LoadBalancersClient) GetResponder(resp *http.Response) (result LoadBalancer, err error)
- func (client LoadBalancersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LoadBalancersClient) List(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultPage, err error)
- func (client LoadBalancersClient) ListAll(ctx context.Context) (result LoadBalancerListResultPage, err error)
- func (client LoadBalancersClient) ListAllComplete(ctx context.Context) (result LoadBalancerListResultIterator, err error)
- func (client LoadBalancersClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client LoadBalancersClient) ListAllResponder(resp *http.Response) (result LoadBalancerListResult, err error)
- func (client LoadBalancersClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client LoadBalancersClient) ListComplete(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultIterator, err error)
- func (client LoadBalancersClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client LoadBalancersClient) ListResponder(resp *http.Response) (result LoadBalancerListResult, err error)
- func (client LoadBalancersClient) ListSender(req *http.Request) (*http.Response, error)
- type LoadBalancersCreateOrUpdateFuture
- type LoadBalancersDeleteFuture
- type LoadBalancingRule
- type LoadBalancingRulePropertiesFormat
- type LoadDistribution
- type LocalNetworkGateway
- type LocalNetworkGatewayListResult
- type LocalNetworkGatewayListResultIterator
- func (iter *LocalNetworkGatewayListResultIterator) Next() error
- func (iter *LocalNetworkGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LocalNetworkGatewayListResultIterator) NotDone() bool
- func (iter LocalNetworkGatewayListResultIterator) Response() LocalNetworkGatewayListResult
- func (iter LocalNetworkGatewayListResultIterator) Value() LocalNetworkGateway
- type LocalNetworkGatewayListResultPage
- func (page *LocalNetworkGatewayListResultPage) Next() error
- func (page *LocalNetworkGatewayListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LocalNetworkGatewayListResultPage) NotDone() bool
- func (page LocalNetworkGatewayListResultPage) Response() LocalNetworkGatewayListResult
- func (page LocalNetworkGatewayListResultPage) Values() []LocalNetworkGateway
- type LocalNetworkGatewayPropertiesFormat
- type LocalNetworkGatewaysClient
- func (client LocalNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, ...) (result LocalNetworkGatewaysCreateOrUpdateFuture, err error)
- func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, ...) (*http.Request, error)
- func (client LocalNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result LocalNetworkGateway, err error)
- func (client LocalNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (future LocalNetworkGatewaysCreateOrUpdateFuture, err error)
- func (client LocalNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGatewaysDeleteFuture, err error)
- func (client LocalNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)
- func (client LocalNetworkGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LocalNetworkGatewaysClient) DeleteSender(req *http.Request) (future LocalNetworkGatewaysDeleteFuture, err error)
- func (client LocalNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, err error)
- func (client LocalNetworkGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)
- func (client LocalNetworkGatewaysClient) GetResponder(resp *http.Response) (result LocalNetworkGateway, err error)
- func (client LocalNetworkGatewaysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LocalNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultPage, err error)
- func (client LocalNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultIterator, err error)
- func (client LocalNetworkGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client LocalNetworkGatewaysClient) ListResponder(resp *http.Response) (result LocalNetworkGatewayListResult, err error)
- func (client LocalNetworkGatewaysClient) ListSender(req *http.Request) (*http.Response, error)
- type LocalNetworkGatewaysCreateOrUpdateFuture
- type LocalNetworkGatewaysDeleteFuture
- type OperationStatus
- type OutboundNatRule
- type OutboundNatRulePropertiesFormat
- type Probe
- type ProbePropertiesFormat
- type ProbeProtocol
- type ProcessorArchitecture
- type PublicIPAddress
- type PublicIPAddressDNSSettings
- type PublicIPAddressListResult
- type PublicIPAddressListResultIterator
- func (iter *PublicIPAddressListResultIterator) Next() error
- func (iter *PublicIPAddressListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PublicIPAddressListResultIterator) NotDone() bool
- func (iter PublicIPAddressListResultIterator) Response() PublicIPAddressListResult
- func (iter PublicIPAddressListResultIterator) Value() PublicIPAddress
- type PublicIPAddressListResultPage
- func (page *PublicIPAddressListResultPage) Next() error
- func (page *PublicIPAddressListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PublicIPAddressListResultPage) NotDone() bool
- func (page PublicIPAddressListResultPage) Response() PublicIPAddressListResult
- func (page PublicIPAddressListResultPage) Values() []PublicIPAddress
- type PublicIPAddressPropertiesFormat
- type PublicIPAddressesClient
- func (client PublicIPAddressesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, ...) (result PublicIPAddressesCreateOrUpdateFuture, err error)
- func (client PublicIPAddressesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, ...) (*http.Request, error)
- func (client PublicIPAddressesClient) CreateOrUpdateResponder(resp *http.Response) (result PublicIPAddress, err error)
- func (client PublicIPAddressesClient) CreateOrUpdateSender(req *http.Request) (future PublicIPAddressesCreateOrUpdateFuture, err error)
- func (client PublicIPAddressesClient) Delete(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result PublicIPAddressesDeleteFuture, err error)
- func (client PublicIPAddressesClient) DeletePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string) (*http.Request, error)
- func (client PublicIPAddressesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PublicIPAddressesClient) DeleteSender(req *http.Request) (future PublicIPAddressesDeleteFuture, err error)
- func (client PublicIPAddressesClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, ...) (result PublicIPAddress, err error)
- func (client PublicIPAddressesClient) GetPreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, ...) (*http.Request, error)
- func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result PublicIPAddress, err error)
- func (client PublicIPAddressesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PublicIPAddressesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultPage, err error)
- func (client PublicIPAddressesClient) ListAll(ctx context.Context) (result PublicIPAddressListResultPage, err error)
- func (client PublicIPAddressesClient) ListAllComplete(ctx context.Context) (result PublicIPAddressListResultIterator, err error)
- func (client PublicIPAddressesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client PublicIPAddressesClient) ListAllResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
- func (client PublicIPAddressesClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client PublicIPAddressesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultIterator, err error)
- func (client PublicIPAddressesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PublicIPAddressesClient) ListResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
- func (client PublicIPAddressesClient) ListSender(req *http.Request) (*http.Response, error)
- type PublicIPAddressesCreateOrUpdateFuture
- type PublicIPAddressesDeleteFuture
- type Resource
- type Route
- type RouteListResult
- type RouteListResultIterator
- type RouteListResultPage
- type RouteNextHopType
- type RoutePropertiesFormat
- type RouteTable
- type RouteTableListResult
- type RouteTableListResultIterator
- func (iter *RouteTableListResultIterator) Next() error
- func (iter *RouteTableListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RouteTableListResultIterator) NotDone() bool
- func (iter RouteTableListResultIterator) Response() RouteTableListResult
- func (iter RouteTableListResultIterator) Value() RouteTable
- type RouteTableListResultPage
- func (page *RouteTableListResultPage) Next() error
- func (page *RouteTableListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RouteTableListResultPage) NotDone() bool
- func (page RouteTableListResultPage) Response() RouteTableListResult
- func (page RouteTableListResultPage) Values() []RouteTable
- type RouteTablePropertiesFormat
- type RouteTablesClient
- func (client RouteTablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, ...) (result RouteTablesCreateOrUpdateFuture, err error)
- func (client RouteTablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, ...) (*http.Request, error)
- func (client RouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (result RouteTable, err error)
- func (client RouteTablesClient) CreateOrUpdateSender(req *http.Request) (future RouteTablesCreateOrUpdateFuture, err error)
- func (client RouteTablesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteTablesDeleteFuture, err error)
- func (client RouteTablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*http.Request, error)
- func (client RouteTablesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RouteTablesClient) DeleteSender(req *http.Request) (future RouteTablesDeleteFuture, err error)
- func (client RouteTablesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, ...) (result RouteTable, err error)
- func (client RouteTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeTableName string, ...) (*http.Request, error)
- func (client RouteTablesClient) GetResponder(resp *http.Response) (result RouteTable, err error)
- func (client RouteTablesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RouteTablesClient) List(ctx context.Context, resourceGroupName string) (result RouteTableListResultPage, err error)
- func (client RouteTablesClient) ListAll(ctx context.Context) (result RouteTableListResultPage, err error)
- func (client RouteTablesClient) ListAllComplete(ctx context.Context) (result RouteTableListResultIterator, err error)
- func (client RouteTablesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client RouteTablesClient) ListAllResponder(resp *http.Response) (result RouteTableListResult, err error)
- func (client RouteTablesClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client RouteTablesClient) ListComplete(ctx context.Context, resourceGroupName string) (result RouteTableListResultIterator, err error)
- func (client RouteTablesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client RouteTablesClient) ListResponder(resp *http.Response) (result RouteTableListResult, err error)
- func (client RouteTablesClient) ListSender(req *http.Request) (*http.Response, error)
- type RouteTablesCreateOrUpdateFuture
- type RouteTablesDeleteFuture
- type RoutesClient
- func (client RoutesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, ...) (result RoutesCreateOrUpdateFuture, err error)
- func (client RoutesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, ...) (*http.Request, error)
- func (client RoutesClient) CreateOrUpdateResponder(resp *http.Response) (result Route, err error)
- func (client RoutesClient) CreateOrUpdateSender(req *http.Request) (future RoutesCreateOrUpdateFuture, err error)
- func (client RoutesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string, ...) (result RoutesDeleteFuture, err error)
- func (client RoutesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string, ...) (*http.Request, error)
- func (client RoutesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RoutesClient) DeleteSender(req *http.Request) (future RoutesDeleteFuture, err error)
- func (client RoutesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, ...) (result Route, err error)
- func (client RoutesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeTableName string, ...) (*http.Request, error)
- func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err error)
- func (client RoutesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RoutesClient) List(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultPage, err error)
- func (client RoutesClient) ListComplete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultIterator, err error)
- func (client RoutesClient) ListPreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*http.Request, error)
- func (client RoutesClient) ListResponder(resp *http.Response) (result RouteListResult, err error)
- func (client RoutesClient) ListSender(req *http.Request) (*http.Response, error)
- type RoutesCreateOrUpdateFuture
- type RoutesDeleteFuture
- type SecurityGroup
- type SecurityGroupListResult
- type SecurityGroupListResultIterator
- func (iter *SecurityGroupListResultIterator) Next() error
- func (iter *SecurityGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SecurityGroupListResultIterator) NotDone() bool
- func (iter SecurityGroupListResultIterator) Response() SecurityGroupListResult
- func (iter SecurityGroupListResultIterator) Value() SecurityGroup
- type SecurityGroupListResultPage
- func (page *SecurityGroupListResultPage) Next() error
- func (page *SecurityGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SecurityGroupListResultPage) NotDone() bool
- func (page SecurityGroupListResultPage) Response() SecurityGroupListResult
- func (page SecurityGroupListResultPage) Values() []SecurityGroup
- type SecurityGroupPropertiesFormat
- type SecurityGroupsClient
- func (client SecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (result SecurityGroupsCreateOrUpdateFuture, err error)
- func (client SecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (*http.Request, error)
- func (client SecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityGroup, err error)
- func (client SecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (future SecurityGroupsCreateOrUpdateFuture, err error)
- func (client SecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityGroupsDeleteFuture, err error)
- func (client SecurityGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
- func (client SecurityGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SecurityGroupsClient) DeleteSender(req *http.Request) (future SecurityGroupsDeleteFuture, err error)
- func (client SecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (result SecurityGroup, err error)
- func (client SecurityGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (*http.Request, error)
- func (client SecurityGroupsClient) GetResponder(resp *http.Response) (result SecurityGroup, err error)
- func (client SecurityGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultPage, err error)
- func (client SecurityGroupsClient) ListAll(ctx context.Context) (result SecurityGroupListResultPage, err error)
- func (client SecurityGroupsClient) ListAllComplete(ctx context.Context) (result SecurityGroupListResultIterator, err error)
- func (client SecurityGroupsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client SecurityGroupsClient) ListAllResponder(resp *http.Response) (result SecurityGroupListResult, err error)
- func (client SecurityGroupsClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client SecurityGroupsClient) ListComplete(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultIterator, err error)
- func (client SecurityGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client SecurityGroupsClient) ListResponder(resp *http.Response) (result SecurityGroupListResult, err error)
- func (client SecurityGroupsClient) ListSender(req *http.Request) (*http.Response, error)
- type SecurityGroupsCreateOrUpdateFuture
- type SecurityGroupsDeleteFuture
- type SecurityRule
- type SecurityRuleAccess
- type SecurityRuleDirection
- type SecurityRuleListResult
- type SecurityRuleListResultIterator
- func (iter *SecurityRuleListResultIterator) Next() error
- func (iter *SecurityRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SecurityRuleListResultIterator) NotDone() bool
- func (iter SecurityRuleListResultIterator) Response() SecurityRuleListResult
- func (iter SecurityRuleListResultIterator) Value() SecurityRule
- type SecurityRuleListResultPage
- func (page *SecurityRuleListResultPage) Next() error
- func (page *SecurityRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SecurityRuleListResultPage) NotDone() bool
- func (page SecurityRuleListResultPage) Response() SecurityRuleListResult
- func (page SecurityRuleListResultPage) Values() []SecurityRule
- type SecurityRulePropertiesFormat
- type SecurityRuleProtocol
- type SecurityRulesClient
- func (client SecurityRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (result SecurityRulesCreateOrUpdateFuture, err error)
- func (client SecurityRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (*http.Request, error)
- func (client SecurityRulesClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityRule, err error)
- func (client SecurityRulesClient) CreateOrUpdateSender(req *http.Request) (future SecurityRulesCreateOrUpdateFuture, err error)
- func (client SecurityRulesClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (result SecurityRulesDeleteFuture, err error)
- func (client SecurityRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (*http.Request, error)
- func (client SecurityRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SecurityRulesClient) DeleteSender(req *http.Request) (future SecurityRulesDeleteFuture, err error)
- func (client SecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (result SecurityRule, err error)
- func (client SecurityRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, ...) (*http.Request, error)
- func (client SecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)
- func (client SecurityRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)
- func (client SecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)
- func (client SecurityRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
- func (client SecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)
- func (client SecurityRulesClient) ListSender(req *http.Request) (*http.Response, error)
- type SecurityRulesCreateOrUpdateFuture
- type SecurityRulesDeleteFuture
- type ServiceProviderProvisioningState
- type String
- type SubResource
- type Subnet
- type SubnetListResult
- type SubnetListResultIterator
- func (iter *SubnetListResultIterator) Next() error
- func (iter *SubnetListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SubnetListResultIterator) NotDone() bool
- func (iter SubnetListResultIterator) Response() SubnetListResult
- func (iter SubnetListResultIterator) Value() Subnet
- type SubnetListResultPage
- type SubnetPropertiesFormat
- type SubnetsClient
- func (client SubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result SubnetsCreateOrUpdateFuture, err error)
- func (client SubnetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (*http.Request, error)
- func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result Subnet, err error)
- func (client SubnetsClient) CreateOrUpdateSender(req *http.Request) (future SubnetsCreateOrUpdateFuture, err error)
- func (client SubnetsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result SubnetsDeleteFuture, err error)
- func (client SubnetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (*http.Request, error)
- func (client SubnetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SubnetsClient) DeleteSender(req *http.Request) (future SubnetsDeleteFuture, err error)
- func (client SubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result Subnet, err error)
- func (client SubnetsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (*http.Request, error)
- func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, err error)
- func (client SubnetsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SubnetsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultPage, err error)
- func (client SubnetsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultIterator, err error)
- func (client SubnetsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
- func (client SubnetsClient) ListResponder(resp *http.Response) (result SubnetListResult, err error)
- func (client SubnetsClient) ListSender(req *http.Request) (*http.Response, error)
- type SubnetsCreateOrUpdateFuture
- type SubnetsDeleteFuture
- type TransportProtocol
- type Usage
- type UsageName
- type UsagesClient
- func (client UsagesClient) List(ctx context.Context, location string) (result UsagesListResult, err error)
- func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client UsagesClient) ListResponder(resp *http.Response) (result UsagesListResult, err error)
- func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error)
- type UsagesListResult
- type VirtualNetwork
- type VirtualNetworkGateway
- type VirtualNetworkGatewayConnection
- type VirtualNetworkGatewayConnectionListResult
- type VirtualNetworkGatewayConnectionListResultIterator
- func (iter *VirtualNetworkGatewayConnectionListResultIterator) Next() error
- func (iter *VirtualNetworkGatewayConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkGatewayConnectionListResultIterator) NotDone() bool
- func (iter VirtualNetworkGatewayConnectionListResultIterator) Response() VirtualNetworkGatewayConnectionListResult
- func (iter VirtualNetworkGatewayConnectionListResultIterator) Value() VirtualNetworkGatewayConnection
- type VirtualNetworkGatewayConnectionListResultPage
- func (page *VirtualNetworkGatewayConnectionListResultPage) Next() error
- func (page *VirtualNetworkGatewayConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkGatewayConnectionListResultPage) NotDone() bool
- func (page VirtualNetworkGatewayConnectionListResultPage) Response() VirtualNetworkGatewayConnectionListResult
- func (page VirtualNetworkGatewayConnectionListResultPage) Values() []VirtualNetworkGatewayConnection
- type VirtualNetworkGatewayConnectionPropertiesFormat
- type VirtualNetworkGatewayConnectionStatus
- type VirtualNetworkGatewayConnectionType
- type VirtualNetworkGatewayConnectionsClient
- func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
- func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) Delete(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewayConnectionsDeleteFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkGatewayConnectionsClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewayConnectionsDeleteFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) Get(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewayConnection, err error)
- func (client VirtualNetworkGatewayConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) GetResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
- func (client VirtualNetworkGatewayConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(ctx context.Context, resourceGroupName string, connectionSharedKeyName string) (result ConnectionSharedKeyResult, err error)
- func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer(ctx context.Context, resourceGroupName string, connectionSharedKeyName string) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKeyResult, err error)
- func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeySender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkGatewayConnectionsClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultPage, err error)
- func (client VirtualNetworkGatewayConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultIterator, err error)
- func (client VirtualNetworkGatewayConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayConnectionListResult, err error)
- func (client VirtualNetworkGatewayConnectionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder(resp *http.Response) (result ConnectionResetSharedKey, err error)
- func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender(req *http.Request) (future VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error)
- func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKey, err error)
- func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeySender(req *http.Request) (future VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error)
- type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture
- type VirtualNetworkGatewayConnectionsDeleteFuture
- type VirtualNetworkGatewayConnectionsResetSharedKeyFuture
- type VirtualNetworkGatewayConnectionsSetSharedKeyFuture
- type VirtualNetworkGatewayIPConfiguration
- type VirtualNetworkGatewayIPConfigurationPropertiesFormat
- type VirtualNetworkGatewayListResult
- type VirtualNetworkGatewayListResultIterator
- func (iter *VirtualNetworkGatewayListResultIterator) Next() error
- func (iter *VirtualNetworkGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkGatewayListResultIterator) NotDone() bool
- func (iter VirtualNetworkGatewayListResultIterator) Response() VirtualNetworkGatewayListResult
- func (iter VirtualNetworkGatewayListResultIterator) Value() VirtualNetworkGateway
- type VirtualNetworkGatewayListResultPage
- func (page *VirtualNetworkGatewayListResultPage) Next() error
- func (page *VirtualNetworkGatewayListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkGatewayListResultPage) NotDone() bool
- func (page VirtualNetworkGatewayListResultPage) Response() VirtualNetworkGatewayListResult
- func (page VirtualNetworkGatewayListResultPage) Values() []VirtualNetworkGateway
- type VirtualNetworkGatewayPropertiesFormat
- type VirtualNetworkGatewaySku
- type VirtualNetworkGatewaySkuName
- type VirtualNetworkGatewaySkuTier
- type VirtualNetworkGatewayType
- type VirtualNetworkGatewaysClient
- func (client VirtualNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewaysCreateOrUpdateFuture, err error)
- func (client VirtualNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
- func (client VirtualNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewaysCreateOrUpdateFuture, err error)
- func (client VirtualNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewaysDeleteFuture, err error)
- func (client VirtualNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkGatewaysClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewaysDeleteFuture, err error)
- func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(ctx context.Context, resourceGroupName string, ...) (result String, err error)
- func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder(resp *http.Response) (result String, err error)
- func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGateway, err error)
- func (client VirtualNetworkGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
- func (client VirtualNetworkGatewaysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultPage, err error)
- func (client VirtualNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultIterator, err error)
- func (client VirtualNetworkGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client VirtualNetworkGatewaysClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayListResult, err error)
- func (client VirtualNetworkGatewaysClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkGatewaysClient) Reset(ctx context.Context, resourceGroupName string, ...) (result VirtualNetworkGatewaysResetFuture, err error)
- func (client VirtualNetworkGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client VirtualNetworkGatewaysClient) ResetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
- func (client VirtualNetworkGatewaysClient) ResetSender(req *http.Request) (future VirtualNetworkGatewaysResetFuture, err error)
- type VirtualNetworkGatewaysCreateOrUpdateFuture
- type VirtualNetworkGatewaysDeleteFuture
- type VirtualNetworkGatewaysResetFuture
- type VirtualNetworkListResult
- type VirtualNetworkListResultIterator
- func (iter *VirtualNetworkListResultIterator) Next() error
- func (iter *VirtualNetworkListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkListResultIterator) NotDone() bool
- func (iter VirtualNetworkListResultIterator) Response() VirtualNetworkListResult
- func (iter VirtualNetworkListResultIterator) Value() VirtualNetwork
- type VirtualNetworkListResultPage
- func (page *VirtualNetworkListResultPage) Next() error
- func (page *VirtualNetworkListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkListResultPage) NotDone() bool
- func (page VirtualNetworkListResultPage) Response() VirtualNetworkListResult
- func (page VirtualNetworkListResultPage) Values() []VirtualNetwork
- type VirtualNetworkPropertiesFormat
- type VirtualNetworksClient
- func (client VirtualNetworksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result VirtualNetworksCreateOrUpdateFuture, err error)
- func (client VirtualNetworksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (*http.Request, error)
- func (client VirtualNetworksClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetwork, err error)
- func (client VirtualNetworksClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworksCreateOrUpdateFuture, err error)
- func (client VirtualNetworksClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworksDeleteFuture, err error)
- func (client VirtualNetworksClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
- func (client VirtualNetworksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworksClient) DeleteSender(req *http.Request) (future VirtualNetworksDeleteFuture, err error)
- func (client VirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result VirtualNetwork, err error)
- func (client VirtualNetworksClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (*http.Request, error)
- func (client VirtualNetworksClient) GetResponder(resp *http.Response) (result VirtualNetwork, err error)
- func (client VirtualNetworksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworksClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultPage, err error)
- func (client VirtualNetworksClient) ListAll(ctx context.Context) (result VirtualNetworkListResultPage, err error)
- func (client VirtualNetworksClient) ListAllComplete(ctx context.Context) (result VirtualNetworkListResultIterator, err error)
- func (client VirtualNetworksClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
- func (client VirtualNetworksClient) ListAllResponder(resp *http.Response) (result VirtualNetworkListResult, err error)
- func (client VirtualNetworksClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworksClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultIterator, err error)
- func (client VirtualNetworksClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client VirtualNetworksClient) ListResponder(resp *http.Response) (result VirtualNetworkListResult, err error)
- func (client VirtualNetworksClient) ListSender(req *http.Request) (*http.Response, error)
- type VirtualNetworksCreateOrUpdateFuture
- type VirtualNetworksDeleteFuture
- type VpnClientConfiguration
- type VpnClientParameters
- type VpnClientRevokedCertificate
- type VpnClientRevokedCertificatePropertiesFormat
- type VpnClientRootCertificate
- type VpnClientRootCertificatePropertiesFormat
- type VpnType
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Network
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AddressSpace ¶
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 ¶
type ApplicationGateway struct { autorest.Response `json:"-"` *ApplicationGatewayPropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - 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 ¶
func (ag ApplicationGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGateway.
func (*ApplicationGateway) UnmarshalJSON ¶
func (ag *ApplicationGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGateway struct.
type ApplicationGatewayBackendAddress ¶
type ApplicationGatewayBackendAddress struct { // Fqdn - Gets or sets the dns name Fqdn *string `json:"fqdn,omitempty"` // IPAddress - Gets or sets the ip address IPAddress *string `json:"ipAddress,omitempty"` }
ApplicationGatewayBackendAddress backend Address of application gateway
type ApplicationGatewayBackendAddressPool ¶
type ApplicationGatewayBackendAddressPool struct { *ApplicationGatewayBackendAddressPoolPropertiesFormat `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"` }
ApplicationGatewayBackendAddressPool backend Address Pool of application gateway
func (ApplicationGatewayBackendAddressPool) MarshalJSON ¶
func (agbap ApplicationGatewayBackendAddressPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendAddressPool.
func (*ApplicationGatewayBackendAddressPool) UnmarshalJSON ¶
func (agbap *ApplicationGatewayBackendAddressPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendAddressPool struct.
type ApplicationGatewayBackendAddressPoolPropertiesFormat ¶
type ApplicationGatewayBackendAddressPoolPropertiesFormat struct { // BackendIPConfigurations - Gets collection of references to IPs defined in NICs BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` // BackendAddresses - Gets or sets the backend addresses BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayBackendHTTPSettings struct { *ApplicationGatewayBackendHTTPSettingsPropertiesFormat `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"` }
ApplicationGatewayBackendHTTPSettings backend address pool settings of application gateway
func (ApplicationGatewayBackendHTTPSettings) MarshalJSON ¶
func (agbhs ApplicationGatewayBackendHTTPSettings) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettings.
func (*ApplicationGatewayBackendHTTPSettings) UnmarshalJSON ¶
func (agbhs *ApplicationGatewayBackendHTTPSettings) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendHTTPSettings struct.
type ApplicationGatewayBackendHTTPSettingsPropertiesFormat ¶
type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct { // Port - Gets or sets the port Port *int32 `json:"port,omitempty"` // Protocol - Gets or sets the protocol. Possible values include: 'HTTP', 'HTTPS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // CookieBasedAffinity - Gets or sets the cookie affinity. Possible values include: 'Enabled', 'Disabled' CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"` // RequestTimeout - Gets or sets request timeout RequestTimeout *int32 `json:"requestTimeout,omitempty"` // Probe - Gets or sets probe resource of application gateway Probe *SubResource `json:"probe,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayCookieBasedAffinity string
ApplicationGatewayCookieBasedAffinity enumerates the values for application gateway cookie based affinity.
const ( // Disabled ... Disabled ApplicationGatewayCookieBasedAffinity = "Disabled" // Enabled ... Enabled ApplicationGatewayCookieBasedAffinity = "Enabled" )
func PossibleApplicationGatewayCookieBasedAffinityValues ¶
func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity
PossibleApplicationGatewayCookieBasedAffinityValues returns an array of possible values for the ApplicationGatewayCookieBasedAffinity const type.
type ApplicationGatewayFrontendIPConfiguration ¶
type ApplicationGatewayFrontendIPConfiguration struct { *ApplicationGatewayFrontendIPConfigurationPropertiesFormat `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"` }
ApplicationGatewayFrontendIPConfiguration frontend IP configuration of application gateway
func (ApplicationGatewayFrontendIPConfiguration) MarshalJSON ¶
func (agfic ApplicationGatewayFrontendIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfiguration.
func (*ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON ¶
func (agfic *ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendIPConfiguration struct.
type ApplicationGatewayFrontendIPConfigurationPropertiesFormat ¶
type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct { // PrivateIPAddress - Gets or sets the privateIPAddress of the Network Interface IP Configuration PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - Gets or sets PrivateIP allocation method (Static/Dynamic). Possible values include: 'Static', 'Dynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - Gets or sets the reference of the subnet resource Subnet *SubResource `json:"subnet,omitempty"` // PublicIPAddress - Gets or sets the reference of the PublicIP resource PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayFrontendPort struct { *ApplicationGatewayFrontendPortPropertiesFormat `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"` }
ApplicationGatewayFrontendPort frontend Port of application gateway
func (ApplicationGatewayFrontendPort) MarshalJSON ¶
func (agfp ApplicationGatewayFrontendPort) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayFrontendPort.
func (*ApplicationGatewayFrontendPort) UnmarshalJSON ¶
func (agfp *ApplicationGatewayFrontendPort) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendPort struct.
type ApplicationGatewayFrontendPortPropertiesFormat ¶
type ApplicationGatewayFrontendPortPropertiesFormat struct { // Port - Gets or sets the frontend port Port *int32 `json:"port,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayHTTPListener struct { *ApplicationGatewayHTTPListenerPropertiesFormat `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"` }
ApplicationGatewayHTTPListener http listener of application gateway
func (ApplicationGatewayHTTPListener) MarshalJSON ¶
func (aghl ApplicationGatewayHTTPListener) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListener.
func (*ApplicationGatewayHTTPListener) UnmarshalJSON ¶
func (aghl *ApplicationGatewayHTTPListener) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayHTTPListener struct.
type ApplicationGatewayHTTPListenerPropertiesFormat ¶
type ApplicationGatewayHTTPListenerPropertiesFormat struct { // FrontendIPConfiguration - Gets or sets frontend IP configuration resource of application gateway FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // FrontendPort - Gets or sets frontend port resource of application gateway FrontendPort *SubResource `json:"frontendPort,omitempty"` // Protocol - Gets or sets the protocol. Possible values include: 'HTTP', 'HTTPS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // HostName - Gets or sets the host name of http listener HostName *string `json:"hostName,omitempty"` // SslCertificate - Gets or sets ssl certificate resource of application gateway SslCertificate *SubResource `json:"sslCertificate,omitempty"` // RequireServerNameIndication - Gets or sets the requireServerNameIndication of http listener RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayIPConfiguration struct { *ApplicationGatewayIPConfigurationPropertiesFormat `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"` }
ApplicationGatewayIPConfiguration IP configuration of application gateway
func (ApplicationGatewayIPConfiguration) MarshalJSON ¶
func (agic ApplicationGatewayIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayIPConfiguration.
func (*ApplicationGatewayIPConfiguration) UnmarshalJSON ¶
func (agic *ApplicationGatewayIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayIPConfiguration struct.
type ApplicationGatewayIPConfigurationPropertiesFormat ¶
type ApplicationGatewayIPConfigurationPropertiesFormat struct { // Subnet - Gets or sets the reference of the subnet resource.A subnet from where appliation gateway gets its private address Subnet *SubResource `json:"subnet,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayListResult struct { autorest.Response `json:"-"` // Value - Gets a list of ApplicationGateways in a resource group Value *[]ApplicationGateway `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ApplicationGatewayListResult response for ListLoadBalancers Api service call
func (ApplicationGatewayListResult) IsEmpty ¶
func (aglr ApplicationGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ApplicationGatewayListResultIterator ¶
type ApplicationGatewayListResultIterator struct {
// contains filtered or unexported fields
}
ApplicationGatewayListResultIterator provides access to a complete listing of ApplicationGateway values.
func NewApplicationGatewayListResultIterator ¶
func NewApplicationGatewayListResultIterator(page ApplicationGatewayListResultPage) ApplicationGatewayListResultIterator
Creates a new instance of the ApplicationGatewayListResultIterator type.
func (*ApplicationGatewayListResultIterator) Next ¶
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 ¶
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 ¶
func (iter ApplicationGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ApplicationGatewayListResultIterator) Response ¶
func (iter ApplicationGatewayListResultIterator) Response() ApplicationGatewayListResult
Response returns the raw server response from the last page request.
func (ApplicationGatewayListResultIterator) Value ¶
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 ¶
type ApplicationGatewayListResultPage struct {
// contains filtered or unexported fields
}
ApplicationGatewayListResultPage contains a page of ApplicationGateway values.
func NewApplicationGatewayListResultPage ¶
func NewApplicationGatewayListResultPage(getNextPage func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error)) ApplicationGatewayListResultPage
Creates a new instance of the ApplicationGatewayListResultPage type.
func (*ApplicationGatewayListResultPage) Next ¶
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 ¶
func (page *ApplicationGatewayListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ApplicationGatewayListResultPage) NotDone ¶
func (page ApplicationGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ApplicationGatewayListResultPage) Response ¶
func (page ApplicationGatewayListResultPage) Response() ApplicationGatewayListResult
Response returns the raw server response from the last page request.
func (ApplicationGatewayListResultPage) Values ¶
func (page ApplicationGatewayListResultPage) Values() []ApplicationGateway
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationGatewayOperationalState ¶
type ApplicationGatewayOperationalState string
ApplicationGatewayOperationalState enumerates the values for application gateway operational state.
const ( // Running ... Running ApplicationGatewayOperationalState = "Running" // Starting ... Starting ApplicationGatewayOperationalState = "Starting" // Stopped ... Stopped ApplicationGatewayOperationalState = "Stopped" // Stopping ... Stopping ApplicationGatewayOperationalState = "Stopping" )
func PossibleApplicationGatewayOperationalStateValues ¶
func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState
PossibleApplicationGatewayOperationalStateValues returns an array of possible values for the ApplicationGatewayOperationalState const type.
type ApplicationGatewayPathRule ¶
type ApplicationGatewayPathRule struct { *ApplicationGatewayPathRulePropertiesFormat `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"` }
ApplicationGatewayPathRule path rule of URL path map of application gateway
func (ApplicationGatewayPathRule) MarshalJSON ¶
func (agpr ApplicationGatewayPathRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayPathRule.
func (*ApplicationGatewayPathRule) UnmarshalJSON ¶
func (agpr *ApplicationGatewayPathRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPathRule struct.
type ApplicationGatewayPathRulePropertiesFormat ¶
type ApplicationGatewayPathRulePropertiesFormat struct { // Paths - Gets or sets the path rules of URL path map Paths *[]string `json:"paths,omitempty"` // BackendAddressPool - Gets or sets backend address pool resource of URL path map BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendHTTPSettings - Gets or sets backend http settings resource of URL path map BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` // ProvisioningState - Gets or sets path rule of URL path map resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ApplicationGatewayPathRulePropertiesFormat properties of probe of application gateway
type ApplicationGatewayProbe ¶
type ApplicationGatewayProbe struct { *ApplicationGatewayProbePropertiesFormat `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"` }
ApplicationGatewayProbe probe of application gateway
func (ApplicationGatewayProbe) MarshalJSON ¶
func (agp ApplicationGatewayProbe) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayProbe.
func (*ApplicationGatewayProbe) UnmarshalJSON ¶
func (agp *ApplicationGatewayProbe) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayProbe struct.
type ApplicationGatewayProbePropertiesFormat ¶
type ApplicationGatewayProbePropertiesFormat struct { // Protocol - Gets or sets the protocol. Possible values include: 'HTTP', 'HTTPS' Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"` // Host - Gets or sets the host to send probe to Host *string `json:"host,omitempty"` // Path - Gets or sets the relative path of probe Path *string `json:"path,omitempty"` // Interval - Gets or sets probing interval in seconds Interval *int32 `json:"interval,omitempty"` // Timeout - Gets or sets probing timeout in seconds Timeout *int32 `json:"timeout,omitempty"` // UnhealthyThreshold - Gets or sets probing unhealthy threshold UnhealthyThreshold *int32 `json:"unhealthyThreshold,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayPropertiesFormat struct { // Sku - Gets or sets sku of application gateway resource Sku *ApplicationGatewaySku `json:"sku,omitempty"` // OperationalState - Gets operational state of application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping' OperationalState ApplicationGatewayOperationalState `json:"operationalState,omitempty"` // GatewayIPConfigurations - Gets or sets subnets of application gateway resource GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"` // SslCertificates - Gets or sets ssl certificates of application gateway resource SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"` // FrontendIPConfigurations - Gets or sets frontend IP addresses of application gateway resource FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"` // FrontendPorts - Gets or sets frontend ports of application gateway resource FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"` // Probes - Gets or sets probes of application gateway resource Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"` // BackendAddressPools - Gets or sets backend address pool of application gateway resource BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"` // BackendHTTPSettingsCollection - Gets or sets backend http settings of application gateway resource BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"` // HTTPListeners - Gets or sets HTTP listeners of application gateway resource HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"` // URLPathMaps - Gets or sets URL path map of application gateway resource URLPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"` // RequestRoutingRules - Gets or sets request routing rules of application gateway resource RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"` // ResourceGUID - Gets or sets resource guid property of the ApplicationGateway resource ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the ApplicationGateway resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ApplicationGatewayPropertiesFormat properties of Application Gateway
type ApplicationGatewayProtocol ¶
type ApplicationGatewayProtocol string
ApplicationGatewayProtocol enumerates the values for application gateway protocol.
const ( // HTTP ... HTTP ApplicationGatewayProtocol = "Http" // HTTPS ... HTTPS ApplicationGatewayProtocol = "Https" )
func PossibleApplicationGatewayProtocolValues ¶
func PossibleApplicationGatewayProtocolValues() []ApplicationGatewayProtocol
PossibleApplicationGatewayProtocolValues returns an array of possible values for the ApplicationGatewayProtocol const type.
type ApplicationGatewayRequestRoutingRule ¶
type ApplicationGatewayRequestRoutingRule struct { *ApplicationGatewayRequestRoutingRulePropertiesFormat `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"` }
ApplicationGatewayRequestRoutingRule request routing rule of application gateway
func (ApplicationGatewayRequestRoutingRule) MarshalJSON ¶
func (agrrr ApplicationGatewayRequestRoutingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRule.
func (*ApplicationGatewayRequestRoutingRule) UnmarshalJSON ¶
func (agrrr *ApplicationGatewayRequestRoutingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRequestRoutingRule struct.
type ApplicationGatewayRequestRoutingRulePropertiesFormat ¶
type ApplicationGatewayRequestRoutingRulePropertiesFormat struct { // RuleType - Gets or sets the rule type. Possible values include: 'Basic', 'PathBasedRouting' RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"` // BackendAddressPool - Gets or sets backend address pool resource of application gateway BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"` // BackendHTTPSettings - Gets or sets frontend port resource of application gateway BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"` // HTTPListener - Gets or sets http listener resource of application gateway HTTPListener *SubResource `json:"httpListener,omitempty"` // URLPathMap - Gets or sets url path map resource of application gateway URLPathMap *SubResource `json:"urlPathMap,omitempty"` // ProvisioningState - Gets or sets 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 ¶
type ApplicationGatewayRequestRoutingRuleType string
ApplicationGatewayRequestRoutingRuleType enumerates the values for application gateway request routing rule type.
const ( // Basic ... Basic ApplicationGatewayRequestRoutingRuleType = "Basic" // PathBasedRouting ... PathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting" )
func PossibleApplicationGatewayRequestRoutingRuleTypeValues ¶
func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType
PossibleApplicationGatewayRequestRoutingRuleTypeValues returns an array of possible values for the ApplicationGatewayRequestRoutingRuleType const type.
type ApplicationGatewaySku ¶
type ApplicationGatewaySku struct { // Name - Gets or sets name of application gateway SKU. Possible values include: 'StandardSmall', 'StandardMedium', 'StandardLarge' Name ApplicationGatewaySkuName `json:"name,omitempty"` // Tier - Gets or sets tier of application gateway. Possible values include: 'Standard' Tier ApplicationGatewayTier `json:"tier,omitempty"` // Capacity - Gets or sets capacity (instance count) of application gateway Capacity *int32 `json:"capacity,omitempty"` }
ApplicationGatewaySku SKU of application gateway
type ApplicationGatewaySkuName ¶
type ApplicationGatewaySkuName string
ApplicationGatewaySkuName enumerates the values for application gateway sku name.
const ( // StandardLarge ... StandardLarge ApplicationGatewaySkuName = "Standard_Large" // StandardMedium ... StandardMedium ApplicationGatewaySkuName = "Standard_Medium" // StandardSmall ... StandardSmall ApplicationGatewaySkuName = "Standard_Small" )
func PossibleApplicationGatewaySkuNameValues ¶
func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName
PossibleApplicationGatewaySkuNameValues returns an array of possible values for the ApplicationGatewaySkuName const type.
type ApplicationGatewaySslCertificate ¶
type ApplicationGatewaySslCertificate struct { *ApplicationGatewaySslCertificatePropertiesFormat `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"` }
ApplicationGatewaySslCertificate SSL certificates of application gateway
func (ApplicationGatewaySslCertificate) MarshalJSON ¶
func (agsc ApplicationGatewaySslCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewaySslCertificate.
func (*ApplicationGatewaySslCertificate) UnmarshalJSON ¶
func (agsc *ApplicationGatewaySslCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslCertificate struct.
type ApplicationGatewaySslCertificatePropertiesFormat ¶
type ApplicationGatewaySslCertificatePropertiesFormat struct { // Data - Gets or sets the certificate data Data *string `json:"data,omitempty"` // Password - Gets or sets the certificate password Password *string `json:"password,omitempty"` // PublicCertData - Gets or sets the certificate public data PublicCertData *string `json:"publicCertData,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the ssl certificate resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of application gateway
type ApplicationGatewayTier ¶
type ApplicationGatewayTier string
ApplicationGatewayTier enumerates the values for application gateway tier.
const ( // Standard ... Standard ApplicationGatewayTier = "Standard" )
func PossibleApplicationGatewayTierValues ¶
func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier
PossibleApplicationGatewayTierValues returns an array of possible values for the ApplicationGatewayTier const type.
type ApplicationGatewayURLPathMap ¶
type ApplicationGatewayURLPathMap struct { *ApplicationGatewayURLPathMapPropertiesFormat `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"` }
ApplicationGatewayURLPathMap urlPathMap of application gateway
func (ApplicationGatewayURLPathMap) MarshalJSON ¶
func (agupm ApplicationGatewayURLPathMap) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMap.
func (*ApplicationGatewayURLPathMap) UnmarshalJSON ¶
func (agupm *ApplicationGatewayURLPathMap) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayURLPathMap struct.
type ApplicationGatewayURLPathMapPropertiesFormat ¶
type ApplicationGatewayURLPathMapPropertiesFormat struct { // DefaultBackendAddressPool - Gets or sets default backend address pool resource of URL path map DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"` // DefaultBackendHTTPSettings - Gets or sets default backend http settings resource of URL path map DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"` // PathRules - Gets or sets path rule of URL path map resource PathRules *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the backend http settings resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ApplicationGatewayURLPathMapPropertiesFormat properties of probe of application gateway
type ApplicationGatewaysClient ¶
type ApplicationGatewaysClient struct {
BaseClient
}
ApplicationGatewaysClient is the network Client
func NewApplicationGatewaysClient ¶
func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient
NewApplicationGatewaysClient creates an instance of the ApplicationGatewaysClient client.
func NewApplicationGatewaysClientWithBaseURI ¶
func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient
NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client.
func (ApplicationGatewaysClient) CreateOrUpdate ¶
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 ¶
func (client ApplicationGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ApplicationGatewaysClient) CreateOrUpdateResponder ¶
func (client ApplicationGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) CreateOrUpdateSender ¶
func (client ApplicationGatewaysClient) CreateOrUpdateSender(req *http.Request) (future ApplicationGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ApplicationGatewaysClient) Delete ¶
func (client ApplicationGatewaysClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysDeleteFuture, err error)
Delete the delete applicationgateway operation deletes the specified applicationgateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the applicationgateway.
func (ApplicationGatewaysClient) DeletePreparer ¶
func (client ApplicationGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationGatewaysClient) DeleteResponder ¶
func (client ApplicationGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) DeleteSender ¶
func (client ApplicationGatewaysClient) DeleteSender(req *http.Request) (future ApplicationGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationGatewaysClient) Get ¶
func (client ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)
Get the Get applicationgateway operation retreives information about the specified applicationgateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the applicationgateway.
func (ApplicationGatewaysClient) GetPreparer ¶
func (client ApplicationGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationGatewaysClient) GetResponder ¶
func (client ApplicationGatewaysClient) GetResponder(resp *http.Response) (result ApplicationGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationGatewaysClient) List ¶
func (client ApplicationGatewaysClient) List(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultPage, err error)
List the List ApplicationGateway opertion retrieves all the applicationgateways in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (ApplicationGatewaysClient) ListAll ¶
func (client ApplicationGatewaysClient) ListAll(ctx context.Context) (result ApplicationGatewayListResultPage, err error)
ListAll the List applicationgateway opertion retrieves all the applicationgateways in a subscription.
func (ApplicationGatewaysClient) ListAllComplete ¶
func (client ApplicationGatewaysClient) ListAllComplete(ctx context.Context) (result ApplicationGatewayListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationGatewaysClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (ApplicationGatewaysClient) ListAllResponder ¶
func (client ApplicationGatewaysClient) ListAllResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (ApplicationGatewaysClient) ListComplete ¶
func (client ApplicationGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationGatewaysClient) ListPreparer ¶
func (client ApplicationGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ApplicationGatewaysClient) ListResponder ¶
func (client ApplicationGatewaysClient) ListResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ApplicationGatewaysClient) Start ¶
func (client ApplicationGatewaysClient) Start(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStartFuture, err error)
Start the Start ApplicationGateway operation starts application gatewayin 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 ¶
func (client ApplicationGatewaysClient) StartPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (ApplicationGatewaysClient) StartResponder ¶
func (client ApplicationGatewaysClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) StartSender ¶
func (client ApplicationGatewaysClient) StartSender(req *http.Request) (future ApplicationGatewaysStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (ApplicationGatewaysClient) Stop ¶
func (client ApplicationGatewaysClient) Stop(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStopFuture, err error)
Stop the STOP ApplicationGateway operation stops application gatewayin 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 ¶
func (client ApplicationGatewaysClient) StopPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*http.Request, error)
StopPreparer prepares the Stop request.
func (ApplicationGatewaysClient) StopResponder ¶
func (client ApplicationGatewaysClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
StopResponder handles the response to the Stop request. The method always closes the http.Response Body.
func (ApplicationGatewaysClient) StopSender ¶
func (client ApplicationGatewaysClient) StopSender(req *http.Request) (future ApplicationGatewaysStopFuture, err error)
StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.
type ApplicationGatewaysCreateOrUpdateFuture ¶
ApplicationGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationGatewaysCreateOrUpdateFuture) Result ¶
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 ¶
ApplicationGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationGatewaysDeleteFuture) Result ¶
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 ¶
ApplicationGatewaysStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationGatewaysStartFuture) Result ¶
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 ¶
ApplicationGatewaysStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationGatewaysStopFuture) Result ¶
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 ¶
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 ¶
func (alr AuthorizationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AuthorizationListResultIterator ¶
type AuthorizationListResultIterator struct {
// contains filtered or unexported fields
}
AuthorizationListResultIterator provides access to a complete listing of ExpressRouteCircuitAuthorization values.
func NewAuthorizationListResultIterator ¶
func NewAuthorizationListResultIterator(page AuthorizationListResultPage) AuthorizationListResultIterator
Creates a new instance of the AuthorizationListResultIterator type.
func (*AuthorizationListResultIterator) Next ¶
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 ¶
func (iter *AuthorizationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AuthorizationListResultIterator) NotDone ¶
func (iter AuthorizationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AuthorizationListResultIterator) Response ¶
func (iter AuthorizationListResultIterator) Response() AuthorizationListResult
Response returns the raw server response from the last page request.
func (AuthorizationListResultIterator) Value ¶
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 ¶
type AuthorizationListResultPage struct {
// contains filtered or unexported fields
}
AuthorizationListResultPage contains a page of ExpressRouteCircuitAuthorization values.
func NewAuthorizationListResultPage ¶
func NewAuthorizationListResultPage(getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage
Creates a new instance of the AuthorizationListResultPage type.
func (*AuthorizationListResultPage) Next ¶
func (page *AuthorizationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AuthorizationListResultPage) NextWithContext ¶
func (page *AuthorizationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AuthorizationListResultPage) NotDone ¶
func (page AuthorizationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AuthorizationListResultPage) Response ¶
func (page AuthorizationListResultPage) Response() AuthorizationListResult
Response returns the raw server response from the last page request.
func (AuthorizationListResultPage) Values ¶
func (page AuthorizationListResultPage) Values() []ExpressRouteCircuitAuthorization
Values returns the slice of values for the current page or nil if there are no values.
type AuthorizationPropertiesFormat ¶
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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
AuthorizationPropertiesFormat ...
type AuthorizationUseStatus ¶
type AuthorizationUseStatus string
AuthorizationUseStatus enumerates the values for authorization use status.
const ( // Available ... Available AuthorizationUseStatus = "Available" // InUse ... InUse AuthorizationUseStatus = "InUse" )
func PossibleAuthorizationUseStatusValues ¶
func PossibleAuthorizationUseStatusValues() []AuthorizationUseStatus
PossibleAuthorizationUseStatusValues returns an array of possible values for the AuthorizationUseStatus const type.
type AzureAsyncOperationResult ¶
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 inprogress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.
type BackendAddressPool ¶
type BackendAddressPool struct { *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 addresseses
func (BackendAddressPool) MarshalJSON ¶
func (bap BackendAddressPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackendAddressPool.
func (*BackendAddressPool) UnmarshalJSON ¶
func (bap *BackendAddressPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackendAddressPool struct.
type BackendAddressPoolPropertiesFormat ¶
type BackendAddressPoolPropertiesFormat struct { // BackendIPConfigurations - Gets collection of references to IPs defined in NICs BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"` // LoadBalancingRules - Gets Load Balancing rules that use this Backend Address Pool LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"` // OutboundNatRule - Gets outbound rules that use this Backend Address Pool OutboundNatRule *SubResource `json:"outboundNatRule,omitempty"` // ProvisioningState - Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
BackendAddressPoolPropertiesFormat properties of BackendAddressPool
type BaseClient ¶
BaseClient is the base client for Network.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
func (BaseClient) CheckDNSNameAvailability ¶
func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error)
CheckDNSNameAvailability checks whether a domain name in the cloudapp.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 ¶
func (client BaseClient) CheckDNSNameAvailabilityPreparer(ctx context.Context, location string, domainNameLabel string) (*http.Request, error)
CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request.
func (BaseClient) CheckDNSNameAvailabilityResponder ¶
func (client BaseClient) CheckDNSNameAvailabilityResponder(resp *http.Response) (result DNSNameAvailabilityResult, err error)
CheckDNSNameAvailabilityResponder handles the response to the CheckDNSNameAvailability request. The method always closes the http.Response Body.
func (BaseClient) CheckDNSNameAvailabilitySender ¶
CheckDNSNameAvailabilitySender sends the CheckDNSNameAvailability request. The method will close the http.Response Body if it receives an error.
type BgpSettings ¶
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 ¶
type ConnectionResetSharedKey struct { int64 `json:"keyLength,omitempty"` }KeyLength *
ConnectionResetSharedKey ...
type ConnectionSharedKey ¶
type ConnectionSharedKey struct { string `json:"value,omitempty"` }Value *
ConnectionSharedKey response for GetConnectionSharedKey Api servive call
type ConnectionSharedKeyResult ¶
type ConnectionSharedKeyResult struct { string `json:"value,omitempty"` }Value *
ConnectionSharedKeyResult response for CheckConnectionSharedKey Api servive call
type DNSNameAvailabilityResult ¶
type DNSNameAvailabilityResult struct { autorest.Response `json:"-"` // Available - Domain availability (True/False) Available *bool `json:"available,omitempty"` }
DNSNameAvailabilityResult response for CheckDnsNameAvailability Api servive call
type DhcpOptions ¶
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 Error ¶
type Error struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` Details *[]ErrorDetails `json:"details,omitempty"` InnerError *string `json:"innerError,omitempty"` }
Error ...
type ErrorDetails ¶
type ErrorDetails struct { Code *string `json:"code,omitempty"` Target *string `json:"target,omitempty"` Message *string `json:"message,omitempty"` }
ErrorDetails ...
type ExpressRouteCircuit ¶
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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ExpressRouteCircuit expressRouteCircuit resource
func (ExpressRouteCircuit) MarshalJSON ¶
func (erc ExpressRouteCircuit) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuit.
func (*ExpressRouteCircuit) UnmarshalJSON ¶
func (erc *ExpressRouteCircuit) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuit struct.
type ExpressRouteCircuitArpTable ¶
type ExpressRouteCircuitArpTable struct { // Age - 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 ¶
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 ¶
func (erca ExpressRouteCircuitAuthorization) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitAuthorization.
func (*ExpressRouteCircuitAuthorization) UnmarshalJSON ¶
func (erca *ExpressRouteCircuitAuthorization) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitAuthorization struct.
type ExpressRouteCircuitAuthorizationsClient ¶
type ExpressRouteCircuitAuthorizationsClient struct {
BaseClient
}
ExpressRouteCircuitAuthorizationsClient is the network Client
func NewExpressRouteCircuitAuthorizationsClient ¶
func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient
NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI ¶
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient
NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client.
func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate ¶
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 thespecified 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 ¶
func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder ¶
func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender ¶
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 ¶
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 ¶
func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ExpressRouteCircuitAuthorizationsClient) DeleteResponder ¶
func (client ExpressRouteCircuitAuthorizationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ExpressRouteCircuitAuthorizationsClient) DeleteSender ¶
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 ¶
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 ¶
func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExpressRouteCircuitAuthorizationsClient) GetResponder ¶
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 ¶
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 ¶
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 curcuit.
func (ExpressRouteCircuitAuthorizationsClient) ListComplete ¶
func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ExpressRouteCircuitAuthorizationsClient) ListPreparer ¶
func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ExpressRouteCircuitAuthorizationsClient) ListResponder ¶
func (client ExpressRouteCircuitAuthorizationsClient) ListResponder(resp *http.Response) (result AuthorizationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ExpressRouteCircuitAuthorizationsClient) ListSender ¶
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 ¶
ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) Result ¶
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 ¶
ExpressRouteCircuitAuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitAuthorizationsDeleteFuture) Result ¶
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 ¶
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 ¶
func (erclr ExpressRouteCircuitListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ExpressRouteCircuitListResultIterator ¶
type ExpressRouteCircuitListResultIterator struct {
// contains filtered or unexported fields
}
ExpressRouteCircuitListResultIterator provides access to a complete listing of ExpressRouteCircuit values.
func NewExpressRouteCircuitListResultIterator ¶
func NewExpressRouteCircuitListResultIterator(page ExpressRouteCircuitListResultPage) ExpressRouteCircuitListResultIterator
Creates a new instance of the ExpressRouteCircuitListResultIterator type.
func (*ExpressRouteCircuitListResultIterator) Next ¶
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 ¶
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 ¶
func (iter ExpressRouteCircuitListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExpressRouteCircuitListResultIterator) Response ¶
func (iter ExpressRouteCircuitListResultIterator) Response() ExpressRouteCircuitListResult
Response returns the raw server response from the last page request.
func (ExpressRouteCircuitListResultIterator) Value ¶
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 ¶
type ExpressRouteCircuitListResultPage struct {
// contains filtered or unexported fields
}
ExpressRouteCircuitListResultPage contains a page of ExpressRouteCircuit values.
func NewExpressRouteCircuitListResultPage ¶
func NewExpressRouteCircuitListResultPage(getNextPage func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error)) ExpressRouteCircuitListResultPage
Creates a new instance of the ExpressRouteCircuitListResultPage type.
func (*ExpressRouteCircuitListResultPage) Next ¶
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 ¶
func (page *ExpressRouteCircuitListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ExpressRouteCircuitListResultPage) NotDone ¶
func (page ExpressRouteCircuitListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExpressRouteCircuitListResultPage) Response ¶
func (page ExpressRouteCircuitListResultPage) Response() ExpressRouteCircuitListResult
Response returns the raw server response from the last page request.
func (ExpressRouteCircuitListResultPage) Values ¶
func (page ExpressRouteCircuitListResultPage) Values() []ExpressRouteCircuit
Values returns the slice of values for the current page or nil if there are no values.
type ExpressRouteCircuitPeering ¶
type ExpressRouteCircuitPeering struct { autorest.Response `json:"-"` *ExpressRouteCircuitPeeringPropertiesFormat `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 ¶
func (ercp ExpressRouteCircuitPeering) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteCircuitPeering.
func (*ExpressRouteCircuitPeering) UnmarshalJSON ¶
func (ercp *ExpressRouteCircuitPeering) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitPeering struct.
type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState ¶
type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string
ExpressRouteCircuitPeeringAdvertisedPublicPrefixState enumerates the values for express route circuit peering advertised public prefix state.
const ( // Configured ... Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured" // Configuring ... Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring" // NotConfigured ... NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured" // ValidationNeeded ... ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded" )
func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues ¶
func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues returns an array of possible values for the ExpressRouteCircuitPeeringAdvertisedPublicPrefixState const type.
type ExpressRouteCircuitPeeringConfig ¶
type ExpressRouteCircuitPeeringConfig struct { // AdvertisedPublicPrefixes - 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 specfies the peering config
type ExpressRouteCircuitPeeringListResult ¶
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 ¶
func (ercplr ExpressRouteCircuitPeeringListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ExpressRouteCircuitPeeringListResultIterator ¶
type ExpressRouteCircuitPeeringListResultIterator struct {
// contains filtered or unexported fields
}
ExpressRouteCircuitPeeringListResultIterator provides access to a complete listing of ExpressRouteCircuitPeering values.
func NewExpressRouteCircuitPeeringListResultIterator ¶
func NewExpressRouteCircuitPeeringListResultIterator(page ExpressRouteCircuitPeeringListResultPage) ExpressRouteCircuitPeeringListResultIterator
Creates a new instance of the ExpressRouteCircuitPeeringListResultIterator type.
func (*ExpressRouteCircuitPeeringListResultIterator) Next ¶
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 ¶
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 ¶
func (iter ExpressRouteCircuitPeeringListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExpressRouteCircuitPeeringListResultIterator) Response ¶
func (iter ExpressRouteCircuitPeeringListResultIterator) Response() ExpressRouteCircuitPeeringListResult
Response returns the raw server response from the last page request.
func (ExpressRouteCircuitPeeringListResultIterator) Value ¶
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 ¶
type ExpressRouteCircuitPeeringListResultPage struct {
// contains filtered or unexported fields
}
ExpressRouteCircuitPeeringListResultPage contains a page of ExpressRouteCircuitPeering values.
func NewExpressRouteCircuitPeeringListResultPage ¶
func NewExpressRouteCircuitPeeringListResultPage(getNextPage func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error)) ExpressRouteCircuitPeeringListResultPage
Creates a new instance of the ExpressRouteCircuitPeeringListResultPage type.
func (*ExpressRouteCircuitPeeringListResultPage) Next ¶
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 ¶
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 ¶
func (page ExpressRouteCircuitPeeringListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExpressRouteCircuitPeeringListResultPage) Response ¶
func (page ExpressRouteCircuitPeeringListResultPage) Response() ExpressRouteCircuitPeeringListResult
Response returns the raw server response from the last page request.
func (ExpressRouteCircuitPeeringListResultPage) Values ¶
func (page ExpressRouteCircuitPeeringListResultPage) Values() []ExpressRouteCircuitPeering
Values returns the slice of values for the current page or nil if there are no values.
type ExpressRouteCircuitPeeringPropertiesFormat ¶
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 *string `json:"sharedKey,omitempty"` // VlanID - Gets or sets the vlan id VlanID *int32 `json:"vlanId,omitempty"` // MicrosoftPeeringConfig - Gets or sets the mircosoft peering config MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"` // Stats - Gets or peering stats Stats *ExpressRouteCircuitStats `json:"stats,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ExpressRouteCircuitPeeringPropertiesFormat ...
type ExpressRouteCircuitPeeringState ¶
type ExpressRouteCircuitPeeringState string
ExpressRouteCircuitPeeringState enumerates the values for express route circuit peering state.
const ( // ExpressRouteCircuitPeeringStateDisabled ... ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled" // ExpressRouteCircuitPeeringStateEnabled ... ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled" )
func PossibleExpressRouteCircuitPeeringStateValues ¶
func PossibleExpressRouteCircuitPeeringStateValues() []ExpressRouteCircuitPeeringState
PossibleExpressRouteCircuitPeeringStateValues returns an array of possible values for the ExpressRouteCircuitPeeringState const type.
type ExpressRouteCircuitPeeringType ¶
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 ¶
func PossibleExpressRouteCircuitPeeringTypeValues() []ExpressRouteCircuitPeeringType
PossibleExpressRouteCircuitPeeringTypeValues returns an array of possible values for the ExpressRouteCircuitPeeringType const type.
type ExpressRouteCircuitPeeringsClient ¶
type ExpressRouteCircuitPeeringsClient struct {
BaseClient
}
ExpressRouteCircuitPeeringsClient is the network Client
func NewExpressRouteCircuitPeeringsClient ¶
func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient
NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.
func NewExpressRouteCircuitPeeringsClientWithBaseURI ¶
func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient
NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client.
func (ExpressRouteCircuitPeeringsClient) CreateOrUpdate ¶
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)
CreateOrUpdate the Put Pering 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 ¶
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder ¶
func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender ¶
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 ¶
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 ¶
func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ExpressRouteCircuitPeeringsClient) DeleteResponder ¶
func (client ExpressRouteCircuitPeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ExpressRouteCircuitPeeringsClient) DeleteSender ¶
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 ¶
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 ¶
func (client ExpressRouteCircuitPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExpressRouteCircuitPeeringsClient) GetResponder ¶
func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ExpressRouteCircuitPeeringsClient) GetSender ¶
func (client ExpressRouteCircuitPeeringsClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitPeeringsClient) List ¶
func (client ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error)
List the List peering operation retrieves all the peerings in an ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the curcuit.
func (ExpressRouteCircuitPeeringsClient) ListComplete ¶
func (client ExpressRouteCircuitPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ExpressRouteCircuitPeeringsClient) ListPreparer ¶
func (client ExpressRouteCircuitPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ExpressRouteCircuitPeeringsClient) ListResponder ¶
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 ¶
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 ¶
ExpressRouteCircuitPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitPeeringsCreateOrUpdateFuture) Result ¶
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 ¶
ExpressRouteCircuitPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitPeeringsDeleteFuture) Result ¶
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 ¶
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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ExpressRouteCircuitPropertiesFormat properties of ExpressRouteCircuit
type ExpressRouteCircuitRoutesTable ¶
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 ¶
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 ¶
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 ¶
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 ¶
type ExpressRouteCircuitSkuFamily string
ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.
const ( // MeteredData ... MeteredData ExpressRouteCircuitSkuFamily = "MeteredData" // UnlimitedData ... UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData" )
func PossibleExpressRouteCircuitSkuFamilyValues ¶
func PossibleExpressRouteCircuitSkuFamilyValues() []ExpressRouteCircuitSkuFamily
PossibleExpressRouteCircuitSkuFamilyValues returns an array of possible values for the ExpressRouteCircuitSkuFamily const type.
type ExpressRouteCircuitSkuTier ¶
type ExpressRouteCircuitSkuTier string
ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.
const ( // ExpressRouteCircuitSkuTierPremium ... ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium" // ExpressRouteCircuitSkuTierStandard ... ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard" )
func PossibleExpressRouteCircuitSkuTierValues ¶
func PossibleExpressRouteCircuitSkuTierValues() []ExpressRouteCircuitSkuTier
PossibleExpressRouteCircuitSkuTierValues returns an array of possible values for the ExpressRouteCircuitSkuTier const type.
type ExpressRouteCircuitStats ¶
type ExpressRouteCircuitStats struct { autorest.Response `json:"-"` // PrimarybytesIn - 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 ¶
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 ¶
type ExpressRouteCircuitsClient struct {
BaseClient
}
ExpressRouteCircuitsClient is the network Client
func NewExpressRouteCircuitsClient ¶
func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient
NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.
func NewExpressRouteCircuitsClientWithBaseURI ¶
func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient
NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client.
func (ExpressRouteCircuitsClient) CreateOrUpdate ¶
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 ¶
func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ExpressRouteCircuitsClient) CreateOrUpdateResponder ¶
func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) CreateOrUpdateSender ¶
func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) Delete ¶
func (client ExpressRouteCircuitsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error)
Delete 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 ¶
func (client ExpressRouteCircuitsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ExpressRouteCircuitsClient) DeleteResponder ¶
func (client ExpressRouteCircuitsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) DeleteSender ¶
func (client ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) Get ¶
func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)
Get the Get ExpressRouteCircuit operation retreives information about the specified ExpressRouteCircuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.
func (ExpressRouteCircuitsClient) GetPeeringStats ¶
func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error)
GetPeeringStats the Liststats ExpressRouteCircuit opertion 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 ¶
func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)
GetPeeringStatsPreparer prepares the GetPeeringStats request.
func (ExpressRouteCircuitsClient) GetPeeringStatsResponder ¶
func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)
GetPeeringStatsResponder handles the response to the GetPeeringStats request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) GetPeeringStatsSender ¶
func (client ExpressRouteCircuitsClient) GetPeeringStatsSender(req *http.Request) (*http.Response, error)
GetPeeringStatsSender sends the GetPeeringStats request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) GetPreparer ¶
func (client ExpressRouteCircuitsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExpressRouteCircuitsClient) GetResponder ¶
func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuit, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) GetStats ¶
func (client ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)
GetStats the Liststats ExpressRouteCircuit opertion 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 ¶
func (client ExpressRouteCircuitsClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)
GetStatsPreparer prepares the GetStats request.
func (ExpressRouteCircuitsClient) GetStatsResponder ¶
func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)
GetStatsResponder handles the response to the GetStats request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) GetStatsSender ¶
GetStatsSender sends the GetStats request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) List ¶
func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error)
List the List ExpressRouteCircuit opertion retrieves all the ExpressRouteCircuits in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (ExpressRouteCircuitsClient) ListAll ¶
func (client ExpressRouteCircuitsClient) ListAll(ctx context.Context) (result ExpressRouteCircuitListResultPage, err error)
ListAll the List ExpressRouteCircuit opertion retrieves all the ExpressRouteCircuits in a subscription.
func (ExpressRouteCircuitsClient) ListAllComplete ¶
func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (result ExpressRouteCircuitListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (ExpressRouteCircuitsClient) ListAllPreparer ¶
func (client ExpressRouteCircuitsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (ExpressRouteCircuitsClient) ListAllResponder ¶
func (client ExpressRouteCircuitsClient) ListAllResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) ListArpTable ¶
func (client ExpressRouteCircuitsClient) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListArpTableFuture, err error)
ListArpTable the ListArpTable from ExpressRouteCircuit opertion 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 ¶
func (client ExpressRouteCircuitsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)
ListArpTablePreparer prepares the ListArpTable request.
func (ExpressRouteCircuitsClient) ListArpTableResponder ¶
func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)
ListArpTableResponder handles the response to the ListArpTable request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) ListArpTableSender ¶
func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (future ExpressRouteCircuitsListArpTableFuture, err error)
ListArpTableSender sends the ListArpTable request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) ListComplete ¶
func (client ExpressRouteCircuitsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ExpressRouteCircuitsClient) ListPreparer ¶
func (client ExpressRouteCircuitsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ExpressRouteCircuitsClient) ListResponder ¶
func (client ExpressRouteCircuitsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) ListRoutesTable ¶
func (client ExpressRouteCircuitsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableFuture, err error)
ListRoutesTable the ListRoutesTable from ExpressRouteCircuit opertion 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 ¶
func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)
ListRoutesTablePreparer prepares the ListRoutesTable request.
func (ExpressRouteCircuitsClient) ListRoutesTableResponder ¶
func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)
ListRoutesTableResponder handles the response to the ListRoutesTable request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) ListRoutesTableSender ¶
func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableFuture, err error)
ListRoutesTableSender sends the ListRoutesTable request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) ListRoutesTableSummary ¶
func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)
ListRoutesTableSummary the ListRoutesTable from ExpressRouteCircuit opertion 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 ¶
func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)
ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.
func (ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder ¶
func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableSummaryListResult, err error)
ListRoutesTableSummaryResponder handles the response to the ListRoutesTableSummary request. The method always closes the http.Response Body.
func (ExpressRouteCircuitsClient) ListRoutesTableSummarySender ¶
func (client ExpressRouteCircuitsClient) ListRoutesTableSummarySender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)
ListRoutesTableSummarySender sends the ListRoutesTableSummary request. The method will close the http.Response Body if it receives an error.
func (ExpressRouteCircuitsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ExpressRouteCircuitsCreateOrUpdateFuture ¶
ExpressRouteCircuitsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitsCreateOrUpdateFuture) Result ¶
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 ¶
ExpressRouteCircuitsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitsDeleteFuture) Result ¶
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 ¶
ExpressRouteCircuitsListArpTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitsListArpTableFuture) Result ¶
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 ¶
ExpressRouteCircuitsListRoutesTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitsListRoutesTableFuture) Result ¶
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 ¶
ExpressRouteCircuitsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ExpressRouteCircuitsListRoutesTableSummaryFuture) Result ¶
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 ¶
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 ¶
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 ¶
type ExpressRouteServiceProvider struct { *ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - 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 ¶
func (ersp ExpressRouteServiceProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExpressRouteServiceProvider.
func (*ExpressRouteServiceProvider) UnmarshalJSON ¶
func (ersp *ExpressRouteServiceProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ExpressRouteServiceProvider struct.
type ExpressRouteServiceProviderBandwidthsOffered ¶
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 ¶
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 ¶
func (ersplr ExpressRouteServiceProviderListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ExpressRouteServiceProviderListResultIterator ¶
type ExpressRouteServiceProviderListResultIterator struct {
// contains filtered or unexported fields
}
ExpressRouteServiceProviderListResultIterator provides access to a complete listing of ExpressRouteServiceProvider values.
func NewExpressRouteServiceProviderListResultIterator ¶
func NewExpressRouteServiceProviderListResultIterator(page ExpressRouteServiceProviderListResultPage) ExpressRouteServiceProviderListResultIterator
Creates a new instance of the ExpressRouteServiceProviderListResultIterator type.
func (*ExpressRouteServiceProviderListResultIterator) Next ¶
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 ¶
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 ¶
func (iter ExpressRouteServiceProviderListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExpressRouteServiceProviderListResultIterator) Response ¶
func (iter ExpressRouteServiceProviderListResultIterator) Response() ExpressRouteServiceProviderListResult
Response returns the raw server response from the last page request.
func (ExpressRouteServiceProviderListResultIterator) Value ¶
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 ¶
type ExpressRouteServiceProviderListResultPage struct {
// contains filtered or unexported fields
}
ExpressRouteServiceProviderListResultPage contains a page of ExpressRouteServiceProvider values.
func NewExpressRouteServiceProviderListResultPage ¶
func NewExpressRouteServiceProviderListResultPage(getNextPage func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error)) ExpressRouteServiceProviderListResultPage
Creates a new instance of the ExpressRouteServiceProviderListResultPage type.
func (*ExpressRouteServiceProviderListResultPage) Next ¶
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 ¶
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 ¶
func (page ExpressRouteServiceProviderListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ExpressRouteServiceProviderListResultPage) Response ¶
func (page ExpressRouteServiceProviderListResultPage) Response() ExpressRouteServiceProviderListResult
Response returns the raw server response from the last page request.
func (ExpressRouteServiceProviderListResultPage) Values ¶
func (page ExpressRouteServiceProviderListResultPage) Values() []ExpressRouteServiceProvider
Values returns the slice of values for the current page or nil if there are no values.
type ExpressRouteServiceProviderPropertiesFormat ¶
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 or sets Provisioning state of the resource ProvisioningState *string `json:"provisioningState,omitempty"` }
ExpressRouteServiceProviderPropertiesFormat properties of ExpressRouteServiceProvider
type ExpressRouteServiceProvidersClient ¶
type ExpressRouteServiceProvidersClient struct {
BaseClient
}
ExpressRouteServiceProvidersClient is the network Client
func NewExpressRouteServiceProvidersClient ¶
func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient
NewExpressRouteServiceProvidersClient creates an instance of the ExpressRouteServiceProvidersClient client.
func NewExpressRouteServiceProvidersClientWithBaseURI ¶
func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient
NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient client.
func (ExpressRouteServiceProvidersClient) List ¶
func (client ExpressRouteServiceProvidersClient) List(ctx context.Context) (result ExpressRouteServiceProviderListResultPage, err error)
List the List ExpressRouteServiceProvider opertion retrieves all the available ExpressRouteServiceProviders.
func (ExpressRouteServiceProvidersClient) ListComplete ¶
func (client ExpressRouteServiceProvidersClient) ListComplete(ctx context.Context) (result ExpressRouteServiceProviderListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ExpressRouteServiceProvidersClient) ListPreparer ¶
func (client ExpressRouteServiceProvidersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
func (ExpressRouteServiceProvidersClient) ListResponder ¶
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 ¶
func (client ExpressRouteServiceProvidersClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type FrontendIPConfiguration ¶
type FrontendIPConfiguration struct { *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 ¶
func (fic FrontendIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FrontendIPConfiguration.
func (*FrontendIPConfiguration) UnmarshalJSON ¶
func (fic *FrontendIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FrontendIPConfiguration struct.
type FrontendIPConfigurationPropertiesFormat ¶
type FrontendIPConfigurationPropertiesFormat struct { // InboundNatRules - Read only.Inbound rules URIs that use this frontend IP InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"` // InboundNatPools - Read only.Inbound pools URIs that use this frontend IP InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"` // OutboundNatRules - Read only.Outbound rules URIs that use this frontend IP OutboundNatRules *[]SubResource `json:"outboundNatRules,omitempty"` // LoadBalancingRules - 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 (Static/Dynamic). 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 or sets 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 IPAllocationMethod ¶
type IPAllocationMethod string
IPAllocationMethod enumerates the values for ip allocation method.
const ( // Dynamic ... Dynamic IPAllocationMethod = "Dynamic" // Static ... Static IPAllocationMethod = "Static" )
func PossibleIPAllocationMethodValues ¶
func PossibleIPAllocationMethodValues() []IPAllocationMethod
PossibleIPAllocationMethodValues returns an array of possible values for the IPAllocationMethod const type.
type IPConfiguration ¶
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 ¶
func (ic IPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IPConfiguration.
func (*IPConfiguration) UnmarshalJSON ¶
func (ic *IPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for IPConfiguration struct.
type IPConfigurationPropertiesFormat ¶
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 (Static/Dynamic). 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
IPConfigurationPropertiesFormat properties of IPConfiguration
type IPVersion ¶
type IPVersion string
IPVersion enumerates the values for ip version.
func PossibleIPVersionValues ¶
func PossibleIPVersionValues() []IPVersion
PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
type InboundNatPool ¶
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 loadbalancer
func (InboundNatPool) MarshalJSON ¶
func (inp InboundNatPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatPool.
func (*InboundNatPool) UnmarshalJSON ¶
func (inp *InboundNatPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InboundNatPool struct.
type InboundNatPoolPropertiesFormat ¶
type InboundNatPoolPropertiesFormat struct { // FrontendIPConfiguration - Gets or sets a reference to frontend IP Addresses FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // Protocol - Gets or sets the transport potocol for the external 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 spcify 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 spcify 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 compotnent 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
InboundNatPoolPropertiesFormat properties of Inbound NAT pool
type InboundNatRule ¶
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 ¶
func (inr InboundNatRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InboundNatRule.
func (*InboundNatRule) UnmarshalJSON ¶
func (inr *InboundNatRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InboundNatRule struct.
type InboundNatRulePropertiesFormat ¶
type InboundNatRulePropertiesFormat struct { // FrontendIPConfiguration - Gets or sets a reference to frontend IP Addresses FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"` // BackendIPConfiguration - 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 potocol for the external 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 spcify 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 compotnent 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 emlement 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
InboundNatRulePropertiesFormat properties of Inbound NAT rule
type Interface ¶
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 - Resource name Name *string `json:"name,omitempty"` // Type - 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 ¶
MarshalJSON is the custom marshaler for Interface.
func (*Interface) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Interface struct.
type InterfaceDNSSettings ¶
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 ¶
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 ¶
func (iic InterfaceIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InterfaceIPConfiguration.
func (*InterfaceIPConfiguration) UnmarshalJSON ¶
func (iic *InterfaceIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for InterfaceIPConfiguration struct.
type InterfaceIPConfigurationPropertiesFormat ¶
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 (Static/Dynamic). 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 ¶
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 ¶
func (ilr InterfaceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type InterfaceListResultIterator ¶
type InterfaceListResultIterator struct {
// contains filtered or unexported fields
}
InterfaceListResultIterator provides access to a complete listing of Interface values.
func NewInterfaceListResultIterator ¶
func NewInterfaceListResultIterator(page InterfaceListResultPage) InterfaceListResultIterator
Creates a new instance of the InterfaceListResultIterator type.
func (*InterfaceListResultIterator) Next ¶
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 ¶
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 ¶
func (iter InterfaceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (InterfaceListResultIterator) Response ¶
func (iter InterfaceListResultIterator) Response() InterfaceListResult
Response returns the raw server response from the last page request.
func (InterfaceListResultIterator) Value ¶
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 ¶
type InterfaceListResultPage struct {
// contains filtered or unexported fields
}
InterfaceListResultPage contains a page of Interface values.
func NewInterfaceListResultPage ¶
func NewInterfaceListResultPage(getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage
Creates a new instance of the InterfaceListResultPage type.
func (*InterfaceListResultPage) Next ¶
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 ¶
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 ¶
func (page InterfaceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (InterfaceListResultPage) Response ¶
func (page InterfaceListResultPage) Response() InterfaceListResult
Response returns the raw server response from the last page request.
func (InterfaceListResultPage) Values ¶
func (page InterfaceListResultPage) Values() []Interface
Values returns the slice of values for the current page or nil if there are no values.
type InterfacePropertiesFormat ¶
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 NetworkInterface IPConfigurations *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"` // DNSSettings - Gets or sets DNS Settings in NetworkInterface 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
InterfacePropertiesFormat networkInterface properties.
type InterfacesClient ¶
type InterfacesClient struct {
BaseClient
}
InterfacesClient is the network Client
func NewInterfacesClient ¶
func NewInterfacesClient(subscriptionID string) InterfacesClient
NewInterfacesClient creates an instance of the InterfacesClient client.
func NewInterfacesClientWithBaseURI ¶
func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient
NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client.
func (InterfacesClient) CreateOrUpdate ¶
func (client InterfacesClient) CreateOrUpdate(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 ¶
func (client InterfacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (InterfacesClient) CreateOrUpdateResponder ¶
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 ¶
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 ¶
func (client InterfacesClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesDeleteFuture, err error)
Delete the delete netwokInterface operation deletes the specified netwokInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.
func (InterfacesClient) DeletePreparer ¶
func (client InterfacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (InterfacesClient) DeleteResponder ¶
func (client InterfacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (InterfacesClient) DeleteSender ¶
func (client InterfacesClient) DeleteSender(req *http.Request) (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 ¶
func (client InterfacesClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error)
Get the Get ntework interface operation retreives 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) GetPreparer ¶
func (client InterfacesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (InterfacesClient) GetResponder ¶
func (client InterfacesClient) GetResponder(resp *http.Response) (result Interface, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (InterfacesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterface ¶
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result Interface, err error)
GetVirtualMachineScaleSetNetworkInterface the Get ntework interface operation retreives information about the specified network interface in a virtual machine scale set. 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 ¶
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 ¶
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder(resp *http.Response) (result Interface, err error)
GetVirtualMachineScaleSetNetworkInterfaceResponder handles the response to the GetVirtualMachineScaleSetNetworkInterface request. The method always closes the http.Response Body.
func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender ¶
func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender(req *http.Request) (*http.Response, error)
GetVirtualMachineScaleSetNetworkInterfaceSender sends the GetVirtualMachineScaleSetNetworkInterface request. The method will close the http.Response Body if it receives an error.
func (InterfacesClient) List ¶
func (client InterfacesClient) List(ctx context.Context, resourceGroupName string) (result InterfaceListResultPage, err error)
List the List networkInterfaces opertion retrieves all the networkInterfaces in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (InterfacesClient) ListAll ¶
func (client InterfacesClient) ListAll(ctx context.Context) (result InterfaceListResultPage, err error)
ListAll the List networkInterfaces opertion retrieves all the networkInterfaces in a subscription.
func (InterfacesClient) ListAllComplete ¶
func (client InterfacesClient) ListAllComplete(ctx context.Context) (result InterfaceListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (InterfacesClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (InterfacesClient) ListAllResponder ¶
func (client InterfacesClient) ListAllResponder(resp *http.Response) (result InterfaceListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (InterfacesClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (InterfacesClient) ListComplete ¶
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) ListPreparer ¶
func (client InterfacesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (InterfacesClient) ListResponder ¶
func (client InterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (InterfacesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces ¶
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(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 ¶
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 ¶
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)
ListVirtualMachineScaleSetNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetNetworkInterfaces request.
func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder ¶
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
ListVirtualMachineScaleSetNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetNetworkInterfaces request. The method always closes the http.Response Body.
func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender ¶
func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetNetworkInterfacesSender sends the ListVirtualMachineScaleSetNetworkInterfaces request. The method will close the http.Response Body if it receives an error.
func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces ¶
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(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 ¶
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 ¶
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (*http.Request, error)
ListVirtualMachineScaleSetVMNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetVMNetworkInterfaces request.
func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder ¶
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)
ListVirtualMachineScaleSetVMNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method always closes the http.Response Body.
func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender ¶
func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender(req *http.Request) (*http.Response, error)
ListVirtualMachineScaleSetVMNetworkInterfacesSender sends the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method will close the http.Response Body if it receives an error.
type InterfacesCreateOrUpdateFuture ¶
InterfacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InterfacesCreateOrUpdateFuture) Result ¶
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 ¶
InterfacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*InterfacesDeleteFuture) Result ¶
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 LoadBalancer ¶
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 - Resource name Name *string `json:"name,omitempty"` // Type - 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 ¶
func (lb LoadBalancer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancer.
func (*LoadBalancer) UnmarshalJSON ¶
func (lb *LoadBalancer) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancer struct.
type LoadBalancerListResult ¶
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 ¶
func (lblr LoadBalancerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LoadBalancerListResultIterator ¶
type LoadBalancerListResultIterator struct {
// contains filtered or unexported fields
}
LoadBalancerListResultIterator provides access to a complete listing of LoadBalancer values.
func NewLoadBalancerListResultIterator ¶
func NewLoadBalancerListResultIterator(page LoadBalancerListResultPage) LoadBalancerListResultIterator
Creates a new instance of the LoadBalancerListResultIterator type.
func (*LoadBalancerListResultIterator) Next ¶
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 ¶
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 ¶
func (iter LoadBalancerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LoadBalancerListResultIterator) Response ¶
func (iter LoadBalancerListResultIterator) Response() LoadBalancerListResult
Response returns the raw server response from the last page request.
func (LoadBalancerListResultIterator) Value ¶
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 ¶
type LoadBalancerListResultPage struct {
// contains filtered or unexported fields
}
LoadBalancerListResultPage contains a page of LoadBalancer values.
func NewLoadBalancerListResultPage ¶
func NewLoadBalancerListResultPage(getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage
Creates a new instance of the LoadBalancerListResultPage type.
func (*LoadBalancerListResultPage) Next ¶
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 ¶
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 ¶
func (page LoadBalancerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LoadBalancerListResultPage) Response ¶
func (page LoadBalancerListResultPage) Response() LoadBalancerListResult
Response returns the raw server response from the last page request.
func (LoadBalancerListResultPage) Values ¶
func (page LoadBalancerListResultPage) Values() []LoadBalancer
Values returns the slice of values for the current page or nil if there are no values.
type LoadBalancerPropertiesFormat ¶
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 addresseses BackendAddressPools *[]BackendAddressPool `json:"backendAddressPools,omitempty"` // LoadBalancingRules - Gets or sets loadbalancing 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
LoadBalancerPropertiesFormat properties of Load Balancer
type LoadBalancersClient ¶
type LoadBalancersClient struct {
BaseClient
}
LoadBalancersClient is the network Client
func NewLoadBalancersClient ¶
func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient
NewLoadBalancersClient creates an instance of the LoadBalancersClient client.
func NewLoadBalancersClientWithBaseURI ¶
func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient
NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client.
func (LoadBalancersClient) CreateOrUpdate ¶
func (client LoadBalancersClient) CreateOrUpdate(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 ¶
func (client LoadBalancersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LoadBalancersClient) CreateOrUpdateResponder ¶
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 ¶
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 ¶
func (client LoadBalancersClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancersDeleteFuture, err error)
Delete the delete loadbalancer operation deletes the specified loadbalancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the loadBalancer.
func (LoadBalancersClient) DeletePreparer ¶
func (client LoadBalancersClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LoadBalancersClient) DeleteResponder ¶
func (client LoadBalancersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (LoadBalancersClient) DeleteSender ¶
func (client LoadBalancersClient) DeleteSender(req *http.Request) (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 ¶
func (client LoadBalancersClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error)
Get the Get ntework interface operation retreives information about the specified network interface. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the loadBalancer. expand - expand references resources.
func (LoadBalancersClient) GetPreparer ¶
func (client LoadBalancersClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LoadBalancersClient) GetResponder ¶
func (client LoadBalancersClient) GetResponder(resp *http.Response) (result LoadBalancer, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LoadBalancersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LoadBalancersClient) List ¶
func (client LoadBalancersClient) List(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultPage, err error)
List the List loadBalancer opertion retrieves all the loadbalancers in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (LoadBalancersClient) ListAll ¶
func (client LoadBalancersClient) ListAll(ctx context.Context) (result LoadBalancerListResultPage, err error)
ListAll the List loadBalancer opertion retrieves all the loadbalancers in a subscription.
func (LoadBalancersClient) ListAllComplete ¶
func (client LoadBalancersClient) ListAllComplete(ctx context.Context) (result LoadBalancerListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (LoadBalancersClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (LoadBalancersClient) ListAllResponder ¶
func (client LoadBalancersClient) ListAllResponder(resp *http.Response) (result LoadBalancerListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (LoadBalancersClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (LoadBalancersClient) ListComplete ¶
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 ¶
func (client LoadBalancersClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (LoadBalancersClient) ListResponder ¶
func (client LoadBalancersClient) ListResponder(resp *http.Response) (result LoadBalancerListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (LoadBalancersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type LoadBalancersCreateOrUpdateFuture ¶
LoadBalancersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LoadBalancersCreateOrUpdateFuture) Result ¶
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 ¶
LoadBalancersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LoadBalancersDeleteFuture) Result ¶
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 ¶
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 ¶
func (lbr LoadBalancingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancingRule.
func (*LoadBalancingRule) UnmarshalJSON ¶
func (lbr *LoadBalancingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancingRule struct.
type LoadBalancingRulePropertiesFormat ¶
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 compotnent 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 emlement 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
LoadBalancingRulePropertiesFormat properties of the load balancer
type LoadDistribution ¶
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 ¶
func PossibleLoadDistributionValues() []LoadDistribution
PossibleLoadDistributionValues returns an array of possible values for the LoadDistribution const type.
type LocalNetworkGateway ¶
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 - Resource name Name *string `json:"name,omitempty"` // Type - 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 ¶
func (lng LocalNetworkGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LocalNetworkGateway.
func (*LocalNetworkGateway) UnmarshalJSON ¶
func (lng *LocalNetworkGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LocalNetworkGateway struct.
type LocalNetworkGatewayListResult ¶
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 ¶
func (lnglr LocalNetworkGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LocalNetworkGatewayListResultIterator ¶
type LocalNetworkGatewayListResultIterator struct {
// contains filtered or unexported fields
}
LocalNetworkGatewayListResultIterator provides access to a complete listing of LocalNetworkGateway values.
func NewLocalNetworkGatewayListResultIterator ¶
func NewLocalNetworkGatewayListResultIterator(page LocalNetworkGatewayListResultPage) LocalNetworkGatewayListResultIterator
Creates a new instance of the LocalNetworkGatewayListResultIterator type.
func (*LocalNetworkGatewayListResultIterator) Next ¶
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 ¶
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 ¶
func (iter LocalNetworkGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LocalNetworkGatewayListResultIterator) Response ¶
func (iter LocalNetworkGatewayListResultIterator) Response() LocalNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (LocalNetworkGatewayListResultIterator) Value ¶
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 ¶
type LocalNetworkGatewayListResultPage struct {
// contains filtered or unexported fields
}
LocalNetworkGatewayListResultPage contains a page of LocalNetworkGateway values.
func NewLocalNetworkGatewayListResultPage ¶
func NewLocalNetworkGatewayListResultPage(getNextPage func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error)) LocalNetworkGatewayListResultPage
Creates a new instance of the LocalNetworkGatewayListResultPage type.
func (*LocalNetworkGatewayListResultPage) Next ¶
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 ¶
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 ¶
func (page LocalNetworkGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LocalNetworkGatewayListResultPage) Response ¶
func (page LocalNetworkGatewayListResultPage) Response() LocalNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (LocalNetworkGatewayListResultPage) Values ¶
func (page LocalNetworkGatewayListResultPage) Values() []LocalNetworkGateway
Values returns the slice of values for the current page or nil if there are no values.
type LocalNetworkGatewayPropertiesFormat ¶
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 or sets Provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
LocalNetworkGatewayPropertiesFormat localNetworkGateway properties
type LocalNetworkGatewaysClient ¶
type LocalNetworkGatewaysClient struct {
BaseClient
}
LocalNetworkGatewaysClient is the network Client
func NewLocalNetworkGatewaysClient ¶
func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient
NewLocalNetworkGatewaysClient creates an instance of the LocalNetworkGatewaysClient client.
func NewLocalNetworkGatewaysClientWithBaseURI ¶
func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient
NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client.
func (LocalNetworkGatewaysClient) CreateOrUpdate ¶
func (client LocalNetworkGatewaysClient) CreateOrUpdate(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 ¶
func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (LocalNetworkGatewaysClient) CreateOrUpdateResponder ¶
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 ¶
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 ¶
func (client LocalNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGatewaysDeleteFuture, err error)
Delete the Delete LocalNetworkGateway operation deletes the specifed 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 ¶
func (client LocalNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LocalNetworkGatewaysClient) DeleteResponder ¶
func (client LocalNetworkGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (LocalNetworkGatewaysClient) DeleteSender ¶
func (client LocalNetworkGatewaysClient) DeleteSender(req *http.Request) (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 ¶
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 ¶
func (client LocalNetworkGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LocalNetworkGatewaysClient) GetResponder ¶
func (client LocalNetworkGatewaysClient) GetResponder(resp *http.Response) (result LocalNetworkGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (LocalNetworkGatewaysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LocalNetworkGatewaysClient) List ¶
func (client LocalNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultPage, err error)
List the List LocalNetworkGateways opertion retrieves all the local network gateways stored. Parameters: resourceGroupName - the name of the resource group.
func (LocalNetworkGatewaysClient) ListComplete ¶
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 ¶
func (client LocalNetworkGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (LocalNetworkGatewaysClient) ListResponder ¶
func (client LocalNetworkGatewaysClient) ListResponder(resp *http.Response) (result LocalNetworkGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (LocalNetworkGatewaysClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type LocalNetworkGatewaysCreateOrUpdateFuture ¶
LocalNetworkGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LocalNetworkGatewaysCreateOrUpdateFuture) Result ¶
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 ¶
LocalNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LocalNetworkGatewaysDeleteFuture) Result ¶
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 ¶
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 ¶
func PossibleOperationStatusValues() []OperationStatus
PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
type OutboundNatRule ¶
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 loadbalancer
func (OutboundNatRule) MarshalJSON ¶
func (onr OutboundNatRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OutboundNatRule.
func (*OutboundNatRule) UnmarshalJSON ¶
func (onr *OutboundNatRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OutboundNatRule struct.
type OutboundNatRulePropertiesFormat ¶
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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
OutboundNatRulePropertiesFormat outbound NAT pool of the loadbalancer
type Probe ¶
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 ¶
MarshalJSON is the custom marshaler for Probe.
func (*Probe) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Probe struct.
type ProbePropertiesFormat ¶
type ProbePropertiesFormat struct { // LoadBalancingRules - 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 pr 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 endponints 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 or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
ProbePropertiesFormat ...
type ProbeProtocol ¶
type ProbeProtocol string
ProbeProtocol enumerates the values for probe protocol.
const ( // ProbeProtocolHTTP ... ProbeProtocolHTTP ProbeProtocol = "Http" // ProbeProtocolTCP ... ProbeProtocolTCP ProbeProtocol = "Tcp" )
func PossibleProbeProtocolValues ¶
func PossibleProbeProtocolValues() []ProbeProtocol
PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type.
type ProcessorArchitecture ¶
type ProcessorArchitecture string
ProcessorArchitecture enumerates the values for processor architecture.
const ( // Amd64 ... Amd64 ProcessorArchitecture = "Amd64" // X86 ... X86 ProcessorArchitecture = "X86" )
func PossibleProcessorArchitectureValues ¶
func PossibleProcessorArchitectureValues() []ProcessorArchitecture
PossibleProcessorArchitectureValues returns an array of possible values for the ProcessorArchitecture const type.
type PublicIPAddress ¶
type PublicIPAddress struct { autorest.Response `json:"-"` *PublicIPAddressPropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
PublicIPAddress publicIPAddress resource
func (PublicIPAddress) MarshalJSON ¶
func (pia PublicIPAddress) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicIPAddress.
func (*PublicIPAddress) UnmarshalJSON ¶
func (pia *PublicIPAddress) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PublicIPAddress struct.
type PublicIPAddressDNSSettings ¶
type PublicIPAddressDNSSettings struct { // DomainNameLabel - Gets or sets the Domain name label.The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. DomainNameLabel *string `json:"domainNameLabel,omitempty"` // Fqdn - Gets the FQDN, Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. Fqdn *string `json:"fqdn,omitempty"` // ReverseFqdn - Gets or Sests the Reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. ReverseFqdn *string `json:"reverseFqdn,omitempty"` }
PublicIPAddressDNSSettings contains FQDN of the DNS record associated with the public IP address
type PublicIPAddressListResult ¶
type PublicIPAddressListResult struct { autorest.Response `json:"-"` // Value - Gets List of publicIP addresses that exists in a resource group Value *[]PublicIPAddress `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
PublicIPAddressListResult response for ListPublicIpAddresses Api service call
func (PublicIPAddressListResult) IsEmpty ¶
func (pialr PublicIPAddressListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PublicIPAddressListResultIterator ¶
type PublicIPAddressListResultIterator struct {
// contains filtered or unexported fields
}
PublicIPAddressListResultIterator provides access to a complete listing of PublicIPAddress values.
func NewPublicIPAddressListResultIterator ¶
func NewPublicIPAddressListResultIterator(page PublicIPAddressListResultPage) PublicIPAddressListResultIterator
Creates a new instance of the PublicIPAddressListResultIterator type.
func (*PublicIPAddressListResultIterator) Next ¶
func (iter *PublicIPAddressListResultIterator) 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 (*PublicIPAddressListResultIterator) NextWithContext ¶
func (iter *PublicIPAddressListResultIterator) 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 (PublicIPAddressListResultIterator) NotDone ¶
func (iter PublicIPAddressListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PublicIPAddressListResultIterator) Response ¶
func (iter PublicIPAddressListResultIterator) Response() PublicIPAddressListResult
Response returns the raw server response from the last page request.
func (PublicIPAddressListResultIterator) Value ¶
func (iter PublicIPAddressListResultIterator) Value() PublicIPAddress
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PublicIPAddressListResultPage ¶
type PublicIPAddressListResultPage struct {
// contains filtered or unexported fields
}
PublicIPAddressListResultPage contains a page of PublicIPAddress values.
func NewPublicIPAddressListResultPage ¶
func NewPublicIPAddressListResultPage(getNextPage func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error)) PublicIPAddressListResultPage
Creates a new instance of the PublicIPAddressListResultPage type.
func (*PublicIPAddressListResultPage) Next ¶
func (page *PublicIPAddressListResultPage) 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 (*PublicIPAddressListResultPage) NextWithContext ¶
func (page *PublicIPAddressListResultPage) 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 (PublicIPAddressListResultPage) NotDone ¶
func (page PublicIPAddressListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PublicIPAddressListResultPage) Response ¶
func (page PublicIPAddressListResultPage) Response() PublicIPAddressListResult
Response returns the raw server response from the last page request.
func (PublicIPAddressListResultPage) Values ¶
func (page PublicIPAddressListResultPage) Values() []PublicIPAddress
Values returns the slice of values for the current page or nil if there are no values.
type PublicIPAddressPropertiesFormat ¶
type PublicIPAddressPropertiesFormat struct { // PublicIPAllocationMethod - Gets or sets PublicIP allocation method (Static/Dynamic). Possible values include: 'Static', 'Dynamic' PublicIPAllocationMethod IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` // PublicIPAddressVersion - Gets or sets PublicIP address version (IPv4/IPv6). Possible values include: 'IPv4', 'IPv6' PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"` IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"` // DNSSettings - Gets or sets FQDN of the DNS record associated with the public IP address DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"` IPAddress *string `json:"ipAddress,omitempty"` // IdleTimeoutInMinutes - Gets or sets the Idletimeout of the public IP address IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // ResourceGUID - Gets or sets resource guid property of the PublicIP resource ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
PublicIPAddressPropertiesFormat publicIpAddress properties
type PublicIPAddressesClient ¶
type PublicIPAddressesClient struct {
BaseClient
}
PublicIPAddressesClient is the network Client
func NewPublicIPAddressesClient ¶
func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient
NewPublicIPAddressesClient creates an instance of the PublicIPAddressesClient client.
func NewPublicIPAddressesClientWithBaseURI ¶
func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient
NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client.
func (PublicIPAddressesClient) CreateOrUpdate ¶
func (client PublicIPAddressesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (result PublicIPAddressesCreateOrUpdateFuture, err error)
CreateOrUpdate the Put PublicIPAddress operation creates/updates a stable/dynamic PublicIP address Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the publicIpAddress. parameters - parameters supplied to the create/update PublicIPAddress operation
func (PublicIPAddressesClient) CreateOrUpdatePreparer ¶
func (client PublicIPAddressesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PublicIPAddressesClient) CreateOrUpdateResponder ¶
func (client PublicIPAddressesClient) CreateOrUpdateResponder(resp *http.Response) (result PublicIPAddress, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PublicIPAddressesClient) CreateOrUpdateSender ¶
func (client PublicIPAddressesClient) CreateOrUpdateSender(req *http.Request) (future PublicIPAddressesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PublicIPAddressesClient) Delete ¶
func (client PublicIPAddressesClient) Delete(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result PublicIPAddressesDeleteFuture, err error)
Delete the delete publicIpAddress operation deletes the specified publicIpAddress. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the subnet.
func (PublicIPAddressesClient) DeletePreparer ¶
func (client PublicIPAddressesClient) DeletePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PublicIPAddressesClient) DeleteResponder ¶
func (client PublicIPAddressesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PublicIPAddressesClient) DeleteSender ¶
func (client PublicIPAddressesClient) DeleteSender(req *http.Request) (future PublicIPAddressesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PublicIPAddressesClient) Get ¶
func (client PublicIPAddressesClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)
Get the Get publicIpAddress operation retreives information about the specified pubicIpAddress Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the subnet. expand - expand references resources.
func (PublicIPAddressesClient) GetPreparer ¶
func (client PublicIPAddressesClient) GetPreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PublicIPAddressesClient) GetResponder ¶
func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result PublicIPAddress, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PublicIPAddressesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PublicIPAddressesClient) List ¶
func (client PublicIPAddressesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultPage, err error)
List the List publicIpAddress opertion retrieves all the publicIpAddresses in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (PublicIPAddressesClient) ListAll ¶
func (client PublicIPAddressesClient) ListAll(ctx context.Context) (result PublicIPAddressListResultPage, err error)
ListAll the List publicIpAddress opertion retrieves all the publicIpAddresses in a subscription.
func (PublicIPAddressesClient) ListAllComplete ¶
func (client PublicIPAddressesClient) ListAllComplete(ctx context.Context) (result PublicIPAddressListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (PublicIPAddressesClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (PublicIPAddressesClient) ListAllResponder ¶
func (client PublicIPAddressesClient) ListAllResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (PublicIPAddressesClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (PublicIPAddressesClient) ListComplete ¶
func (client PublicIPAddressesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PublicIPAddressesClient) ListPreparer ¶
func (client PublicIPAddressesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PublicIPAddressesClient) ListResponder ¶
func (client PublicIPAddressesClient) ListResponder(resp *http.Response) (result PublicIPAddressListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PublicIPAddressesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PublicIPAddressesCreateOrUpdateFuture ¶
PublicIPAddressesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PublicIPAddressesCreateOrUpdateFuture) Result ¶
func (future *PublicIPAddressesCreateOrUpdateFuture) Result(client PublicIPAddressesClient) (pia PublicIPAddress, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type PublicIPAddressesDeleteFuture ¶
PublicIPAddressesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PublicIPAddressesDeleteFuture) Result ¶
func (future *PublicIPAddressesDeleteFuture) Result(client PublicIPAddressesClient) (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 Resource ¶
type Resource struct { // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Resource ...
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type Route ¶
type Route struct { autorest.Response `json:"-"` *RoutePropertiesFormat `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"` }
Route route resource
func (Route) MarshalJSON ¶
MarshalJSON is the custom marshaler for Route.
func (*Route) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Route struct.
type RouteListResult ¶
type RouteListResult struct { autorest.Response `json:"-"` // Value - Gets List of Routes in a resource group Value *[]Route `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
RouteListResult response for ListRoute Api servive call
func (RouteListResult) IsEmpty ¶
func (rlr RouteListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RouteListResultIterator ¶
type RouteListResultIterator struct {
// contains filtered or unexported fields
}
RouteListResultIterator provides access to a complete listing of Route values.
func NewRouteListResultIterator ¶
func NewRouteListResultIterator(page RouteListResultPage) RouteListResultIterator
Creates a new instance of the RouteListResultIterator type.
func (*RouteListResultIterator) Next ¶
func (iter *RouteListResultIterator) 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 (*RouteListResultIterator) NextWithContext ¶
func (iter *RouteListResultIterator) 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 (RouteListResultIterator) NotDone ¶
func (iter RouteListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RouteListResultIterator) Response ¶
func (iter RouteListResultIterator) Response() RouteListResult
Response returns the raw server response from the last page request.
func (RouteListResultIterator) Value ¶
func (iter RouteListResultIterator) Value() Route
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RouteListResultPage ¶
type RouteListResultPage struct {
// contains filtered or unexported fields
}
RouteListResultPage contains a page of Route values.
func NewRouteListResultPage ¶
func NewRouteListResultPage(getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage
Creates a new instance of the RouteListResultPage type.
func (*RouteListResultPage) Next ¶
func (page *RouteListResultPage) 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 (*RouteListResultPage) NextWithContext ¶
func (page *RouteListResultPage) 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 (RouteListResultPage) NotDone ¶
func (page RouteListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RouteListResultPage) Response ¶
func (page RouteListResultPage) Response() RouteListResult
Response returns the raw server response from the last page request.
func (RouteListResultPage) Values ¶
func (page RouteListResultPage) Values() []Route
Values returns the slice of values for the current page or nil if there are no values.
type RouteNextHopType ¶
type RouteNextHopType string
RouteNextHopType enumerates the values for route next hop type.
const ( // RouteNextHopTypeInternet ... RouteNextHopTypeInternet RouteNextHopType = "Internet" // RouteNextHopTypeNone ... RouteNextHopTypeNone RouteNextHopType = "None" // RouteNextHopTypeVirtualAppliance ... RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" // RouteNextHopTypeVirtualNetworkGateway ... RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" // RouteNextHopTypeVnetLocal ... RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" )
func PossibleRouteNextHopTypeValues ¶
func PossibleRouteNextHopTypeValues() []RouteNextHopType
PossibleRouteNextHopTypeValues returns an array of possible values for the RouteNextHopType const type.
type RoutePropertiesFormat ¶
type RoutePropertiesFormat struct { // AddressPrefix - Gets or sets the destination CIDR to which the route applies. AddressPrefix *string `json:"addressPrefix,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"` // NextHopIPAddress - Gets or sets the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
RoutePropertiesFormat route resource
type RouteTable ¶
type RouteTable struct { autorest.Response `json:"-"` *RouteTablePropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
RouteTable routeTable resource
func (RouteTable) MarshalJSON ¶
func (rt RouteTable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RouteTable.
func (*RouteTable) UnmarshalJSON ¶
func (rt *RouteTable) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RouteTable struct.
type RouteTableListResult ¶
type RouteTableListResult struct { autorest.Response `json:"-"` // Value - Gets List of RouteTables in a resource group Value *[]RouteTable `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
RouteTableListResult response for ListRouteTable Api servive call
func (RouteTableListResult) IsEmpty ¶
func (rtlr RouteTableListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RouteTableListResultIterator ¶
type RouteTableListResultIterator struct {
// contains filtered or unexported fields
}
RouteTableListResultIterator provides access to a complete listing of RouteTable values.
func NewRouteTableListResultIterator ¶
func NewRouteTableListResultIterator(page RouteTableListResultPage) RouteTableListResultIterator
Creates a new instance of the RouteTableListResultIterator type.
func (*RouteTableListResultIterator) Next ¶
func (iter *RouteTableListResultIterator) 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 (*RouteTableListResultIterator) NextWithContext ¶
func (iter *RouteTableListResultIterator) 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 (RouteTableListResultIterator) NotDone ¶
func (iter RouteTableListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RouteTableListResultIterator) Response ¶
func (iter RouteTableListResultIterator) Response() RouteTableListResult
Response returns the raw server response from the last page request.
func (RouteTableListResultIterator) Value ¶
func (iter RouteTableListResultIterator) Value() RouteTable
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RouteTableListResultPage ¶
type RouteTableListResultPage struct {
// contains filtered or unexported fields
}
RouteTableListResultPage contains a page of RouteTable values.
func NewRouteTableListResultPage ¶
func NewRouteTableListResultPage(getNextPage func(context.Context, RouteTableListResult) (RouteTableListResult, error)) RouteTableListResultPage
Creates a new instance of the RouteTableListResultPage type.
func (*RouteTableListResultPage) Next ¶
func (page *RouteTableListResultPage) 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 (*RouteTableListResultPage) NextWithContext ¶
func (page *RouteTableListResultPage) 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 (RouteTableListResultPage) NotDone ¶
func (page RouteTableListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RouteTableListResultPage) Response ¶
func (page RouteTableListResultPage) Response() RouteTableListResult
Response returns the raw server response from the last page request.
func (RouteTableListResultPage) Values ¶
func (page RouteTableListResultPage) Values() []RouteTable
Values returns the slice of values for the current page or nil if there are no values.
type RouteTablePropertiesFormat ¶
type RouteTablePropertiesFormat struct { // Routes - Gets or sets Routes in a Route Table Routes *[]Route `json:"routes,omitempty"` // Subnets - Gets collection of references to subnets Subnets *[]Subnet `json:"subnets,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
RouteTablePropertiesFormat route Table resource
type RouteTablesClient ¶
type RouteTablesClient struct {
BaseClient
}
RouteTablesClient is the network Client
func NewRouteTablesClient ¶
func NewRouteTablesClient(subscriptionID string) RouteTablesClient
NewRouteTablesClient creates an instance of the RouteTablesClient client.
func NewRouteTablesClientWithBaseURI ¶
func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient
NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client.
func (RouteTablesClient) CreateOrUpdate ¶
func (client RouteTablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (result RouteTablesCreateOrUpdateFuture, err error)
CreateOrUpdate the Put RouteTable operation creates/updates a route tablein the specified resource group. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. parameters - parameters supplied to the create/update Route Table operation
func (RouteTablesClient) CreateOrUpdatePreparer ¶
func (client RouteTablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RouteTablesClient) CreateOrUpdateResponder ¶
func (client RouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (result RouteTable, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RouteTablesClient) CreateOrUpdateSender ¶
func (client RouteTablesClient) CreateOrUpdateSender(req *http.Request) (future RouteTablesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RouteTablesClient) Delete ¶
func (client RouteTablesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteTablesDeleteFuture, err error)
Delete the Delete RouteTable operation deletes the specifed Route Table Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table.
func (RouteTablesClient) DeletePreparer ¶
func (client RouteTablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RouteTablesClient) DeleteResponder ¶
func (client RouteTablesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RouteTablesClient) DeleteSender ¶
func (client RouteTablesClient) DeleteSender(req *http.Request) (future RouteTablesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RouteTablesClient) Get ¶
func (client RouteTablesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (result RouteTable, err error)
Get the Get RouteTables operation retrieves information about the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. expand - expand references resources.
func (RouteTablesClient) GetPreparer ¶
func (client RouteTablesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RouteTablesClient) GetResponder ¶
func (client RouteTablesClient) GetResponder(resp *http.Response) (result RouteTable, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RouteTablesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RouteTablesClient) List ¶
func (client RouteTablesClient) List(ctx context.Context, resourceGroupName string) (result RouteTableListResultPage, err error)
List the list RouteTables returns all route tables in a resource group Parameters: resourceGroupName - the name of the resource group.
func (RouteTablesClient) ListAll ¶
func (client RouteTablesClient) ListAll(ctx context.Context) (result RouteTableListResultPage, err error)
ListAll the list RouteTables returns all route tables in a subscription
func (RouteTablesClient) ListAllComplete ¶
func (client RouteTablesClient) ListAllComplete(ctx context.Context) (result RouteTableListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (RouteTablesClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (RouteTablesClient) ListAllResponder ¶
func (client RouteTablesClient) ListAllResponder(resp *http.Response) (result RouteTableListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (RouteTablesClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (RouteTablesClient) ListComplete ¶
func (client RouteTablesClient) ListComplete(ctx context.Context, resourceGroupName string) (result RouteTableListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RouteTablesClient) ListPreparer ¶
func (client RouteTablesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (RouteTablesClient) ListResponder ¶
func (client RouteTablesClient) ListResponder(resp *http.Response) (result RouteTableListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RouteTablesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type RouteTablesCreateOrUpdateFuture ¶
RouteTablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RouteTablesCreateOrUpdateFuture) Result ¶
func (future *RouteTablesCreateOrUpdateFuture) Result(client RouteTablesClient) (rt RouteTable, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type RouteTablesDeleteFuture ¶
RouteTablesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RouteTablesDeleteFuture) Result ¶
func (future *RouteTablesDeleteFuture) Result(client RouteTablesClient) (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 RoutesClient ¶
type RoutesClient struct {
BaseClient
}
RoutesClient is the network Client
func NewRoutesClient ¶
func NewRoutesClient(subscriptionID string) RoutesClient
NewRoutesClient creates an instance of the RoutesClient client.
func NewRoutesClientWithBaseURI ¶
func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient
NewRoutesClientWithBaseURI creates an instance of the RoutesClient client.
func (RoutesClient) CreateOrUpdate ¶
func (client RoutesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (result RoutesCreateOrUpdateFuture, err error)
CreateOrUpdate the Put route operation creates/updates a route in the specified route table Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route. routeParameters - parameters supplied to the create/update routeoperation
func (RoutesClient) CreateOrUpdatePreparer ¶
func (client RoutesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RoutesClient) CreateOrUpdateResponder ¶
func (client RoutesClient) CreateOrUpdateResponder(resp *http.Response) (result Route, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RoutesClient) CreateOrUpdateSender ¶
func (client RoutesClient) CreateOrUpdateSender(req *http.Request) (future RoutesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RoutesClient) Delete ¶
func (client RoutesClient) Delete(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result RoutesDeleteFuture, err error)
Delete the delete route operation deletes the specified route from a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route.
func (RoutesClient) DeletePreparer ¶
func (client RoutesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RoutesClient) DeleteResponder ¶
func (client RoutesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (RoutesClient) DeleteSender ¶
func (client RoutesClient) DeleteSender(req *http.Request) (future RoutesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RoutesClient) Get ¶
func (client RoutesClient) Get(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result Route, err error)
Get the Get route operation retreives information about the specified route from the route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route.
func (RoutesClient) GetPreparer ¶
func (client RoutesClient) GetPreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RoutesClient) GetResponder ¶
func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RoutesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RoutesClient) List ¶
func (client RoutesClient) List(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultPage, err error)
List the List network security rule opertion retrieves all the routes in a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table.
func (RoutesClient) ListComplete ¶
func (client RoutesClient) ListComplete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (RoutesClient) ListPreparer ¶
func (client RoutesClient) ListPreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*http.Request, error)
ListPreparer prepares the List request.
func (RoutesClient) ListResponder ¶
func (client RoutesClient) ListResponder(resp *http.Response) (result RouteListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RoutesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type RoutesCreateOrUpdateFuture ¶
RoutesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoutesCreateOrUpdateFuture) Result ¶
func (future *RoutesCreateOrUpdateFuture) Result(client RoutesClient) (r Route, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type RoutesDeleteFuture ¶
RoutesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoutesDeleteFuture) Result ¶
func (future *RoutesDeleteFuture) Result(client RoutesClient) (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 SecurityGroup ¶
type SecurityGroup struct { autorest.Response `json:"-"` *SecurityGroupPropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
SecurityGroup networkSecurityGroup resource
func (SecurityGroup) MarshalJSON ¶
func (sg SecurityGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityGroup.
func (*SecurityGroup) UnmarshalJSON ¶
func (sg *SecurityGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecurityGroup struct.
type SecurityGroupListResult ¶
type SecurityGroupListResult struct { autorest.Response `json:"-"` // Value - Gets List of NetworkSecurityGroups in a resource group Value *[]SecurityGroup `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
SecurityGroupListResult response for ListNetworkSecurityGroups Api servive call
func (SecurityGroupListResult) IsEmpty ¶
func (sglr SecurityGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SecurityGroupListResultIterator ¶
type SecurityGroupListResultIterator struct {
// contains filtered or unexported fields
}
SecurityGroupListResultIterator provides access to a complete listing of SecurityGroup values.
func NewSecurityGroupListResultIterator ¶
func NewSecurityGroupListResultIterator(page SecurityGroupListResultPage) SecurityGroupListResultIterator
Creates a new instance of the SecurityGroupListResultIterator type.
func (*SecurityGroupListResultIterator) Next ¶
func (iter *SecurityGroupListResultIterator) 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 (*SecurityGroupListResultIterator) NextWithContext ¶
func (iter *SecurityGroupListResultIterator) 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 (SecurityGroupListResultIterator) NotDone ¶
func (iter SecurityGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecurityGroupListResultIterator) Response ¶
func (iter SecurityGroupListResultIterator) Response() SecurityGroupListResult
Response returns the raw server response from the last page request.
func (SecurityGroupListResultIterator) Value ¶
func (iter SecurityGroupListResultIterator) Value() SecurityGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecurityGroupListResultPage ¶
type SecurityGroupListResultPage struct {
// contains filtered or unexported fields
}
SecurityGroupListResultPage contains a page of SecurityGroup values.
func NewSecurityGroupListResultPage ¶
func NewSecurityGroupListResultPage(getNextPage func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error)) SecurityGroupListResultPage
Creates a new instance of the SecurityGroupListResultPage type.
func (*SecurityGroupListResultPage) Next ¶
func (page *SecurityGroupListResultPage) 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 (*SecurityGroupListResultPage) NextWithContext ¶
func (page *SecurityGroupListResultPage) 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 (SecurityGroupListResultPage) NotDone ¶
func (page SecurityGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecurityGroupListResultPage) Response ¶
func (page SecurityGroupListResultPage) Response() SecurityGroupListResult
Response returns the raw server response from the last page request.
func (SecurityGroupListResultPage) Values ¶
func (page SecurityGroupListResultPage) Values() []SecurityGroup
Values returns the slice of values for the current page or nil if there are no values.
type SecurityGroupPropertiesFormat ¶
type SecurityGroupPropertiesFormat struct { // SecurityRules - Gets or sets Security rules of network security group SecurityRules *[]SecurityRule `json:"securityRules,omitempty"` // DefaultSecurityRules - Gets or sets Default security rules of network security group DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"` // NetworkInterfaces - Gets collection of references to Network Interfaces NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"` // Subnets - Gets collection of references to subnets Subnets *[]Subnet `json:"subnets,omitempty"` // ResourceGUID - Gets or sets resource guid property of the network security group resource ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
SecurityGroupPropertiesFormat network Security Group resource
type SecurityGroupsClient ¶
type SecurityGroupsClient struct {
BaseClient
}
SecurityGroupsClient is the network Client
func NewSecurityGroupsClient ¶
func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient
NewSecurityGroupsClient creates an instance of the SecurityGroupsClient client.
func NewSecurityGroupsClientWithBaseURI ¶
func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient
NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client.
func (SecurityGroupsClient) CreateOrUpdate ¶
func (client SecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (result SecurityGroupsCreateOrUpdateFuture, err error)
CreateOrUpdate the Put NetworkSecurityGroup operation creates/updates a network security groupin the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. parameters - parameters supplied to the create/update Network Security Group operation
func (SecurityGroupsClient) CreateOrUpdatePreparer ¶
func (client SecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SecurityGroupsClient) CreateOrUpdateResponder ¶
func (client SecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SecurityGroupsClient) CreateOrUpdateSender ¶
func (client SecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (future SecurityGroupsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SecurityGroupsClient) Delete ¶
func (client SecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityGroupsDeleteFuture, err error)
Delete the Delete NetworkSecurityGroup operation deletes the specifed network security group Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.
func (SecurityGroupsClient) DeletePreparer ¶
func (client SecurityGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SecurityGroupsClient) DeleteResponder ¶
func (client SecurityGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SecurityGroupsClient) DeleteSender ¶
func (client SecurityGroupsClient) DeleteSender(req *http.Request) (future SecurityGroupsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SecurityGroupsClient) Get ¶
func (client SecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (result SecurityGroup, err error)
Get the Get NetworkSecurityGroups operation retrieves information about the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. expand - expand references resources.
func (SecurityGroupsClient) GetPreparer ¶
func (client SecurityGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SecurityGroupsClient) GetResponder ¶
func (client SecurityGroupsClient) GetResponder(resp *http.Response) (result SecurityGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SecurityGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SecurityGroupsClient) List ¶
func (client SecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultPage, err error)
List the list NetworkSecurityGroups returns all network security groups in a resource group Parameters: resourceGroupName - the name of the resource group.
func (SecurityGroupsClient) ListAll ¶
func (client SecurityGroupsClient) ListAll(ctx context.Context) (result SecurityGroupListResultPage, err error)
ListAll the list NetworkSecurityGroups returns all network security groups in a subscription
func (SecurityGroupsClient) ListAllComplete ¶
func (client SecurityGroupsClient) ListAllComplete(ctx context.Context) (result SecurityGroupListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (SecurityGroupsClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (SecurityGroupsClient) ListAllResponder ¶
func (client SecurityGroupsClient) ListAllResponder(resp *http.Response) (result SecurityGroupListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (SecurityGroupsClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (SecurityGroupsClient) ListComplete ¶
func (client SecurityGroupsClient) ListComplete(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SecurityGroupsClient) ListPreparer ¶
func (client SecurityGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SecurityGroupsClient) ListResponder ¶
func (client SecurityGroupsClient) ListResponder(resp *http.Response) (result SecurityGroupListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SecurityGroupsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SecurityGroupsCreateOrUpdateFuture ¶
SecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SecurityGroupsCreateOrUpdateFuture) Result ¶
func (future *SecurityGroupsCreateOrUpdateFuture) Result(client SecurityGroupsClient) (sg SecurityGroup, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SecurityGroupsDeleteFuture ¶
SecurityGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SecurityGroupsDeleteFuture) Result ¶
func (future *SecurityGroupsDeleteFuture) Result(client SecurityGroupsClient) (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 SecurityRule ¶
type SecurityRule struct { autorest.Response `json:"-"` *SecurityRulePropertiesFormat `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"` }
SecurityRule network security rule
func (SecurityRule) MarshalJSON ¶
func (sr SecurityRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecurityRule.
func (*SecurityRule) UnmarshalJSON ¶
func (sr *SecurityRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecurityRule struct.
type SecurityRuleAccess ¶
type SecurityRuleAccess string
SecurityRuleAccess enumerates the values for security rule access.
const ( // Allow ... Allow SecurityRuleAccess = "Allow" // Deny ... Deny SecurityRuleAccess = "Deny" )
func PossibleSecurityRuleAccessValues ¶
func PossibleSecurityRuleAccessValues() []SecurityRuleAccess
PossibleSecurityRuleAccessValues returns an array of possible values for the SecurityRuleAccess const type.
type SecurityRuleDirection ¶
type SecurityRuleDirection string
SecurityRuleDirection enumerates the values for security rule direction.
const ( // Inbound ... Inbound SecurityRuleDirection = "Inbound" // Outbound ... Outbound SecurityRuleDirection = "Outbound" )
func PossibleSecurityRuleDirectionValues ¶
func PossibleSecurityRuleDirectionValues() []SecurityRuleDirection
PossibleSecurityRuleDirectionValues returns an array of possible values for the SecurityRuleDirection const type.
type SecurityRuleListResult ¶
type SecurityRuleListResult struct { autorest.Response `json:"-"` // Value - Gets security rules in a network security group Value *[]SecurityRule `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
SecurityRuleListResult response for ListSecurityRule Api service callRetrieves all security rules that belongs to a network security group
func (SecurityRuleListResult) IsEmpty ¶
func (srlr SecurityRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SecurityRuleListResultIterator ¶
type SecurityRuleListResultIterator struct {
// contains filtered or unexported fields
}
SecurityRuleListResultIterator provides access to a complete listing of SecurityRule values.
func NewSecurityRuleListResultIterator ¶
func NewSecurityRuleListResultIterator(page SecurityRuleListResultPage) SecurityRuleListResultIterator
Creates a new instance of the SecurityRuleListResultIterator type.
func (*SecurityRuleListResultIterator) Next ¶
func (iter *SecurityRuleListResultIterator) 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 (*SecurityRuleListResultIterator) NextWithContext ¶
func (iter *SecurityRuleListResultIterator) 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 (SecurityRuleListResultIterator) NotDone ¶
func (iter SecurityRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecurityRuleListResultIterator) Response ¶
func (iter SecurityRuleListResultIterator) Response() SecurityRuleListResult
Response returns the raw server response from the last page request.
func (SecurityRuleListResultIterator) Value ¶
func (iter SecurityRuleListResultIterator) Value() SecurityRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecurityRuleListResultPage ¶
type SecurityRuleListResultPage struct {
// contains filtered or unexported fields
}
SecurityRuleListResultPage contains a page of SecurityRule values.
func NewSecurityRuleListResultPage ¶
func NewSecurityRuleListResultPage(getNextPage func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error)) SecurityRuleListResultPage
Creates a new instance of the SecurityRuleListResultPage type.
func (*SecurityRuleListResultPage) Next ¶
func (page *SecurityRuleListResultPage) 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 (*SecurityRuleListResultPage) NextWithContext ¶
func (page *SecurityRuleListResultPage) 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 (SecurityRuleListResultPage) NotDone ¶
func (page SecurityRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecurityRuleListResultPage) Response ¶
func (page SecurityRuleListResultPage) Response() SecurityRuleListResult
Response returns the raw server response from the last page request.
func (SecurityRuleListResultPage) Values ¶
func (page SecurityRuleListResultPage) Values() []SecurityRule
Values returns the slice of values for the current page or nil if there are no values.
type SecurityRulePropertiesFormat ¶
type SecurityRulePropertiesFormat struct { // Description - Gets or sets a description for this rule. Restricted to 140 chars. Description *string `json:"description,omitempty"` // Protocol - Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*). Possible values include: 'TCP', 'UDP', 'Asterisk' Protocol SecurityRuleProtocol `json:"protocol,omitempty"` // SourcePortRange - Gets or sets Source Port or Range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports. SourcePortRange *string `json:"sourcePortRange,omitempty"` // DestinationPortRange - Gets or sets Destination Port or Range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports. DestinationPortRange *string `json:"destinationPortRange,omitempty"` // SourceAddressPrefix - Gets or sets source address prefix. CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` // DestinationAddressPrefix - Gets or sets destination address prefix. CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` // Access - Gets or sets network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. Possible values include: 'Allow', 'Deny' Access SecurityRuleAccess `json:"access,omitempty"` // Priority - Gets or sets the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. Priority *int32 `json:"priority,omitempty"` // Direction - Gets or sets the direction of the rule.InBound or Outbound. The direction specifies if rule will be evaluated on incoming or outcoming traffic. Possible values include: 'Inbound', 'Outbound' Direction SecurityRuleDirection `json:"direction,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
SecurityRulePropertiesFormat ...
type SecurityRuleProtocol ¶
type SecurityRuleProtocol string
SecurityRuleProtocol enumerates the values for security rule protocol.
const ( // Asterisk ... Asterisk SecurityRuleProtocol = "*" // TCP ... TCP SecurityRuleProtocol = "Tcp" // UDP ... UDP SecurityRuleProtocol = "Udp" )
func PossibleSecurityRuleProtocolValues ¶
func PossibleSecurityRuleProtocolValues() []SecurityRuleProtocol
PossibleSecurityRuleProtocolValues returns an array of possible values for the SecurityRuleProtocol const type.
type SecurityRulesClient ¶
type SecurityRulesClient struct {
BaseClient
}
SecurityRulesClient is the network Client
func NewSecurityRulesClient ¶
func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient
NewSecurityRulesClient creates an instance of the SecurityRulesClient client.
func NewSecurityRulesClientWithBaseURI ¶
func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient
NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client.
func (SecurityRulesClient) CreateOrUpdate ¶
func (client SecurityRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (result SecurityRulesCreateOrUpdateFuture, err error)
CreateOrUpdate the Put network security rule operation creates/updates a security rule in the specified network security group Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule. securityRuleParameters - parameters supplied to the create/update network security rule operation
func (SecurityRulesClient) CreateOrUpdatePreparer ¶
func (client SecurityRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SecurityRulesClient) CreateOrUpdateResponder ¶
func (client SecurityRulesClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SecurityRulesClient) CreateOrUpdateSender ¶
func (client SecurityRulesClient) CreateOrUpdateSender(req *http.Request) (future SecurityRulesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SecurityRulesClient) Delete ¶
func (client SecurityRulesClient) Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRulesDeleteFuture, err error)
Delete the delete network security rule operation deletes the specified network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule.
func (SecurityRulesClient) DeletePreparer ¶
func (client SecurityRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SecurityRulesClient) DeleteResponder ¶
func (client SecurityRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SecurityRulesClient) DeleteSender ¶
func (client SecurityRulesClient) DeleteSender(req *http.Request) (future SecurityRulesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SecurityRulesClient) Get ¶
func (client SecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, err error)
Get the Get NetworkSecurityRule operation retreives information about the specified network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule.
func (SecurityRulesClient) GetPreparer ¶
func (client SecurityRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SecurityRulesClient) GetResponder ¶
func (client SecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SecurityRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SecurityRulesClient) List ¶
func (client SecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)
List the List network security rule opertion retrieves all the security rules in a network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.
func (SecurityRulesClient) ListComplete ¶
func (client SecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SecurityRulesClient) ListPreparer ¶
func (client SecurityRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SecurityRulesClient) ListResponder ¶
func (client SecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SecurityRulesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SecurityRulesCreateOrUpdateFuture ¶
SecurityRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SecurityRulesCreateOrUpdateFuture) Result ¶
func (future *SecurityRulesCreateOrUpdateFuture) Result(client SecurityRulesClient) (sr SecurityRule, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SecurityRulesDeleteFuture ¶
SecurityRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SecurityRulesDeleteFuture) Result ¶
func (future *SecurityRulesDeleteFuture) Result(client SecurityRulesClient) (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 ServiceProviderProvisioningState ¶
type ServiceProviderProvisioningState string
ServiceProviderProvisioningState enumerates the values for service provider provisioning state.
const ( // Deprovisioning ... Deprovisioning ServiceProviderProvisioningState = "Deprovisioning" // NotProvisioned ... NotProvisioned ServiceProviderProvisioningState = "NotProvisioned" // Provisioned ... Provisioned ServiceProviderProvisioningState = "Provisioned" // Provisioning ... Provisioning ServiceProviderProvisioningState = "Provisioning" )
func PossibleServiceProviderProvisioningStateValues ¶
func PossibleServiceProviderProvisioningStateValues() []ServiceProviderProvisioningState
PossibleServiceProviderProvisioningStateValues returns an array of possible values for the ServiceProviderProvisioningState const type.
type SubResource ¶
type SubResource struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
SubResource ...
type Subnet ¶
type Subnet struct { autorest.Response `json:"-"` *SubnetPropertiesFormat `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"` }
Subnet subnet in a VirtualNework resource
func (Subnet) MarshalJSON ¶
MarshalJSON is the custom marshaler for Subnet.
func (*Subnet) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Subnet struct.
type SubnetListResult ¶
type SubnetListResult struct { autorest.Response `json:"-"` // Value - Gets the subnets in a virtual network Value *[]Subnet `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
SubnetListResult response for ListSubnets Api service callRetrieves all subnet that belongs to a virtual network
func (SubnetListResult) IsEmpty ¶
func (slr SubnetListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SubnetListResultIterator ¶
type SubnetListResultIterator struct {
// contains filtered or unexported fields
}
SubnetListResultIterator provides access to a complete listing of Subnet values.
func NewSubnetListResultIterator ¶
func NewSubnetListResultIterator(page SubnetListResultPage) SubnetListResultIterator
Creates a new instance of the SubnetListResultIterator type.
func (*SubnetListResultIterator) Next ¶
func (iter *SubnetListResultIterator) 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 (*SubnetListResultIterator) NextWithContext ¶
func (iter *SubnetListResultIterator) 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 (SubnetListResultIterator) NotDone ¶
func (iter SubnetListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SubnetListResultIterator) Response ¶
func (iter SubnetListResultIterator) Response() SubnetListResult
Response returns the raw server response from the last page request.
func (SubnetListResultIterator) Value ¶
func (iter SubnetListResultIterator) Value() Subnet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SubnetListResultPage ¶
type SubnetListResultPage struct {
// contains filtered or unexported fields
}
SubnetListResultPage contains a page of Subnet values.
func NewSubnetListResultPage ¶
func NewSubnetListResultPage(getNextPage func(context.Context, SubnetListResult) (SubnetListResult, error)) SubnetListResultPage
Creates a new instance of the SubnetListResultPage type.
func (*SubnetListResultPage) Next ¶
func (page *SubnetListResultPage) 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 (*SubnetListResultPage) NextWithContext ¶
func (page *SubnetListResultPage) 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 (SubnetListResultPage) NotDone ¶
func (page SubnetListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SubnetListResultPage) Response ¶
func (page SubnetListResultPage) Response() SubnetListResult
Response returns the raw server response from the last page request.
func (SubnetListResultPage) Values ¶
func (page SubnetListResultPage) Values() []Subnet
Values returns the slice of values for the current page or nil if there are no values.
type SubnetPropertiesFormat ¶
type SubnetPropertiesFormat struct { // AddressPrefix - Gets or sets Address prefix for the subnet. AddressPrefix *string `json:"addressPrefix,omitempty"` // NetworkSecurityGroup - Gets or sets the reference of the NetworkSecurityGroup resource NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"` // RouteTable - Gets or sets the reference of the RouteTable resource RouteTable *RouteTable `json:"routeTable,omitempty"` // IPConfigurations - Gets array of references to the network interface IP configurations using subnet IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
SubnetPropertiesFormat ...
type SubnetsClient ¶
type SubnetsClient struct {
BaseClient
}
SubnetsClient is the network Client
func NewSubnetsClient ¶
func NewSubnetsClient(subscriptionID string) SubnetsClient
NewSubnetsClient creates an instance of the SubnetsClient client.
func NewSubnetsClientWithBaseURI ¶
func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient
NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client.
func (SubnetsClient) CreateOrUpdate ¶
func (client SubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (result SubnetsCreateOrUpdateFuture, err error)
CreateOrUpdate the Put Subnet operation creates/updates a subnet in thespecified virtual network Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. subnetParameters - parameters supplied to the create/update Subnet operation
func (SubnetsClient) CreateOrUpdatePreparer ¶
func (client SubnetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SubnetsClient) CreateOrUpdateResponder ¶
func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result Subnet, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SubnetsClient) CreateOrUpdateSender ¶
func (client SubnetsClient) CreateOrUpdateSender(req *http.Request) (future SubnetsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SubnetsClient) Delete ¶
func (client SubnetsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result SubnetsDeleteFuture, err error)
Delete the delete subnet operation deletes the specified subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.
func (SubnetsClient) DeletePreparer ¶
func (client SubnetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SubnetsClient) DeleteResponder ¶
func (client SubnetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SubnetsClient) DeleteSender ¶
func (client SubnetsClient) DeleteSender(req *http.Request) (future SubnetsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SubnetsClient) Get ¶
func (client SubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result Subnet, err error)
Get the Get subnet operation retreives information about the specified subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. expand - expand references resources.
func (SubnetsClient) GetPreparer ¶
func (client SubnetsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SubnetsClient) GetResponder ¶
func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SubnetsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SubnetsClient) List ¶
func (client SubnetsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultPage, err error)
List the List subnets opertion retrieves all the subnets in a virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.
func (SubnetsClient) ListComplete ¶
func (client SubnetsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SubnetsClient) ListPreparer ¶
func (client SubnetsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SubnetsClient) ListResponder ¶
func (client SubnetsClient) ListResponder(resp *http.Response) (result SubnetListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SubnetsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SubnetsCreateOrUpdateFuture ¶
SubnetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SubnetsCreateOrUpdateFuture) Result ¶
func (future *SubnetsCreateOrUpdateFuture) Result(client SubnetsClient) (s Subnet, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SubnetsDeleteFuture ¶
SubnetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SubnetsDeleteFuture) Result ¶
func (future *SubnetsDeleteFuture) Result(client SubnetsClient) (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 TransportProtocol ¶
type TransportProtocol string
TransportProtocol enumerates the values for transport protocol.
const ( // TransportProtocolTCP ... TransportProtocolTCP TransportProtocol = "Tcp" // TransportProtocolUDP ... TransportProtocolUDP TransportProtocol = "Udp" )
func PossibleTransportProtocolValues ¶
func PossibleTransportProtocolValues() []TransportProtocol
PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.
type Usage ¶
type Usage struct { // Unit - Gets or sets an enum describing the unit of measurement. Unit *string `json:"unit,omitempty"` // CurrentValue - Gets or sets the current value of the usage. CurrentValue *int64 `json:"currentValue,omitempty"` // Limit - Gets or sets the limit of usage. Limit *int64 `json:"limit,omitempty"` // Name - Gets or sets the name of the type of usage. Name *UsageName `json:"name,omitempty"` }
Usage describes Network Resource Usage.
type UsageName ¶
type UsageName struct { // Value - Gets or sets a string describing the resource name. Value *string `json:"value,omitempty"` // LocalizedValue - Gets or sets a localized string describing the resource name. LocalizedValue *string `json:"localizedValue,omitempty"` }
UsageName the Usage Names.
type UsagesClient ¶
type UsagesClient struct {
BaseClient
}
UsagesClient is the network Client
func NewUsagesClient ¶
func NewUsagesClient(subscriptionID string) UsagesClient
NewUsagesClient creates an instance of the UsagesClient client.
func NewUsagesClientWithBaseURI ¶
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient
NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.
func (UsagesClient) List ¶
func (client UsagesClient) List(ctx context.Context, location string) (result UsagesListResult, err error)
List lists compute usages for a subscription. Parameters: location - the location upon which resource usage is queried.
func (UsagesClient) ListPreparer ¶
func (client UsagesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (UsagesClient) ListResponder ¶
func (client UsagesClient) ListResponder(resp *http.Response) (result UsagesListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (UsagesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type UsagesListResult ¶
type UsagesListResult struct { autorest.Response `json:"-"` // Value - Gets or sets the list Network Resource Usages. Value *[]Usage `json:"value,omitempty"` }
UsagesListResult the List Usages operation response.
type VirtualNetwork ¶
type VirtualNetwork struct { autorest.Response `json:"-"` *VirtualNetworkPropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualNetwork virtual Network resource
func (VirtualNetwork) MarshalJSON ¶
func (vn VirtualNetwork) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetwork.
func (*VirtualNetwork) UnmarshalJSON ¶
func (vn *VirtualNetwork) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetwork struct.
type VirtualNetworkGateway ¶
type VirtualNetworkGateway struct { autorest.Response `json:"-"` *VirtualNetworkGatewayPropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualNetworkGateway a common class for general resource information
func (VirtualNetworkGateway) MarshalJSON ¶
func (vng VirtualNetworkGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGateway.
func (*VirtualNetworkGateway) UnmarshalJSON ¶
func (vng *VirtualNetworkGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGateway struct.
type VirtualNetworkGatewayConnection ¶
type VirtualNetworkGatewayConnection struct { autorest.Response `json:"-"` *VirtualNetworkGatewayConnectionPropertiesFormat `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 - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualNetworkGatewayConnection a common class for general resource information
func (VirtualNetworkGatewayConnection) MarshalJSON ¶
func (vngc VirtualNetworkGatewayConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnection.
func (*VirtualNetworkGatewayConnection) UnmarshalJSON ¶
func (vngc *VirtualNetworkGatewayConnection) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayConnection struct.
type VirtualNetworkGatewayConnectionListResult ¶
type VirtualNetworkGatewayConnectionListResult struct { autorest.Response `json:"-"` // Value - Gets List of VirtualNetworkGatewayConnections that exists in a resource group Value *[]VirtualNetworkGatewayConnection `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkGatewayConnectionListResult response for ListVirtualNetworkGatewayConnections Api service call
func (VirtualNetworkGatewayConnectionListResult) IsEmpty ¶
func (vngclr VirtualNetworkGatewayConnectionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualNetworkGatewayConnectionListResultIterator ¶
type VirtualNetworkGatewayConnectionListResultIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkGatewayConnectionListResultIterator provides access to a complete listing of VirtualNetworkGatewayConnection values.
func NewVirtualNetworkGatewayConnectionListResultIterator ¶
func NewVirtualNetworkGatewayConnectionListResultIterator(page VirtualNetworkGatewayConnectionListResultPage) VirtualNetworkGatewayConnectionListResultIterator
Creates a new instance of the VirtualNetworkGatewayConnectionListResultIterator type.
func (*VirtualNetworkGatewayConnectionListResultIterator) Next ¶
func (iter *VirtualNetworkGatewayConnectionListResultIterator) 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 (*VirtualNetworkGatewayConnectionListResultIterator) NextWithContext ¶
func (iter *VirtualNetworkGatewayConnectionListResultIterator) 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 (VirtualNetworkGatewayConnectionListResultIterator) NotDone ¶
func (iter VirtualNetworkGatewayConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkGatewayConnectionListResultIterator) Response ¶
func (iter VirtualNetworkGatewayConnectionListResultIterator) Response() VirtualNetworkGatewayConnectionListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkGatewayConnectionListResultIterator) Value ¶
func (iter VirtualNetworkGatewayConnectionListResultIterator) Value() VirtualNetworkGatewayConnection
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualNetworkGatewayConnectionListResultPage ¶
type VirtualNetworkGatewayConnectionListResultPage struct {
// contains filtered or unexported fields
}
VirtualNetworkGatewayConnectionListResultPage contains a page of VirtualNetworkGatewayConnection values.
func NewVirtualNetworkGatewayConnectionListResultPage ¶
func NewVirtualNetworkGatewayConnectionListResultPage(getNextPage func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error)) VirtualNetworkGatewayConnectionListResultPage
Creates a new instance of the VirtualNetworkGatewayConnectionListResultPage type.
func (*VirtualNetworkGatewayConnectionListResultPage) Next ¶
func (page *VirtualNetworkGatewayConnectionListResultPage) 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 (*VirtualNetworkGatewayConnectionListResultPage) NextWithContext ¶
func (page *VirtualNetworkGatewayConnectionListResultPage) 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 (VirtualNetworkGatewayConnectionListResultPage) NotDone ¶
func (page VirtualNetworkGatewayConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkGatewayConnectionListResultPage) Response ¶
func (page VirtualNetworkGatewayConnectionListResultPage) Response() VirtualNetworkGatewayConnectionListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkGatewayConnectionListResultPage) Values ¶
func (page VirtualNetworkGatewayConnectionListResultPage) Values() []VirtualNetworkGatewayConnection
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkGatewayConnectionPropertiesFormat ¶
type VirtualNetworkGatewayConnectionPropertiesFormat struct { // AuthorizationKey - The authorizationKey. AuthorizationKey *string `json:"authorizationKey,omitempty"` VirtualNetworkGateway1 *VirtualNetworkGateway `json:"virtualNetworkGateway1,omitempty"` VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"` LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"` // ConnectionType - Gateway connection type -Ipsec/Dedicated/VpnClient/Vnet2Vnet. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient' ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"` // RoutingWeight - The Routing weight. RoutingWeight *int32 `json:"routingWeight,omitempty"` SharedKey *string `json:"sharedKey,omitempty"` // ConnectionStatus - Virtual network Gateway connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"` // EgressBytesTransferred - The Egress Bytes Transferred in this connection EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"` // IngressBytesTransferred - The Ingress Bytes Transferred in this connection IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"` // Peer - The reference to peerings resource. Peer *SubResource `json:"peer,omitempty"` // EnableBgp - EnableBgp Flag EnableBgp *bool `json:"enableBgp,omitempty"` // ResourceGUID - Gets or sets resource guid property of the VirtualNetworkGatewayConnection resource ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the VirtualNetworkGatewayConnection resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
VirtualNetworkGatewayConnectionPropertiesFormat virtualNeworkGatewayConnection properties
type VirtualNetworkGatewayConnectionStatus ¶
type VirtualNetworkGatewayConnectionStatus string
VirtualNetworkGatewayConnectionStatus enumerates the values for virtual network gateway connection status.
const ( // Connected ... Connected VirtualNetworkGatewayConnectionStatus = "Connected" // Connecting ... Connecting VirtualNetworkGatewayConnectionStatus = "Connecting" // NotConnected ... NotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected" // Unknown ... Unknown VirtualNetworkGatewayConnectionStatus = "Unknown" )
func PossibleVirtualNetworkGatewayConnectionStatusValues ¶
func PossibleVirtualNetworkGatewayConnectionStatusValues() []VirtualNetworkGatewayConnectionStatus
PossibleVirtualNetworkGatewayConnectionStatusValues returns an array of possible values for the VirtualNetworkGatewayConnectionStatus const type.
type VirtualNetworkGatewayConnectionType ¶
type VirtualNetworkGatewayConnectionType string
VirtualNetworkGatewayConnectionType enumerates the values for virtual network gateway connection type.
const ( // ExpressRoute ... ExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute" // IPsec ... IPsec VirtualNetworkGatewayConnectionType = "IPsec" // Vnet2Vnet ... Vnet2Vnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet" // VPNClient ... VPNClient VirtualNetworkGatewayConnectionType = "VPNClient" )
func PossibleVirtualNetworkGatewayConnectionTypeValues ¶
func PossibleVirtualNetworkGatewayConnectionTypeValues() []VirtualNetworkGatewayConnectionType
PossibleVirtualNetworkGatewayConnectionTypeValues returns an array of possible values for the VirtualNetworkGatewayConnectionType const type.
type VirtualNetworkGatewayConnectionsClient ¶
type VirtualNetworkGatewayConnectionsClient struct {
BaseClient
}
VirtualNetworkGatewayConnectionsClient is the network Client
func NewVirtualNetworkGatewayConnectionsClient ¶
func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient
NewVirtualNetworkGatewayConnectionsClient creates an instance of the VirtualNetworkGatewayConnectionsClient client.
func NewVirtualNetworkGatewayConnectionsClientWithBaseURI ¶
func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient
NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the VirtualNetworkGatewayConnectionsClient client.
func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdate ¶
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (result VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdate the Put VirtualNetworkGatewayConnection operation creates/updates a virtual network gateway connection in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway conenction. parameters - parameters supplied to the Begin Create or update Virtual Network Gateway connection operation through Network resource provider.
func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender ¶
func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewayConnectionsClient) Delete ¶
func (client VirtualNetworkGatewayConnectionsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnectionsDeleteFuture, err error)
Delete the Delete VirtualNetworkGatewayConnection operation deletes the specifed virtual network Gateway connection through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection.
func (VirtualNetworkGatewayConnectionsClient) DeletePreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworkGatewayConnectionsClient) DeleteResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) DeleteSender ¶
func (client VirtualNetworkGatewayConnectionsClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewayConnectionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewayConnectionsClient) Get ¶
func (client VirtualNetworkGatewayConnectionsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, err error)
Get the Get VirtualNetworkGatewayConnection operation retrieves information about the specified virtual network gateway connection through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection.
func (VirtualNetworkGatewayConnectionsClient) GetPreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworkGatewayConnectionsClient) GetResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) GetResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) GetSender ¶
func (client VirtualNetworkGatewayConnectionsClient) 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 (VirtualNetworkGatewayConnectionsClient) GetSharedKey ¶
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(ctx context.Context, resourceGroupName string, connectionSharedKeyName string) (result ConnectionSharedKeyResult, err error)
GetSharedKey the Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. Parameters: resourceGroupName - the name of the resource group. connectionSharedKeyName - the virtual network gateway connection shared key name.
func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer(ctx context.Context, resourceGroupName string, connectionSharedKeyName string) (*http.Request, error)
GetSharedKeyPreparer prepares the GetSharedKey request.
func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKeyResult, err error)
GetSharedKeyResponder handles the response to the GetSharedKey request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) GetSharedKeySender ¶
func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeySender(req *http.Request) (*http.Response, error)
GetSharedKeySender sends the GetSharedKey request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewayConnectionsClient) List ¶
func (client VirtualNetworkGatewayConnectionsClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultPage, err error)
List the List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. Parameters: resourceGroupName - the name of the resource group.
func (VirtualNetworkGatewayConnectionsClient) ListComplete ¶
func (client VirtualNetworkGatewayConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayConnectionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualNetworkGatewayConnectionsClient) ListPreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualNetworkGatewayConnectionsClient) ListResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayConnectionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) ListSender ¶
func (client VirtualNetworkGatewayConnectionsClient) 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 (VirtualNetworkGatewayConnectionsClient) ResetSharedKey ¶
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (result VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error)
ResetSharedKey the VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection reset shared key Name. parameters - parameters supplied to the Begin Reset Virtual Network Gateway connection shared key operation through Network resource provider.
func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (*http.Request, error)
ResetSharedKeyPreparer prepares the ResetSharedKey request.
func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder(resp *http.Response) (result ConnectionResetSharedKey, err error)
ResetSharedKeyResponder handles the response to the ResetSharedKey request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender ¶
func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender(req *http.Request) (future VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error)
ResetSharedKeySender sends the ResetSharedKey request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewayConnectionsClient) SetSharedKey ¶
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (result VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error)
SetSharedKey the Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection name. parameters - parameters supplied to the Begin Set Virtual Network Gateway conection Shared key operation throughNetwork resource provider.
func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer ¶
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (*http.Request, error)
SetSharedKeyPreparer prepares the SetSharedKey request.
func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder ¶
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKey, err error)
SetSharedKeyResponder handles the response to the SetSharedKey request. The method always closes the http.Response Body.
func (VirtualNetworkGatewayConnectionsClient) SetSharedKeySender ¶
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeySender(req *http.Request) (future VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error)
SetSharedKeySender sends the SetSharedKey request. The method will close the http.Response Body if it receives an error.
type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture ¶
VirtualNetworkGatewayConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) Result ¶
func (future *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) Result(client VirtualNetworkGatewayConnectionsClient) (vngc VirtualNetworkGatewayConnection, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworkGatewayConnectionsDeleteFuture ¶
VirtualNetworkGatewayConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewayConnectionsDeleteFuture) Result ¶
func (future *VirtualNetworkGatewayConnectionsDeleteFuture) Result(client VirtualNetworkGatewayConnectionsClient) (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 VirtualNetworkGatewayConnectionsResetSharedKeyFuture ¶
type VirtualNetworkGatewayConnectionsResetSharedKeyFuture struct {
}VirtualNetworkGatewayConnectionsResetSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewayConnectionsResetSharedKeyFuture) Result ¶
func (future *VirtualNetworkGatewayConnectionsResetSharedKeyFuture) Result(client VirtualNetworkGatewayConnectionsClient) (crsk ConnectionResetSharedKey, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworkGatewayConnectionsSetSharedKeyFuture ¶
type VirtualNetworkGatewayConnectionsSetSharedKeyFuture struct {
}VirtualNetworkGatewayConnectionsSetSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewayConnectionsSetSharedKeyFuture) Result ¶
func (future *VirtualNetworkGatewayConnectionsSetSharedKeyFuture) Result(client VirtualNetworkGatewayConnectionsClient) (csk ConnectionSharedKey, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworkGatewayIPConfiguration ¶
type VirtualNetworkGatewayIPConfiguration struct { *VirtualNetworkGatewayIPConfigurationPropertiesFormat `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"` }
VirtualNetworkGatewayIPConfiguration ipConfiguration for Virtual network gateway
func (VirtualNetworkGatewayIPConfiguration) MarshalJSON ¶
func (vngic VirtualNetworkGatewayIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkGatewayIPConfiguration.
func (*VirtualNetworkGatewayIPConfiguration) UnmarshalJSON ¶
func (vngic *VirtualNetworkGatewayIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayIPConfiguration struct.
type VirtualNetworkGatewayIPConfigurationPropertiesFormat ¶
type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct { // PrivateIPAddress - Gets or sets the privateIPAddress of the IP Configuration PrivateIPAddress *string `json:"privateIPAddress,omitempty"` // PrivateIPAllocationMethod - Gets or sets PrivateIP allocation method (Static/Dynamic). Possible values include: 'Static', 'Dynamic' PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"` // Subnet - Gets or sets the reference of the subnet resource Subnet *SubResource `json:"subnet,omitempty"` // PublicIPAddress - Gets or sets the reference of the PublicIP resource PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
VirtualNetworkGatewayIPConfigurationPropertiesFormat properties of VirtualNetworkGatewayIPConfiguration
type VirtualNetworkGatewayListResult ¶
type VirtualNetworkGatewayListResult struct { autorest.Response `json:"-"` // Value - Gets List of VirtualNetworkGateways that exists in a resource group Value *[]VirtualNetworkGateway `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkGatewayListResult response for ListVirtualNetworkGateways Api service call
func (VirtualNetworkGatewayListResult) IsEmpty ¶
func (vnglr VirtualNetworkGatewayListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualNetworkGatewayListResultIterator ¶
type VirtualNetworkGatewayListResultIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkGatewayListResultIterator provides access to a complete listing of VirtualNetworkGateway values.
func NewVirtualNetworkGatewayListResultIterator ¶
func NewVirtualNetworkGatewayListResultIterator(page VirtualNetworkGatewayListResultPage) VirtualNetworkGatewayListResultIterator
Creates a new instance of the VirtualNetworkGatewayListResultIterator type.
func (*VirtualNetworkGatewayListResultIterator) Next ¶
func (iter *VirtualNetworkGatewayListResultIterator) 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 (*VirtualNetworkGatewayListResultIterator) NextWithContext ¶
func (iter *VirtualNetworkGatewayListResultIterator) 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 (VirtualNetworkGatewayListResultIterator) NotDone ¶
func (iter VirtualNetworkGatewayListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkGatewayListResultIterator) Response ¶
func (iter VirtualNetworkGatewayListResultIterator) Response() VirtualNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkGatewayListResultIterator) Value ¶
func (iter VirtualNetworkGatewayListResultIterator) Value() VirtualNetworkGateway
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualNetworkGatewayListResultPage ¶
type VirtualNetworkGatewayListResultPage struct {
// contains filtered or unexported fields
}
VirtualNetworkGatewayListResultPage contains a page of VirtualNetworkGateway values.
func NewVirtualNetworkGatewayListResultPage ¶
func NewVirtualNetworkGatewayListResultPage(getNextPage func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error)) VirtualNetworkGatewayListResultPage
Creates a new instance of the VirtualNetworkGatewayListResultPage type.
func (*VirtualNetworkGatewayListResultPage) Next ¶
func (page *VirtualNetworkGatewayListResultPage) 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 (*VirtualNetworkGatewayListResultPage) NextWithContext ¶
func (page *VirtualNetworkGatewayListResultPage) 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 (VirtualNetworkGatewayListResultPage) NotDone ¶
func (page VirtualNetworkGatewayListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkGatewayListResultPage) Response ¶
func (page VirtualNetworkGatewayListResultPage) Response() VirtualNetworkGatewayListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkGatewayListResultPage) Values ¶
func (page VirtualNetworkGatewayListResultPage) Values() []VirtualNetworkGateway
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkGatewayPropertiesFormat ¶
type VirtualNetworkGatewayPropertiesFormat struct { // IPConfigurations - IpConfigurations for Virtual network gateway. IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"` // GatewayType - The type of this virtual network gateway. Possible values include: 'VirtualNetworkGatewayTypeVpn', 'VirtualNetworkGatewayTypeExpressRoute' GatewayType VirtualNetworkGatewayType `json:"gatewayType,omitempty"` // VpnType - The type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased' VpnType VpnType `json:"vpnType,omitempty"` // EnableBgp - EnableBgp Flag EnableBgp *bool `json:"enableBgp,omitempty"` // GatewayDefaultSite - Gets or sets the reference of the LocalNetworkGateway resource which represents Local network site having default routes. Assign Null value in case of removing existing default site setting. GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"` // Sku - Gets or sets the reference of the VirtualNetworkGatewaySku resource which represents the sku selected for Virtual network gateway. Sku *VirtualNetworkGatewaySku `json:"sku,omitempty"` // VpnClientConfiguration - Gets or sets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. VpnClientConfiguration *VpnClientConfiguration `json:"vpnClientConfiguration,omitempty"` // BgpSettings - Virtual network gateway's BGP speaker settings BgpSettings *BgpSettings `json:"bgpSettings,omitempty"` // ResourceGUID - Gets or sets resource guid property of the VirtualNetworkGateway resource ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the VirtualNetworkGateway resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
VirtualNetworkGatewayPropertiesFormat virtualNeworkGateay properties
type VirtualNetworkGatewaySku ¶
type VirtualNetworkGatewaySku struct { // Name - Gateway sku name -Basic/HighPerformance/Standard. Possible values include: 'VirtualNetworkGatewaySkuNameBasic', 'VirtualNetworkGatewaySkuNameHighPerformance', 'VirtualNetworkGatewaySkuNameStandard' Name VirtualNetworkGatewaySkuName `json:"name,omitempty"` // Tier - Gateway sku tier -Basic/HighPerformance/Standard. Possible values include: 'VirtualNetworkGatewaySkuTierBasic', 'VirtualNetworkGatewaySkuTierHighPerformance', 'VirtualNetworkGatewaySkuTierStandard' Tier VirtualNetworkGatewaySkuTier `json:"tier,omitempty"` // Capacity - The capacity Capacity *int32 `json:"capacity,omitempty"` }
VirtualNetworkGatewaySku virtualNetworkGatewaySku details
type VirtualNetworkGatewaySkuName ¶
type VirtualNetworkGatewaySkuName string
VirtualNetworkGatewaySkuName enumerates the values for virtual network gateway sku name.
const ( // VirtualNetworkGatewaySkuNameBasic ... VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic" // VirtualNetworkGatewaySkuNameHighPerformance ... VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance" // VirtualNetworkGatewaySkuNameStandard ... VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard" )
func PossibleVirtualNetworkGatewaySkuNameValues ¶
func PossibleVirtualNetworkGatewaySkuNameValues() []VirtualNetworkGatewaySkuName
PossibleVirtualNetworkGatewaySkuNameValues returns an array of possible values for the VirtualNetworkGatewaySkuName const type.
type VirtualNetworkGatewaySkuTier ¶
type VirtualNetworkGatewaySkuTier string
VirtualNetworkGatewaySkuTier enumerates the values for virtual network gateway sku tier.
const ( // VirtualNetworkGatewaySkuTierBasic ... VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic" // VirtualNetworkGatewaySkuTierHighPerformance ... VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance" // VirtualNetworkGatewaySkuTierStandard ... VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard" )
func PossibleVirtualNetworkGatewaySkuTierValues ¶
func PossibleVirtualNetworkGatewaySkuTierValues() []VirtualNetworkGatewaySkuTier
PossibleVirtualNetworkGatewaySkuTierValues returns an array of possible values for the VirtualNetworkGatewaySkuTier const type.
type VirtualNetworkGatewayType ¶
type VirtualNetworkGatewayType string
VirtualNetworkGatewayType enumerates the values for virtual network gateway type.
const ( // VirtualNetworkGatewayTypeExpressRoute ... VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute" // VirtualNetworkGatewayTypeVpn ... VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn" )
func PossibleVirtualNetworkGatewayTypeValues ¶
func PossibleVirtualNetworkGatewayTypeValues() []VirtualNetworkGatewayType
PossibleVirtualNetworkGatewayTypeValues returns an array of possible values for the VirtualNetworkGatewayType const type.
type VirtualNetworkGatewaysClient ¶
type VirtualNetworkGatewaysClient struct {
BaseClient
}
VirtualNetworkGatewaysClient is the network Client
func NewVirtualNetworkGatewaysClient ¶
func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient
NewVirtualNetworkGatewaysClient creates an instance of the VirtualNetworkGatewaysClient client.
func NewVirtualNetworkGatewaysClientWithBaseURI ¶
func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient
NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client.
func (VirtualNetworkGatewaysClient) CreateOrUpdate ¶
func (client VirtualNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdate the Put VirtualNetworkGateway operation creates/updates a virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the Begin Create or update Virtual Network Gateway operation through Network resource provider.
func (VirtualNetworkGatewaysClient) CreateOrUpdatePreparer ¶
func (client VirtualNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualNetworkGatewaysClient) CreateOrUpdateResponder ¶
func (client VirtualNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualNetworkGatewaysClient) CreateOrUpdateSender ¶
func (client VirtualNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkGatewaysCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewaysClient) Delete ¶
func (client VirtualNetworkGatewaysClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysDeleteFuture, err error)
Delete the Delete VirtualNetworkGateway operation deletes the specifed virtual network Gateway through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (VirtualNetworkGatewaysClient) DeletePreparer ¶
func (client VirtualNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworkGatewaysClient) DeleteResponder ¶
func (client VirtualNetworkGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualNetworkGatewaysClient) DeleteSender ¶
func (client VirtualNetworkGatewaysClient) DeleteSender(req *http.Request) (future VirtualNetworkGatewaysDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewaysClient) Generatevpnclientpackage ¶
func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result String, err error)
Generatevpnclientpackage the Generatevpnclientpackage operation generates Vpn client package for P2S client of the virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the Begin Generating Virtual Network Gateway Vpn client package operation through Network resource provider.
func (VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer ¶
func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (*http.Request, error)
GeneratevpnclientpackagePreparer prepares the Generatevpnclientpackage request.
func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder ¶
func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder(resp *http.Response) (result String, err error)
GeneratevpnclientpackageResponder handles the response to the Generatevpnclientpackage request. The method always closes the http.Response Body.
func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender ¶
func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender(req *http.Request) (*http.Response, error)
GeneratevpnclientpackageSender sends the Generatevpnclientpackage request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewaysClient) Get ¶
func (client VirtualNetworkGatewaysClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, err error)
Get the Get VirtualNetworkGateway operation retrieves information about the specified virtual network gateway through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.
func (VirtualNetworkGatewaysClient) GetPreparer ¶
func (client VirtualNetworkGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworkGatewaysClient) GetResponder ¶
func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualNetworkGatewaysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewaysClient) List ¶
func (client VirtualNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultPage, err error)
List the List VirtualNetworkGateways opertion retrieves all the virtual network gateways stored. Parameters: resourceGroupName - the name of the resource group.
func (VirtualNetworkGatewaysClient) ListComplete ¶
func (client VirtualNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualNetworkGatewaysClient) ListPreparer ¶
func (client VirtualNetworkGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualNetworkGatewaysClient) ListResponder ¶
func (client VirtualNetworkGatewaysClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualNetworkGatewaysClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworkGatewaysClient) Reset ¶
func (client VirtualNetworkGatewaysClient) Reset(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGatewaysResetFuture, err error)
Reset the Reset VirtualNetworkGateway operation resets the primary of the virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the Begin Reset Virtual Network Gateway operation through Network resource provider.
func (VirtualNetworkGatewaysClient) ResetPreparer ¶
func (client VirtualNetworkGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (*http.Request, error)
ResetPreparer prepares the Reset request.
func (VirtualNetworkGatewaysClient) ResetResponder ¶
func (client VirtualNetworkGatewaysClient) ResetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)
ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.
func (VirtualNetworkGatewaysClient) ResetSender ¶
func (client VirtualNetworkGatewaysClient) ResetSender(req *http.Request) (future VirtualNetworkGatewaysResetFuture, err error)
ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.
type VirtualNetworkGatewaysCreateOrUpdateFuture ¶
VirtualNetworkGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewaysCreateOrUpdateFuture) Result ¶
func (future *VirtualNetworkGatewaysCreateOrUpdateFuture) Result(client VirtualNetworkGatewaysClient) (vng VirtualNetworkGateway, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworkGatewaysDeleteFuture ¶
VirtualNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewaysDeleteFuture) Result ¶
func (future *VirtualNetworkGatewaysDeleteFuture) Result(client VirtualNetworkGatewaysClient) (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 VirtualNetworkGatewaysResetFuture ¶
VirtualNetworkGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkGatewaysResetFuture) Result ¶
func (future *VirtualNetworkGatewaysResetFuture) Result(client VirtualNetworkGatewaysClient) (vng VirtualNetworkGateway, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworkListResult ¶
type VirtualNetworkListResult struct { autorest.Response `json:"-"` // Value - Gets list of VirtualNetworks in a resource group Value *[]VirtualNetwork `json:"value,omitempty"` // NextLink - Gets the URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
VirtualNetworkListResult response for ListVirtualNetworks Api servive call
func (VirtualNetworkListResult) IsEmpty ¶
func (vnlr VirtualNetworkListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualNetworkListResultIterator ¶
type VirtualNetworkListResultIterator struct {
// contains filtered or unexported fields
}
VirtualNetworkListResultIterator provides access to a complete listing of VirtualNetwork values.
func NewVirtualNetworkListResultIterator ¶
func NewVirtualNetworkListResultIterator(page VirtualNetworkListResultPage) VirtualNetworkListResultIterator
Creates a new instance of the VirtualNetworkListResultIterator type.
func (*VirtualNetworkListResultIterator) Next ¶
func (iter *VirtualNetworkListResultIterator) 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 (*VirtualNetworkListResultIterator) NextWithContext ¶
func (iter *VirtualNetworkListResultIterator) 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 (VirtualNetworkListResultIterator) NotDone ¶
func (iter VirtualNetworkListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkListResultIterator) Response ¶
func (iter VirtualNetworkListResultIterator) Response() VirtualNetworkListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkListResultIterator) Value ¶
func (iter VirtualNetworkListResultIterator) Value() VirtualNetwork
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualNetworkListResultPage ¶
type VirtualNetworkListResultPage struct {
// contains filtered or unexported fields
}
VirtualNetworkListResultPage contains a page of VirtualNetwork values.
func NewVirtualNetworkListResultPage ¶
func NewVirtualNetworkListResultPage(getNextPage func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error)) VirtualNetworkListResultPage
Creates a new instance of the VirtualNetworkListResultPage type.
func (*VirtualNetworkListResultPage) Next ¶
func (page *VirtualNetworkListResultPage) 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 (*VirtualNetworkListResultPage) NextWithContext ¶
func (page *VirtualNetworkListResultPage) 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 (VirtualNetworkListResultPage) NotDone ¶
func (page VirtualNetworkListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualNetworkListResultPage) Response ¶
func (page VirtualNetworkListResultPage) Response() VirtualNetworkListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkListResultPage) Values ¶
func (page VirtualNetworkListResultPage) Values() []VirtualNetwork
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkPropertiesFormat ¶
type VirtualNetworkPropertiesFormat struct { // AddressSpace - Gets or sets AddressSpace that contains an array of IP address ranges that can be used by subnets AddressSpace *AddressSpace `json:"addressSpace,omitempty"` // DhcpOptions - Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"` // Subnets - Gets or sets List of subnets in a VirtualNetwork Subnets *[]Subnet `json:"subnets,omitempty"` // ResourceGUID - Gets or sets resource guid property of the VirtualNetwork resource ResourceGUID *string `json:"resourceGuid,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
VirtualNetworkPropertiesFormat ...
type VirtualNetworksClient ¶
type VirtualNetworksClient struct {
BaseClient
}
VirtualNetworksClient is the network Client
func NewVirtualNetworksClient ¶
func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient
NewVirtualNetworksClient creates an instance of the VirtualNetworksClient client.
func NewVirtualNetworksClientWithBaseURI ¶
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient
NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client.
func (VirtualNetworksClient) CreateOrUpdate ¶
func (client VirtualNetworksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (result VirtualNetworksCreateOrUpdateFuture, err error)
CreateOrUpdate the Put VirtualNetwork operation creates/updates a virtual network in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. parameters - parameters supplied to the create/update Virtual Network operation
func (VirtualNetworksClient) CreateOrUpdatePreparer ¶
func (client VirtualNetworksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualNetworksClient) CreateOrUpdateResponder ¶
func (client VirtualNetworksClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetwork, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualNetworksClient) CreateOrUpdateSender ¶
func (client VirtualNetworksClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworksCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworksClient) Delete ¶
func (client VirtualNetworksClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworksDeleteFuture, err error)
Delete the Delete VirtualNetwork operation deletes the specifed virtual network Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.
func (VirtualNetworksClient) DeletePreparer ¶
func (client VirtualNetworksClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualNetworksClient) DeleteResponder ¶
func (client VirtualNetworksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualNetworksClient) DeleteSender ¶
func (client VirtualNetworksClient) DeleteSender(req *http.Request) (future VirtualNetworksDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworksClient) Get ¶
func (client VirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result VirtualNetwork, err error)
Get the Get VirtualNetwork operation retrieves information about the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. expand - expand references resources.
func (VirtualNetworksClient) GetPreparer ¶
func (client VirtualNetworksClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualNetworksClient) GetResponder ¶
func (client VirtualNetworksClient) GetResponder(resp *http.Response) (result VirtualNetwork, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualNetworksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworksClient) List ¶
func (client VirtualNetworksClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultPage, err error)
List the list VirtualNetwork returns all Virtual Networks in a resource group Parameters: resourceGroupName - the name of the resource group.
func (VirtualNetworksClient) ListAll ¶
func (client VirtualNetworksClient) ListAll(ctx context.Context) (result VirtualNetworkListResultPage, err error)
ListAll the list VirtualNetwork returns all Virtual Networks in a subscription
func (VirtualNetworksClient) ListAllComplete ¶
func (client VirtualNetworksClient) ListAllComplete(ctx context.Context) (result VirtualNetworkListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualNetworksClient) ListAllPreparer ¶
ListAllPreparer prepares the ListAll request.
func (VirtualNetworksClient) ListAllResponder ¶
func (client VirtualNetworksClient) ListAllResponder(resp *http.Response) (result VirtualNetworkListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (VirtualNetworksClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (VirtualNetworksClient) ListComplete ¶
func (client VirtualNetworksClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualNetworksClient) ListPreparer ¶
func (client VirtualNetworksClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualNetworksClient) ListResponder ¶
func (client VirtualNetworksClient) ListResponder(resp *http.Response) (result VirtualNetworkListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualNetworksClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VirtualNetworksCreateOrUpdateFuture ¶
VirtualNetworksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworksCreateOrUpdateFuture) Result ¶
func (future *VirtualNetworksCreateOrUpdateFuture) Result(client VirtualNetworksClient) (vn VirtualNetwork, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualNetworksDeleteFuture ¶
VirtualNetworksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworksDeleteFuture) Result ¶
func (future *VirtualNetworksDeleteFuture) Result(client VirtualNetworksClient) (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 VpnClientConfiguration ¶
type VpnClientConfiguration struct { // VpnClientAddressPool - Gets or sets the reference of the Address space resource which represents Address space for P2S VpnClient. VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` // VpnClientRootCertificates - VpnClientRootCertificate for Virtual network gateway. VpnClientRootCertificates *[]VpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` // VpnClientRevokedCertificates - VpnClientRevokedCertificate for Virtual network gateway. VpnClientRevokedCertificates *[]VpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` }
VpnClientConfiguration vpnClientConfiguration for P2S client
type VpnClientParameters ¶
type VpnClientParameters struct { // ProcessorArchitecture - VPN client Processor Architecture -Amd64/X86. Possible values include: 'Amd64', 'X86' ProcessorArchitecture ProcessorArchitecture `json:"ProcessorArchitecture,omitempty"` }
VpnClientParameters vpnClientParameters
type VpnClientRevokedCertificate ¶
type VpnClientRevokedCertificate struct { *VpnClientRevokedCertificatePropertiesFormat `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"` }
VpnClientRevokedCertificate VPN client revoked certificate of virtual network gateway
func (VpnClientRevokedCertificate) MarshalJSON ¶
func (vcrc VpnClientRevokedCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientRevokedCertificate.
func (*VpnClientRevokedCertificate) UnmarshalJSON ¶
func (vcrc *VpnClientRevokedCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnClientRevokedCertificate struct.
type VpnClientRevokedCertificatePropertiesFormat ¶
type VpnClientRevokedCertificatePropertiesFormat struct { // Thumbprint - Gets or sets the revoked Vpn client certificate thumbprint Thumbprint *string `json:"thumbprint,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the VPN client revoked certificate resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
VpnClientRevokedCertificatePropertiesFormat properties of the revoked VPN client certificate of virtual network gateway
type VpnClientRootCertificate ¶
type VpnClientRootCertificate struct { *VpnClientRootCertificatePropertiesFormat `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"` }
VpnClientRootCertificate VPN client root certificate of virtual network gateway
func (VpnClientRootCertificate) MarshalJSON ¶
func (vcrc VpnClientRootCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VpnClientRootCertificate.
func (*VpnClientRootCertificate) UnmarshalJSON ¶
func (vcrc *VpnClientRootCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VpnClientRootCertificate struct.
type VpnClientRootCertificatePropertiesFormat ¶
type VpnClientRootCertificatePropertiesFormat struct { // PublicCertData - Gets or sets the certificate public data PublicCertData *string `json:"publicCertData,omitempty"` // ProvisioningState - Gets or sets Provisioning state of the VPN client root certificate resource Updating/Deleting/Failed ProvisioningState *string `json:"provisioningState,omitempty"` }
VpnClientRootCertificatePropertiesFormat properties of SSL certificates of application gateway
Source 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
- virtualnetworks.go