README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2022-09-02-preview/resolveprivatelinkserviceid
Documentation
The resolveprivatelinkserviceid
SDK allows for interaction with the Azure Resource Manager Service containerservice
(API Version 2022-09-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/2022-09-02-preview/resolveprivatelinkserviceid"
Client Initialization
client := resolveprivatelinkserviceid.NewResolvePrivateLinkServiceIdClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ResolvePrivateLinkServiceIdClient.POST
ctx := context.TODO()
id := resolveprivatelinkserviceid.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceValue")
payload := resolveprivatelinkserviceid.PrivateLinkResource{
// ...
}
read, err := client.POST(ctx, id, payload)
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 ¶
func ValidateManagedClusterID ¶
ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID
Types ¶
type ManagedClusterId ¶
ManagedClusterId is a struct representing the Resource ID for a Managed Cluster
func NewManagedClusterID ¶
func NewManagedClusterID(subscriptionId string, resourceGroupName string, resourceName string) ManagedClusterId
NewManagedClusterID returns a new ManagedClusterId struct
func ParseManagedClusterID ¶
func ParseManagedClusterID(input string) (*ManagedClusterId, error)
ParseManagedClusterID parses 'input' into a ManagedClusterId
func ParseManagedClusterIDInsensitively ¶
func ParseManagedClusterIDInsensitively(input string) (*ManagedClusterId, error)
ParseManagedClusterIDInsensitively parses 'input' case-insensitively into a ManagedClusterId note: this method should only be used for API response data and not user input
func (ManagedClusterId) ID ¶
func (id ManagedClusterId) ID() string
ID returns the formatted Managed Cluster ID
func (ManagedClusterId) Segments ¶
func (id ManagedClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Cluster ID
func (ManagedClusterId) String ¶
func (id ManagedClusterId) String() string
String returns a human-readable description of this Managed Cluster ID
type POSTOperationResponse ¶
type POSTOperationResponse struct { HttpResponse *http.Response Model *PrivateLinkResource }
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 ResolvePrivateLinkServiceIdClient ¶
type ResolvePrivateLinkServiceIdClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewResolvePrivateLinkServiceIdClientWithBaseURI ¶
func NewResolvePrivateLinkServiceIdClientWithBaseURI(endpoint string) ResolvePrivateLinkServiceIdClient
func (ResolvePrivateLinkServiceIdClient) POST ¶
func (c ResolvePrivateLinkServiceIdClient) POST(ctx context.Context, id ManagedClusterId, input PrivateLinkResource) (result POSTOperationResponse, err error)
POST ...