azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/peering/mgmt/2019-03-01-preview/peering Index | Files | Directories

package peering

import "github.com/Azure/azure-sdk-for-go/services/preview/peering/mgmt/2019-03-01-preview/peering"

Package peering implements the Azure ARM Peering service API version 2019-03-01-preview.

APIs to manage Peering resources through the Azure Resource Manager.

Index

Package Files

client.go legacypeerings.go locations.go models.go operations.go peerasns.go peerings.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BandwidthOffer Uses

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 Uses

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

BaseClient is the base client for Peering.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BgpSession Uses

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 - READ-ONLY; The IPv4 session address on Microsoft's end.
    MicrosoftSessionIPv4Address *string `json:"microsoftSessionIPv4Address,omitempty"`
    // MicrosoftSessionIPv6Address - READ-ONLY; 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', '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', '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.

type ConnectionState Uses

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 Uses

func PossibleConnectionStateValues() []ConnectionState

PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.

type ContactInfo Uses

type ContactInfo struct {
    // Emails - The list of email addresses.
    Emails *[]string `json:"emails,omitempty"`
    // Phone - The list of contact numbers.
    Phone *[]string `json:"phone,omitempty"`
}

ContactInfo the contact information of the peer.

type DirectConnection Uses

type DirectConnection struct {
    // BandwidthInMbps - The bandwidth of the connection.
    BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"`
    // ProvisionedBandwidthInMbps - The bandwidth that is actually provisioned.
    ProvisionedBandwidthInMbps *int32 `json:"provisionedBandwidthInMbps,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"`
}

DirectConnection the properties that define a direct connection.

type DirectPeeringFacility Uses

type DirectPeeringFacility struct {
    // Address - The address of the direct peering facility.
    Address *string `json:"address,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 ErrorResponse Uses

type ErrorResponse struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
}

ErrorResponse the error response that indicates why an operation has failed.

type ExchangeConnection Uses

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"`
}

ExchangeConnection the properties that define an exchange connection.

type ExchangePeeringFacility Uses

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 Uses

type Family string

Family enumerates the values for family.

const (
    // Direct ...
    Direct Family = "Direct"
    // Exchange ...
    Exchange Family = "Exchange"
)

func PossibleFamilyValues Uses

func PossibleFamilyValues() []Family

PossibleFamilyValues returns an array of possible values for the Family const type.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

const (
    // KindDirect ...
    KindDirect Kind = "Direct"
    // KindExchange ...
    KindExchange Kind = "Exchange"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type LegacyPeeringsClient Uses

type LegacyPeeringsClient struct {
    BaseClient
}

LegacyPeeringsClient is the aPIs to manage Peering resources through the Azure Resource Manager.

func NewLegacyPeeringsClient Uses

func NewLegacyPeeringsClient(subscriptionID string) LegacyPeeringsClient

NewLegacyPeeringsClient creates an instance of the LegacyPeeringsClient client.

func NewLegacyPeeringsClientWithBaseURI Uses

func NewLegacyPeeringsClientWithBaseURI(baseURI string, subscriptionID string) LegacyPeeringsClient

NewLegacyPeeringsClientWithBaseURI creates an instance of the LegacyPeeringsClient client.

func (LegacyPeeringsClient) List Uses

func (client LegacyPeeringsClient) List(ctx context.Context, peeringLocation string, kind string) (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.

func (LegacyPeeringsClient) ListComplete Uses

func (client LegacyPeeringsClient) ListComplete(ctx context.Context, peeringLocation string, kind string) (result ListResultIterator, err error)

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

func (LegacyPeeringsClient) ListPreparer Uses

func (client LegacyPeeringsClient) ListPreparer(ctx context.Context, peeringLocation string, kind string) (*http.Request, error)

ListPreparer prepares the List request.

func (LegacyPeeringsClient) ListResponder Uses

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 Uses

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

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

type ListResult Uses

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 Uses

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListResultIterator Uses

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

ListResultIterator provides access to a complete listing of Model values.

func NewListResultIterator Uses

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next Uses

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 Uses

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 Uses

func (iter ListResultIterator) NotDone() bool

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

func (ListResultIterator) Response Uses

func (iter ListResultIterator) Response() ListResult

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

func (ListResultIterator) Value Uses

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 Uses

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

ListResultPage contains a page of Model values.

func NewListResultPage Uses

func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next Uses

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 Uses

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 Uses

func (page ListResultPage) NotDone() bool

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

func (ListResultPage) Response Uses

func (page ListResultPage) Response() ListResult

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

func (ListResultPage) Values Uses

func (page ListResultPage) Values() []Model

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

type Location Uses

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 Uses

func (l Location) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Location.

func (*Location) UnmarshalJSON Uses

func (l *Location) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Location struct.

type LocationListResult Uses

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 Uses

func (llr LocationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LocationListResultIterator Uses

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

LocationListResultIterator provides access to a complete listing of Location values.

func NewLocationListResultIterator Uses

func NewLocationListResultIterator(page LocationListResultPage) LocationListResultIterator

Creates a new instance of the LocationListResultIterator type.

func (*LocationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter LocationListResultIterator) NotDone() bool

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

func (LocationListResultIterator) Response Uses

func (iter LocationListResultIterator) Response() LocationListResult

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

func (LocationListResultIterator) Value Uses

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 Uses

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

LocationListResultPage contains a page of Location values.

func NewLocationListResultPage Uses

func NewLocationListResultPage(getNextPage func(context.Context, LocationListResult) (LocationListResult, error)) LocationListResultPage

Creates a new instance of the LocationListResultPage type.

func (*LocationListResultPage) Next Uses

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 Uses

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 Uses

func (page LocationListResultPage) NotDone() bool

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

func (LocationListResultPage) Response Uses

func (page LocationListResultPage) Response() LocationListResult

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

func (LocationListResultPage) Values Uses

func (page LocationListResultPage) Values() []Location

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

type LocationProperties Uses

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 Uses

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 Uses

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 Uses

type LocationsClient struct {
    BaseClient
}

LocationsClient is the aPIs to manage Peering resources through the Azure Resource Manager.

func NewLocationsClient Uses

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI Uses

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.

func (LocationsClient) List Uses

func (client LocationsClient) List(ctx context.Context, kind 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.

func (LocationsClient) ListComplete Uses

func (client LocationsClient) ListComplete(ctx context.Context, kind string) (result LocationListResultIterator, err error)

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

func (LocationsClient) ListPreparer Uses

func (client LocationsClient) ListPreparer(ctx context.Context, kind string) (*http.Request, error)

ListPreparer prepares the List request.

func (LocationsClient) ListResponder Uses

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 Uses

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

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

type Model Uses

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 Uses

func (mVar Model) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Model.

func (*Model) UnmarshalJSON Uses

func (mVar *Model) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Model struct.

type Name Uses

type Name string

Name enumerates the values for name.

const (
    // BasicDirectFree ...
    BasicDirectFree Name = "Basic_Direct_Free"
    // BasicExchangeFree ...
    BasicExchangeFree Name = "Basic_Exchange_Free"
    // PremiumDirectFree ...
    PremiumDirectFree Name = "Premium_Direct_Free"
    // PremiumExchangeMetered ...
    PremiumExchangeMetered Name = "Premium_Exchange_Metered"
)

func PossibleNameValues Uses

func PossibleNameValues() []Name

PossibleNameValues returns an array of possible values for the Name const type.

type Operation Uses

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.

type OperationDisplayInfo Uses

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.

type OperationListResult Uses

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 Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

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 Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the aPIs to manage Peering resources through the Azure Resource Manager.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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 Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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

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

type PeerAsn Uses

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 Uses

func (pa PeerAsn) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PeerAsn.

func (*PeerAsn) UnmarshalJSON Uses

func (pa *PeerAsn) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PeerAsn struct.

type PeerAsnListResult Uses

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 Uses

func (palr PeerAsnListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PeerAsnListResultIterator Uses

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

PeerAsnListResultIterator provides access to a complete listing of PeerAsn values.

func NewPeerAsnListResultIterator Uses

func NewPeerAsnListResultIterator(page PeerAsnListResultPage) PeerAsnListResultIterator

Creates a new instance of the PeerAsnListResultIterator type.

func (*PeerAsnListResultIterator) Next Uses

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 Uses

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 Uses

func (iter PeerAsnListResultIterator) NotDone() bool

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

func (PeerAsnListResultIterator) Response Uses

func (iter PeerAsnListResultIterator) Response() PeerAsnListResult

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

func (PeerAsnListResultIterator) Value Uses

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 Uses

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

PeerAsnListResultPage contains a page of PeerAsn values.

func NewPeerAsnListResultPage Uses

func NewPeerAsnListResultPage(getNextPage func(context.Context, PeerAsnListResult) (PeerAsnListResult, error)) PeerAsnListResultPage

Creates a new instance of the PeerAsnListResultPage type.

func (*PeerAsnListResultPage) Next Uses

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 Uses

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 Uses

func (page PeerAsnListResultPage) NotDone() bool

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

func (PeerAsnListResultPage) Response Uses

func (page PeerAsnListResultPage) Response() PeerAsnListResult

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

func (PeerAsnListResultPage) Values Uses

func (page PeerAsnListResultPage) Values() []PeerAsn

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

type PeerAsnProperties Uses

type PeerAsnProperties struct {
    // PeerAsn - The Autonomous System Number (ASN) of the peer.
    PeerAsn *int32 `json:"peerAsn,omitempty"`
    // PeerContactInfo - The contact information of the peer.
    PeerContactInfo *ContactInfo `json:"peerContactInfo,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"`
}

PeerAsnProperties the properties that define a peer's ASN.

type PeerAsnsClient Uses

type PeerAsnsClient struct {
    BaseClient
}

PeerAsnsClient is the aPIs to manage Peering resources through the Azure Resource Manager.

func NewPeerAsnsClient Uses

func NewPeerAsnsClient(subscriptionID string) PeerAsnsClient

NewPeerAsnsClient creates an instance of the PeerAsnsClient client.

func NewPeerAsnsClientWithBaseURI Uses

func NewPeerAsnsClientWithBaseURI(baseURI string, subscriptionID string) PeerAsnsClient

NewPeerAsnsClientWithBaseURI creates an instance of the PeerAsnsClient client.

func (PeerAsnsClient) CreateOrUpdate Uses

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 Uses

func (client PeerAsnsClient) CreateOrUpdatePreparer(ctx context.Context, peerAsnName string, peerAsn PeerAsn) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PeerAsnsClient) CreateOrUpdateResponder Uses

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 Uses

func (client PeerAsnsClient) 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 (PeerAsnsClient) Delete Uses

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 Uses

func (client PeerAsnsClient) DeletePreparer(ctx context.Context, peerAsnName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PeerAsnsClient) DeleteResponder Uses

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 Uses

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

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

func (PeerAsnsClient) Get Uses

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 Uses

func (client PeerAsnsClient) GetPreparer(ctx context.Context, peerAsnName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PeerAsnsClient) GetResponder Uses

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 Uses

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

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

func (PeerAsnsClient) ListBySubscription Uses

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 Uses

func (client PeerAsnsClient) ListBySubscriptionComplete(ctx context.Context) (result PeerAsnListResultIterator, err error)

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

func (PeerAsnsClient) ListBySubscriptionPreparer Uses

func (client PeerAsnsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PeerAsnsClient) ListBySubscriptionResponder Uses

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 Uses

func (client PeerAsnsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

type PeeringsClient Uses

type PeeringsClient struct {
    BaseClient
}

PeeringsClient is the aPIs to manage Peering resources through the Azure Resource Manager.

func NewPeeringsClient Uses

func NewPeeringsClient(subscriptionID string) PeeringsClient

NewPeeringsClient creates an instance of the PeeringsClient client.

func NewPeeringsClientWithBaseURI Uses

func NewPeeringsClientWithBaseURI(baseURI string, subscriptionID string) PeeringsClient

NewPeeringsClientWithBaseURI creates an instance of the PeeringsClient client.

func (PeeringsClient) CreateOrUpdate Uses

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 Uses

func (client PeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, peering Model) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PeeringsClient) CreateOrUpdateResponder Uses

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 Uses

func (client PeeringsClient) 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 (PeeringsClient) Delete Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (PeeringsClient) DeleteResponder Uses

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 Uses

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

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

func (PeeringsClient) Get Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PeeringsClient) GetResponder Uses

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 Uses

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

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

func (PeeringsClient) ListByResourceGroup Uses

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 Uses

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 Uses

func (client PeeringsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PeeringsClient) ListByResourceGroupResponder Uses

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 Uses

func (client PeeringsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PeeringsClient) ListBySubscription Uses

func (client PeeringsClient) ListBySubscription(ctx context.Context) (result ListResultPage, err error)

ListBySubscription lists all of the peerings under the given subscription.

func (PeeringsClient) ListBySubscriptionComplete Uses

func (client PeeringsClient) ListBySubscriptionComplete(ctx context.Context) (result ListResultIterator, err error)

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

func (PeeringsClient) ListBySubscriptionPreparer Uses

func (client PeeringsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PeeringsClient) ListBySubscriptionResponder Uses

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 Uses

func (client PeeringsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PeeringsClient) Update Uses

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 Uses

func (client PeeringsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, peeringName string, tags ResourceTags) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PeeringsClient) UpdateResponder Uses

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 Uses

func (client PeeringsClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type Properties Uses

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.

type PropertiesDirect Uses

type PropertiesDirect struct {
    // Connections - The set of connections that constitute a direct peering.
    Connections *[]DirectConnection `json:"connections,omitempty"`
    // UseForPeeringService - 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"`
}

PropertiesDirect the properties that define a direct peering.

type PropertiesExchange Uses

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 Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource Uses

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.

type ResourceTags Uses

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 Uses

func (rt ResourceTags) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceTags.

type SessionStateV4 Uses

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"
    // SessionStateV4OpenSent ...
    SessionStateV4OpenSent SessionStateV4 = "OpenSent"
    // SessionStateV4PendingAdd ...
    SessionStateV4PendingAdd SessionStateV4 = "PendingAdd"
    // SessionStateV4PendingRemove ...
    SessionStateV4PendingRemove SessionStateV4 = "PendingRemove"
    // SessionStateV4PendingUpdate ...
    SessionStateV4PendingUpdate SessionStateV4 = "PendingUpdate"
)

func PossibleSessionStateV4Values Uses

func PossibleSessionStateV4Values() []SessionStateV4

PossibleSessionStateV4Values returns an array of possible values for the SessionStateV4 const type.

type SessionStateV6 Uses

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"
    // SessionStateV6OpenSent ...
    SessionStateV6OpenSent SessionStateV6 = "OpenSent"
    // SessionStateV6PendingAdd ...
    SessionStateV6PendingAdd SessionStateV6 = "PendingAdd"
    // SessionStateV6PendingRemove ...
    SessionStateV6PendingRemove SessionStateV6 = "PendingRemove"
    // SessionStateV6PendingUpdate ...
    SessionStateV6PendingUpdate SessionStateV6 = "PendingUpdate"
)

func PossibleSessionStateV6Values Uses

func PossibleSessionStateV6Values() []SessionStateV6

PossibleSessionStateV6Values returns an array of possible values for the SessionStateV6 const type.

type Size Uses

type Size string

Size enumerates the values for size.

const (
    // Free ...
    Free Size = "Free"
    // Metered ...
    Metered Size = "Metered"
    // Unlimited ...
    Unlimited Size = "Unlimited"
)

func PossibleSizeValues Uses

func PossibleSizeValues() []Size

PossibleSizeValues returns an array of possible values for the Size const type.

type Sku Uses

type Sku struct {
    // Name - The name of the peering SKU. Possible values include: 'BasicExchangeFree', 'BasicDirectFree', 'PremiumDirectFree', 'PremiumExchangeMetered'
    Name Name `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 SubResource Uses

type SubResource struct {
    // ID - The identifier of the referenced resource.
    ID *string `json:"id,omitempty"`
}

SubResource the sub resource.

type Tier Uses

type Tier string

Tier enumerates the values for tier.

const (
    // Basic ...
    Basic Tier = "Basic"
    // Premium ...
    Premium Tier = "Premium"
)

func PossibleTierValues Uses

func PossibleTierValues() []Tier

PossibleTierValues returns an array of possible values for the Tier const type.

type ValidationState Uses

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 Uses

func PossibleValidationStateValues() []ValidationState

PossibleValidationStateValues returns an array of possible values for the ValidationState const type.

Directories

PathSynopsis
peeringapi

Package peering imports 9 packages (graph) and is imported by 3 packages. Updated 2019-08-10. Refresh now. Tools for package owners.