Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/peering/armpeering(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/peering/armpeering). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package peering implements the Azure ARM Peering service API version 2020-10-01.
Peering Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BandwidthOffer
- type BaseClient
- func (client BaseClient) CheckServiceProviderAvailability(ctx context.Context, ...) (result String, err error)
- func (client BaseClient) CheckServiceProviderAvailabilityPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) CheckServiceProviderAvailabilityResponder(resp *http.Response) (result String, err error)
- func (client BaseClient) CheckServiceProviderAvailabilitySender(req *http.Request) (*http.Response, error)
- type BgpSession
- type CdnPeeringPrefix
- type CdnPeeringPrefixListResult
- type CdnPeeringPrefixListResultIterator
- func (iter *CdnPeeringPrefixListResultIterator) Next() error
- func (iter *CdnPeeringPrefixListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter CdnPeeringPrefixListResultIterator) NotDone() bool
- func (iter CdnPeeringPrefixListResultIterator) Response() CdnPeeringPrefixListResult
- func (iter CdnPeeringPrefixListResultIterator) Value() CdnPeeringPrefix
- type CdnPeeringPrefixListResultPage
- func (page *CdnPeeringPrefixListResultPage) Next() error
- func (page *CdnPeeringPrefixListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page CdnPeeringPrefixListResultPage) NotDone() bool
- func (page CdnPeeringPrefixListResultPage) Response() CdnPeeringPrefixListResult
- func (page CdnPeeringPrefixListResultPage) Values() []CdnPeeringPrefix
- type CdnPeeringPrefixProperties
- type CdnPeeringPrefixesClient
- func (client CdnPeeringPrefixesClient) List(ctx context.Context, peeringLocation string) (result CdnPeeringPrefixListResultPage, err error)
- func (client CdnPeeringPrefixesClient) ListComplete(ctx context.Context, peeringLocation string) (result CdnPeeringPrefixListResultIterator, err error)
- func (client CdnPeeringPrefixesClient) ListPreparer(ctx context.Context, peeringLocation string) (*http.Request, error)
- func (client CdnPeeringPrefixesClient) ListResponder(resp *http.Response) (result CdnPeeringPrefixListResult, err error)
- func (client CdnPeeringPrefixesClient) ListSender(req *http.Request) (*http.Response, error)
- type CheckServiceProviderAvailabilityInput
- type ConnectionState
- type ContactDetail
- type DirectConnection
- type DirectPeeringFacility
- type DirectPeeringType
- type ErrorDetail
- type ErrorResponse
- type ExchangeConnection
- type ExchangePeeringFacility
- type Family
- type Kind
- type LearnedType
- type LegacyPeeringsClient
- func (client LegacyPeeringsClient) List(ctx context.Context, peeringLocation string, kind string, asn *int32) (result ListResultPage, err error)
- func (client LegacyPeeringsClient) ListComplete(ctx context.Context, peeringLocation string, kind string, asn *int32) (result ListResultIterator, err error)
- func (client LegacyPeeringsClient) ListPreparer(ctx context.Context, peeringLocation string, kind string, asn *int32) (*http.Request, error)
- func (client LegacyPeeringsClient) ListResponder(resp *http.Response) (result ListResult, err error)
- func (client LegacyPeeringsClient) ListSender(req *http.Request) (*http.Response, error)
- type ListResult
- type ListResultIterator
- type ListResultPage
- type Location
- type LocationListResult
- type LocationListResultIterator
- func (iter *LocationListResultIterator) Next() error
- func (iter *LocationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LocationListResultIterator) NotDone() bool
- func (iter LocationListResultIterator) Response() LocationListResult
- func (iter LocationListResultIterator) Value() Location
- type LocationListResultPage
- func (page *LocationListResultPage) Next() error
- func (page *LocationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LocationListResultPage) NotDone() bool
- func (page LocationListResultPage) Response() LocationListResult
- func (page LocationListResultPage) Values() []Location
- type LocationProperties
- type LocationPropertiesDirect
- type LocationPropertiesExchange
- type LocationsClient
- func (client LocationsClient) List(ctx context.Context, kind string, directPeeringType string) (result LocationListResultPage, err error)
- func (client LocationsClient) ListComplete(ctx context.Context, kind string, directPeeringType string) (result LocationListResultIterator, err error)
- func (client LocationsClient) ListPreparer(ctx context.Context, kind string, directPeeringType string) (*http.Request, error)
- func (client LocationsClient) ListResponder(resp *http.Response) (result LocationListResult, err error)
- func (client LocationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Model
- type Operation
- type OperationDisplayInfo
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PeerAsn
- type PeerAsnListResult
- type PeerAsnListResultIterator
- func (iter *PeerAsnListResultIterator) Next() error
- func (iter *PeerAsnListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PeerAsnListResultIterator) NotDone() bool
- func (iter PeerAsnListResultIterator) Response() PeerAsnListResult
- func (iter PeerAsnListResultIterator) Value() PeerAsn
- type PeerAsnListResultPage
- type PeerAsnProperties
- type PeerAsnsClient
- func (client PeerAsnsClient) CreateOrUpdate(ctx context.Context, peerAsnName string, peerAsn PeerAsn) (result PeerAsn, err error)
- func (client PeerAsnsClient) CreateOrUpdatePreparer(ctx context.Context, peerAsnName string, peerAsn PeerAsn) (*http.Request, error)
- func (client PeerAsnsClient) CreateOrUpdateResponder(resp *http.Response) (result PeerAsn, err error)
- func (client PeerAsnsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client PeerAsnsClient) Delete(ctx context.Context, peerAsnName string) (result autorest.Response, err error)
- func (client PeerAsnsClient) DeletePreparer(ctx context.Context, peerAsnName string) (*http.Request, error)
- func (client PeerAsnsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PeerAsnsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PeerAsnsClient) Get(ctx context.Context, peerAsnName string) (result PeerAsn, err error)
- func (client PeerAsnsClient) GetPreparer(ctx context.Context, peerAsnName string) (*http.Request, error)
- func (client PeerAsnsClient) GetResponder(resp *http.Response) (result PeerAsn, err error)
- func (client PeerAsnsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PeerAsnsClient) ListBySubscription(ctx context.Context) (result PeerAsnListResultPage, err error)
- func (client PeerAsnsClient) ListBySubscriptionComplete(ctx context.Context) (result PeerAsnListResultIterator, err error)
- func (client PeerAsnsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client PeerAsnsClient) ListBySubscriptionResponder(resp *http.Response) (result PeerAsnListResult, err error)
- func (client PeerAsnsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- type PeeringsClient
- func (client PeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringName string, ...) (result Model, err error)
- func (client PeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client PeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result Model, err error)
- func (client PeeringsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client PeeringsClient) Delete(ctx context.Context, resourceGroupName string, peeringName string) (result autorest.Response, err error)
- func (client PeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
- func (client PeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PeeringsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PeeringsClient) Get(ctx context.Context, resourceGroupName string, peeringName string) (result Model, err error)
- func (client PeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
- func (client PeeringsClient) GetResponder(resp *http.Response) (result Model, err error)
- func (client PeeringsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PeeringsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
- func (client PeeringsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
- func (client PeeringsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PeeringsClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
- func (client PeeringsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client PeeringsClient) ListBySubscription(ctx context.Context) (result ListResultPage, err error)
- func (client PeeringsClient) ListBySubscriptionComplete(ctx context.Context) (result ListResultIterator, err error)
- func (client PeeringsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client PeeringsClient) ListBySubscriptionResponder(resp *http.Response) (result ListResult, err error)
- func (client PeeringsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client PeeringsClient) Update(ctx context.Context, resourceGroupName string, peeringName string, ...) (result Model, err error)
- func (client PeeringsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client PeeringsClient) UpdateResponder(resp *http.Response) (result Model, err error)
- func (client PeeringsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type PrefixValidationState
- type PrefixesClient
- func (client PrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result ServicePrefix, err error)
- func (client PrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (*http.Request, error)
- func (client PrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result ServicePrefix, err error)
- func (client PrefixesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client PrefixesClient) Delete(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result autorest.Response, err error)
- func (client PrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (*http.Request, error)
- func (client PrefixesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrefixesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PrefixesClient) Get(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result ServicePrefix, err error)
- func (client PrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (*http.Request, error)
- func (client PrefixesClient) GetResponder(resp *http.Response) (result ServicePrefix, err error)
- func (client PrefixesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrefixesClient) ListByPeeringService(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result ServicePrefixListResultPage, err error)
- func (client PrefixesClient) ListByPeeringServiceComplete(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result ServicePrefixListResultIterator, err error)
- func (client PrefixesClient) ListByPeeringServicePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (*http.Request, error)
- func (client PrefixesClient) ListByPeeringServiceResponder(resp *http.Response) (result ServicePrefixListResult, err error)
- func (client PrefixesClient) ListByPeeringServiceSender(req *http.Request) (*http.Response, error)
- type Properties
- type PropertiesDirect
- type PropertiesExchange
- type ProvisioningState
- type ReceivedRoute
- type ReceivedRouteListResult
- type ReceivedRouteListResultIterator
- func (iter *ReceivedRouteListResultIterator) Next() error
- func (iter *ReceivedRouteListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ReceivedRouteListResultIterator) NotDone() bool
- func (iter ReceivedRouteListResultIterator) Response() ReceivedRouteListResult
- func (iter ReceivedRouteListResultIterator) Value() ReceivedRoute
- type ReceivedRouteListResultPage
- func (page *ReceivedRouteListResultPage) Next() error
- func (page *ReceivedRouteListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ReceivedRouteListResultPage) NotDone() bool
- func (page ReceivedRouteListResultPage) Response() ReceivedRouteListResult
- func (page ReceivedRouteListResultPage) Values() []ReceivedRoute
- type ReceivedRoutesClient
- func (client ReceivedRoutesClient) ListByPeering(ctx context.Context, resourceGroupName string, peeringName string, ...) (result ReceivedRouteListResultPage, err error)
- func (client ReceivedRoutesClient) ListByPeeringComplete(ctx context.Context, resourceGroupName string, peeringName string, ...) (result ReceivedRouteListResultIterator, err error)
- func (client ReceivedRoutesClient) ListByPeeringPreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client ReceivedRoutesClient) ListByPeeringResponder(resp *http.Response) (result ReceivedRouteListResult, err error)
- func (client ReceivedRoutesClient) ListByPeeringSender(req *http.Request) (*http.Response, error)
- type RegisteredAsn
- type RegisteredAsnListResult
- type RegisteredAsnListResultIterator
- func (iter *RegisteredAsnListResultIterator) Next() error
- func (iter *RegisteredAsnListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RegisteredAsnListResultIterator) NotDone() bool
- func (iter RegisteredAsnListResultIterator) Response() RegisteredAsnListResult
- func (iter RegisteredAsnListResultIterator) Value() RegisteredAsn
- type RegisteredAsnListResultPage
- func (page *RegisteredAsnListResultPage) Next() error
- func (page *RegisteredAsnListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RegisteredAsnListResultPage) NotDone() bool
- func (page RegisteredAsnListResultPage) Response() RegisteredAsnListResult
- func (page RegisteredAsnListResultPage) Values() []RegisteredAsn
- type RegisteredAsnProperties
- type RegisteredAsnsClient
- func (client RegisteredAsnsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringName string, ...) (result RegisteredAsn, err error)
- func (client RegisteredAsnsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client RegisteredAsnsClient) CreateOrUpdateResponder(resp *http.Response) (result RegisteredAsn, err error)
- func (client RegisteredAsnsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client RegisteredAsnsClient) Delete(ctx context.Context, resourceGroupName string, peeringName string, ...) (result autorest.Response, err error)
- func (client RegisteredAsnsClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client RegisteredAsnsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RegisteredAsnsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client RegisteredAsnsClient) Get(ctx context.Context, resourceGroupName string, peeringName string, ...) (result RegisteredAsn, err error)
- func (client RegisteredAsnsClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client RegisteredAsnsClient) GetResponder(resp *http.Response) (result RegisteredAsn, err error)
- func (client RegisteredAsnsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RegisteredAsnsClient) ListByPeering(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredAsnListResultPage, err error)
- func (client RegisteredAsnsClient) ListByPeeringComplete(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredAsnListResultIterator, err error)
- func (client RegisteredAsnsClient) ListByPeeringPreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
- func (client RegisteredAsnsClient) ListByPeeringResponder(resp *http.Response) (result RegisteredAsnListResult, err error)
- func (client RegisteredAsnsClient) ListByPeeringSender(req *http.Request) (*http.Response, error)
- type RegisteredPrefix
- type RegisteredPrefixListResult
- type RegisteredPrefixListResultIterator
- func (iter *RegisteredPrefixListResultIterator) Next() error
- func (iter *RegisteredPrefixListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RegisteredPrefixListResultIterator) NotDone() bool
- func (iter RegisteredPrefixListResultIterator) Response() RegisteredPrefixListResult
- func (iter RegisteredPrefixListResultIterator) Value() RegisteredPrefix
- type RegisteredPrefixListResultPage
- func (page *RegisteredPrefixListResultPage) Next() error
- func (page *RegisteredPrefixListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RegisteredPrefixListResultPage) NotDone() bool
- func (page RegisteredPrefixListResultPage) Response() RegisteredPrefixListResult
- func (page RegisteredPrefixListResultPage) Values() []RegisteredPrefix
- type RegisteredPrefixProperties
- type RegisteredPrefixesClient
- func (client RegisteredPrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringName string, ...) (result RegisteredPrefix, err error)
- func (client RegisteredPrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client RegisteredPrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result RegisteredPrefix, err error)
- func (client RegisteredPrefixesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client RegisteredPrefixesClient) Delete(ctx context.Context, resourceGroupName string, peeringName string, ...) (result autorest.Response, err error)
- func (client RegisteredPrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client RegisteredPrefixesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RegisteredPrefixesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client RegisteredPrefixesClient) Get(ctx context.Context, resourceGroupName string, peeringName string, ...) (result RegisteredPrefix, err error)
- func (client RegisteredPrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringName string, ...) (*http.Request, error)
- func (client RegisteredPrefixesClient) GetResponder(resp *http.Response) (result RegisteredPrefix, err error)
- func (client RegisteredPrefixesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RegisteredPrefixesClient) ListByPeering(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredPrefixListResultPage, err error)
- func (client RegisteredPrefixesClient) ListByPeeringComplete(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredPrefixListResultIterator, err error)
- func (client RegisteredPrefixesClient) ListByPeeringPreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
- func (client RegisteredPrefixesClient) ListByPeeringResponder(resp *http.Response) (result RegisteredPrefixListResult, err error)
- func (client RegisteredPrefixesClient) ListByPeeringSender(req *http.Request) (*http.Response, error)
- type Resource
- type ResourceTags
- type Role
- type Service
- type ServiceCountriesClient
- func (client ServiceCountriesClient) List(ctx context.Context) (result ServiceCountryListResultPage, err error)
- func (client ServiceCountriesClient) ListComplete(ctx context.Context) (result ServiceCountryListResultIterator, err error)
- func (client ServiceCountriesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ServiceCountriesClient) ListResponder(resp *http.Response) (result ServiceCountryListResult, err error)
- func (client ServiceCountriesClient) ListSender(req *http.Request) (*http.Response, error)
- type ServiceCountry
- type ServiceCountryListResult
- type ServiceCountryListResultIterator
- func (iter *ServiceCountryListResultIterator) Next() error
- func (iter *ServiceCountryListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceCountryListResultIterator) NotDone() bool
- func (iter ServiceCountryListResultIterator) Response() ServiceCountryListResult
- func (iter ServiceCountryListResultIterator) Value() ServiceCountry
- type ServiceCountryListResultPage
- func (page *ServiceCountryListResultPage) Next() error
- func (page *ServiceCountryListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServiceCountryListResultPage) NotDone() bool
- func (page ServiceCountryListResultPage) Response() ServiceCountryListResult
- func (page ServiceCountryListResultPage) Values() []ServiceCountry
- type ServiceListResult
- type ServiceListResultIterator
- func (iter *ServiceListResultIterator) Next() error
- func (iter *ServiceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceListResultIterator) NotDone() bool
- func (iter ServiceListResultIterator) Response() ServiceListResult
- func (iter ServiceListResultIterator) Value() Service
- type ServiceListResultPage
- type ServiceLocation
- type ServiceLocationListResult
- type ServiceLocationListResultIterator
- func (iter *ServiceLocationListResultIterator) Next() error
- func (iter *ServiceLocationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceLocationListResultIterator) NotDone() bool
- func (iter ServiceLocationListResultIterator) Response() ServiceLocationListResult
- func (iter ServiceLocationListResultIterator) Value() ServiceLocation
- type ServiceLocationListResultPage
- func (page *ServiceLocationListResultPage) Next() error
- func (page *ServiceLocationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServiceLocationListResultPage) NotDone() bool
- func (page ServiceLocationListResultPage) Response() ServiceLocationListResult
- func (page ServiceLocationListResultPage) Values() []ServiceLocation
- type ServiceLocationProperties
- type ServiceLocationsClient
- func (client ServiceLocationsClient) List(ctx context.Context, country string) (result ServiceLocationListResultPage, err error)
- func (client ServiceLocationsClient) ListComplete(ctx context.Context, country string) (result ServiceLocationListResultIterator, err error)
- func (client ServiceLocationsClient) ListPreparer(ctx context.Context, country string) (*http.Request, error)
- func (client ServiceLocationsClient) ListResponder(resp *http.Response) (result ServiceLocationListResult, err error)
- func (client ServiceLocationsClient) ListSender(req *http.Request) (*http.Response, error)
- type ServicePrefix
- type ServicePrefixEvent
- type ServicePrefixListResult
- type ServicePrefixListResultIterator
- func (iter *ServicePrefixListResultIterator) Next() error
- func (iter *ServicePrefixListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServicePrefixListResultIterator) NotDone() bool
- func (iter ServicePrefixListResultIterator) Response() ServicePrefixListResult
- func (iter ServicePrefixListResultIterator) Value() ServicePrefix
- type ServicePrefixListResultPage
- func (page *ServicePrefixListResultPage) Next() error
- func (page *ServicePrefixListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServicePrefixListResultPage) NotDone() bool
- func (page ServicePrefixListResultPage) Response() ServicePrefixListResult
- func (page ServicePrefixListResultPage) Values() []ServicePrefix
- type ServicePrefixProperties
- type ServiceProperties
- type ServiceProvider
- type ServiceProviderListResult
- type ServiceProviderListResultIterator
- func (iter *ServiceProviderListResultIterator) Next() error
- func (iter *ServiceProviderListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceProviderListResultIterator) NotDone() bool
- func (iter ServiceProviderListResultIterator) Response() ServiceProviderListResult
- func (iter ServiceProviderListResultIterator) Value() ServiceProvider
- type ServiceProviderListResultPage
- func (page *ServiceProviderListResultPage) Next() error
- func (page *ServiceProviderListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ServiceProviderListResultPage) NotDone() bool
- func (page ServiceProviderListResultPage) Response() ServiceProviderListResult
- func (page ServiceProviderListResultPage) Values() []ServiceProvider
- type ServiceProviderProperties
- type ServiceProvidersClient
- func (client ServiceProvidersClient) List(ctx context.Context) (result ServiceProviderListResultPage, err error)
- func (client ServiceProvidersClient) ListComplete(ctx context.Context) (result ServiceProviderListResultIterator, err error)
- func (client ServiceProvidersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ServiceProvidersClient) ListResponder(resp *http.Response) (result ServiceProviderListResult, err error)
- func (client ServiceProvidersClient) ListSender(req *http.Request) (*http.Response, error)
- type ServiceSku
- type ServicesClient
- func (client ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result Service, err error)
- func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (*http.Request, error)
- func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error)
- func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) Delete(ctx context.Context, resourceGroupName string, peeringServiceName string) (result autorest.Response, err error)
- func (client ServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string) (*http.Request, error)
- func (client ServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServicesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) Get(ctx context.Context, resourceGroupName string, peeringServiceName string) (result Service, err error)
- func (client ServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringServiceName string) (*http.Request, error)
- func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error)
- func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServiceListResultPage, err error)
- func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServiceListResultIterator, err error)
- func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceListResult, err error)
- func (client ServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) ListBySubscription(ctx context.Context) (result ServiceListResultPage, err error)
- func (client ServicesClient) ListBySubscriptionComplete(ctx context.Context) (result ServiceListResultIterator, err error)
- func (client ServicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ServicesClient) ListBySubscriptionResponder(resp *http.Response) (result ServiceListResult, err error)
- func (client ServicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ServicesClient) Update(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (result Service, err error)
- func (client ServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, ...) (*http.Request, error)
- func (client ServicesClient) UpdateResponder(resp *http.Response) (result Service, err error)
- func (client ServicesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SessionAddressProvider
- type SessionStateV4
- type SessionStateV6
- type Size
- type Sku
- type String
- type SubResource
- type Tier
- type ValidationState
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Peering
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 BandwidthOffer ¶
type BandwidthOffer struct { // OfferName - The name of the bandwidth offer. OfferName *string `json:"offerName,omitempty"` // ValueInMbps - The value of the bandwidth offer in Mbps. ValueInMbps *int32 `json:"valueInMbps,omitempty"` }
BandwidthOffer the properties that define a peering bandwidth offer.
type BaseClient ¶
BaseClient is the base client for Peering.
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (BaseClient) CheckServiceProviderAvailability ¶
func (client BaseClient) CheckServiceProviderAvailability(ctx context.Context, checkServiceProviderAvailabilityInput CheckServiceProviderAvailabilityInput) (result String, err error)
CheckServiceProviderAvailability checks if the peering service provider is present within 1000 miles of customer's location Parameters: checkServiceProviderAvailabilityInput - the CheckServiceProviderAvailabilityInput indicating customer location and service provider.
func (BaseClient) CheckServiceProviderAvailabilityPreparer ¶
func (client BaseClient) CheckServiceProviderAvailabilityPreparer(ctx context.Context, checkServiceProviderAvailabilityInput CheckServiceProviderAvailabilityInput) (*http.Request, error)
CheckServiceProviderAvailabilityPreparer prepares the CheckServiceProviderAvailability request.
func (BaseClient) CheckServiceProviderAvailabilityResponder ¶
func (client BaseClient) CheckServiceProviderAvailabilityResponder(resp *http.Response) (result String, err error)
CheckServiceProviderAvailabilityResponder handles the response to the CheckServiceProviderAvailability request. The method always closes the http.Response Body.
func (BaseClient) CheckServiceProviderAvailabilitySender ¶
func (client BaseClient) CheckServiceProviderAvailabilitySender(req *http.Request) (*http.Response, error)
CheckServiceProviderAvailabilitySender sends the CheckServiceProviderAvailability request. The method will close the http.Response Body if it receives an error.
type BgpSession ¶
type BgpSession struct { // SessionPrefixV4 - The IPv4 prefix that contains both ends' IPv4 addresses. SessionPrefixV4 *string `json:"sessionPrefixV4,omitempty"` // SessionPrefixV6 - The IPv6 prefix that contains both ends' IPv6 addresses. SessionPrefixV6 *string `json:"sessionPrefixV6,omitempty"` // MicrosoftSessionIPv4Address - The IPv4 session address on Microsoft's end. MicrosoftSessionIPv4Address *string `json:"microsoftSessionIPv4Address,omitempty"` // MicrosoftSessionIPv6Address - The IPv6 session address on Microsoft's end. MicrosoftSessionIPv6Address *string `json:"microsoftSessionIPv6Address,omitempty"` // PeerSessionIPv4Address - The IPv4 session address on peer's end. PeerSessionIPv4Address *string `json:"peerSessionIPv4Address,omitempty"` // PeerSessionIPv6Address - The IPv6 session address on peer's end. PeerSessionIPv6Address *string `json:"peerSessionIPv6Address,omitempty"` // SessionStateV4 - READ-ONLY; The state of the IPv4 session. Possible values include: 'SessionStateV4None', 'SessionStateV4Idle', 'SessionStateV4Connect', 'SessionStateV4Active', 'SessionStateV4OpenSent', 'SessionStateV4OpenConfirm', 'SessionStateV4OpenReceived', 'SessionStateV4Established', 'SessionStateV4PendingAdd', 'SessionStateV4PendingUpdate', 'SessionStateV4PendingRemove' SessionStateV4 SessionStateV4 `json:"sessionStateV4,omitempty"` // SessionStateV6 - READ-ONLY; The state of the IPv6 session. Possible values include: 'SessionStateV6None', 'SessionStateV6Idle', 'SessionStateV6Connect', 'SessionStateV6Active', 'SessionStateV6OpenSent', 'SessionStateV6OpenConfirm', 'SessionStateV6OpenReceived', 'SessionStateV6Established', 'SessionStateV6PendingAdd', 'SessionStateV6PendingUpdate', 'SessionStateV6PendingRemove' SessionStateV6 SessionStateV6 `json:"sessionStateV6,omitempty"` // MaxPrefixesAdvertisedV4 - The maximum number of prefixes advertised over the IPv4 session. MaxPrefixesAdvertisedV4 *int32 `json:"maxPrefixesAdvertisedV4,omitempty"` // MaxPrefixesAdvertisedV6 - The maximum number of prefixes advertised over the IPv6 session. MaxPrefixesAdvertisedV6 *int32 `json:"maxPrefixesAdvertisedV6,omitempty"` // Md5AuthenticationKey - The MD5 authentication key of the session. Md5AuthenticationKey *string `json:"md5AuthenticationKey,omitempty"` }
BgpSession the properties that define a BGP session.
func (BgpSession) MarshalJSON ¶
func (bs BgpSession) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BgpSession.
type CdnPeeringPrefix ¶
type CdnPeeringPrefix struct { // CdnPeeringPrefixProperties - The properties that define a cdn peering prefix. *CdnPeeringPrefixProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
CdnPeeringPrefix the CDN peering prefix
func (CdnPeeringPrefix) MarshalJSON ¶
func (cpp CdnPeeringPrefix) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CdnPeeringPrefix.
func (*CdnPeeringPrefix) UnmarshalJSON ¶
func (cpp *CdnPeeringPrefix) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CdnPeeringPrefix struct.
type CdnPeeringPrefixListResult ¶
type CdnPeeringPrefixListResult struct { autorest.Response `json:"-"` // Value - The list of CDN peering prefixes. Value *[]CdnPeeringPrefix `json:"value,omitempty"` // NextLink - The link to fetch the next page of CDN peering prefixes. NextLink *string `json:"nextLink,omitempty"` }
CdnPeeringPrefixListResult the paginated list of CDN peering prefixes.
func (CdnPeeringPrefixListResult) IsEmpty ¶
func (cpplr CdnPeeringPrefixListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type CdnPeeringPrefixListResultIterator ¶
type CdnPeeringPrefixListResultIterator struct {
// contains filtered or unexported fields
}
CdnPeeringPrefixListResultIterator provides access to a complete listing of CdnPeeringPrefix values.
func NewCdnPeeringPrefixListResultIterator ¶
func NewCdnPeeringPrefixListResultIterator(page CdnPeeringPrefixListResultPage) CdnPeeringPrefixListResultIterator
Creates a new instance of the CdnPeeringPrefixListResultIterator type.
func (*CdnPeeringPrefixListResultIterator) Next ¶
func (iter *CdnPeeringPrefixListResultIterator) 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 (*CdnPeeringPrefixListResultIterator) NextWithContext ¶
func (iter *CdnPeeringPrefixListResultIterator) 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 (CdnPeeringPrefixListResultIterator) NotDone ¶
func (iter CdnPeeringPrefixListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (CdnPeeringPrefixListResultIterator) Response ¶
func (iter CdnPeeringPrefixListResultIterator) Response() CdnPeeringPrefixListResult
Response returns the raw server response from the last page request.
func (CdnPeeringPrefixListResultIterator) Value ¶
func (iter CdnPeeringPrefixListResultIterator) Value() CdnPeeringPrefix
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type CdnPeeringPrefixListResultPage ¶
type CdnPeeringPrefixListResultPage struct {
// contains filtered or unexported fields
}
CdnPeeringPrefixListResultPage contains a page of CdnPeeringPrefix values.
func NewCdnPeeringPrefixListResultPage ¶
func NewCdnPeeringPrefixListResultPage(cur CdnPeeringPrefixListResult, getNextPage func(context.Context, CdnPeeringPrefixListResult) (CdnPeeringPrefixListResult, error)) CdnPeeringPrefixListResultPage
Creates a new instance of the CdnPeeringPrefixListResultPage type.
func (*CdnPeeringPrefixListResultPage) Next ¶
func (page *CdnPeeringPrefixListResultPage) 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 (*CdnPeeringPrefixListResultPage) NextWithContext ¶
func (page *CdnPeeringPrefixListResultPage) 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 (CdnPeeringPrefixListResultPage) NotDone ¶
func (page CdnPeeringPrefixListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (CdnPeeringPrefixListResultPage) Response ¶
func (page CdnPeeringPrefixListResultPage) Response() CdnPeeringPrefixListResult
Response returns the raw server response from the last page request.
func (CdnPeeringPrefixListResultPage) Values ¶
func (page CdnPeeringPrefixListResultPage) Values() []CdnPeeringPrefix
Values returns the slice of values for the current page or nil if there are no values.
type CdnPeeringPrefixProperties ¶
type CdnPeeringPrefixProperties struct { // Prefix - READ-ONLY; The prefix. Prefix *string `json:"prefix,omitempty"` // AzureRegion - READ-ONLY; The Azure region. AzureRegion *string `json:"azureRegion,omitempty"` // AzureService - READ-ONLY; The Azure service. AzureService *string `json:"azureService,omitempty"` // IsPrimaryRegion - READ-ONLY; The flag that indicates whether or not this is the primary region. IsPrimaryRegion *bool `json:"isPrimaryRegion,omitempty"` // BgpCommunity - READ-ONLY; The BGP Community BgpCommunity *string `json:"bgpCommunity,omitempty"` }
CdnPeeringPrefixProperties the properties that define a CDN peering prefix
func (CdnPeeringPrefixProperties) MarshalJSON ¶
func (cppp CdnPeeringPrefixProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CdnPeeringPrefixProperties.
type CdnPeeringPrefixesClient ¶
type CdnPeeringPrefixesClient struct {
BaseClient
}
CdnPeeringPrefixesClient is the peering Client
func NewCdnPeeringPrefixesClient ¶
func NewCdnPeeringPrefixesClient(subscriptionID string) CdnPeeringPrefixesClient
NewCdnPeeringPrefixesClient creates an instance of the CdnPeeringPrefixesClient client.
func NewCdnPeeringPrefixesClientWithBaseURI ¶
func NewCdnPeeringPrefixesClientWithBaseURI(baseURI string, subscriptionID string) CdnPeeringPrefixesClient
NewCdnPeeringPrefixesClientWithBaseURI creates an instance of the CdnPeeringPrefixesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (CdnPeeringPrefixesClient) List ¶
func (client CdnPeeringPrefixesClient) List(ctx context.Context, peeringLocation string) (result CdnPeeringPrefixListResultPage, err error)
List lists all of the advertised prefixes for the specified peering location Parameters: peeringLocation - the peering location.
func (CdnPeeringPrefixesClient) ListComplete ¶
func (client CdnPeeringPrefixesClient) ListComplete(ctx context.Context, peeringLocation string) (result CdnPeeringPrefixListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (CdnPeeringPrefixesClient) ListPreparer ¶
func (client CdnPeeringPrefixesClient) ListPreparer(ctx context.Context, peeringLocation string) (*http.Request, error)
ListPreparer prepares the List request.
func (CdnPeeringPrefixesClient) ListResponder ¶
func (client CdnPeeringPrefixesClient) ListResponder(resp *http.Response) (result CdnPeeringPrefixListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (CdnPeeringPrefixesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type CheckServiceProviderAvailabilityInput ¶
type CheckServiceProviderAvailabilityInput struct { // PeeringServiceLocation - Gets or sets the peering service location. PeeringServiceLocation *string `json:"peeringServiceLocation,omitempty"` // PeeringServiceProvider - Gets or sets the peering service provider. PeeringServiceProvider *string `json:"peeringServiceProvider,omitempty"` }
CheckServiceProviderAvailabilityInput class for CheckServiceProviderAvailabilityInput
type ConnectionState ¶
type ConnectionState string
ConnectionState enumerates the values for connection state.
const ( // Active ... Active ConnectionState = "Active" // Approved ... Approved ConnectionState = "Approved" // None ... None ConnectionState = "None" // PendingApproval ... PendingApproval ConnectionState = "PendingApproval" // ProvisioningCompleted ... ProvisioningCompleted ConnectionState = "ProvisioningCompleted" // ProvisioningFailed ... ProvisioningFailed ConnectionState = "ProvisioningFailed" // ProvisioningStarted ... ProvisioningStarted ConnectionState = "ProvisioningStarted" // Validating ... Validating ConnectionState = "Validating" )
func PossibleConnectionStateValues ¶
func PossibleConnectionStateValues() []ConnectionState
PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.
type ContactDetail ¶
type ContactDetail struct { // Role - The role of the contact. Possible values include: 'RoleNoc', 'RolePolicy', 'RoleTechnical', 'RoleService', 'RoleEscalation', 'RoleOther' Role Role `json:"role,omitempty"` // Email - The e-mail address of the contact. Email *string `json:"email,omitempty"` // Phone - The phone number of the contact. Phone *string `json:"phone,omitempty"` }
ContactDetail the contact detail class.
type DirectConnection ¶
type DirectConnection struct { // BandwidthInMbps - The bandwidth of the connection. BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"` // ProvisionedBandwidthInMbps - READ-ONLY; The bandwidth that is actually provisioned. ProvisionedBandwidthInMbps *int32 `json:"provisionedBandwidthInMbps,omitempty"` // SessionAddressProvider - The field indicating if Microsoft provides session ip addresses. Possible values include: 'Microsoft', 'Peer' SessionAddressProvider SessionAddressProvider `json:"sessionAddressProvider,omitempty"` // UseForPeeringService - The flag that indicates whether or not the connection is used for peering service. UseForPeeringService *bool `json:"useForPeeringService,omitempty"` // MicrosoftTrackingID - READ-ONLY; The ID used within Microsoft's peering provisioning system to track the connection MicrosoftTrackingID *string `json:"microsoftTrackingId,omitempty"` // PeeringDBFacilityID - The PeeringDB.com ID of the facility at which the connection has to be set up. PeeringDBFacilityID *int32 `json:"peeringDBFacilityId,omitempty"` // ConnectionState - READ-ONLY; The state of the connection. Possible values include: 'None', 'PendingApproval', 'Approved', 'ProvisioningStarted', 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active' ConnectionState ConnectionState `json:"connectionState,omitempty"` // BgpSession - The BGP session associated with the connection. BgpSession *BgpSession `json:"bgpSession,omitempty"` // ConnectionIdentifier - The unique identifier (GUID) for the connection. ConnectionIdentifier *string `json:"connectionIdentifier,omitempty"` // ErrorMessage - READ-ONLY; The error message related to the connection state, if any. ErrorMessage *string `json:"errorMessage,omitempty"` }
DirectConnection the properties that define a direct connection.
func (DirectConnection) MarshalJSON ¶
func (dc DirectConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DirectConnection.
type DirectPeeringFacility ¶
type DirectPeeringFacility struct { // Address - The address of the direct peering facility. Address *string `json:"address,omitempty"` // DirectPeeringType - The type of the direct peering. Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs' DirectPeeringType DirectPeeringType `json:"directPeeringType,omitempty"` // PeeringDBFacilityID - The PeeringDB.com ID of the facility. PeeringDBFacilityID *int32 `json:"peeringDBFacilityId,omitempty"` // PeeringDBFacilityLink - The PeeringDB.com URL of the facility. PeeringDBFacilityLink *string `json:"peeringDBFacilityLink,omitempty"` }
DirectPeeringFacility the properties that define a direct peering facility.
type DirectPeeringType ¶
type DirectPeeringType string
DirectPeeringType enumerates the values for direct peering type.
const ( // Cdn ... Cdn DirectPeeringType = "Cdn" // Edge ... Edge DirectPeeringType = "Edge" // Internal ... Internal DirectPeeringType = "Internal" // Ix ... Ix DirectPeeringType = "Ix" // IxRs ... IxRs DirectPeeringType = "IxRs" // Transit ... Transit DirectPeeringType = "Transit" )
func PossibleDirectPeeringTypeValues ¶
func PossibleDirectPeeringTypeValues() []DirectPeeringType
PossibleDirectPeeringTypeValues returns an array of possible values for the DirectPeeringType const type.
type ErrorDetail ¶
type ErrorDetail struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` }
ErrorDetail the error detail that describes why an operation has failed.
func (ErrorDetail) MarshalJSON ¶
func (ed ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // Error - The error detail that describes why an operation has failed. Error *ErrorDetail `json:"error,omitempty"` }
ErrorResponse the error response that indicates why an operation has failed.
type ExchangeConnection ¶
type ExchangeConnection struct { // PeeringDBFacilityID - The PeeringDB.com ID of the facility at which the connection has to be set up. PeeringDBFacilityID *int32 `json:"peeringDBFacilityId,omitempty"` // ConnectionState - READ-ONLY; The state of the connection. Possible values include: 'None', 'PendingApproval', 'Approved', 'ProvisioningStarted', 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active' ConnectionState ConnectionState `json:"connectionState,omitempty"` // BgpSession - The BGP session associated with the connection. BgpSession *BgpSession `json:"bgpSession,omitempty"` // ConnectionIdentifier - The unique identifier (GUID) for the connection. ConnectionIdentifier *string `json:"connectionIdentifier,omitempty"` // ErrorMessage - READ-ONLY; The error message related to the connection state, if any. ErrorMessage *string `json:"errorMessage,omitempty"` }
ExchangeConnection the properties that define an exchange connection.
func (ExchangeConnection) MarshalJSON ¶
func (ec ExchangeConnection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExchangeConnection.
type ExchangePeeringFacility ¶
type ExchangePeeringFacility struct { // ExchangeName - The name of the exchange peering facility. ExchangeName *string `json:"exchangeName,omitempty"` // BandwidthInMbps - The bandwidth of the connection between Microsoft and the exchange peering facility. BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"` // MicrosoftIPv4Address - The IPv4 address of Microsoft at the exchange peering facility. MicrosoftIPv4Address *string `json:"microsoftIPv4Address,omitempty"` // MicrosoftIPv6Address - The IPv6 address of Microsoft at the exchange peering facility. MicrosoftIPv6Address *string `json:"microsoftIPv6Address,omitempty"` // FacilityIPv4Prefix - The IPv4 prefixes associated with the exchange peering facility. FacilityIPv4Prefix *string `json:"facilityIPv4Prefix,omitempty"` // FacilityIPv6Prefix - The IPv6 prefixes associated with the exchange peering facility. FacilityIPv6Prefix *string `json:"facilityIPv6Prefix,omitempty"` // PeeringDBFacilityID - The PeeringDB.com ID of the facility. PeeringDBFacilityID *int32 `json:"peeringDBFacilityId,omitempty"` // PeeringDBFacilityLink - The PeeringDB.com URL of the facility. PeeringDBFacilityLink *string `json:"peeringDBFacilityLink,omitempty"` }
ExchangePeeringFacility the properties that define an exchange peering facility.
type Family ¶
type Family string
Family enumerates the values for family.
func PossibleFamilyValues ¶
func PossibleFamilyValues() []Family
PossibleFamilyValues returns an array of possible values for the Family const type.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type LearnedType ¶
type LearnedType string
LearnedType enumerates the values for learned type.
const ( // LearnedTypeNone ... LearnedTypeNone LearnedType = "None" // LearnedTypeViaServiceProvider ... LearnedTypeViaServiceProvider LearnedType = "ViaServiceProvider" // LearnedTypeViaSession ... LearnedTypeViaSession LearnedType = "ViaSession" )
func PossibleLearnedTypeValues ¶
func PossibleLearnedTypeValues() []LearnedType
PossibleLearnedTypeValues returns an array of possible values for the LearnedType const type.
type LegacyPeeringsClient ¶
type LegacyPeeringsClient struct {
BaseClient
}
LegacyPeeringsClient is the peering Client
func NewLegacyPeeringsClient ¶
func NewLegacyPeeringsClient(subscriptionID string) LegacyPeeringsClient
NewLegacyPeeringsClient creates an instance of the LegacyPeeringsClient client.
func NewLegacyPeeringsClientWithBaseURI ¶
func NewLegacyPeeringsClientWithBaseURI(baseURI string, subscriptionID string) LegacyPeeringsClient
NewLegacyPeeringsClientWithBaseURI creates an instance of the LegacyPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LegacyPeeringsClient) List ¶
func (client LegacyPeeringsClient) List(ctx context.Context, peeringLocation string, kind string, asn *int32) (result ListResultPage, err error)
List lists all of the legacy peerings under the given subscription matching the specified kind and location. Parameters: peeringLocation - the location of the peering. kind - the kind of the peering. asn - the ASN number associated with a legacy peering.
func (LegacyPeeringsClient) ListComplete ¶
func (client LegacyPeeringsClient) ListComplete(ctx context.Context, peeringLocation string, kind string, asn *int32) (result ListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (LegacyPeeringsClient) ListPreparer ¶
func (client LegacyPeeringsClient) ListPreparer(ctx context.Context, peeringLocation string, kind string, asn *int32) (*http.Request, error)
ListPreparer prepares the List request.
func (LegacyPeeringsClient) ListResponder ¶
func (client LegacyPeeringsClient) ListResponder(resp *http.Response) (result ListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (LegacyPeeringsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ListResult ¶
type ListResult struct { autorest.Response `json:"-"` // Value - The list of peerings. Value *[]Model `json:"value,omitempty"` // NextLink - The link to fetch the next page of peerings. NextLink *string `json:"nextLink,omitempty"` }
ListResult the paginated list of peerings.
func (ListResult) IsEmpty ¶
func (lr ListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ListResultIterator ¶
type ListResultIterator struct {
// contains filtered or unexported fields
}
ListResultIterator provides access to a complete listing of Model values.
func NewListResultIterator ¶
func NewListResultIterator(page ListResultPage) ListResultIterator
Creates a new instance of the ListResultIterator type.
func (*ListResultIterator) Next ¶
func (iter *ListResultIterator) 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 (*ListResultIterator) NextWithContext ¶
func (iter *ListResultIterator) 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 (ListResultIterator) NotDone ¶
func (iter ListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListResultIterator) Response ¶
func (iter ListResultIterator) Response() ListResult
Response returns the raw server response from the last page request.
func (ListResultIterator) Value ¶
func (iter ListResultIterator) Value() Model
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListResultPage ¶
type ListResultPage struct {
// contains filtered or unexported fields
}
ListResultPage contains a page of Model values.
func NewListResultPage ¶
func NewListResultPage(cur ListResult, getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage
Creates a new instance of the ListResultPage type.
func (*ListResultPage) Next ¶
func (page *ListResultPage) 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 (*ListResultPage) NextWithContext ¶
func (page *ListResultPage) 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 (ListResultPage) NotDone ¶
func (page ListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListResultPage) Response ¶
func (page ListResultPage) Response() ListResult
Response returns the raw server response from the last page request.
func (ListResultPage) Values ¶
func (page ListResultPage) Values() []Model
Values returns the slice of values for the current page or nil if there are no values.
type Location ¶
type Location struct { // Kind - The kind of peering that the peering location supports. Possible values include: 'KindDirect', 'KindExchange' Kind Kind `json:"kind,omitempty"` // LocationProperties - The properties that define a peering location. *LocationProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
Location peering location is where connectivity could be established to the Microsoft Cloud Edge.
func (Location) MarshalJSON ¶
MarshalJSON is the custom marshaler for Location.
func (*Location) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Location struct.
type LocationListResult ¶
type LocationListResult struct { autorest.Response `json:"-"` // Value - The list of peering locations. Value *[]Location `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering locations. NextLink *string `json:"nextLink,omitempty"` }
LocationListResult the paginated list of peering locations.
func (LocationListResult) IsEmpty ¶
func (llr LocationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LocationListResultIterator ¶
type LocationListResultIterator struct {
// contains filtered or unexported fields
}
LocationListResultIterator provides access to a complete listing of Location values.
func NewLocationListResultIterator ¶
func NewLocationListResultIterator(page LocationListResultPage) LocationListResultIterator
Creates a new instance of the LocationListResultIterator type.
func (*LocationListResultIterator) Next ¶
func (iter *LocationListResultIterator) 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 (*LocationListResultIterator) NextWithContext ¶
func (iter *LocationListResultIterator) 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 (LocationListResultIterator) NotDone ¶
func (iter LocationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LocationListResultIterator) Response ¶
func (iter LocationListResultIterator) Response() LocationListResult
Response returns the raw server response from the last page request.
func (LocationListResultIterator) Value ¶
func (iter LocationListResultIterator) Value() Location
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type LocationListResultPage ¶
type LocationListResultPage struct {
// contains filtered or unexported fields
}
LocationListResultPage contains a page of Location values.
func NewLocationListResultPage ¶
func NewLocationListResultPage(cur LocationListResult, getNextPage func(context.Context, LocationListResult) (LocationListResult, error)) LocationListResultPage
Creates a new instance of the LocationListResultPage type.
func (*LocationListResultPage) Next ¶
func (page *LocationListResultPage) 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 (*LocationListResultPage) NextWithContext ¶
func (page *LocationListResultPage) 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 (LocationListResultPage) NotDone ¶
func (page LocationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LocationListResultPage) Response ¶
func (page LocationListResultPage) Response() LocationListResult
Response returns the raw server response from the last page request.
func (LocationListResultPage) Values ¶
func (page LocationListResultPage) Values() []Location
Values returns the slice of values for the current page or nil if there are no values.
type LocationProperties ¶
type LocationProperties struct { // Direct - The properties that define a direct peering location. Direct *LocationPropertiesDirect `json:"direct,omitempty"` // Exchange - The properties that define an exchange peering location. Exchange *LocationPropertiesExchange `json:"exchange,omitempty"` // PeeringLocation - The name of the peering location. PeeringLocation *string `json:"peeringLocation,omitempty"` // Country - The country in which the peering location exists. Country *string `json:"country,omitempty"` // AzureRegion - The Azure region associated with the peering location. AzureRegion *string `json:"azureRegion,omitempty"` }
LocationProperties the properties that define a peering location.
type LocationPropertiesDirect ¶
type LocationPropertiesDirect struct { // PeeringFacilities - The list of direct peering facilities at the peering location. PeeringFacilities *[]DirectPeeringFacility `json:"peeringFacilities,omitempty"` // BandwidthOffers - The list of bandwidth offers available at the peering location. BandwidthOffers *[]BandwidthOffer `json:"bandwidthOffers,omitempty"` }
LocationPropertiesDirect the properties that define a direct peering location.
type LocationPropertiesExchange ¶
type LocationPropertiesExchange struct { // PeeringFacilities - The list of exchange peering facilities at the peering location. PeeringFacilities *[]ExchangePeeringFacility `json:"peeringFacilities,omitempty"` }
LocationPropertiesExchange the properties that define an exchange peering location.
type LocationsClient ¶
type LocationsClient struct {
BaseClient
}
LocationsClient is the peering Client
func NewLocationsClient ¶
func NewLocationsClient(subscriptionID string) LocationsClient
NewLocationsClient creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI ¶
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient
NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LocationsClient) List ¶
func (client LocationsClient) List(ctx context.Context, kind string, directPeeringType string) (result LocationListResultPage, err error)
List lists all of the available peering locations for the specified kind of peering. Parameters: kind - the kind of the peering. directPeeringType - the type of direct peering.
func (LocationsClient) ListComplete ¶
func (client LocationsClient) ListComplete(ctx context.Context, kind string, directPeeringType string) (result LocationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (LocationsClient) ListPreparer ¶
func (client LocationsClient) ListPreparer(ctx context.Context, kind string, directPeeringType string) (*http.Request, error)
ListPreparer prepares the List request.
func (LocationsClient) ListResponder ¶
func (client LocationsClient) ListResponder(resp *http.Response) (result LocationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (LocationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Model ¶
type Model struct { autorest.Response `json:"-"` // Sku - The SKU that defines the tier and kind of the peering. Sku *Sku `json:"sku,omitempty"` // Kind - The kind of the peering. Possible values include: 'KindDirect', 'KindExchange' Kind Kind `json:"kind,omitempty"` // Properties - The properties that define a peering. *Properties `json:"properties,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The resource tags. Tags map[string]*string `json:"tags"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
Model peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.
func (Model) MarshalJSON ¶
MarshalJSON is the custom marshaler for Model.
func (*Model) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Model struct.
type Operation ¶
type Operation struct { // Name - READ-ONLY; The name of the operation. Name *string `json:"name,omitempty"` // Display - READ-ONLY; The information related to the operation. Display *OperationDisplayInfo `json:"display,omitempty"` // IsDataAction - READ-ONLY; The flag that indicates whether the operation applies to data plane. IsDataAction *bool `json:"isDataAction,omitempty"` }
Operation the peering API operation.
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplayInfo ¶
type OperationDisplayInfo struct { // Provider - READ-ONLY; The name of the resource provider. Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; The type of the resource. Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; The name of the operation. Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; The description of the operation. Description *string `json:"description,omitempty"` }
OperationDisplayInfo the information related to the operation.
func (OperationDisplayInfo) MarshalJSON ¶
func (odi OperationDisplayInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplayInfo.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - The list of peering API operations. Value *[]Operation `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering API operations. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult the paginated list of peering API operations.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) 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 (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) 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 (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) 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 (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) 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 (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the peering Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available API operations for peering resources.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PeerAsn ¶
type PeerAsn struct { autorest.Response `json:"-"` // PeerAsnProperties - The properties that define a peer's ASN. *PeerAsnProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
PeerAsn the essential information related to the peer's ASN.
func (PeerAsn) MarshalJSON ¶
MarshalJSON is the custom marshaler for PeerAsn.
func (*PeerAsn) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for PeerAsn struct.
type PeerAsnListResult ¶
type PeerAsnListResult struct { autorest.Response `json:"-"` // Value - The list of peer ASNs. Value *[]PeerAsn `json:"value,omitempty"` // NextLink - The link to fetch the next page of peer ASNs. NextLink *string `json:"nextLink,omitempty"` }
PeerAsnListResult the paginated list of peer ASNs.
func (PeerAsnListResult) IsEmpty ¶
func (palr PeerAsnListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PeerAsnListResultIterator ¶
type PeerAsnListResultIterator struct {
// contains filtered or unexported fields
}
PeerAsnListResultIterator provides access to a complete listing of PeerAsn values.
func NewPeerAsnListResultIterator ¶
func NewPeerAsnListResultIterator(page PeerAsnListResultPage) PeerAsnListResultIterator
Creates a new instance of the PeerAsnListResultIterator type.
func (*PeerAsnListResultIterator) Next ¶
func (iter *PeerAsnListResultIterator) 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 (*PeerAsnListResultIterator) NextWithContext ¶
func (iter *PeerAsnListResultIterator) 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 (PeerAsnListResultIterator) NotDone ¶
func (iter PeerAsnListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PeerAsnListResultIterator) Response ¶
func (iter PeerAsnListResultIterator) Response() PeerAsnListResult
Response returns the raw server response from the last page request.
func (PeerAsnListResultIterator) Value ¶
func (iter PeerAsnListResultIterator) Value() PeerAsn
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PeerAsnListResultPage ¶
type PeerAsnListResultPage struct {
// contains filtered or unexported fields
}
PeerAsnListResultPage contains a page of PeerAsn values.
func NewPeerAsnListResultPage ¶
func NewPeerAsnListResultPage(cur PeerAsnListResult, getNextPage func(context.Context, PeerAsnListResult) (PeerAsnListResult, error)) PeerAsnListResultPage
Creates a new instance of the PeerAsnListResultPage type.
func (*PeerAsnListResultPage) Next ¶
func (page *PeerAsnListResultPage) 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 (*PeerAsnListResultPage) NextWithContext ¶
func (page *PeerAsnListResultPage) 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 (PeerAsnListResultPage) NotDone ¶
func (page PeerAsnListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PeerAsnListResultPage) Response ¶
func (page PeerAsnListResultPage) Response() PeerAsnListResult
Response returns the raw server response from the last page request.
func (PeerAsnListResultPage) Values ¶
func (page PeerAsnListResultPage) Values() []PeerAsn
Values returns the slice of values for the current page or nil if there are no values.
type PeerAsnProperties ¶
type PeerAsnProperties struct { // PeerAsn - The Autonomous System Number (ASN) of the peer. PeerAsn *int32 `json:"peerAsn,omitempty"` // PeerContactDetail - The contact details of the peer. PeerContactDetail *[]ContactDetail `json:"peerContactDetail,omitempty"` // PeerName - The name of the peer. PeerName *string `json:"peerName,omitempty"` // ValidationState - The validation state of the ASN associated with the peer. Possible values include: 'ValidationStateNone', 'ValidationStatePending', 'ValidationStateApproved', 'ValidationStateFailed' ValidationState ValidationState `json:"validationState,omitempty"` // ErrorMessage - READ-ONLY; The error message for the validation state ErrorMessage *string `json:"errorMessage,omitempty"` }
PeerAsnProperties the properties that define a peer's ASN.
func (PeerAsnProperties) MarshalJSON ¶
func (pap PeerAsnProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PeerAsnProperties.
type PeerAsnsClient ¶
type PeerAsnsClient struct {
BaseClient
}
PeerAsnsClient is the peering Client
func NewPeerAsnsClient ¶
func NewPeerAsnsClient(subscriptionID string) PeerAsnsClient
NewPeerAsnsClient creates an instance of the PeerAsnsClient client.
func NewPeerAsnsClientWithBaseURI ¶
func NewPeerAsnsClientWithBaseURI(baseURI string, subscriptionID string) PeerAsnsClient
NewPeerAsnsClientWithBaseURI creates an instance of the PeerAsnsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PeerAsnsClient) CreateOrUpdate ¶
func (client PeerAsnsClient) CreateOrUpdate(ctx context.Context, peerAsnName string, peerAsn PeerAsn) (result PeerAsn, err error)
CreateOrUpdate creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription. Parameters: peerAsnName - the peer ASN name. peerAsn - the peer ASN.
func (PeerAsnsClient) CreateOrUpdatePreparer ¶
func (client PeerAsnsClient) CreateOrUpdatePreparer(ctx context.Context, peerAsnName string, peerAsn PeerAsn) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PeerAsnsClient) CreateOrUpdateResponder ¶
func (client PeerAsnsClient) CreateOrUpdateResponder(resp *http.Response) (result PeerAsn, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PeerAsnsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PeerAsnsClient) Delete ¶
func (client PeerAsnsClient) Delete(ctx context.Context, peerAsnName string) (result autorest.Response, err error)
Delete deletes an existing peer ASN with the specified name under the given subscription. Parameters: peerAsnName - the peer ASN name.
func (PeerAsnsClient) DeletePreparer ¶
func (client PeerAsnsClient) DeletePreparer(ctx context.Context, peerAsnName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PeerAsnsClient) DeleteResponder ¶
func (client PeerAsnsClient) 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 (PeerAsnsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PeerAsnsClient) Get ¶
func (client PeerAsnsClient) Get(ctx context.Context, peerAsnName string) (result PeerAsn, err error)
Get gets the peer ASN with the specified name under the given subscription. Parameters: peerAsnName - the peer ASN name.
func (PeerAsnsClient) GetPreparer ¶
func (client PeerAsnsClient) GetPreparer(ctx context.Context, peerAsnName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PeerAsnsClient) GetResponder ¶
func (client PeerAsnsClient) GetResponder(resp *http.Response) (result PeerAsn, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PeerAsnsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PeerAsnsClient) ListBySubscription ¶
func (client PeerAsnsClient) ListBySubscription(ctx context.Context) (result PeerAsnListResultPage, err error)
ListBySubscription lists all of the peer ASNs under the given subscription.
func (PeerAsnsClient) ListBySubscriptionComplete ¶
func (client PeerAsnsClient) ListBySubscriptionComplete(ctx context.Context) (result PeerAsnListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (PeerAsnsClient) ListBySubscriptionPreparer ¶
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (PeerAsnsClient) ListBySubscriptionResponder ¶
func (client PeerAsnsClient) ListBySubscriptionResponder(resp *http.Response) (result PeerAsnListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (PeerAsnsClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
type PeeringsClient ¶
type PeeringsClient struct {
BaseClient
}
PeeringsClient is the peering Client
func NewPeeringsClient ¶
func NewPeeringsClient(subscriptionID string) PeeringsClient
NewPeeringsClient creates an instance of the PeeringsClient client.
func NewPeeringsClientWithBaseURI ¶
func NewPeeringsClientWithBaseURI(baseURI string, subscriptionID string) PeeringsClient
NewPeeringsClientWithBaseURI creates an instance of the PeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PeeringsClient) CreateOrUpdate ¶
func (client PeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringName string, peering Model) (result Model, err error)
CreateOrUpdate creates a new peering or updates an existing peering with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. peering - the properties needed to create or update a peering.
func (PeeringsClient) CreateOrUpdatePreparer ¶
func (client PeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, peering Model) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PeeringsClient) CreateOrUpdateResponder ¶
func (client PeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result Model, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PeeringsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PeeringsClient) Delete ¶
func (client PeeringsClient) Delete(ctx context.Context, resourceGroupName string, peeringName string) (result autorest.Response, err error)
Delete deletes an existing peering with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering.
func (PeeringsClient) DeletePreparer ¶
func (client PeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PeeringsClient) DeleteResponder ¶
func (client PeeringsClient) 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 (PeeringsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PeeringsClient) Get ¶
func (client PeeringsClient) Get(ctx context.Context, resourceGroupName string, peeringName string) (result Model, err error)
Get gets an existing peering with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering.
func (PeeringsClient) GetPreparer ¶
func (client PeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PeeringsClient) GetResponder ¶
func (client PeeringsClient) GetResponder(resp *http.Response) (result Model, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PeeringsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PeeringsClient) ListByResourceGroup ¶
func (client PeeringsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
ListByResourceGroup lists all of the peerings under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group.
func (PeeringsClient) ListByResourceGroupComplete ¶
func (client PeeringsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (PeeringsClient) ListByResourceGroupPreparer ¶
func (client PeeringsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (PeeringsClient) ListByResourceGroupResponder ¶
func (client PeeringsClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (PeeringsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (PeeringsClient) ListBySubscription ¶
func (client PeeringsClient) ListBySubscription(ctx context.Context) (result ListResultPage, err error)
ListBySubscription lists all of the peerings under the given subscription.
func (PeeringsClient) ListBySubscriptionComplete ¶
func (client PeeringsClient) ListBySubscriptionComplete(ctx context.Context) (result ListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (PeeringsClient) ListBySubscriptionPreparer ¶
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (PeeringsClient) ListBySubscriptionResponder ¶
func (client PeeringsClient) ListBySubscriptionResponder(resp *http.Response) (result ListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (PeeringsClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (PeeringsClient) Update ¶
func (client PeeringsClient) Update(ctx context.Context, resourceGroupName string, peeringName string, tags ResourceTags) (result Model, err error)
Update updates tags for a peering with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. tags - the resource tags.
func (PeeringsClient) UpdatePreparer ¶
func (client PeeringsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, tags ResourceTags) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (PeeringsClient) UpdateResponder ¶
func (client PeeringsClient) UpdateResponder(resp *http.Response) (result Model, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (PeeringsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type PrefixValidationState ¶
type PrefixValidationState string
PrefixValidationState enumerates the values for prefix validation state.
const ( // PrefixValidationStateFailed ... PrefixValidationStateFailed PrefixValidationState = "Failed" // PrefixValidationStateInvalid ... PrefixValidationStateInvalid PrefixValidationState = "Invalid" // PrefixValidationStateNone ... PrefixValidationStateNone PrefixValidationState = "None" // PrefixValidationStatePending ... PrefixValidationStatePending PrefixValidationState = "Pending" // PrefixValidationStateUnknown ... PrefixValidationStateUnknown PrefixValidationState = "Unknown" // PrefixValidationStateVerified ... PrefixValidationStateVerified PrefixValidationState = "Verified" // PrefixValidationStateWarning ... PrefixValidationStateWarning PrefixValidationState = "Warning" )
func PossiblePrefixValidationStateValues ¶
func PossiblePrefixValidationStateValues() []PrefixValidationState
PossiblePrefixValidationStateValues returns an array of possible values for the PrefixValidationState const type.
type PrefixesClient ¶
type PrefixesClient struct {
BaseClient
}
PrefixesClient is the peering Client
func NewPrefixesClient ¶
func NewPrefixesClient(subscriptionID string) PrefixesClient
NewPrefixesClient creates an instance of the PrefixesClient client.
func NewPrefixesClientWithBaseURI ¶
func NewPrefixesClientWithBaseURI(baseURI string, subscriptionID string) PrefixesClient
NewPrefixesClientWithBaseURI creates an instance of the PrefixesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PrefixesClient) CreateOrUpdate ¶
func (client PrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, peeringServicePrefix ServicePrefix) (result ServicePrefix, err error)
CreateOrUpdate creates a new prefix with the specified name under the given subscription, resource group and peering service. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service. prefixName - the name of the prefix. peeringServicePrefix - the properties needed to create a prefix.
func (PrefixesClient) CreateOrUpdatePreparer ¶
func (client PrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, peeringServicePrefix ServicePrefix) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PrefixesClient) CreateOrUpdateResponder ¶
func (client PrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result ServicePrefix, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PrefixesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PrefixesClient) Delete ¶
func (client PrefixesClient) Delete(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string) (result autorest.Response, err error)
Delete deletes an existing prefix with the specified name under the given subscription, resource group and peering service. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service. prefixName - the name of the prefix.
func (PrefixesClient) DeletePreparer ¶
func (client PrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PrefixesClient) DeleteResponder ¶
func (client PrefixesClient) 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 (PrefixesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PrefixesClient) Get ¶
func (client PrefixesClient) Get(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, expand string) (result ServicePrefix, err error)
Get gets an existing prefix with the specified name under the given subscription, resource group and peering service. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service. prefixName - the name of the prefix. expand - the properties to be expanded.
func (PrefixesClient) GetPreparer ¶
func (client PrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, prefixName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PrefixesClient) GetResponder ¶
func (client PrefixesClient) GetResponder(resp *http.Response) (result ServicePrefix, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PrefixesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PrefixesClient) ListByPeeringService ¶
func (client PrefixesClient) ListByPeeringService(ctx context.Context, resourceGroupName string, peeringServiceName string, expand string) (result ServicePrefixListResultPage, err error)
ListByPeeringService lists all prefixes under the given subscription, resource group and peering service. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service. expand - the properties to be expanded.
func (PrefixesClient) ListByPeeringServiceComplete ¶
func (client PrefixesClient) ListByPeeringServiceComplete(ctx context.Context, resourceGroupName string, peeringServiceName string, expand string) (result ServicePrefixListResultIterator, err error)
ListByPeeringServiceComplete enumerates all values, automatically crossing page boundaries as required.
func (PrefixesClient) ListByPeeringServicePreparer ¶
func (client PrefixesClient) ListByPeeringServicePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, expand string) (*http.Request, error)
ListByPeeringServicePreparer prepares the ListByPeeringService request.
func (PrefixesClient) ListByPeeringServiceResponder ¶
func (client PrefixesClient) ListByPeeringServiceResponder(resp *http.Response) (result ServicePrefixListResult, err error)
ListByPeeringServiceResponder handles the response to the ListByPeeringService request. The method always closes the http.Response Body.
func (PrefixesClient) ListByPeeringServiceSender ¶
ListByPeeringServiceSender sends the ListByPeeringService request. The method will close the http.Response Body if it receives an error.
type Properties ¶
type Properties struct { // Direct - The properties that define a direct peering. Direct *PropertiesDirect `json:"direct,omitempty"` // Exchange - The properties that define an exchange peering. Exchange *PropertiesExchange `json:"exchange,omitempty"` // PeeringLocation - The location of the peering. PeeringLocation *string `json:"peeringLocation,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
Properties the properties that define connectivity to the Microsoft Cloud Edge.
func (Properties) MarshalJSON ¶
func (p Properties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Properties.
type PropertiesDirect ¶
type PropertiesDirect struct { // Connections - The set of connections that constitute a direct peering. Connections *[]DirectConnection `json:"connections,omitempty"` // UseForPeeringService - READ-ONLY; The flag that indicates whether or not the peering is used for peering service. UseForPeeringService *bool `json:"useForPeeringService,omitempty"` // PeerAsn - The reference of the peer ASN. PeerAsn *SubResource `json:"peerAsn,omitempty"` // DirectPeeringType - The type of direct peering. Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal', 'Ix', 'IxRs' DirectPeeringType DirectPeeringType `json:"directPeeringType,omitempty"` }
PropertiesDirect the properties that define a direct peering.
func (PropertiesDirect) MarshalJSON ¶
func (pd PropertiesDirect) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PropertiesDirect.
type PropertiesExchange ¶
type PropertiesExchange struct { // Connections - The set of connections that constitute an exchange peering. Connections *[]ExchangeConnection `json:"connections,omitempty"` // PeerAsn - The reference of the peer ASN. PeerAsn *SubResource `json:"peerAsn,omitempty"` }
PropertiesExchange the properties that define an exchange peering.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // Deleting ... Deleting ProvisioningState = "Deleting" // Failed ... Failed ProvisioningState = "Failed" // Succeeded ... Succeeded ProvisioningState = "Succeeded" // Updating ... Updating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type ReceivedRoute ¶
type ReceivedRoute struct { // Prefix - READ-ONLY; The prefix. Prefix *string `json:"prefix,omitempty"` // NextHop - READ-ONLY; The next hop for the prefix. NextHop *string `json:"nextHop,omitempty"` // AsPath - READ-ONLY; The AS path for the prefix. AsPath *string `json:"asPath,omitempty"` // OriginAsValidationState - READ-ONLY; The origin AS change information for the prefix. OriginAsValidationState *string `json:"originAsValidationState,omitempty"` // RpkiValidationState - READ-ONLY; The RPKI validation state for the prefix and origin AS that's listed in the AS path. RpkiValidationState *string `json:"rpkiValidationState,omitempty"` // TrustAnchor - READ-ONLY; The authority which holds the Route Origin Authorization record for the prefix, if any. TrustAnchor *string `json:"trustAnchor,omitempty"` // ReceivedTimestamp - READ-ONLY; The received timestamp associated with the prefix. ReceivedTimestamp *string `json:"receivedTimestamp,omitempty"` }
ReceivedRoute the properties that define a received route.
func (ReceivedRoute) MarshalJSON ¶
func (rr ReceivedRoute) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReceivedRoute.
type ReceivedRouteListResult ¶
type ReceivedRouteListResult struct { autorest.Response `json:"-"` // Value - The list of received routes for the peering. Value *[]ReceivedRoute `json:"value,omitempty"` // NextLink - The link to fetch the next page of received routes for the peering. NextLink *string `json:"nextLink,omitempty"` }
ReceivedRouteListResult the paginated list of received routes for the peering.
func (ReceivedRouteListResult) IsEmpty ¶
func (rrlr ReceivedRouteListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ReceivedRouteListResultIterator ¶
type ReceivedRouteListResultIterator struct {
// contains filtered or unexported fields
}
ReceivedRouteListResultIterator provides access to a complete listing of ReceivedRoute values.
func NewReceivedRouteListResultIterator ¶
func NewReceivedRouteListResultIterator(page ReceivedRouteListResultPage) ReceivedRouteListResultIterator
Creates a new instance of the ReceivedRouteListResultIterator type.
func (*ReceivedRouteListResultIterator) Next ¶
func (iter *ReceivedRouteListResultIterator) 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 (*ReceivedRouteListResultIterator) NextWithContext ¶
func (iter *ReceivedRouteListResultIterator) 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 (ReceivedRouteListResultIterator) NotDone ¶
func (iter ReceivedRouteListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ReceivedRouteListResultIterator) Response ¶
func (iter ReceivedRouteListResultIterator) Response() ReceivedRouteListResult
Response returns the raw server response from the last page request.
func (ReceivedRouteListResultIterator) Value ¶
func (iter ReceivedRouteListResultIterator) Value() ReceivedRoute
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ReceivedRouteListResultPage ¶
type ReceivedRouteListResultPage struct {
// contains filtered or unexported fields
}
ReceivedRouteListResultPage contains a page of ReceivedRoute values.
func NewReceivedRouteListResultPage ¶
func NewReceivedRouteListResultPage(cur ReceivedRouteListResult, getNextPage func(context.Context, ReceivedRouteListResult) (ReceivedRouteListResult, error)) ReceivedRouteListResultPage
Creates a new instance of the ReceivedRouteListResultPage type.
func (*ReceivedRouteListResultPage) Next ¶
func (page *ReceivedRouteListResultPage) 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 (*ReceivedRouteListResultPage) NextWithContext ¶
func (page *ReceivedRouteListResultPage) 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 (ReceivedRouteListResultPage) NotDone ¶
func (page ReceivedRouteListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ReceivedRouteListResultPage) Response ¶
func (page ReceivedRouteListResultPage) Response() ReceivedRouteListResult
Response returns the raw server response from the last page request.
func (ReceivedRouteListResultPage) Values ¶
func (page ReceivedRouteListResultPage) Values() []ReceivedRoute
Values returns the slice of values for the current page or nil if there are no values.
type ReceivedRoutesClient ¶
type ReceivedRoutesClient struct {
BaseClient
}
ReceivedRoutesClient is the peering Client
func NewReceivedRoutesClient ¶
func NewReceivedRoutesClient(subscriptionID string) ReceivedRoutesClient
NewReceivedRoutesClient creates an instance of the ReceivedRoutesClient client.
func NewReceivedRoutesClientWithBaseURI ¶
func NewReceivedRoutesClientWithBaseURI(baseURI string, subscriptionID string) ReceivedRoutesClient
NewReceivedRoutesClientWithBaseURI creates an instance of the ReceivedRoutesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ReceivedRoutesClient) ListByPeering ¶
func (client ReceivedRoutesClient) ListByPeering(ctx context.Context, resourceGroupName string, peeringName string, prefix string, asPath string, originAsValidationState string, rpkiValidationState string, skipToken string) (result ReceivedRouteListResultPage, err error)
ListByPeering lists the prefixes received over the specified peering under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. prefix - the optional prefix that can be used to filter the routes. asPath - the optional AS path that can be used to filter the routes. originAsValidationState - the optional origin AS validation state that can be used to filter the routes. rpkiValidationState - the optional RPKI validation state that can be used to filter the routes. skipToken - the optional page continuation token that is used in the event of paginated result.
func (ReceivedRoutesClient) ListByPeeringComplete ¶
func (client ReceivedRoutesClient) ListByPeeringComplete(ctx context.Context, resourceGroupName string, peeringName string, prefix string, asPath string, originAsValidationState string, rpkiValidationState string, skipToken string) (result ReceivedRouteListResultIterator, err error)
ListByPeeringComplete enumerates all values, automatically crossing page boundaries as required.
func (ReceivedRoutesClient) ListByPeeringPreparer ¶
func (client ReceivedRoutesClient) ListByPeeringPreparer(ctx context.Context, resourceGroupName string, peeringName string, prefix string, asPath string, originAsValidationState string, rpkiValidationState string, skipToken string) (*http.Request, error)
ListByPeeringPreparer prepares the ListByPeering request.
func (ReceivedRoutesClient) ListByPeeringResponder ¶
func (client ReceivedRoutesClient) ListByPeeringResponder(resp *http.Response) (result ReceivedRouteListResult, err error)
ListByPeeringResponder handles the response to the ListByPeering request. The method always closes the http.Response Body.
func (ReceivedRoutesClient) ListByPeeringSender ¶
ListByPeeringSender sends the ListByPeering request. The method will close the http.Response Body if it receives an error.
type RegisteredAsn ¶
type RegisteredAsn struct { autorest.Response `json:"-"` // RegisteredAsnProperties - The properties that define a registered ASN. *RegisteredAsnProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
RegisteredAsn the customer's ASN that is registered by the peering service provider.
func (RegisteredAsn) MarshalJSON ¶
func (ra RegisteredAsn) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegisteredAsn.
func (*RegisteredAsn) UnmarshalJSON ¶
func (ra *RegisteredAsn) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RegisteredAsn struct.
type RegisteredAsnListResult ¶
type RegisteredAsnListResult struct { autorest.Response `json:"-"` // Value - The list of peering registered ASNs. Value *[]RegisteredAsn `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering registered ASNs. NextLink *string `json:"nextLink,omitempty"` }
RegisteredAsnListResult the paginated list of peering registered ASNs.
func (RegisteredAsnListResult) IsEmpty ¶
func (ralr RegisteredAsnListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RegisteredAsnListResultIterator ¶
type RegisteredAsnListResultIterator struct {
// contains filtered or unexported fields
}
RegisteredAsnListResultIterator provides access to a complete listing of RegisteredAsn values.
func NewRegisteredAsnListResultIterator ¶
func NewRegisteredAsnListResultIterator(page RegisteredAsnListResultPage) RegisteredAsnListResultIterator
Creates a new instance of the RegisteredAsnListResultIterator type.
func (*RegisteredAsnListResultIterator) Next ¶
func (iter *RegisteredAsnListResultIterator) 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 (*RegisteredAsnListResultIterator) NextWithContext ¶
func (iter *RegisteredAsnListResultIterator) 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 (RegisteredAsnListResultIterator) NotDone ¶
func (iter RegisteredAsnListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RegisteredAsnListResultIterator) Response ¶
func (iter RegisteredAsnListResultIterator) Response() RegisteredAsnListResult
Response returns the raw server response from the last page request.
func (RegisteredAsnListResultIterator) Value ¶
func (iter RegisteredAsnListResultIterator) Value() RegisteredAsn
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RegisteredAsnListResultPage ¶
type RegisteredAsnListResultPage struct {
// contains filtered or unexported fields
}
RegisteredAsnListResultPage contains a page of RegisteredAsn values.
func NewRegisteredAsnListResultPage ¶
func NewRegisteredAsnListResultPage(cur RegisteredAsnListResult, getNextPage func(context.Context, RegisteredAsnListResult) (RegisteredAsnListResult, error)) RegisteredAsnListResultPage
Creates a new instance of the RegisteredAsnListResultPage type.
func (*RegisteredAsnListResultPage) Next ¶
func (page *RegisteredAsnListResultPage) 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 (*RegisteredAsnListResultPage) NextWithContext ¶
func (page *RegisteredAsnListResultPage) 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 (RegisteredAsnListResultPage) NotDone ¶
func (page RegisteredAsnListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RegisteredAsnListResultPage) Response ¶
func (page RegisteredAsnListResultPage) Response() RegisteredAsnListResult
Response returns the raw server response from the last page request.
func (RegisteredAsnListResultPage) Values ¶
func (page RegisteredAsnListResultPage) Values() []RegisteredAsn
Values returns the slice of values for the current page or nil if there are no values.
type RegisteredAsnProperties ¶
type RegisteredAsnProperties struct { // Asn - The customer's ASN from which traffic originates. Asn *int32 `json:"asn,omitempty"` // PeeringServicePrefixKey - READ-ONLY; The peering service prefix key that is to be shared with the customer. PeeringServicePrefixKey *string `json:"peeringServicePrefixKey,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
RegisteredAsnProperties the properties that define a registered ASN.
func (RegisteredAsnProperties) MarshalJSON ¶
func (rap RegisteredAsnProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegisteredAsnProperties.
type RegisteredAsnsClient ¶
type RegisteredAsnsClient struct {
BaseClient
}
RegisteredAsnsClient is the peering Client
func NewRegisteredAsnsClient ¶
func NewRegisteredAsnsClient(subscriptionID string) RegisteredAsnsClient
NewRegisteredAsnsClient creates an instance of the RegisteredAsnsClient client.
func NewRegisteredAsnsClientWithBaseURI ¶
func NewRegisteredAsnsClientWithBaseURI(baseURI string, subscriptionID string) RegisteredAsnsClient
NewRegisteredAsnsClientWithBaseURI creates an instance of the RegisteredAsnsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RegisteredAsnsClient) CreateOrUpdate ¶
func (client RegisteredAsnsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string, registeredAsn RegisteredAsn) (result RegisteredAsn, err error)
CreateOrUpdate creates a new registered ASN with the specified name under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. registeredAsnName - the name of the ASN. registeredAsn - the properties needed to create a registered ASN.
func (RegisteredAsnsClient) CreateOrUpdatePreparer ¶
func (client RegisteredAsnsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string, registeredAsn RegisteredAsn) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RegisteredAsnsClient) CreateOrUpdateResponder ¶
func (client RegisteredAsnsClient) CreateOrUpdateResponder(resp *http.Response) (result RegisteredAsn, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RegisteredAsnsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RegisteredAsnsClient) Delete ¶
func (client RegisteredAsnsClient) Delete(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string) (result autorest.Response, err error)
Delete deletes an existing registered ASN with the specified name under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. registeredAsnName - the name of the registered ASN.
func (RegisteredAsnsClient) DeletePreparer ¶
func (client RegisteredAsnsClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RegisteredAsnsClient) DeleteResponder ¶
func (client RegisteredAsnsClient) 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 (RegisteredAsnsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RegisteredAsnsClient) Get ¶
func (client RegisteredAsnsClient) Get(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string) (result RegisteredAsn, err error)
Get gets an existing registered ASN with the specified name under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. registeredAsnName - the name of the registered ASN.
func (RegisteredAsnsClient) GetPreparer ¶
func (client RegisteredAsnsClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringName string, registeredAsnName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RegisteredAsnsClient) GetResponder ¶
func (client RegisteredAsnsClient) GetResponder(resp *http.Response) (result RegisteredAsn, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RegisteredAsnsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RegisteredAsnsClient) ListByPeering ¶
func (client RegisteredAsnsClient) ListByPeering(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredAsnListResultPage, err error)
ListByPeering lists all registered ASNs under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering.
func (RegisteredAsnsClient) ListByPeeringComplete ¶
func (client RegisteredAsnsClient) ListByPeeringComplete(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredAsnListResultIterator, err error)
ListByPeeringComplete enumerates all values, automatically crossing page boundaries as required.
func (RegisteredAsnsClient) ListByPeeringPreparer ¶
func (client RegisteredAsnsClient) ListByPeeringPreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
ListByPeeringPreparer prepares the ListByPeering request.
func (RegisteredAsnsClient) ListByPeeringResponder ¶
func (client RegisteredAsnsClient) ListByPeeringResponder(resp *http.Response) (result RegisteredAsnListResult, err error)
ListByPeeringResponder handles the response to the ListByPeering request. The method always closes the http.Response Body.
func (RegisteredAsnsClient) ListByPeeringSender ¶
ListByPeeringSender sends the ListByPeering request. The method will close the http.Response Body if it receives an error.
type RegisteredPrefix ¶
type RegisteredPrefix struct { autorest.Response `json:"-"` // RegisteredPrefixProperties - The properties that define a registered prefix. *RegisteredPrefixProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
RegisteredPrefix the customer's prefix that is registered by the peering service provider.
func (RegisteredPrefix) MarshalJSON ¶
func (rp RegisteredPrefix) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegisteredPrefix.
func (*RegisteredPrefix) UnmarshalJSON ¶
func (rp *RegisteredPrefix) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RegisteredPrefix struct.
type RegisteredPrefixListResult ¶
type RegisteredPrefixListResult struct { autorest.Response `json:"-"` // Value - The list of peering registered prefixes. Value *[]RegisteredPrefix `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering registered prefixes. NextLink *string `json:"nextLink,omitempty"` }
RegisteredPrefixListResult the paginated list of peering registered prefixes.
func (RegisteredPrefixListResult) IsEmpty ¶
func (rplr RegisteredPrefixListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RegisteredPrefixListResultIterator ¶
type RegisteredPrefixListResultIterator struct {
// contains filtered or unexported fields
}
RegisteredPrefixListResultIterator provides access to a complete listing of RegisteredPrefix values.
func NewRegisteredPrefixListResultIterator ¶
func NewRegisteredPrefixListResultIterator(page RegisteredPrefixListResultPage) RegisteredPrefixListResultIterator
Creates a new instance of the RegisteredPrefixListResultIterator type.
func (*RegisteredPrefixListResultIterator) Next ¶
func (iter *RegisteredPrefixListResultIterator) 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 (*RegisteredPrefixListResultIterator) NextWithContext ¶
func (iter *RegisteredPrefixListResultIterator) 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 (RegisteredPrefixListResultIterator) NotDone ¶
func (iter RegisteredPrefixListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RegisteredPrefixListResultIterator) Response ¶
func (iter RegisteredPrefixListResultIterator) Response() RegisteredPrefixListResult
Response returns the raw server response from the last page request.
func (RegisteredPrefixListResultIterator) Value ¶
func (iter RegisteredPrefixListResultIterator) Value() RegisteredPrefix
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type RegisteredPrefixListResultPage ¶
type RegisteredPrefixListResultPage struct {
// contains filtered or unexported fields
}
RegisteredPrefixListResultPage contains a page of RegisteredPrefix values.
func NewRegisteredPrefixListResultPage ¶
func NewRegisteredPrefixListResultPage(cur RegisteredPrefixListResult, getNextPage func(context.Context, RegisteredPrefixListResult) (RegisteredPrefixListResult, error)) RegisteredPrefixListResultPage
Creates a new instance of the RegisteredPrefixListResultPage type.
func (*RegisteredPrefixListResultPage) Next ¶
func (page *RegisteredPrefixListResultPage) 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 (*RegisteredPrefixListResultPage) NextWithContext ¶
func (page *RegisteredPrefixListResultPage) 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 (RegisteredPrefixListResultPage) NotDone ¶
func (page RegisteredPrefixListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RegisteredPrefixListResultPage) Response ¶
func (page RegisteredPrefixListResultPage) Response() RegisteredPrefixListResult
Response returns the raw server response from the last page request.
func (RegisteredPrefixListResultPage) Values ¶
func (page RegisteredPrefixListResultPage) Values() []RegisteredPrefix
Values returns the slice of values for the current page or nil if there are no values.
type RegisteredPrefixProperties ¶
type RegisteredPrefixProperties struct { // Prefix - The customer's prefix from which traffic originates. Prefix *string `json:"prefix,omitempty"` // PrefixValidationState - READ-ONLY; The prefix validation state. Possible values include: 'PrefixValidationStateNone', 'PrefixValidationStateInvalid', 'PrefixValidationStateVerified', 'PrefixValidationStateFailed', 'PrefixValidationStatePending', 'PrefixValidationStateWarning', 'PrefixValidationStateUnknown' PrefixValidationState PrefixValidationState `json:"prefixValidationState,omitempty"` // PeeringServicePrefixKey - READ-ONLY; The peering service prefix key that is to be shared with the customer. PeeringServicePrefixKey *string `json:"peeringServicePrefixKey,omitempty"` // ErrorMessage - READ-ONLY; The error message associated with the validation state, if any. ErrorMessage *string `json:"errorMessage,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
RegisteredPrefixProperties the properties that define a registered prefix.
func (RegisteredPrefixProperties) MarshalJSON ¶
func (rpp RegisteredPrefixProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RegisteredPrefixProperties.
type RegisteredPrefixesClient ¶
type RegisteredPrefixesClient struct {
BaseClient
}
RegisteredPrefixesClient is the peering Client
func NewRegisteredPrefixesClient ¶
func NewRegisteredPrefixesClient(subscriptionID string) RegisteredPrefixesClient
NewRegisteredPrefixesClient creates an instance of the RegisteredPrefixesClient client.
func NewRegisteredPrefixesClientWithBaseURI ¶
func NewRegisteredPrefixesClientWithBaseURI(baseURI string, subscriptionID string) RegisteredPrefixesClient
NewRegisteredPrefixesClientWithBaseURI creates an instance of the RegisteredPrefixesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (RegisteredPrefixesClient) CreateOrUpdate ¶
func (client RegisteredPrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string, registeredPrefix RegisteredPrefix) (result RegisteredPrefix, err error)
CreateOrUpdate creates a new registered prefix with the specified name under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. registeredPrefixName - the name of the registered prefix. registeredPrefix - the properties needed to create a registered prefix.
func (RegisteredPrefixesClient) CreateOrUpdatePreparer ¶
func (client RegisteredPrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string, registeredPrefix RegisteredPrefix) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (RegisteredPrefixesClient) CreateOrUpdateResponder ¶
func (client RegisteredPrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result RegisteredPrefix, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (RegisteredPrefixesClient) CreateOrUpdateSender ¶
func (client RegisteredPrefixesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (RegisteredPrefixesClient) Delete ¶
func (client RegisteredPrefixesClient) Delete(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string) (result autorest.Response, err error)
Delete deletes an existing registered prefix with the specified name under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. registeredPrefixName - the name of the registered prefix.
func (RegisteredPrefixesClient) DeletePreparer ¶
func (client RegisteredPrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RegisteredPrefixesClient) DeleteResponder ¶
func (client RegisteredPrefixesClient) 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 (RegisteredPrefixesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (RegisteredPrefixesClient) Get ¶
func (client RegisteredPrefixesClient) Get(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string) (result RegisteredPrefix, err error)
Get gets an existing registered prefix with the specified name under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering. registeredPrefixName - the name of the registered prefix.
func (RegisteredPrefixesClient) GetPreparer ¶
func (client RegisteredPrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringName string, registeredPrefixName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RegisteredPrefixesClient) GetResponder ¶
func (client RegisteredPrefixesClient) GetResponder(resp *http.Response) (result RegisteredPrefix, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RegisteredPrefixesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RegisteredPrefixesClient) ListByPeering ¶
func (client RegisteredPrefixesClient) ListByPeering(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredPrefixListResultPage, err error)
ListByPeering lists all registered prefixes under the given subscription, resource group and peering. Parameters: resourceGroupName - the name of the resource group. peeringName - the name of the peering.
func (RegisteredPrefixesClient) ListByPeeringComplete ¶
func (client RegisteredPrefixesClient) ListByPeeringComplete(ctx context.Context, resourceGroupName string, peeringName string) (result RegisteredPrefixListResultIterator, err error)
ListByPeeringComplete enumerates all values, automatically crossing page boundaries as required.
func (RegisteredPrefixesClient) ListByPeeringPreparer ¶
func (client RegisteredPrefixesClient) ListByPeeringPreparer(ctx context.Context, resourceGroupName string, peeringName string) (*http.Request, error)
ListByPeeringPreparer prepares the ListByPeering request.
func (RegisteredPrefixesClient) ListByPeeringResponder ¶
func (client RegisteredPrefixesClient) ListByPeeringResponder(resp *http.Response) (result RegisteredPrefixListResult, err error)
ListByPeeringResponder handles the response to the ListByPeering request. The method always closes the http.Response Body.
func (RegisteredPrefixesClient) ListByPeeringSender ¶
func (client RegisteredPrefixesClient) ListByPeeringSender(req *http.Request) (*http.Response, error)
ListByPeeringSender sends the ListByPeering request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
Resource the ARM resource class.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceTags ¶
type ResourceTags struct { // Tags - Gets or sets the tags, a dictionary of descriptors arm object Tags map[string]*string `json:"tags"` }
ResourceTags the resource tags.
func (ResourceTags) MarshalJSON ¶
func (rt ResourceTags) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceTags.
type Role ¶
type Role string
Role enumerates the values for role.
func PossibleRoleValues ¶
func PossibleRoleValues() []Role
PossibleRoleValues returns an array of possible values for the Role const type.
type Service ¶
type Service struct { autorest.Response `json:"-"` // Sku - The SKU that defines the type of the peering service. Sku *ServiceSku `json:"sku,omitempty"` // ServiceProperties - The properties that define a peering service. *ServiceProperties `json:"properties,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The resource tags. Tags map[string]*string `json:"tags"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
Service peering Service
func (Service) MarshalJSON ¶
MarshalJSON is the custom marshaler for Service.
func (*Service) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Service struct.
type ServiceCountriesClient ¶
type ServiceCountriesClient struct {
BaseClient
}
ServiceCountriesClient is the peering Client
func NewServiceCountriesClient ¶
func NewServiceCountriesClient(subscriptionID string) ServiceCountriesClient
NewServiceCountriesClient creates an instance of the ServiceCountriesClient client.
func NewServiceCountriesClientWithBaseURI ¶
func NewServiceCountriesClientWithBaseURI(baseURI string, subscriptionID string) ServiceCountriesClient
NewServiceCountriesClientWithBaseURI creates an instance of the ServiceCountriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServiceCountriesClient) List ¶
func (client ServiceCountriesClient) List(ctx context.Context) (result ServiceCountryListResultPage, err error)
List lists all of the available countries for peering service.
func (ServiceCountriesClient) ListComplete ¶
func (client ServiceCountriesClient) ListComplete(ctx context.Context) (result ServiceCountryListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ServiceCountriesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ServiceCountriesClient) ListResponder ¶
func (client ServiceCountriesClient) ListResponder(resp *http.Response) (result ServiceCountryListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServiceCountriesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ServiceCountry ¶
type ServiceCountry struct { // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
ServiceCountry the peering service country.
func (ServiceCountry) MarshalJSON ¶
func (sc ServiceCountry) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceCountry.
type ServiceCountryListResult ¶
type ServiceCountryListResult struct { autorest.Response `json:"-"` // Value - The list of peering service countries. Value *[]ServiceCountry `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering service countries. NextLink *string `json:"nextLink,omitempty"` }
ServiceCountryListResult the paginated list of peering service countries.
func (ServiceCountryListResult) IsEmpty ¶
func (sclr ServiceCountryListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceCountryListResultIterator ¶
type ServiceCountryListResultIterator struct {
// contains filtered or unexported fields
}
ServiceCountryListResultIterator provides access to a complete listing of ServiceCountry values.
func NewServiceCountryListResultIterator ¶
func NewServiceCountryListResultIterator(page ServiceCountryListResultPage) ServiceCountryListResultIterator
Creates a new instance of the ServiceCountryListResultIterator type.
func (*ServiceCountryListResultIterator) Next ¶
func (iter *ServiceCountryListResultIterator) 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 (*ServiceCountryListResultIterator) NextWithContext ¶
func (iter *ServiceCountryListResultIterator) 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 (ServiceCountryListResultIterator) NotDone ¶
func (iter ServiceCountryListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceCountryListResultIterator) Response ¶
func (iter ServiceCountryListResultIterator) Response() ServiceCountryListResult
Response returns the raw server response from the last page request.
func (ServiceCountryListResultIterator) Value ¶
func (iter ServiceCountryListResultIterator) Value() ServiceCountry
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceCountryListResultPage ¶
type ServiceCountryListResultPage struct {
// contains filtered or unexported fields
}
ServiceCountryListResultPage contains a page of ServiceCountry values.
func NewServiceCountryListResultPage ¶
func NewServiceCountryListResultPage(cur ServiceCountryListResult, getNextPage func(context.Context, ServiceCountryListResult) (ServiceCountryListResult, error)) ServiceCountryListResultPage
Creates a new instance of the ServiceCountryListResultPage type.
func (*ServiceCountryListResultPage) Next ¶
func (page *ServiceCountryListResultPage) 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 (*ServiceCountryListResultPage) NextWithContext ¶
func (page *ServiceCountryListResultPage) 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 (ServiceCountryListResultPage) NotDone ¶
func (page ServiceCountryListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceCountryListResultPage) Response ¶
func (page ServiceCountryListResultPage) Response() ServiceCountryListResult
Response returns the raw server response from the last page request.
func (ServiceCountryListResultPage) Values ¶
func (page ServiceCountryListResultPage) Values() []ServiceCountry
Values returns the slice of values for the current page or nil if there are no values.
type ServiceListResult ¶
type ServiceListResult struct { autorest.Response `json:"-"` // Value - The list of peering services. Value *[]Service `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering services. NextLink *string `json:"nextLink,omitempty"` }
ServiceListResult the paginated list of peering services.
func (ServiceListResult) IsEmpty ¶
func (slr ServiceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceListResultIterator ¶
type ServiceListResultIterator struct {
// contains filtered or unexported fields
}
ServiceListResultIterator provides access to a complete listing of Service values.
func NewServiceListResultIterator ¶
func NewServiceListResultIterator(page ServiceListResultPage) ServiceListResultIterator
Creates a new instance of the ServiceListResultIterator type.
func (*ServiceListResultIterator) Next ¶
func (iter *ServiceListResultIterator) 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 (*ServiceListResultIterator) NextWithContext ¶
func (iter *ServiceListResultIterator) 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 (ServiceListResultIterator) NotDone ¶
func (iter ServiceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceListResultIterator) Response ¶
func (iter ServiceListResultIterator) Response() ServiceListResult
Response returns the raw server response from the last page request.
func (ServiceListResultIterator) Value ¶
func (iter ServiceListResultIterator) Value() Service
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceListResultPage ¶
type ServiceListResultPage struct {
// contains filtered or unexported fields
}
ServiceListResultPage contains a page of Service values.
func NewServiceListResultPage ¶
func NewServiceListResultPage(cur ServiceListResult, getNextPage func(context.Context, ServiceListResult) (ServiceListResult, error)) ServiceListResultPage
Creates a new instance of the ServiceListResultPage type.
func (*ServiceListResultPage) Next ¶
func (page *ServiceListResultPage) 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 (*ServiceListResultPage) NextWithContext ¶
func (page *ServiceListResultPage) 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 (ServiceListResultPage) NotDone ¶
func (page ServiceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceListResultPage) Response ¶
func (page ServiceListResultPage) Response() ServiceListResult
Response returns the raw server response from the last page request.
func (ServiceListResultPage) Values ¶
func (page ServiceListResultPage) Values() []Service
Values returns the slice of values for the current page or nil if there are no values.
type ServiceLocation ¶
type ServiceLocation struct { // ServiceLocationProperties - The properties that define a peering service location. *ServiceLocationProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
ServiceLocation the peering service location.
func (ServiceLocation) MarshalJSON ¶
func (sl ServiceLocation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceLocation.
func (*ServiceLocation) UnmarshalJSON ¶
func (sl *ServiceLocation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceLocation struct.
type ServiceLocationListResult ¶
type ServiceLocationListResult struct { autorest.Response `json:"-"` // Value - The list of peering service locations. Value *[]ServiceLocation `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering service locations. NextLink *string `json:"nextLink,omitempty"` }
ServiceLocationListResult the paginated list of peering service locations.
func (ServiceLocationListResult) IsEmpty ¶
func (sllr ServiceLocationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceLocationListResultIterator ¶
type ServiceLocationListResultIterator struct {
// contains filtered or unexported fields
}
ServiceLocationListResultIterator provides access to a complete listing of ServiceLocation values.
func NewServiceLocationListResultIterator ¶
func NewServiceLocationListResultIterator(page ServiceLocationListResultPage) ServiceLocationListResultIterator
Creates a new instance of the ServiceLocationListResultIterator type.
func (*ServiceLocationListResultIterator) Next ¶
func (iter *ServiceLocationListResultIterator) 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 (*ServiceLocationListResultIterator) NextWithContext ¶
func (iter *ServiceLocationListResultIterator) 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 (ServiceLocationListResultIterator) NotDone ¶
func (iter ServiceLocationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceLocationListResultIterator) Response ¶
func (iter ServiceLocationListResultIterator) Response() ServiceLocationListResult
Response returns the raw server response from the last page request.
func (ServiceLocationListResultIterator) Value ¶
func (iter ServiceLocationListResultIterator) Value() ServiceLocation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceLocationListResultPage ¶
type ServiceLocationListResultPage struct {
// contains filtered or unexported fields
}
ServiceLocationListResultPage contains a page of ServiceLocation values.
func NewServiceLocationListResultPage ¶
func NewServiceLocationListResultPage(cur ServiceLocationListResult, getNextPage func(context.Context, ServiceLocationListResult) (ServiceLocationListResult, error)) ServiceLocationListResultPage
Creates a new instance of the ServiceLocationListResultPage type.
func (*ServiceLocationListResultPage) Next ¶
func (page *ServiceLocationListResultPage) 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 (*ServiceLocationListResultPage) NextWithContext ¶
func (page *ServiceLocationListResultPage) 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 (ServiceLocationListResultPage) NotDone ¶
func (page ServiceLocationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceLocationListResultPage) Response ¶
func (page ServiceLocationListResultPage) Response() ServiceLocationListResult
Response returns the raw server response from the last page request.
func (ServiceLocationListResultPage) Values ¶
func (page ServiceLocationListResultPage) Values() []ServiceLocation
Values returns the slice of values for the current page or nil if there are no values.
type ServiceLocationProperties ¶
type ServiceLocationProperties struct { // Country - Country of the customer Country *string `json:"country,omitempty"` // State - State of the customer State *string `json:"state,omitempty"` // AzureRegion - Azure region for the location AzureRegion *string `json:"azureRegion,omitempty"` }
ServiceLocationProperties the properties that define connectivity to the Peering Service Location.
type ServiceLocationsClient ¶
type ServiceLocationsClient struct {
BaseClient
}
ServiceLocationsClient is the peering Client
func NewServiceLocationsClient ¶
func NewServiceLocationsClient(subscriptionID string) ServiceLocationsClient
NewServiceLocationsClient creates an instance of the ServiceLocationsClient client.
func NewServiceLocationsClientWithBaseURI ¶
func NewServiceLocationsClientWithBaseURI(baseURI string, subscriptionID string) ServiceLocationsClient
NewServiceLocationsClientWithBaseURI creates an instance of the ServiceLocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServiceLocationsClient) List ¶
func (client ServiceLocationsClient) List(ctx context.Context, country string) (result ServiceLocationListResultPage, err error)
List lists all of the available locations for peering service. Parameters: country - the country of interest, in which the locations are to be present.
func (ServiceLocationsClient) ListComplete ¶
func (client ServiceLocationsClient) ListComplete(ctx context.Context, country string) (result ServiceLocationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ServiceLocationsClient) ListPreparer ¶
func (client ServiceLocationsClient) ListPreparer(ctx context.Context, country string) (*http.Request, error)
ListPreparer prepares the List request.
func (ServiceLocationsClient) ListResponder ¶
func (client ServiceLocationsClient) ListResponder(resp *http.Response) (result ServiceLocationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServiceLocationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ServicePrefix ¶
type ServicePrefix struct { autorest.Response `json:"-"` // ServicePrefixProperties - Gets or sets the peering prefix properties. *ServicePrefixProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
ServicePrefix the peering service prefix class.
func (ServicePrefix) MarshalJSON ¶
func (sp ServicePrefix) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePrefix.
func (*ServicePrefix) UnmarshalJSON ¶
func (sp *ServicePrefix) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServicePrefix struct.
type ServicePrefixEvent ¶
type ServicePrefixEvent struct { // EventTimestamp - READ-ONLY; The timestamp of the event associated with a prefix. EventTimestamp *date.Time `json:"eventTimestamp,omitempty"` // EventType - READ-ONLY; The type of the event associated with a prefix. EventType *string `json:"eventType,omitempty"` // EventSummary - READ-ONLY; The summary of the event associated with a prefix. EventSummary *string `json:"eventSummary,omitempty"` // EventLevel - READ-ONLY; The level of the event associated with a prefix. EventLevel *string `json:"eventLevel,omitempty"` // EventDescription - READ-ONLY; The description of the event associated with a prefix. EventDescription *string `json:"eventDescription,omitempty"` }
ServicePrefixEvent the details of the event associated with a prefix.
func (ServicePrefixEvent) MarshalJSON ¶
func (spe ServicePrefixEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePrefixEvent.
type ServicePrefixListResult ¶
type ServicePrefixListResult struct { autorest.Response `json:"-"` // Value - The list of peering service prefixes. Value *[]ServicePrefix `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering service prefixes. NextLink *string `json:"nextLink,omitempty"` }
ServicePrefixListResult the paginated list of peering service prefixes.
func (ServicePrefixListResult) IsEmpty ¶
func (splr ServicePrefixListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServicePrefixListResultIterator ¶
type ServicePrefixListResultIterator struct {
// contains filtered or unexported fields
}
ServicePrefixListResultIterator provides access to a complete listing of ServicePrefix values.
func NewServicePrefixListResultIterator ¶
func NewServicePrefixListResultIterator(page ServicePrefixListResultPage) ServicePrefixListResultIterator
Creates a new instance of the ServicePrefixListResultIterator type.
func (*ServicePrefixListResultIterator) Next ¶
func (iter *ServicePrefixListResultIterator) 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 (*ServicePrefixListResultIterator) NextWithContext ¶
func (iter *ServicePrefixListResultIterator) 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 (ServicePrefixListResultIterator) NotDone ¶
func (iter ServicePrefixListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServicePrefixListResultIterator) Response ¶
func (iter ServicePrefixListResultIterator) Response() ServicePrefixListResult
Response returns the raw server response from the last page request.
func (ServicePrefixListResultIterator) Value ¶
func (iter ServicePrefixListResultIterator) Value() ServicePrefix
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServicePrefixListResultPage ¶
type ServicePrefixListResultPage struct {
// contains filtered or unexported fields
}
ServicePrefixListResultPage contains a page of ServicePrefix values.
func NewServicePrefixListResultPage ¶
func NewServicePrefixListResultPage(cur ServicePrefixListResult, getNextPage func(context.Context, ServicePrefixListResult) (ServicePrefixListResult, error)) ServicePrefixListResultPage
Creates a new instance of the ServicePrefixListResultPage type.
func (*ServicePrefixListResultPage) Next ¶
func (page *ServicePrefixListResultPage) 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 (*ServicePrefixListResultPage) NextWithContext ¶
func (page *ServicePrefixListResultPage) 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 (ServicePrefixListResultPage) NotDone ¶
func (page ServicePrefixListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServicePrefixListResultPage) Response ¶
func (page ServicePrefixListResultPage) Response() ServicePrefixListResult
Response returns the raw server response from the last page request.
func (ServicePrefixListResultPage) Values ¶
func (page ServicePrefixListResultPage) Values() []ServicePrefix
Values returns the slice of values for the current page or nil if there are no values.
type ServicePrefixProperties ¶
type ServicePrefixProperties struct { // Prefix - The prefix from which your traffic originates. Prefix *string `json:"prefix,omitempty"` // PrefixValidationState - READ-ONLY; The prefix validation state. Possible values include: 'PrefixValidationStateNone', 'PrefixValidationStateInvalid', 'PrefixValidationStateVerified', 'PrefixValidationStateFailed', 'PrefixValidationStatePending', 'PrefixValidationStateWarning', 'PrefixValidationStateUnknown' PrefixValidationState PrefixValidationState `json:"prefixValidationState,omitempty"` // LearnedType - READ-ONLY; The prefix learned type. Possible values include: 'LearnedTypeNone', 'LearnedTypeViaServiceProvider', 'LearnedTypeViaSession' LearnedType LearnedType `json:"learnedType,omitempty"` // ErrorMessage - READ-ONLY; The error message for validation state ErrorMessage *string `json:"errorMessage,omitempty"` // Events - READ-ONLY; The list of events for peering service prefix Events *[]ServicePrefixEvent `json:"events,omitempty"` // PeeringServicePrefixKey - The peering service prefix key PeeringServicePrefixKey *string `json:"peeringServicePrefixKey,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
ServicePrefixProperties the peering service prefix properties class.
func (ServicePrefixProperties) MarshalJSON ¶
func (spp ServicePrefixProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePrefixProperties.
type ServiceProperties ¶
type ServiceProperties struct { // PeeringServiceLocation - The PeeringServiceLocation of the Customer. PeeringServiceLocation *string `json:"peeringServiceLocation,omitempty"` // PeeringServiceProvider - The MAPS Provider Name. PeeringServiceProvider *string `json:"peeringServiceProvider,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
ServiceProperties the properties that define connectivity to the Peering Service.
func (ServiceProperties) MarshalJSON ¶
func (sp ServiceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceProperties.
type ServiceProvider ¶
type ServiceProvider struct { // ServiceProviderProperties - The properties that define a peering service provider. *ServiceProviderProperties `json:"properties,omitempty"` // Name - READ-ONLY; The name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; The ID of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. Type *string `json:"type,omitempty"` }
ServiceProvider peeringService provider
func (ServiceProvider) MarshalJSON ¶
func (sp ServiceProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceProvider.
func (*ServiceProvider) UnmarshalJSON ¶
func (sp *ServiceProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceProvider struct.
type ServiceProviderListResult ¶
type ServiceProviderListResult struct { autorest.Response `json:"-"` // Value - The list of peering service providers. Value *[]ServiceProvider `json:"value,omitempty"` // NextLink - The link to fetch the next page of peering service providers. NextLink *string `json:"nextLink,omitempty"` }
ServiceProviderListResult the paginated list of peering service providers.
func (ServiceProviderListResult) IsEmpty ¶
func (splr ServiceProviderListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceProviderListResultIterator ¶
type ServiceProviderListResultIterator struct {
// contains filtered or unexported fields
}
ServiceProviderListResultIterator provides access to a complete listing of ServiceProvider values.
func NewServiceProviderListResultIterator ¶
func NewServiceProviderListResultIterator(page ServiceProviderListResultPage) ServiceProviderListResultIterator
Creates a new instance of the ServiceProviderListResultIterator type.
func (*ServiceProviderListResultIterator) Next ¶
func (iter *ServiceProviderListResultIterator) 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 (*ServiceProviderListResultIterator) NextWithContext ¶
func (iter *ServiceProviderListResultIterator) 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 (ServiceProviderListResultIterator) NotDone ¶
func (iter ServiceProviderListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceProviderListResultIterator) Response ¶
func (iter ServiceProviderListResultIterator) Response() ServiceProviderListResult
Response returns the raw server response from the last page request.
func (ServiceProviderListResultIterator) Value ¶
func (iter ServiceProviderListResultIterator) Value() ServiceProvider
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceProviderListResultPage ¶
type ServiceProviderListResultPage struct {
// contains filtered or unexported fields
}
ServiceProviderListResultPage contains a page of ServiceProvider values.
func NewServiceProviderListResultPage ¶
func NewServiceProviderListResultPage(cur ServiceProviderListResult, getNextPage func(context.Context, ServiceProviderListResult) (ServiceProviderListResult, error)) ServiceProviderListResultPage
Creates a new instance of the ServiceProviderListResultPage type.
func (*ServiceProviderListResultPage) Next ¶
func (page *ServiceProviderListResultPage) 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 (*ServiceProviderListResultPage) NextWithContext ¶
func (page *ServiceProviderListResultPage) 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 (ServiceProviderListResultPage) NotDone ¶
func (page ServiceProviderListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceProviderListResultPage) Response ¶
func (page ServiceProviderListResultPage) Response() ServiceProviderListResult
Response returns the raw server response from the last page request.
func (ServiceProviderListResultPage) Values ¶
func (page ServiceProviderListResultPage) Values() []ServiceProvider
Values returns the slice of values for the current page or nil if there are no values.
type ServiceProviderProperties ¶
type ServiceProviderProperties struct { // ServiceProviderName - The name of the service provider. ServiceProviderName *string `json:"serviceProviderName,omitempty"` }
ServiceProviderProperties the properties that define connectivity to the Peering Service Provider.
type ServiceProvidersClient ¶
type ServiceProvidersClient struct {
BaseClient
}
ServiceProvidersClient is the peering Client
func NewServiceProvidersClient ¶
func NewServiceProvidersClient(subscriptionID string) ServiceProvidersClient
NewServiceProvidersClient creates an instance of the ServiceProvidersClient client.
func NewServiceProvidersClientWithBaseURI ¶
func NewServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ServiceProvidersClient
NewServiceProvidersClientWithBaseURI creates an instance of the ServiceProvidersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServiceProvidersClient) List ¶
func (client ServiceProvidersClient) List(ctx context.Context) (result ServiceProviderListResultPage, err error)
List lists all of the available peering service locations for the specified kind of peering.
func (ServiceProvidersClient) ListComplete ¶
func (client ServiceProvidersClient) ListComplete(ctx context.Context) (result ServiceProviderListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ServiceProvidersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (ServiceProvidersClient) ListResponder ¶
func (client ServiceProvidersClient) ListResponder(resp *http.Response) (result ServiceProviderListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServiceProvidersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ServiceSku ¶
type ServiceSku struct { // Name - The name of the peering service SKU. Name *string `json:"name,omitempty"` }
ServiceSku the SKU that defines the type of the peering service.
type ServicesClient ¶
type ServicesClient struct {
BaseClient
}
ServicesClient is the peering Client
func NewServicesClient ¶
func NewServicesClient(subscriptionID string) ServicesClient
NewServicesClient creates an instance of the ServicesClient client.
func NewServicesClientWithBaseURI ¶
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient
NewServicesClientWithBaseURI creates an instance of the ServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ServicesClient) CreateOrUpdate ¶
func (client ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, peeringServiceName string, peeringService Service) (result Service, err error)
CreateOrUpdate creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service. peeringService - the properties needed to create or update a peering service.
func (ServicesClient) CreateOrUpdatePreparer ¶
func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, peeringService Service) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ServicesClient) CreateOrUpdateResponder ¶
func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result Service, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ServicesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Delete ¶
func (client ServicesClient) Delete(ctx context.Context, resourceGroupName string, peeringServiceName string) (result autorest.Response, err error)
Delete deletes an existing peering service with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service.
func (ServicesClient) DeletePreparer ¶
func (client ServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServicesClient) DeleteResponder ¶
func (client ServicesClient) 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 (ServicesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Get ¶
func (client ServicesClient) Get(ctx context.Context, resourceGroupName string, peeringServiceName string) (result Service, err error)
Get gets an existing peering service with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering.
func (ServicesClient) GetPreparer ¶
func (client ServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, peeringServiceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServicesClient) GetResponder ¶
func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServicesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) ListByResourceGroup ¶
func (client ServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServiceListResultPage, err error)
ListByResourceGroup lists all of the peering services under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group.
func (ServicesClient) ListByResourceGroupComplete ¶
func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServiceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ServicesClient) ListByResourceGroupPreparer ¶
func (client ServicesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ServicesClient) ListByResourceGroupResponder ¶
func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ServicesClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) ListBySubscription ¶
func (client ServicesClient) ListBySubscription(ctx context.Context) (result ServiceListResultPage, err error)
ListBySubscription lists all of the peerings under the given subscription.
func (ServicesClient) ListBySubscriptionComplete ¶
func (client ServicesClient) ListBySubscriptionComplete(ctx context.Context) (result ServiceListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (ServicesClient) ListBySubscriptionPreparer ¶
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ServicesClient) ListBySubscriptionResponder ¶
func (client ServicesClient) ListBySubscriptionResponder(resp *http.Response) (result ServiceListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (ServicesClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (ServicesClient) Update ¶
func (client ServicesClient) Update(ctx context.Context, resourceGroupName string, peeringServiceName string, tags ResourceTags) (result Service, err error)
Update updates tags for a peering service with the specified name under the given subscription and resource group. Parameters: resourceGroupName - the name of the resource group. peeringServiceName - the name of the peering service. tags - the resource tags.
func (ServicesClient) UpdatePreparer ¶
func (client ServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, peeringServiceName string, tags ResourceTags) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServicesClient) UpdateResponder ¶
func (client ServicesClient) UpdateResponder(resp *http.Response) (result Service, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServicesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SessionAddressProvider ¶
type SessionAddressProvider string
SessionAddressProvider enumerates the values for session address provider.
const ( // Microsoft ... Microsoft SessionAddressProvider = "Microsoft" // Peer ... Peer SessionAddressProvider = "Peer" )
func PossibleSessionAddressProviderValues ¶
func PossibleSessionAddressProviderValues() []SessionAddressProvider
PossibleSessionAddressProviderValues returns an array of possible values for the SessionAddressProvider const type.
type SessionStateV4 ¶
type SessionStateV4 string
SessionStateV4 enumerates the values for session state v4.
const ( // SessionStateV4Active ... SessionStateV4Active SessionStateV4 = "Active" // SessionStateV4Connect ... SessionStateV4Connect SessionStateV4 = "Connect" // SessionStateV4Established ... SessionStateV4Established SessionStateV4 = "Established" // SessionStateV4Idle ... SessionStateV4Idle SessionStateV4 = "Idle" // SessionStateV4None ... SessionStateV4None SessionStateV4 = "None" // SessionStateV4OpenConfirm ... SessionStateV4OpenConfirm SessionStateV4 = "OpenConfirm" // SessionStateV4OpenReceived ... SessionStateV4OpenReceived SessionStateV4 = "OpenReceived" // SessionStateV4OpenSent ... SessionStateV4OpenSent SessionStateV4 = "OpenSent" // SessionStateV4PendingAdd ... SessionStateV4PendingAdd SessionStateV4 = "PendingAdd" // SessionStateV4PendingRemove ... SessionStateV4PendingRemove SessionStateV4 = "PendingRemove" // SessionStateV4PendingUpdate ... SessionStateV4PendingUpdate SessionStateV4 = "PendingUpdate" )
func PossibleSessionStateV4Values ¶
func PossibleSessionStateV4Values() []SessionStateV4
PossibleSessionStateV4Values returns an array of possible values for the SessionStateV4 const type.
type SessionStateV6 ¶
type SessionStateV6 string
SessionStateV6 enumerates the values for session state v6.
const ( // SessionStateV6Active ... SessionStateV6Active SessionStateV6 = "Active" // SessionStateV6Connect ... SessionStateV6Connect SessionStateV6 = "Connect" // SessionStateV6Established ... SessionStateV6Established SessionStateV6 = "Established" // SessionStateV6Idle ... SessionStateV6Idle SessionStateV6 = "Idle" // SessionStateV6None ... SessionStateV6None SessionStateV6 = "None" // SessionStateV6OpenConfirm ... SessionStateV6OpenConfirm SessionStateV6 = "OpenConfirm" // SessionStateV6OpenReceived ... SessionStateV6OpenReceived SessionStateV6 = "OpenReceived" // SessionStateV6OpenSent ... SessionStateV6OpenSent SessionStateV6 = "OpenSent" // SessionStateV6PendingAdd ... SessionStateV6PendingAdd SessionStateV6 = "PendingAdd" // SessionStateV6PendingRemove ... SessionStateV6PendingRemove SessionStateV6 = "PendingRemove" // SessionStateV6PendingUpdate ... SessionStateV6PendingUpdate SessionStateV6 = "PendingUpdate" )
func PossibleSessionStateV6Values ¶
func PossibleSessionStateV6Values() []SessionStateV6
PossibleSessionStateV6Values returns an array of possible values for the SessionStateV6 const type.
type Size ¶
type Size string
Size enumerates the values for size.
func PossibleSizeValues ¶
func PossibleSizeValues() []Size
PossibleSizeValues returns an array of possible values for the Size const type.
type Sku ¶
type Sku struct { // Name - The name of the peering SKU. Name *string `json:"name,omitempty"` // Tier - The tier of the peering SKU. Possible values include: 'Basic', 'Premium' Tier Tier `json:"tier,omitempty"` // Family - The family of the peering SKU. Possible values include: 'Direct', 'Exchange' Family Family `json:"family,omitempty"` // Size - The size of the peering SKU. Possible values include: 'Free', 'Metered', 'Unlimited' Size Size `json:"size,omitempty"` }
Sku the SKU that defines the tier and kind of the peering.
type String ¶
type String struct { autorest.Response `json:"-"` // Value - Possible values include: 'Available', 'Unavailable' Value *string `json:"value,omitempty"` }
String ...
type SubResource ¶
type SubResource struct { // ID - The identifier of the referenced resource. ID *string `json:"id,omitempty"` }
SubResource the sub resource.
type Tier ¶
type Tier string
Tier enumerates the values for tier.
func PossibleTierValues ¶
func PossibleTierValues() []Tier
PossibleTierValues returns an array of possible values for the Tier const type.
type ValidationState ¶
type ValidationState string
ValidationState enumerates the values for validation state.
const ( // ValidationStateApproved ... ValidationStateApproved ValidationState = "Approved" // ValidationStateFailed ... ValidationStateFailed ValidationState = "Failed" // ValidationStateNone ... ValidationStateNone ValidationState = "None" // ValidationStatePending ... ValidationStatePending ValidationState = "Pending" )
func PossibleValidationStateValues ¶
func PossibleValidationStateValues() []ValidationState
PossibleValidationStateValues returns an array of possible values for the ValidationState const type.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Deprecated: Please note, this package has been deprecated.
|
Deprecated: Please note, this package has been deprecated. |