README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-02-01/edgenodes
Documentation
The edgenodes
SDK allows for interaction with Azure Resource Manager cdn
(API Version 2024-02-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/cdn/2024-02-01/edgenodes"
Client Initialization
client := edgenodes.NewEdgenodesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: EdgenodesClient.List
ctx := context.TODO()
// alternatively `client.List(ctx)` can be used to do batched pagination
items, err := client.ListComplete(ctx)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- type CidrIPAddress
- type EdgeNode
- type EdgeNodeOperationPredicate
- type EdgeNodeProperties
- type EdgenodesClient
- func (c EdgenodesClient) List(ctx context.Context) (result ListOperationResponse, err error)
- func (c EdgenodesClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
- func (c EdgenodesClient) ListCompleteMatchingPredicate(ctx context.Context, predicate EdgeNodeOperationPredicate) (result ListCompleteResult, err error)
- type IPAddressGroup
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CidrIPAddress ¶
type EdgeNode ¶
type EdgeNode struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EdgeNodeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type EdgeNodeOperationPredicate ¶
func (EdgeNodeOperationPredicate) Matches ¶
func (p EdgeNodeOperationPredicate) Matches(input EdgeNode) bool
type EdgeNodeProperties ¶
type EdgeNodeProperties struct {
IPAddressGroups []IPAddressGroup `json:"ipAddressGroups"`
}
type EdgenodesClient ¶
type EdgenodesClient struct {
Client *resourcemanager.Client
}
func NewEdgenodesClientWithBaseURI ¶
func NewEdgenodesClientWithBaseURI(sdkApi sdkEnv.Api) (*EdgenodesClient, error)
func (EdgenodesClient) List ¶
func (c EdgenodesClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
func (EdgenodesClient) ListComplete ¶
func (c EdgenodesClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EdgenodesClient) ListCompleteMatchingPredicate ¶
func (c EdgenodesClient) ListCompleteMatchingPredicate(ctx context.Context, predicate EdgeNodeOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type IPAddressGroup ¶
type IPAddressGroup struct { DeliveryRegion *string `json:"deliveryRegion,omitempty"` IPv4Addresses *[]CidrIPAddress `json:"ipv4Addresses,omitempty"` IPv6Addresses *[]CidrIPAddress `json:"ipv6Addresses,omitempty"` }
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
Click to show internal directories.
Click to hide internal directories.