mhsmlistprivateendpointconnections

package
v0.20230807.1085124 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/keyvault/2022-11-01/mhsmlistprivateendpointconnections Documentation

The mhsmlistprivateendpointconnections SDK allows for interaction with the Azure Resource Manager Service keyvault (API Version 2022-11-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/keyvault/2022-11-01/mhsmlistprivateendpointconnections"

Client Initialization

client := mhsmlistprivateendpointconnections.NewMHSMListPrivateEndpointConnectionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: MHSMListPrivateEndpointConnectionsClient.MHSMPrivateEndpointConnectionsListByResource

ctx := context.TODO()
id := mhsmlistprivateendpointconnections.NewManagedHSMID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedHSMValue")

// alternatively `client.MHSMPrivateEndpointConnectionsListByResource(ctx, id)` can be used to do batched pagination
items, err := client.MHSMPrivateEndpointConnectionsListByResourceComplete(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 PossibleValuesForActionsRequired

func PossibleValuesForActionsRequired() []string

func PossibleValuesForManagedHsmSkuFamily

func PossibleValuesForManagedHsmSkuFamily() []string

func PossibleValuesForManagedHsmSkuName

func PossibleValuesForManagedHsmSkuName() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func ValidateManagedHSMID

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

ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID

Types

type ActionsRequired

type ActionsRequired string
const (
	ActionsRequiredNone ActionsRequired = "None"
)

type MHSMListPrivateEndpointConnectionsClient

type MHSMListPrivateEndpointConnectionsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewMHSMListPrivateEndpointConnectionsClientWithBaseURI

func NewMHSMListPrivateEndpointConnectionsClientWithBaseURI(endpoint string) MHSMListPrivateEndpointConnectionsClient

func (MHSMListPrivateEndpointConnectionsClient) MHSMPrivateEndpointConnectionsListByResource

MHSMPrivateEndpointConnectionsListByResource ...

func (MHSMListPrivateEndpointConnectionsClient) MHSMPrivateEndpointConnectionsListByResourceComplete

MHSMPrivateEndpointConnectionsListByResourceComplete retrieves all of the results into a single object

func (MHSMListPrivateEndpointConnectionsClient) MHSMPrivateEndpointConnectionsListByResourceCompleteMatchingPredicate

func (c MHSMListPrivateEndpointConnectionsClient) MHSMPrivateEndpointConnectionsListByResourceCompleteMatchingPredicate(ctx context.Context, id ManagedHSMId, predicate MHSMPrivateEndpointConnectionOperationPredicate) (resp MHSMPrivateEndpointConnectionsListByResourceCompleteResult, err error)

MHSMPrivateEndpointConnectionsListByResourceCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type MHSMPrivateEndpoint

type MHSMPrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type MHSMPrivateEndpointConnection

type MHSMPrivateEndpointConnection struct {
	Etag       *string                                  `json:"etag,omitempty"`
	Id         *string                                  `json:"id,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *MHSMPrivateEndpointConnectionProperties `json:"properties,omitempty"`
	Sku        *ManagedHsmSku                           `json:"sku,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type MHSMPrivateEndpointConnectionOperationPredicate

type MHSMPrivateEndpointConnectionOperationPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (MHSMPrivateEndpointConnectionOperationPredicate) Matches

type MHSMPrivateEndpointConnectionProperties

type MHSMPrivateEndpointConnectionProperties struct {
	PrivateEndpoint                   *MHSMPrivateEndpoint                        `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState *MHSMPrivateLinkServiceConnectionState      `json:"privateLinkServiceConnectionState,omitempty"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type MHSMPrivateEndpointConnectionsListByResourceCompleteResult

type MHSMPrivateEndpointConnectionsListByResourceCompleteResult struct {
	Items []MHSMPrivateEndpointConnection
}

type MHSMPrivateEndpointConnectionsListByResourceOperationResponse

type MHSMPrivateEndpointConnectionsListByResourceOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]MHSMPrivateEndpointConnection
	// contains filtered or unexported fields
}

func (MHSMPrivateEndpointConnectionsListByResourceOperationResponse) HasMore

func (MHSMPrivateEndpointConnectionsListByResourceOperationResponse) LoadMore

type MHSMPrivateLinkServiceConnectionState

type MHSMPrivateLinkServiceConnectionState struct {
	ActionsRequired *ActionsRequired                        `json:"actionsRequired,omitempty"`
	Description     *string                                 `json:"description,omitempty"`
	Status          *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
}

type ManagedHSMId

type ManagedHSMId struct {
	SubscriptionId    string
	ResourceGroupName string
	ManagedHSMName    string
}

ManagedHSMId is a struct representing the Resource ID for a Managed H S M

func NewManagedHSMID

func NewManagedHSMID(subscriptionId string, resourceGroupName string, managedHSMName string) ManagedHSMId

NewManagedHSMID returns a new ManagedHSMId struct

func ParseManagedHSMID

func ParseManagedHSMID(input string) (*ManagedHSMId, error)

ParseManagedHSMID parses 'input' into a ManagedHSMId

func ParseManagedHSMIDInsensitively

func ParseManagedHSMIDInsensitively(input string) (*ManagedHSMId, error)

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

func (ManagedHSMId) ID

func (id ManagedHSMId) ID() string

ID returns the formatted Managed H S M ID

func (ManagedHSMId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID

func (ManagedHSMId) String

func (id ManagedHSMId) String() string

String returns a human-readable description of this Managed H S M ID

type ManagedHsmSku

type ManagedHsmSku struct {
	Family ManagedHsmSkuFamily `json:"family"`
	Name   ManagedHsmSkuName   `json:"name"`
}

type ManagedHsmSkuFamily

type ManagedHsmSkuFamily string
const (
	ManagedHsmSkuFamilyB ManagedHsmSkuFamily = "B"
)

type ManagedHsmSkuName

type ManagedHsmSkuName string
const (
	ManagedHsmSkuNameCustomBSix      ManagedHsmSkuName = "Custom_B6"
	ManagedHsmSkuNameCustomBThreeTwo ManagedHsmSkuName = "Custom_B32"
	ManagedHsmSkuNameStandardBOne    ManagedHsmSkuName = "Standard_B1"
)

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCreating     PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting     PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateDisconnected PrivateEndpointConnectionProvisioningState = "Disconnected"
	PrivateEndpointConnectionProvisioningStateFailed       PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded    PrivateEndpointConnectionProvisioningState = "Succeeded"
	PrivateEndpointConnectionProvisioningStateUpdating     PrivateEndpointConnectionProvisioningState = "Updating"
)

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string
const (
	PrivateEndpointServiceConnectionStatusApproved     PrivateEndpointServiceConnectionStatus = "Approved"
	PrivateEndpointServiceConnectionStatusDisconnected PrivateEndpointServiceConnectionStatus = "Disconnected"
	PrivateEndpointServiceConnectionStatusPending      PrivateEndpointServiceConnectionStatus = "Pending"
	PrivateEndpointServiceConnectionStatusRejected     PrivateEndpointServiceConnectionStatus = "Rejected"
)

Jump to

Keyboard shortcuts

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