bgpservicecommunities

package
v0.20230516.1215417 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2022-09-01/bgpservicecommunities Documentation

The bgpservicecommunities SDK allows for interaction with the Azure Resource Manager Service network (API Version 2022-09-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2022-09-01/bgpservicecommunities"

Client Initialization

client := bgpservicecommunities.NewBgpServiceCommunitiesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BgpServiceCommunitiesClient.List

ctx := context.TODO()
id := bgpservicecommunities.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BGPCommunity

type BGPCommunity struct {
	CommunityName          *string   `json:"communityName,omitempty"`
	CommunityPrefixes      *[]string `json:"communityPrefixes,omitempty"`
	CommunityValue         *string   `json:"communityValue,omitempty"`
	IsAuthorizedToUse      *bool     `json:"isAuthorizedToUse,omitempty"`
	ServiceGroup           *string   `json:"serviceGroup,omitempty"`
	ServiceSupportedRegion *string   `json:"serviceSupportedRegion,omitempty"`
}

type BgpServiceCommunitiesClient

type BgpServiceCommunitiesClient struct {
	Client *resourcemanager.Client
}

func NewBgpServiceCommunitiesClientWithBaseURI

func NewBgpServiceCommunitiesClientWithBaseURI(api environments.Api) (*BgpServiceCommunitiesClient, error)

func (BgpServiceCommunitiesClient) List

List ...

func (BgpServiceCommunitiesClient) ListComplete

ListComplete retrieves all the results into a single object

func (BgpServiceCommunitiesClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type BgpServiceCommunity

type BgpServiceCommunity struct {
	Id         *string                              `json:"id,omitempty"`
	Location   *string                              `json:"location,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *BgpServiceCommunityPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string                   `json:"tags,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type BgpServiceCommunityOperationPredicate

type BgpServiceCommunityOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (BgpServiceCommunityOperationPredicate) Matches

type BgpServiceCommunityPropertiesFormat

type BgpServiceCommunityPropertiesFormat struct {
	BgpCommunities *[]BGPCommunity `json:"bgpCommunities,omitempty"`
	ServiceName    *string         `json:"serviceName,omitempty"`
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []BgpServiceCommunity
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BgpServiceCommunity
}

Jump to

Keyboard shortcuts

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