README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-04-02-preview/privatelinkresources
Documentation
The privatelinkresources
SDK allows for interaction with the Azure Resource Manager Service containerservice
(API Version 2023-04-02-preview
).
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/containerservice/2023-04-02-preview/privatelinkresources"
Client Initialization
client := privatelinkresources.NewPrivateLinkResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: PrivateLinkResourcesClient.List
ctx := context.TODO()
id := privatelinkresources.NewKubernetesClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")
read, err := client.List(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 ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *PrivateLinkResourcesListResult }
type PrivateLinkResource ¶
type PrivateLinkResource struct { GroupId *string `json:"groupId,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PrivateLinkServiceID *string `json:"privateLinkServiceID,omitempty"` RequiredMembers *[]string `json:"requiredMembers,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(endpoint string) PrivateLinkResourcesClient
func (PrivateLinkResourcesClient) List ¶
func (c PrivateLinkResourcesClient) List(ctx context.Context, id commonids.KubernetesClusterId) (result ListOperationResponse, err error)
List ...
type PrivateLinkResourcesListResult ¶
type PrivateLinkResourcesListResult struct {
Value *[]PrivateLinkResource `json:"value,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.