managedhsms

package
v0.20230425.1021638 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/keyvault/2023-02-01/managedhsms Documentation

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

Client Initialization

client := managedhsms.NewManagedHsmsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedHsmsClient.CheckMhsmNameAvailability

ctx := context.TODO()
id := managedhsms.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := managedhsms.CheckMhsmNameAvailabilityParameters{
	// ...
}


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

Example Usage: ManagedHsmsClient.CreateOrUpdate

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

payload := managedhsms.ManagedHsm{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ManagedHsmsClient.Delete

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

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedHsmsClient.Get

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

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: ManagedHsmsClient.GetDeleted

ctx := context.TODO()
id := managedhsms.NewDeletedManagedHSMID("12345678-1234-9876-4563-123456789012", "locationValue", "deletedManagedHSMValue")

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

Example Usage: ManagedHsmsClient.ListByResourceGroup

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

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

Example Usage: ManagedHsmsClient.ListBySubscription

ctx := context.TODO()
id := managedhsms.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: ManagedHsmsClient.ListDeleted

ctx := context.TODO()
id := managedhsms.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: ManagedHsmsClient.PurgeDeleted

ctx := context.TODO()
id := managedhsms.NewDeletedManagedHSMID("12345678-1234-9876-4563-123456789012", "locationValue", "deletedManagedHSMValue")

if err := client.PurgeDeletedThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ManagedHsmsClient.Update

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

payload := managedhsms.ManagedHsm{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForActionsRequired

func PossibleValuesForActionsRequired() []string

func PossibleValuesForActivationStatus

func PossibleValuesForActivationStatus() []string

func PossibleValuesForCreateMode

func PossibleValuesForCreateMode() []string

func PossibleValuesForGeoReplicationRegionProvisioningState

func PossibleValuesForGeoReplicationRegionProvisioningState() []string

func PossibleValuesForManagedHsmSkuFamily

func PossibleValuesForManagedHsmSkuFamily() []string

func PossibleValuesForManagedHsmSkuName

func PossibleValuesForManagedHsmSkuName() []string

func PossibleValuesForNetworkRuleAction

func PossibleValuesForNetworkRuleAction() []string

func PossibleValuesForNetworkRuleBypassOptions

func PossibleValuesForNetworkRuleBypassOptions() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForReason

func PossibleValuesForReason() []string

func ValidateDeletedManagedHSMID

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

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

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 ActivationStatus

type ActivationStatus string
const (
	ActivationStatusActive       ActivationStatus = "Active"
	ActivationStatusFailed       ActivationStatus = "Failed"
	ActivationStatusNotActivated ActivationStatus = "NotActivated"
	ActivationStatusUnknown      ActivationStatus = "Unknown"
)

type CheckMhsmNameAvailabilityOperationResponse

type CheckMhsmNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	Model        *CheckMhsmNameAvailabilityResult
}

type CheckMhsmNameAvailabilityParameters

type CheckMhsmNameAvailabilityParameters struct {
	Name string `json:"name"`
}

type CheckMhsmNameAvailabilityResult

type CheckMhsmNameAvailabilityResult struct {
	Message       *string `json:"message,omitempty"`
	NameAvailable *bool   `json:"nameAvailable,omitempty"`
	Reason        *Reason `json:"reason,omitempty"`
}

type CreateMode

type CreateMode string
const (
	CreateModeDefault CreateMode = "default"
	CreateModeRecover CreateMode = "recover"
)

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeletedManagedHSMId

type DeletedManagedHSMId struct {
	SubscriptionId        string
	LocationName          string
	DeletedManagedHSMName string
}

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

func NewDeletedManagedHSMID

func NewDeletedManagedHSMID(subscriptionId string, locationName string, deletedManagedHSMName string) DeletedManagedHSMId

NewDeletedManagedHSMID returns a new DeletedManagedHSMId struct

func ParseDeletedManagedHSMID

func ParseDeletedManagedHSMID(input string) (*DeletedManagedHSMId, error)

ParseDeletedManagedHSMID parses 'input' into a DeletedManagedHSMId

func ParseDeletedManagedHSMIDInsensitively

func ParseDeletedManagedHSMIDInsensitively(input string) (*DeletedManagedHSMId, error)

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

func (DeletedManagedHSMId) ID

func (id DeletedManagedHSMId) ID() string

ID returns the formatted Deleted Managed H S M ID

func (DeletedManagedHSMId) Segments

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

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

func (DeletedManagedHSMId) String

func (id DeletedManagedHSMId) String() string

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

type DeletedManagedHsm

type DeletedManagedHsm struct {
	Id         *string                      `json:"id,omitempty"`
	Name       *string                      `json:"name,omitempty"`
	Properties *DeletedManagedHsmProperties `json:"properties,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type DeletedManagedHsmOperationPredicate

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

func (DeletedManagedHsmOperationPredicate) Matches

type DeletedManagedHsmProperties

type DeletedManagedHsmProperties struct {
	DeletionDate           *string            `json:"deletionDate,omitempty"`
	Location               *string            `json:"location,omitempty"`
	MhsmId                 *string            `json:"mhsmId,omitempty"`
	PurgeProtectionEnabled *bool              `json:"purgeProtectionEnabled,omitempty"`
	ScheduledPurgeDate     *string            `json:"scheduledPurgeDate,omitempty"`
	Tags                   *map[string]string `json:"tags,omitempty"`
}

func (*DeletedManagedHsmProperties) GetDeletionDateAsTime

func (o *DeletedManagedHsmProperties) GetDeletionDateAsTime() (*time.Time, error)

func (*DeletedManagedHsmProperties) GetScheduledPurgeDateAsTime

func (o *DeletedManagedHsmProperties) GetScheduledPurgeDateAsTime() (*time.Time, error)

func (*DeletedManagedHsmProperties) SetDeletionDateAsTime

func (o *DeletedManagedHsmProperties) SetDeletionDateAsTime(input time.Time)

func (*DeletedManagedHsmProperties) SetScheduledPurgeDateAsTime

func (o *DeletedManagedHsmProperties) SetScheduledPurgeDateAsTime(input time.Time)

type GeoReplicationRegionProvisioningState

type GeoReplicationRegionProvisioningState string
const (
	GeoReplicationRegionProvisioningStateCleanup         GeoReplicationRegionProvisioningState = "Cleanup"
	GeoReplicationRegionProvisioningStateDeleting        GeoReplicationRegionProvisioningState = "Deleting"
	GeoReplicationRegionProvisioningStateFailed          GeoReplicationRegionProvisioningState = "Failed"
	GeoReplicationRegionProvisioningStatePreprovisioning GeoReplicationRegionProvisioningState = "Preprovisioning"
	GeoReplicationRegionProvisioningStateProvisioning    GeoReplicationRegionProvisioningState = "Provisioning"
	GeoReplicationRegionProvisioningStateSucceeded       GeoReplicationRegionProvisioningState = "Succeeded"
)

type GetDeletedOperationResponse

type GetDeletedOperationResponse struct {
	HttpResponse *http.Response
	Model        *DeletedManagedHsm
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ManagedHsm
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []ManagedHsm
}

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Top *int64
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

type ListByResourceGroupOperationResponse

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

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []ManagedHsm
}

type ListBySubscriptionOperationOptions

type ListBySubscriptionOperationOptions struct {
	Top *int64
}

func DefaultListBySubscriptionOperationOptions

func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions

type ListBySubscriptionOperationResponse

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

func (ListBySubscriptionOperationResponse) HasMore

func (ListBySubscriptionOperationResponse) LoadMore

type ListDeletedCompleteResult

type ListDeletedCompleteResult struct {
	Items []DeletedManagedHsm
}

type ListDeletedOperationResponse

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

func (ListDeletedOperationResponse) HasMore

func (r ListDeletedOperationResponse) HasMore() bool

func (ListDeletedOperationResponse) LoadMore

type MHSMGeoReplicatedRegion

type MHSMGeoReplicatedRegion struct {
	IsPrimary         *bool                                  `json:"isPrimary,omitempty"`
	Name              *string                                `json:"name,omitempty"`
	ProvisioningState *GeoReplicationRegionProvisioningState `json:"provisioningState,omitempty"`
}

type MHSMIPRule

type MHSMIPRule struct {
	Value string `json:"value"`
}

type MHSMNetworkRuleSet

type MHSMNetworkRuleSet struct {
	Bypass              *NetworkRuleBypassOptions `json:"bypass,omitempty"`
	DefaultAction       *NetworkRuleAction        `json:"defaultAction,omitempty"`
	IPRules             *[]MHSMIPRule             `json:"ipRules,omitempty"`
	VirtualNetworkRules *[]MHSMVirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
}

type MHSMPrivateEndpoint

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

type MHSMPrivateEndpointConnectionItem

type MHSMPrivateEndpointConnectionItem struct {
	Etag       *string                                  `json:"etag,omitempty"`
	Id         *string                                  `json:"id,omitempty"`
	Properties *MHSMPrivateEndpointConnectionProperties `json:"properties,omitempty"`
}

type MHSMPrivateEndpointConnectionProperties

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

type MHSMPrivateLinkServiceConnectionState

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

type MHSMVirtualNetworkRule

type MHSMVirtualNetworkRule struct {
	Id string `json:"id"`
}

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 ManagedHSMSecurityDomainProperties

type ManagedHSMSecurityDomainProperties struct {
	ActivationStatus        *ActivationStatus `json:"activationStatus,omitempty"`
	ActivationStatusMessage *string           `json:"activationStatusMessage,omitempty"`
}

type ManagedHsm

type ManagedHsm struct {
	Id         *string                `json:"id,omitempty"`
	Location   *string                `json:"location,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *ManagedHsmProperties  `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 ManagedHsmOperationPredicate

type ManagedHsmOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedHsmOperationPredicate) Matches

func (p ManagedHsmOperationPredicate) Matches(input ManagedHsm) bool

type ManagedHsmProperties

type ManagedHsmProperties struct {
	CreateMode                 *CreateMode                          `json:"createMode,omitempty"`
	EnablePurgeProtection      *bool                                `json:"enablePurgeProtection,omitempty"`
	EnableSoftDelete           *bool                                `json:"enableSoftDelete,omitempty"`
	HsmUri                     *string                              `json:"hsmUri,omitempty"`
	InitialAdminObjectIds      *[]string                            `json:"initialAdminObjectIds,omitempty"`
	NetworkAcls                *MHSMNetworkRuleSet                  `json:"networkAcls,omitempty"`
	PrivateEndpointConnections *[]MHSMPrivateEndpointConnectionItem `json:"privateEndpointConnections,omitempty"`
	ProvisioningState          *ProvisioningState                   `json:"provisioningState,omitempty"`
	PublicNetworkAccess        *PublicNetworkAccess                 `json:"publicNetworkAccess,omitempty"`
	Regions                    *[]MHSMGeoReplicatedRegion           `json:"regions,omitempty"`
	ScheduledPurgeDate         *string                              `json:"scheduledPurgeDate,omitempty"`
	SecurityDomainProperties   *ManagedHSMSecurityDomainProperties  `json:"securityDomainProperties,omitempty"`
	SoftDeleteRetentionInDays  *int64                               `json:"softDeleteRetentionInDays,omitempty"`
	StatusMessage              *string                              `json:"statusMessage,omitempty"`
	TenantId                   *string                              `json:"tenantId,omitempty"`
}

func (*ManagedHsmProperties) GetScheduledPurgeDateAsTime

func (o *ManagedHsmProperties) GetScheduledPurgeDateAsTime() (*time.Time, error)

func (*ManagedHsmProperties) SetScheduledPurgeDateAsTime

func (o *ManagedHsmProperties) SetScheduledPurgeDateAsTime(input time.Time)

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 ManagedHsmsClient

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

func NewManagedHsmsClientWithBaseURI

func NewManagedHsmsClientWithBaseURI(endpoint string) ManagedHsmsClient

func (ManagedHsmsClient) CheckMhsmNameAvailability

CheckMhsmNameAvailability ...

func (ManagedHsmsClient) CreateOrUpdate

func (c ManagedHsmsClient) CreateOrUpdate(ctx context.Context, id ManagedHSMId, input ManagedHsm) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (ManagedHsmsClient) CreateOrUpdateThenPoll

func (c ManagedHsmsClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedHSMId, input ManagedHsm) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ManagedHsmsClient) Delete

Delete ...

func (ManagedHsmsClient) DeleteThenPoll

func (c ManagedHsmsClient) DeleteThenPoll(ctx context.Context, id ManagedHSMId) error

DeleteThenPoll performs Delete then polls until it's completed

func (ManagedHsmsClient) Get

Get ...

func (ManagedHsmsClient) GetDeleted

GetDeleted ...

func (ManagedHsmsClient) ListByResourceGroup

ListByResourceGroup ...

func (ManagedHsmsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (ManagedHsmsClient) ListByResourceGroupCompleteMatchingPredicate

func (c ManagedHsmsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate ManagedHsmOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedHsmsClient) ListBySubscription

ListBySubscription ...

func (ManagedHsmsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all of the results into a single object

func (ManagedHsmsClient) ListBySubscriptionCompleteMatchingPredicate

func (c ManagedHsmsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate ManagedHsmOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedHsmsClient) ListDeleted

ListDeleted ...

func (ManagedHsmsClient) ListDeletedComplete

ListDeletedComplete retrieves all of the results into a single object

func (ManagedHsmsClient) ListDeletedCompleteMatchingPredicate

func (c ManagedHsmsClient) ListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeletedManagedHsmOperationPredicate) (resp ListDeletedCompleteResult, err error)

ListDeletedCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ManagedHsmsClient) PurgeDeleted

PurgeDeleted ...

func (ManagedHsmsClient) PurgeDeletedThenPoll

func (c ManagedHsmsClient) PurgeDeletedThenPoll(ctx context.Context, id DeletedManagedHSMId) error

PurgeDeletedThenPoll performs PurgeDeleted then polls until it's completed

func (ManagedHsmsClient) Update

func (c ManagedHsmsClient) Update(ctx context.Context, id ManagedHSMId, input ManagedHsm) (result UpdateOperationResponse, err error)

Update ...

func (ManagedHsmsClient) UpdateThenPoll

func (c ManagedHsmsClient) UpdateThenPoll(ctx context.Context, id ManagedHSMId, input ManagedHsm) error

UpdateThenPoll performs Update then polls until it's completed

type NetworkRuleAction

type NetworkRuleAction string
const (
	NetworkRuleActionAllow NetworkRuleAction = "Allow"
	NetworkRuleActionDeny  NetworkRuleAction = "Deny"
)

type NetworkRuleBypassOptions

type NetworkRuleBypassOptions string
const (
	NetworkRuleBypassOptionsAzureServices NetworkRuleBypassOptions = "AzureServices"
	NetworkRuleBypassOptionsNone          NetworkRuleBypassOptions = "None"
)

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"
)

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateActivated             ProvisioningState = "Activated"
	ProvisioningStateDeleting              ProvisioningState = "Deleting"
	ProvisioningStateFailed                ProvisioningState = "Failed"
	ProvisioningStateProvisioning          ProvisioningState = "Provisioning"
	ProvisioningStateRestoring             ProvisioningState = "Restoring"
	ProvisioningStateSecurityDomainRestore ProvisioningState = "SecurityDomainRestore"
	ProvisioningStateSucceeded             ProvisioningState = "Succeeded"
	ProvisioningStateUpdating              ProvisioningState = "Updating"
)

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

type PurgeDeletedOperationResponse

type PurgeDeletedOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type Reason

type Reason string
const (
	ReasonAccountNameInvalid Reason = "AccountNameInvalid"
	ReasonAlreadyExists      Reason = "AlreadyExists"
)

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

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