resolveprivatelinkserviceid

package
v0.20240404.1145457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

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-helpers/resourcemanager/commonids"
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 := commonids.NewKubernetesClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedClusterValue")

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

This section is empty.

Types

type POSTOperationResponse

type POSTOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	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 *resourcemanager.Client
}

func NewResolvePrivateLinkServiceIdClientWithBaseURI

func NewResolvePrivateLinkServiceIdClientWithBaseURI(sdkApi sdkEnv.Api) (*ResolvePrivateLinkServiceIdClient, error)

func (ResolvePrivateLinkServiceIdClient) POST

POST ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL