privatelinkresources

package
v0.20230707.1120450 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/attestation/2021-06-01/privatelinkresources Documentation

The privatelinkresources SDK allows for interaction with the Azure Resource Manager Service attestation (API Version 2021-06-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/attestation/2021-06-01/privatelinkresources"

Client Initialization

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

Example Usage: PrivateLinkResourcesClient.ListByProvider

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

read, err := client.ListByProvider(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

func ValidateAttestationProvidersID

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

ValidateAttestationProvidersID checks that 'input' can be parsed as a Attestation Providers ID

Types

type AttestationProvidersId

type AttestationProvidersId struct {
	SubscriptionId          string
	ResourceGroupName       string
	AttestationProviderName string
}

AttestationProvidersId is a struct representing the Resource ID for a Attestation Providers

func NewAttestationProvidersID

func NewAttestationProvidersID(subscriptionId string, resourceGroupName string, attestationProviderName string) AttestationProvidersId

NewAttestationProvidersID returns a new AttestationProvidersId struct

func ParseAttestationProvidersID

func ParseAttestationProvidersID(input string) (*AttestationProvidersId, error)

ParseAttestationProvidersID parses 'input' into a AttestationProvidersId

func ParseAttestationProvidersIDInsensitively

func ParseAttestationProvidersIDInsensitively(input string) (*AttestationProvidersId, error)

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

func (AttestationProvidersId) ID

ID returns the formatted Attestation Providers ID

func (AttestationProvidersId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Attestation Providers ID

func (AttestationProvidersId) String

func (id AttestationProvidersId) String() string

String returns a human-readable description of this Attestation Providers ID

type ListByProviderOperationResponse

type ListByProviderOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PrivateLinkResourceListResult
}

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 PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	Value *[]PrivateLinkResource `json:"value,omitempty"`
}

type PrivateLinkResourceProperties

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

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	Client *resourcemanager.Client
}

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(api environments.Api) (*PrivateLinkResourcesClient, error)

func (PrivateLinkResourcesClient) ListByProvider

ListByProvider ...

Jump to

Keyboard shortcuts

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