README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/keyvault/2023-07-01/privatelinkresources
Documentation
The privatelinkresources
SDK allows for interaction with Azure Resource Manager keyvault
(API Version 2023-07-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/keyvault/2023-07-01/privatelinkresources"
Client Initialization
client := privatelinkresources.NewPrivateLinkResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: PrivateLinkResourcesClient.ListByVault
ctx := context.TODO()
id := commonids.NewKeyVaultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName")
read, err := client.ListByVault(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListByVaultOperationResponse ¶
type ListByVaultOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrivateLinkResourceListResult }
type PrivateLinkResource ¶
type PrivateLinkResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceListResult ¶
type PrivateLinkResourceListResult struct {
Value *[]PrivateLinkResource `json:"value,omitempty"`
}
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
Client *resourcemanager.Client
}
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*PrivateLinkResourcesClient, error)
func (PrivateLinkResourcesClient) ListByVault ¶
func (c PrivateLinkResourcesClient) ListByVault(ctx context.Context, id commonids.KeyVaultId) (result ListByVaultOperationResponse, err error)
ListByVault ...
Click to show internal directories.
Click to hide internal directories.