README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservices/2022-10-01/listprivatelinkresources
Documentation
The listprivatelinkresources
SDK allows for interaction with the Azure Resource Manager Service recoveryservices
(API Version 2022-10-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/recoveryservices/2022-10-01/listprivatelinkresources"
Client Initialization
client := listprivatelinkresources.NewListPrivateLinkResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ListPrivateLinkResourcesClient.PrivateLinkResourcesList
ctx := context.TODO()
id := listprivatelinkresources.NewVaultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue")
// alternatively `client.PrivateLinkResourcesList(ctx, id)` can be used to do batched pagination
items, err := client.PrivateLinkResourcesListComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type ListPrivateLinkResourcesClient
- func (c ListPrivateLinkResourcesClient) PrivateLinkResourcesList(ctx context.Context, id VaultId) (resp PrivateLinkResourcesListOperationResponse, err error)
- func (c ListPrivateLinkResourcesClient) PrivateLinkResourcesListComplete(ctx context.Context, id VaultId) (PrivateLinkResourcesListCompleteResult, error)
- func (c ListPrivateLinkResourcesClient) PrivateLinkResourcesListCompleteMatchingPredicate(ctx context.Context, id VaultId, ...) (resp PrivateLinkResourcesListCompleteResult, err error)
- type PrivateLinkResource
- type PrivateLinkResourceOperationPredicate
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesListCompleteResult
- type PrivateLinkResourcesListOperationResponse
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type ListPrivateLinkResourcesClient ¶
type ListPrivateLinkResourcesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewListPrivateLinkResourcesClientWithBaseURI ¶
func NewListPrivateLinkResourcesClientWithBaseURI(endpoint string) ListPrivateLinkResourcesClient
func (ListPrivateLinkResourcesClient) PrivateLinkResourcesList ¶
func (c ListPrivateLinkResourcesClient) PrivateLinkResourcesList(ctx context.Context, id VaultId) (resp PrivateLinkResourcesListOperationResponse, err error)
PrivateLinkResourcesList ...
func (ListPrivateLinkResourcesClient) PrivateLinkResourcesListComplete ¶
func (c ListPrivateLinkResourcesClient) PrivateLinkResourcesListComplete(ctx context.Context, id VaultId) (PrivateLinkResourcesListCompleteResult, error)
PrivateLinkResourcesListComplete retrieves all of the results into a single object
func (ListPrivateLinkResourcesClient) PrivateLinkResourcesListCompleteMatchingPredicate ¶
func (c ListPrivateLinkResourcesClient) PrivateLinkResourcesListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate PrivateLinkResourceOperationPredicate) (resp PrivateLinkResourcesListCompleteResult, err error)
PrivateLinkResourcesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type PrivateLinkResource ¶
type PrivateLinkResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceOperationPredicate ¶
func (PrivateLinkResourceOperationPredicate) Matches ¶
func (p PrivateLinkResourceOperationPredicate) Matches(input PrivateLinkResource) bool
type PrivateLinkResourcesListCompleteResult ¶
type PrivateLinkResourcesListCompleteResult struct {
Items []PrivateLinkResource
}
type PrivateLinkResourcesListOperationResponse ¶
type PrivateLinkResourcesListOperationResponse struct { HttpResponse *http.Response Model *[]PrivateLinkResource // contains filtered or unexported fields }
func (PrivateLinkResourcesListOperationResponse) HasMore ¶
func (r PrivateLinkResourcesListOperationResponse) HasMore() bool
func (PrivateLinkResourcesListOperationResponse) LoadMore ¶
func (r PrivateLinkResourcesListOperationResponse) LoadMore(ctx context.Context) (resp PrivateLinkResourcesListOperationResponse, err error)
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID