replicationprotectioncontainermappings

package
v0.20230320.1165256 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2023-01-01/replicationprotectioncontainermappings Documentation

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

Client Initialization

client := replicationprotectioncontainermappings.NewReplicationProtectionContainerMappingsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationProtectionContainerMappingsClient.Create

ctx := context.TODO()
id := replicationprotectioncontainermappings.NewReplicationProtectionContainerMappingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectionContainerMappingValue")

payload := replicationprotectioncontainermappings.CreateProtectionContainerMappingInput{
	// ...
}


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

Example Usage: ReplicationProtectionContainerMappingsClient.Delete

ctx := context.TODO()
id := replicationprotectioncontainermappings.NewReplicationProtectionContainerMappingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectionContainerMappingValue")

payload := replicationprotectioncontainermappings.RemoveProtectionContainerMappingInput{
	// ...
}


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

Example Usage: ReplicationProtectionContainerMappingsClient.Get

ctx := context.TODO()
id := replicationprotectioncontainermappings.NewReplicationProtectionContainerMappingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectionContainerMappingValue")

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: ReplicationProtectionContainerMappingsClient.List

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

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

Example Usage: ReplicationProtectionContainerMappingsClient.ListByReplicationProtectionContainers

ctx := context.TODO()
id := replicationprotectioncontainermappings.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue")

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

Example Usage: ReplicationProtectionContainerMappingsClient.Purge

ctx := context.TODO()
id := replicationprotectioncontainermappings.NewReplicationProtectionContainerMappingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectionContainerMappingValue")

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

Example Usage: ReplicationProtectionContainerMappingsClient.Update

ctx := context.TODO()
id := replicationprotectioncontainermappings.NewReplicationProtectionContainerMappingID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectionContainerMappingValue")

payload := replicationprotectioncontainermappings.UpdateProtectionContainerMappingInput{
	// ...
}


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 PossibleValuesForAgentAutoUpdateStatus

func PossibleValuesForAgentAutoUpdateStatus() []string

func PossibleValuesForAutomationAccountAuthenticationType

func PossibleValuesForAutomationAccountAuthenticationType() []string

func PossibleValuesForHealthErrorCustomerResolvability

func PossibleValuesForHealthErrorCustomerResolvability() []string

func ValidateReplicationProtectionContainerID

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

ValidateReplicationProtectionContainerID checks that 'input' can be parsed as a Replication Protection Container ID

func ValidateReplicationProtectionContainerMappingID

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

ValidateReplicationProtectionContainerMappingID checks that 'input' can be parsed as a Replication Protection Container Mapping ID

func ValidateVaultID

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

ValidateVaultID checks that 'input' can be parsed as a Vault ID

Types

type A2AContainerMappingInput

type A2AContainerMappingInput struct {
	AgentAutoUpdateStatus               *AgentAutoUpdateStatus               `json:"agentAutoUpdateStatus,omitempty"`
	AutomationAccountArmId              *string                              `json:"automationAccountArmId,omitempty"`
	AutomationAccountAuthenticationType *AutomationAccountAuthenticationType `json:"automationAccountAuthenticationType,omitempty"`
}

func (A2AContainerMappingInput) MarshalJSON

func (s A2AContainerMappingInput) MarshalJSON() ([]byte, error)

type A2AProtectionContainerMappingDetails

type A2AProtectionContainerMappingDetails struct {
	AgentAutoUpdateStatus               *AgentAutoUpdateStatus               `json:"agentAutoUpdateStatus,omitempty"`
	AutomationAccountArmId              *string                              `json:"automationAccountArmId,omitempty"`
	AutomationAccountAuthenticationType *AutomationAccountAuthenticationType `json:"automationAccountAuthenticationType,omitempty"`
	JobScheduleName                     *string                              `json:"jobScheduleName,omitempty"`
	ScheduleName                        *string                              `json:"scheduleName,omitempty"`
}

func (A2AProtectionContainerMappingDetails) MarshalJSON

func (s A2AProtectionContainerMappingDetails) MarshalJSON() ([]byte, error)

type A2AUpdateContainerMappingInput

type A2AUpdateContainerMappingInput struct {
	AgentAutoUpdateStatus               *AgentAutoUpdateStatus               `json:"agentAutoUpdateStatus,omitempty"`
	AutomationAccountArmId              *string                              `json:"automationAccountArmId,omitempty"`
	AutomationAccountAuthenticationType *AutomationAccountAuthenticationType `json:"automationAccountAuthenticationType,omitempty"`
}

func (A2AUpdateContainerMappingInput) MarshalJSON

func (s A2AUpdateContainerMappingInput) MarshalJSON() ([]byte, error)

type AgentAutoUpdateStatus

type AgentAutoUpdateStatus string
const (
	AgentAutoUpdateStatusDisabled AgentAutoUpdateStatus = "Disabled"
	AgentAutoUpdateStatusEnabled  AgentAutoUpdateStatus = "Enabled"
)

type AutomationAccountAuthenticationType

type AutomationAccountAuthenticationType string
const (
	AutomationAccountAuthenticationTypeRunAsAccount           AutomationAccountAuthenticationType = "RunAsAccount"
	AutomationAccountAuthenticationTypeSystemAssignedIdentity AutomationAccountAuthenticationType = "SystemAssignedIdentity"
)

type CreateOperationResponse

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

type CreateProtectionContainerMappingInput

type CreateProtectionContainerMappingInput struct {
	Properties *CreateProtectionContainerMappingInputProperties `json:"properties,omitempty"`
}

type CreateProtectionContainerMappingInputProperties

type CreateProtectionContainerMappingInputProperties struct {
	PolicyId                    *string                                          `json:"policyId,omitempty"`
	ProviderSpecificInput       ReplicationProviderSpecificContainerMappingInput `json:"providerSpecificInput"`
	TargetProtectionContainerId *string                                          `json:"targetProtectionContainerId,omitempty"`
}

func (*CreateProtectionContainerMappingInputProperties) UnmarshalJSON

type DeleteOperationResponse

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

type GetOperationResponse

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

type HealthError

type HealthError struct {
	CreationTimeUtc              *string                           `json:"creationTimeUtc,omitempty"`
	CustomerResolvability        *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"`
	EntityId                     *string                           `json:"entityId,omitempty"`
	ErrorCategory                *string                           `json:"errorCategory,omitempty"`
	ErrorCode                    *string                           `json:"errorCode,omitempty"`
	ErrorId                      *string                           `json:"errorId,omitempty"`
	ErrorLevel                   *string                           `json:"errorLevel,omitempty"`
	ErrorMessage                 *string                           `json:"errorMessage,omitempty"`
	ErrorSource                  *string                           `json:"errorSource,omitempty"`
	ErrorType                    *string                           `json:"errorType,omitempty"`
	InnerHealthErrors            *[]InnerHealthError               `json:"innerHealthErrors,omitempty"`
	PossibleCauses               *string                           `json:"possibleCauses,omitempty"`
	RecommendedAction            *string                           `json:"recommendedAction,omitempty"`
	RecoveryProviderErrorMessage *string                           `json:"recoveryProviderErrorMessage,omitempty"`
	SummaryMessage               *string                           `json:"summaryMessage,omitempty"`
}

func (*HealthError) GetCreationTimeUtcAsTime

func (o *HealthError) GetCreationTimeUtcAsTime() (*time.Time, error)

func (*HealthError) SetCreationTimeUtcAsTime

func (o *HealthError) SetCreationTimeUtcAsTime(input time.Time)

type HealthErrorCustomerResolvability

type HealthErrorCustomerResolvability string
const (
	HealthErrorCustomerResolvabilityAllowed    HealthErrorCustomerResolvability = "Allowed"
	HealthErrorCustomerResolvabilityNotAllowed HealthErrorCustomerResolvability = "NotAllowed"
)

type InMageRcmProtectionContainerMappingDetails

type InMageRcmProtectionContainerMappingDetails struct {
	EnableAgentAutoUpgrade *string `json:"enableAgentAutoUpgrade,omitempty"`
}

func (InMageRcmProtectionContainerMappingDetails) MarshalJSON

type InMageRcmUpdateContainerMappingInput

type InMageRcmUpdateContainerMappingInput struct {
	EnableAgentAutoUpgrade string `json:"enableAgentAutoUpgrade"`
}

func (InMageRcmUpdateContainerMappingInput) MarshalJSON

func (s InMageRcmUpdateContainerMappingInput) MarshalJSON() ([]byte, error)

type InnerHealthError

type InnerHealthError struct {
	CreationTimeUtc              *string                           `json:"creationTimeUtc,omitempty"`
	CustomerResolvability        *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"`
	EntityId                     *string                           `json:"entityId,omitempty"`
	ErrorCategory                *string                           `json:"errorCategory,omitempty"`
	ErrorCode                    *string                           `json:"errorCode,omitempty"`
	ErrorId                      *string                           `json:"errorId,omitempty"`
	ErrorLevel                   *string                           `json:"errorLevel,omitempty"`
	ErrorMessage                 *string                           `json:"errorMessage,omitempty"`
	ErrorSource                  *string                           `json:"errorSource,omitempty"`
	ErrorType                    *string                           `json:"errorType,omitempty"`
	PossibleCauses               *string                           `json:"possibleCauses,omitempty"`
	RecommendedAction            *string                           `json:"recommendedAction,omitempty"`
	RecoveryProviderErrorMessage *string                           `json:"recoveryProviderErrorMessage,omitempty"`
	SummaryMessage               *string                           `json:"summaryMessage,omitempty"`
}

func (*InnerHealthError) GetCreationTimeUtcAsTime

func (o *InnerHealthError) GetCreationTimeUtcAsTime() (*time.Time, error)

func (*InnerHealthError) SetCreationTimeUtcAsTime

func (o *InnerHealthError) SetCreationTimeUtcAsTime(input time.Time)

type ListByReplicationProtectionContainersCompleteResult

type ListByReplicationProtectionContainersCompleteResult struct {
	Items []ProtectionContainerMapping
}

type ListByReplicationProtectionContainersOperationResponse

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

func (ListByReplicationProtectionContainersOperationResponse) HasMore

func (ListByReplicationProtectionContainersOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []ProtectionContainerMapping
}

type ListOperationResponse

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

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type ProtectionContainerMapping

type ProtectionContainerMapping struct {
	Id         *string                               `json:"id,omitempty"`
	Location   *string                               `json:"location,omitempty"`
	Name       *string                               `json:"name,omitempty"`
	Properties *ProtectionContainerMappingProperties `json:"properties,omitempty"`
	Type       *string                               `json:"type,omitempty"`
}

type ProtectionContainerMappingOperationPredicate

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

func (ProtectionContainerMappingOperationPredicate) Matches

type ProtectionContainerMappingProperties

type ProtectionContainerMappingProperties struct {
	Health                                *string                                           `json:"health,omitempty"`
	HealthErrorDetails                    *[]HealthError                                    `json:"healthErrorDetails,omitempty"`
	PolicyFriendlyName                    *string                                           `json:"policyFriendlyName,omitempty"`
	PolicyId                              *string                                           `json:"policyId,omitempty"`
	ProviderSpecificDetails               ProtectionContainerMappingProviderSpecificDetails `json:"providerSpecificDetails"`
	SourceFabricFriendlyName              *string                                           `json:"sourceFabricFriendlyName,omitempty"`
	SourceProtectionContainerFriendlyName *string                                           `json:"sourceProtectionContainerFriendlyName,omitempty"`
	State                                 *string                                           `json:"state,omitempty"`
	TargetFabricFriendlyName              *string                                           `json:"targetFabricFriendlyName,omitempty"`
	TargetProtectionContainerFriendlyName *string                                           `json:"targetProtectionContainerFriendlyName,omitempty"`
	TargetProtectionContainerId           *string                                           `json:"targetProtectionContainerId,omitempty"`
}

func (*ProtectionContainerMappingProperties) UnmarshalJSON

func (s *ProtectionContainerMappingProperties) UnmarshalJSON(bytes []byte) error

type ProtectionContainerMappingProviderSpecificDetails

type ProtectionContainerMappingProviderSpecificDetails interface {
}

type PurgeOperationResponse

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

type RemoveProtectionContainerMappingInput

type RemoveProtectionContainerMappingInput struct {
	Properties *RemoveProtectionContainerMappingInputProperties `json:"properties,omitempty"`
}

type RemoveProtectionContainerMappingInputProperties

type RemoveProtectionContainerMappingInputProperties struct {
	ProviderSpecificInput *ReplicationProviderContainerUnmappingInput `json:"providerSpecificInput,omitempty"`
}

type ReplicationProtectionContainerId

type ReplicationProtectionContainerId struct {
	SubscriptionId                     string
	ResourceGroupName                  string
	VaultName                          string
	ReplicationFabricName              string
	ReplicationProtectionContainerName string
}

ReplicationProtectionContainerId is a struct representing the Resource ID for a Replication Protection Container

func NewReplicationProtectionContainerID

func NewReplicationProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string) ReplicationProtectionContainerId

NewReplicationProtectionContainerID returns a new ReplicationProtectionContainerId struct

func ParseReplicationProtectionContainerID

func ParseReplicationProtectionContainerID(input string) (*ReplicationProtectionContainerId, error)

ParseReplicationProtectionContainerID parses 'input' into a ReplicationProtectionContainerId

func ParseReplicationProtectionContainerIDInsensitively

func ParseReplicationProtectionContainerIDInsensitively(input string) (*ReplicationProtectionContainerId, error)

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

func (ReplicationProtectionContainerId) ID

ID returns the formatted Replication Protection Container ID

func (ReplicationProtectionContainerId) Segments

Segments returns a slice of Resource ID Segments which comprise this Replication Protection Container ID

func (ReplicationProtectionContainerId) String

String returns a human-readable description of this Replication Protection Container ID

type ReplicationProtectionContainerMappingId

type ReplicationProtectionContainerMappingId struct {
	SubscriptionId                            string
	ResourceGroupName                         string
	VaultName                                 string
	ReplicationFabricName                     string
	ReplicationProtectionContainerName        string
	ReplicationProtectionContainerMappingName string
}

ReplicationProtectionContainerMappingId is a struct representing the Resource ID for a Replication Protection Container Mapping

func NewReplicationProtectionContainerMappingID

func NewReplicationProtectionContainerMappingID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationProtectionContainerMappingName string) ReplicationProtectionContainerMappingId

NewReplicationProtectionContainerMappingID returns a new ReplicationProtectionContainerMappingId struct

func ParseReplicationProtectionContainerMappingID

func ParseReplicationProtectionContainerMappingID(input string) (*ReplicationProtectionContainerMappingId, error)

ParseReplicationProtectionContainerMappingID parses 'input' into a ReplicationProtectionContainerMappingId

func ParseReplicationProtectionContainerMappingIDInsensitively

func ParseReplicationProtectionContainerMappingIDInsensitively(input string) (*ReplicationProtectionContainerMappingId, error)

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

func (ReplicationProtectionContainerMappingId) ID

ID returns the formatted Replication Protection Container Mapping ID

func (ReplicationProtectionContainerMappingId) Segments

Segments returns a slice of Resource ID Segments which comprise this Replication Protection Container Mapping ID

func (ReplicationProtectionContainerMappingId) String

String returns a human-readable description of this Replication Protection Container Mapping ID

type ReplicationProtectionContainerMappingsClient

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

func NewReplicationProtectionContainerMappingsClientWithBaseURI

func NewReplicationProtectionContainerMappingsClientWithBaseURI(endpoint string) ReplicationProtectionContainerMappingsClient

func (ReplicationProtectionContainerMappingsClient) Create

Create ...

func (ReplicationProtectionContainerMappingsClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (ReplicationProtectionContainerMappingsClient) Delete

Delete ...

func (ReplicationProtectionContainerMappingsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ReplicationProtectionContainerMappingsClient) Get

Get ...

func (ReplicationProtectionContainerMappingsClient) List

List ...

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainers

ListByReplicationProtectionContainers ...

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersComplete

ListByReplicationProtectionContainersComplete retrieves all of the results into a single object

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersCompleteMatchingPredicate

ListByReplicationProtectionContainersCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ReplicationProtectionContainerMappingsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (ReplicationProtectionContainerMappingsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ReplicationProtectionContainerMappingsClient) Purge

Purge ...

func (ReplicationProtectionContainerMappingsClient) PurgeThenPoll

PurgeThenPoll performs Purge then polls until it's completed

func (ReplicationProtectionContainerMappingsClient) Update

Update ...

func (ReplicationProtectionContainerMappingsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type ReplicationProviderContainerUnmappingInput

type ReplicationProviderContainerUnmappingInput struct {
	InstanceType *string `json:"instanceType,omitempty"`
}

type ReplicationProviderSpecificContainerMappingInput

type ReplicationProviderSpecificContainerMappingInput interface {
}

type ReplicationProviderSpecificUpdateContainerMappingInput

type ReplicationProviderSpecificUpdateContainerMappingInput interface {
}

type UpdateOperationResponse

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

type UpdateProtectionContainerMappingInput

type UpdateProtectionContainerMappingInput struct {
	Properties *UpdateProtectionContainerMappingInputProperties `json:"properties,omitempty"`
}

type UpdateProtectionContainerMappingInputProperties

type UpdateProtectionContainerMappingInputProperties struct {
	ProviderSpecificInput ReplicationProviderSpecificUpdateContainerMappingInput `json:"providerSpecificInput"`
}

func (*UpdateProtectionContainerMappingInputProperties) UnmarshalJSON

type VMwareCbtContainerMappingInput

type VMwareCbtContainerMappingInput struct {
	KeyVaultId                           *string `json:"keyVaultId,omitempty"`
	KeyVaultUri                          *string `json:"keyVaultUri,omitempty"`
	ServiceBusConnectionStringSecretName *string `json:"serviceBusConnectionStringSecretName,omitempty"`
	StorageAccountId                     string  `json:"storageAccountId"`
	StorageAccountSasSecretName          *string `json:"storageAccountSasSecretName,omitempty"`
	TargetLocation                       string  `json:"targetLocation"`
}

func (VMwareCbtContainerMappingInput) MarshalJSON

func (s VMwareCbtContainerMappingInput) MarshalJSON() ([]byte, error)

type VMwareCbtProtectionContainerMappingDetails

type VMwareCbtProtectionContainerMappingDetails struct {
	ExcludedSkus                         *[]string         `json:"excludedSkus,omitempty"`
	KeyVaultId                           *string           `json:"keyVaultId,omitempty"`
	KeyVaultUri                          *string           `json:"keyVaultUri,omitempty"`
	RoleSizeToNicCountMap                *map[string]int64 `json:"roleSizeToNicCountMap,omitempty"`
	ServiceBusConnectionStringSecretName *string           `json:"serviceBusConnectionStringSecretName,omitempty"`
	StorageAccountId                     *string           `json:"storageAccountId,omitempty"`
	StorageAccountSasSecretName          *string           `json:"storageAccountSasSecretName,omitempty"`
	TargetLocation                       *string           `json:"targetLocation,omitempty"`
}

func (VMwareCbtProtectionContainerMappingDetails) MarshalJSON

type VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId

NewVaultID returns a new VaultId struct

func ParseVaultID

func ParseVaultID(input string) (*VaultId, error)

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

func ParseVaultIDInsensitively(input string) (*VaultId, error)

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

func (VaultId) ID

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Vault ID

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

Jump to

Keyboard shortcuts

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