privatelinkresources

package
v0.20241104.1140654 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/azureactivedirectory/2020-03-01/privatelinkresources Documentation

The privatelinkresources SDK allows for interaction with Azure Resource Manager azureactivedirectory (API Version 2020-03-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/azureactivedirectory/2020-03-01/privatelinkresources"

Client Initialization

client := privatelinkresources.NewPrivateLinkResourcesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: PrivateLinkResourcesClient.Get

ctx := context.TODO()
id := privatelinkresources.NewPrivateLinkResourceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkForAzureAdName", "privateLinkResourceName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PrivateLinkResourcesClient.ListByPrivateLinkPolicy

ctx := context.TODO()
id := privatelinkresources.NewPrivateLinkForAzureAdID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateLinkForAzureAdName")

// alternatively `client.ListByPrivateLinkPolicy(ctx, id)` can be used to do batched pagination
items, err := client.ListByPrivateLinkPolicyComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePrivateLinkForAzureAdID

func ValidatePrivateLinkForAzureAdID(input interface{}, key string) (warnings []string, errors []error)

ValidatePrivateLinkForAzureAdID checks that 'input' can be parsed as a Private Link For Azure Ad ID

func ValidatePrivateLinkResourceID

func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)

ValidatePrivateLinkResourceID checks that 'input' can be parsed as a Private Link Resource ID

Types

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PrivateLinkResource
}

type ListByPrivateLinkPolicyCompleteResult

type ListByPrivateLinkPolicyCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []PrivateLinkResource
}

type ListByPrivateLinkPolicyCustomPager added in v0.20240628.1153531

type ListByPrivateLinkPolicyCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByPrivateLinkPolicyCustomPager) NextPageLink() *odata.Link

type ListByPrivateLinkPolicyOperationResponse

type ListByPrivateLinkPolicyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PrivateLinkResource
}

type PrivateLinkForAzureAdId

type PrivateLinkForAzureAdId struct {
	SubscriptionId            string
	ResourceGroupName         string
	PrivateLinkForAzureAdName string
}

PrivateLinkForAzureAdId is a struct representing the Resource ID for a Private Link For Azure Ad

func NewPrivateLinkForAzureAdID

func NewPrivateLinkForAzureAdID(subscriptionId string, resourceGroupName string, privateLinkForAzureAdName string) PrivateLinkForAzureAdId

NewPrivateLinkForAzureAdID returns a new PrivateLinkForAzureAdId struct

func ParsePrivateLinkForAzureAdID

func ParsePrivateLinkForAzureAdID(input string) (*PrivateLinkForAzureAdId, error)

ParsePrivateLinkForAzureAdID parses 'input' into a PrivateLinkForAzureAdId

func ParsePrivateLinkForAzureAdIDInsensitively

func ParsePrivateLinkForAzureAdIDInsensitively(input string) (*PrivateLinkForAzureAdId, error)

ParsePrivateLinkForAzureAdIDInsensitively parses 'input' case-insensitively into a PrivateLinkForAzureAdId note: this method should only be used for API response data and not user input

func (*PrivateLinkForAzureAdId) FromParseResult

func (id *PrivateLinkForAzureAdId) FromParseResult(input resourceids.ParseResult) error

func (PrivateLinkForAzureAdId) ID

ID returns the formatted Private Link For Azure Ad ID

func (PrivateLinkForAzureAdId) Segments

Segments returns a slice of Resource ID Segments which comprise this Private Link For Azure Ad ID

func (PrivateLinkForAzureAdId) String

func (id PrivateLinkForAzureAdId) String() string

String returns a human-readable description of this Private Link For Azure Ad ID

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 PrivateLinkResourceId

type PrivateLinkResourceId struct {
	SubscriptionId            string
	ResourceGroupName         string
	PrivateLinkForAzureAdName string
	PrivateLinkResourceName   string
}

PrivateLinkResourceId is a struct representing the Resource ID for a Private Link Resource

func NewPrivateLinkResourceID

func NewPrivateLinkResourceID(subscriptionId string, resourceGroupName string, privateLinkForAzureAdName string, privateLinkResourceName string) PrivateLinkResourceId

NewPrivateLinkResourceID returns a new PrivateLinkResourceId struct

func ParsePrivateLinkResourceID

func ParsePrivateLinkResourceID(input string) (*PrivateLinkResourceId, error)

ParsePrivateLinkResourceID parses 'input' into a PrivateLinkResourceId

func ParsePrivateLinkResourceIDInsensitively

func ParsePrivateLinkResourceIDInsensitively(input string) (*PrivateLinkResourceId, error)

ParsePrivateLinkResourceIDInsensitively parses 'input' case-insensitively into a PrivateLinkResourceId note: this method should only be used for API response data and not user input

func (*PrivateLinkResourceId) FromParseResult

func (id *PrivateLinkResourceId) FromParseResult(input resourceids.ParseResult) error

func (PrivateLinkResourceId) ID

func (id PrivateLinkResourceId) ID() string

ID returns the formatted Private Link Resource ID

func (PrivateLinkResourceId) Segments

func (id PrivateLinkResourceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Private Link Resource ID

func (PrivateLinkResourceId) String

func (id PrivateLinkResourceId) String() string

String returns a human-readable description of this Private Link Resource ID

type PrivateLinkResourceOperationPredicate

type PrivateLinkResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (PrivateLinkResourceOperationPredicate) Matches

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	GroupId         *string   `json:"groupId,omitempty"`
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
}

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	Client *resourcemanager.Client
}

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*PrivateLinkResourcesClient, error)

func (PrivateLinkResourcesClient) Get

Get ...

func (PrivateLinkResourcesClient) ListByPrivateLinkPolicy

ListByPrivateLinkPolicy ...

func (PrivateLinkResourcesClient) ListByPrivateLinkPolicyComplete

ListByPrivateLinkPolicyComplete retrieves all the results into a single object

func (PrivateLinkResourcesClient) ListByPrivateLinkPolicyCompleteMatchingPredicate

func (c PrivateLinkResourcesClient) ListByPrivateLinkPolicyCompleteMatchingPredicate(ctx context.Context, id PrivateLinkForAzureAdId, predicate PrivateLinkResourceOperationPredicate) (result ListByPrivateLinkPolicyCompleteResult, err error)

ListByPrivateLinkPolicyCompleteMatchingPredicate retrieves all the results and then applies the predicate

Jump to

Keyboard shortcuts

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