replicationmigrationitems

package
v0.20230614.1151152 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := replicationmigrationitems.NewReplicationMigrationItemsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationMigrationItemsClient.Create

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

payload := replicationmigrationitems.EnableMigrationInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.Delete

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

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

Example Usage: ReplicationMigrationItemsClient.Get

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

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

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

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

Example Usage: ReplicationMigrationItemsClient.ListByReplicationProtectionContainers

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

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

Example Usage: ReplicationMigrationItemsClient.Migrate

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

payload := replicationmigrationitems.MigrateInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.PauseReplication

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

payload := replicationmigrationitems.PauseReplicationInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.ResumeReplication

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

payload := replicationmigrationitems.ResumeReplicationInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.Resync

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

payload := replicationmigrationitems.ResyncInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.TestMigrate

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

payload := replicationmigrationitems.TestMigrateInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.TestMigrateCleanup

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

payload := replicationmigrationitems.TestMigrateCleanupInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.Update

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

payload := replicationmigrationitems.UpdateMigrationItemInput{
	// ...
}


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 PossibleValuesForDiskAccountType

func PossibleValuesForDiskAccountType() []string

func PossibleValuesForEthernetAddressType

func PossibleValuesForEthernetAddressType() []string

func PossibleValuesForHealthErrorCustomerResolvability

func PossibleValuesForHealthErrorCustomerResolvability() []string

func PossibleValuesForLicenseType

func PossibleValuesForLicenseType() []string

func PossibleValuesForMigrationItemOperation

func PossibleValuesForMigrationItemOperation() []string

func PossibleValuesForMigrationState

func PossibleValuesForMigrationState() []string

func PossibleValuesForProtectionHealth

func PossibleValuesForProtectionHealth() []string

func PossibleValuesForResyncState

func PossibleValuesForResyncState() []string

func PossibleValuesForSecurityType

func PossibleValuesForSecurityType() []string

func PossibleValuesForSqlServerLicenseType

func PossibleValuesForSqlServerLicenseType() []string

func PossibleValuesForTestMigrationState

func PossibleValuesForTestMigrationState() []string

func ValidateReplicationMigrationItemID

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

ValidateReplicationMigrationItemID checks that 'input' can be parsed as a Replication Migration Item ID

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 ValidateVaultID

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

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

Types

type CreateOperationResponse

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

type CriticalJobHistoryDetails

type CriticalJobHistoryDetails struct {
	JobId     *string `json:"jobId,omitempty"`
	JobName   *string `json:"jobName,omitempty"`
	JobStatus *string `json:"jobStatus,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
}

func (*CriticalJobHistoryDetails) GetStartTimeAsTime

func (o *CriticalJobHistoryDetails) GetStartTimeAsTime() (*time.Time, error)

func (*CriticalJobHistoryDetails) SetStartTimeAsTime

func (o *CriticalJobHistoryDetails) SetStartTimeAsTime(input time.Time)

type CurrentJobDetails

type CurrentJobDetails struct {
	JobId     *string `json:"jobId,omitempty"`
	JobName   *string `json:"jobName,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
}

func (*CurrentJobDetails) GetStartTimeAsTime

func (o *CurrentJobDetails) GetStartTimeAsTime() (*time.Time, error)

func (*CurrentJobDetails) SetStartTimeAsTime

func (o *CurrentJobDetails) SetStartTimeAsTime(input time.Time)

type DeleteOperationOptions

type DeleteOperationOptions struct {
	DeleteOption *string
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

type DeleteOperationResponse

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

type DiskAccountType

type DiskAccountType string
const (
	DiskAccountTypePremiumLRS     DiskAccountType = "Premium_LRS"
	DiskAccountTypeStandardLRS    DiskAccountType = "Standard_LRS"
	DiskAccountTypeStandardSSDLRS DiskAccountType = "StandardSSD_LRS"
)

type EnableMigrationInput

type EnableMigrationInput struct {
	Properties EnableMigrationInputProperties `json:"properties"`
}

type EnableMigrationInputProperties

type EnableMigrationInputProperties struct {
	PolicyId                string                               `json:"policyId"`
	ProviderSpecificDetails EnableMigrationProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*EnableMigrationInputProperties) UnmarshalJSON

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

type EnableMigrationProviderSpecificInput

type EnableMigrationProviderSpecificInput interface {
}

type EthernetAddressType

type EthernetAddressType string
const (
	EthernetAddressTypeDynamic EthernetAddressType = "Dynamic"
	EthernetAddressTypeStatic  EthernetAddressType = "Static"
)

type GetOperationResponse

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

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 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 LicenseType

type LicenseType string
const (
	LicenseTypeNoLicenseType LicenseType = "NoLicenseType"
	LicenseTypeNotSpecified  LicenseType = "NotSpecified"
	LicenseTypeWindowsServer LicenseType = "WindowsServer"
)

type ListByReplicationProtectionContainersCompleteResult

type ListByReplicationProtectionContainersCompleteResult struct {
	Items []MigrationItem
}

type ListByReplicationProtectionContainersOperationOptions

type ListByReplicationProtectionContainersOperationOptions struct {
	Filter    *string
	SkipToken *string
	TakeToken *string
}

func DefaultListByReplicationProtectionContainersOperationOptions

func DefaultListByReplicationProtectionContainersOperationOptions() ListByReplicationProtectionContainersOperationOptions

type ListByReplicationProtectionContainersOperationResponse

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

func (ListByReplicationProtectionContainersOperationResponse) HasMore

func (ListByReplicationProtectionContainersOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []MigrationItem
}

type ListOperationOptions

type ListOperationOptions struct {
	Filter    *string
	SkipToken *string
	TakeToken *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]MigrationItem
	// 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 MigrateInput

type MigrateInput struct {
	Properties MigrateInputProperties `json:"properties"`
}

type MigrateInputProperties

type MigrateInputProperties struct {
	ProviderSpecificDetails MigrateProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*MigrateInputProperties) UnmarshalJSON

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

type MigrateOperationResponse

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

type MigrateProviderSpecificInput

type MigrateProviderSpecificInput interface {
}

type MigrationItem

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

type MigrationItemOperation

type MigrationItemOperation string
const (
	MigrationItemOperationDisableMigration   MigrationItemOperation = "DisableMigration"
	MigrationItemOperationMigrate            MigrationItemOperation = "Migrate"
	MigrationItemOperationPauseReplication   MigrationItemOperation = "PauseReplication"
	MigrationItemOperationResumeReplication  MigrationItemOperation = "ResumeReplication"
	MigrationItemOperationStartResync        MigrationItemOperation = "StartResync"
	MigrationItemOperationTestMigrate        MigrationItemOperation = "TestMigrate"
	MigrationItemOperationTestMigrateCleanup MigrationItemOperation = "TestMigrateCleanup"
)

type MigrationItemOperationPredicate

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

func (MigrationItemOperationPredicate) Matches

type MigrationItemProperties

type MigrationItemProperties struct {
	AllowedOperations           *[]MigrationItemOperation         `json:"allowedOperations,omitempty"`
	CriticalJobHistory          *[]CriticalJobHistoryDetails      `json:"criticalJobHistory,omitempty"`
	CurrentJob                  *CurrentJobDetails                `json:"currentJob,omitempty"`
	EventCorrelationId          *string                           `json:"eventCorrelationId,omitempty"`
	Health                      *ProtectionHealth                 `json:"health,omitempty"`
	HealthErrors                *[]HealthError                    `json:"healthErrors,omitempty"`
	LastMigrationStatus         *string                           `json:"lastMigrationStatus,omitempty"`
	LastMigrationTime           *string                           `json:"lastMigrationTime,omitempty"`
	LastTestMigrationStatus     *string                           `json:"lastTestMigrationStatus,omitempty"`
	LastTestMigrationTime       *string                           `json:"lastTestMigrationTime,omitempty"`
	MachineName                 *string                           `json:"machineName,omitempty"`
	MigrationState              *MigrationState                   `json:"migrationState,omitempty"`
	MigrationStateDescription   *string                           `json:"migrationStateDescription,omitempty"`
	PolicyFriendlyName          *string                           `json:"policyFriendlyName,omitempty"`
	PolicyId                    *string                           `json:"policyId,omitempty"`
	ProviderSpecificDetails     MigrationProviderSpecificSettings `json:"providerSpecificDetails"`
	RecoveryServicesProviderId  *string                           `json:"recoveryServicesProviderId,omitempty"`
	ReplicationStatus           *string                           `json:"replicationStatus,omitempty"`
	TestMigrateState            *TestMigrationState               `json:"testMigrateState,omitempty"`
	TestMigrateStateDescription *string                           `json:"testMigrateStateDescription,omitempty"`
}

func (*MigrationItemProperties) GetLastMigrationTimeAsTime

func (o *MigrationItemProperties) GetLastMigrationTimeAsTime() (*time.Time, error)

func (*MigrationItemProperties) GetLastTestMigrationTimeAsTime

func (o *MigrationItemProperties) GetLastTestMigrationTimeAsTime() (*time.Time, error)

func (*MigrationItemProperties) SetLastMigrationTimeAsTime

func (o *MigrationItemProperties) SetLastMigrationTimeAsTime(input time.Time)

func (*MigrationItemProperties) SetLastTestMigrationTimeAsTime

func (o *MigrationItemProperties) SetLastTestMigrationTimeAsTime(input time.Time)

func (*MigrationItemProperties) UnmarshalJSON

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

type MigrationProviderSpecificSettings

type MigrationProviderSpecificSettings interface {
}

type MigrationState

type MigrationState string
const (
	MigrationStateDisableMigrationFailed            MigrationState = "DisableMigrationFailed"
	MigrationStateDisableMigrationInProgress        MigrationState = "DisableMigrationInProgress"
	MigrationStateEnableMigrationFailed             MigrationState = "EnableMigrationFailed"
	MigrationStateEnableMigrationInProgress         MigrationState = "EnableMigrationInProgress"
	MigrationStateInitialSeedingFailed              MigrationState = "InitialSeedingFailed"
	MigrationStateInitialSeedingInProgress          MigrationState = "InitialSeedingInProgress"
	MigrationStateMigrationCompletedWithInformation MigrationState = "MigrationCompletedWithInformation"
	MigrationStateMigrationFailed                   MigrationState = "MigrationFailed"
	MigrationStateMigrationInProgress               MigrationState = "MigrationInProgress"
	MigrationStateMigrationPartiallySucceeded       MigrationState = "MigrationPartiallySucceeded"
	MigrationStateMigrationSucceeded                MigrationState = "MigrationSucceeded"
	MigrationStateNone                              MigrationState = "None"
	MigrationStateProtectionSuspended               MigrationState = "ProtectionSuspended"
	MigrationStateReplicating                       MigrationState = "Replicating"
	MigrationStateResumeInProgress                  MigrationState = "ResumeInProgress"
	MigrationStateResumeInitiated                   MigrationState = "ResumeInitiated"
	MigrationStateSuspendingProtection              MigrationState = "SuspendingProtection"
)

type PauseReplicationInput

type PauseReplicationInput struct {
	Properties PauseReplicationInputProperties `json:"properties"`
}

type PauseReplicationInputProperties

type PauseReplicationInputProperties struct {
	InstanceType string `json:"instanceType"`
}

type PauseReplicationOperationResponse

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

type ProtectionHealth

type ProtectionHealth string
const (
	ProtectionHealthCritical ProtectionHealth = "Critical"
	ProtectionHealthNone     ProtectionHealth = "None"
	ProtectionHealthNormal   ProtectionHealth = "Normal"
	ProtectionHealthWarning  ProtectionHealth = "Warning"
)

type ReplicationMigrationItemId

type ReplicationMigrationItemId struct {
	SubscriptionId                     string
	ResourceGroupName                  string
	VaultName                          string
	ReplicationFabricName              string
	ReplicationProtectionContainerName string
	ReplicationMigrationItemName       string
}

ReplicationMigrationItemId is a struct representing the Resource ID for a Replication Migration Item

func NewReplicationMigrationItemID

func NewReplicationMigrationItemID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationMigrationItemName string) ReplicationMigrationItemId

NewReplicationMigrationItemID returns a new ReplicationMigrationItemId struct

func ParseReplicationMigrationItemID

func ParseReplicationMigrationItemID(input string) (*ReplicationMigrationItemId, error)

ParseReplicationMigrationItemID parses 'input' into a ReplicationMigrationItemId

func ParseReplicationMigrationItemIDInsensitively

func ParseReplicationMigrationItemIDInsensitively(input string) (*ReplicationMigrationItemId, error)

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

func (ReplicationMigrationItemId) ID

ID returns the formatted Replication Migration Item ID

func (ReplicationMigrationItemId) Segments

Segments returns a slice of Resource ID Segments which comprise this Replication Migration Item ID

func (ReplicationMigrationItemId) String

func (id ReplicationMigrationItemId) String() string

String returns a human-readable description of this Replication Migration Item ID

type ReplicationMigrationItemsClient

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

func NewReplicationMigrationItemsClientWithBaseURI

func NewReplicationMigrationItemsClientWithBaseURI(endpoint string) ReplicationMigrationItemsClient

func (ReplicationMigrationItemsClient) Create

Create ...

func (ReplicationMigrationItemsClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (ReplicationMigrationItemsClient) Delete

Delete ...

func (ReplicationMigrationItemsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ReplicationMigrationItemsClient) Get

Get ...

func (ReplicationMigrationItemsClient) List

List ...

func (ReplicationMigrationItemsClient) ListByReplicationProtectionContainers

ListByReplicationProtectionContainers ...

func (ReplicationMigrationItemsClient) ListByReplicationProtectionContainersComplete

ListByReplicationProtectionContainersComplete retrieves all of the results into a single object

func (ReplicationMigrationItemsClient) ListByReplicationProtectionContainersCompleteMatchingPredicate

ListByReplicationProtectionContainersCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ReplicationMigrationItemsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (ReplicationMigrationItemsClient) ListCompleteMatchingPredicate

func (c ReplicationMigrationItemsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate MigrationItemOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ReplicationMigrationItemsClient) Migrate

Migrate ...

func (ReplicationMigrationItemsClient) MigrateThenPoll

MigrateThenPoll performs Migrate then polls until it's completed

func (ReplicationMigrationItemsClient) PauseReplication

PauseReplication ...

func (ReplicationMigrationItemsClient) PauseReplicationThenPoll

PauseReplicationThenPoll performs PauseReplication then polls until it's completed

func (ReplicationMigrationItemsClient) ResumeReplication

ResumeReplication ...

func (ReplicationMigrationItemsClient) ResumeReplicationThenPoll

ResumeReplicationThenPoll performs ResumeReplication then polls until it's completed

func (ReplicationMigrationItemsClient) Resync

Resync ...

func (ReplicationMigrationItemsClient) ResyncThenPoll

ResyncThenPoll performs Resync then polls until it's completed

func (ReplicationMigrationItemsClient) TestMigrate

TestMigrate ...

func (ReplicationMigrationItemsClient) TestMigrateCleanup

TestMigrateCleanup ...

func (ReplicationMigrationItemsClient) TestMigrateCleanupThenPoll

TestMigrateCleanupThenPoll performs TestMigrateCleanup then polls until it's completed

func (ReplicationMigrationItemsClient) TestMigrateThenPoll

TestMigrateThenPoll performs TestMigrate then polls until it's completed

func (ReplicationMigrationItemsClient) Update

Update ...

func (ReplicationMigrationItemsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

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 ResumeReplicationInput

type ResumeReplicationInput struct {
	Properties ResumeReplicationInputProperties `json:"properties"`
}

type ResumeReplicationInputProperties

type ResumeReplicationInputProperties struct {
	ProviderSpecificDetails ResumeReplicationProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*ResumeReplicationInputProperties) UnmarshalJSON

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

type ResumeReplicationOperationResponse

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

type ResumeReplicationProviderSpecificInput

type ResumeReplicationProviderSpecificInput interface {
}

type ResyncInput

type ResyncInput struct {
	Properties ResyncInputProperties `json:"properties"`
}

type ResyncInputProperties

type ResyncInputProperties struct {
	ProviderSpecificDetails ResyncProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*ResyncInputProperties) UnmarshalJSON

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

type ResyncOperationResponse

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

type ResyncProviderSpecificInput

type ResyncProviderSpecificInput interface {
}

type ResyncState

type ResyncState string
const (
	ResyncStateNone                         ResyncState = "None"
	ResyncStatePreparedForResynchronization ResyncState = "PreparedForResynchronization"
	ResyncStateStartedResynchronization     ResyncState = "StartedResynchronization"
)

type SecurityType

type SecurityType string
const (
	SecurityTypeConfidentialVM SecurityType = "ConfidentialVM"
	SecurityTypeNone           SecurityType = "None"
	SecurityTypeTrustedLaunch  SecurityType = "TrustedLaunch"
)

type SqlServerLicenseType

type SqlServerLicenseType string
const (
	SqlServerLicenseTypeAHUB          SqlServerLicenseType = "AHUB"
	SqlServerLicenseTypeNoLicenseType SqlServerLicenseType = "NoLicenseType"
	SqlServerLicenseTypeNotSpecified  SqlServerLicenseType = "NotSpecified"
	SqlServerLicenseTypePAYG          SqlServerLicenseType = "PAYG"
)

type TestMigrateCleanupInput

type TestMigrateCleanupInput struct {
	Properties TestMigrateCleanupInputProperties `json:"properties"`
}

type TestMigrateCleanupInputProperties

type TestMigrateCleanupInputProperties struct {
	Comments *string `json:"comments,omitempty"`
}

type TestMigrateCleanupOperationResponse

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

type TestMigrateInput

type TestMigrateInput struct {
	Properties TestMigrateInputProperties `json:"properties"`
}

type TestMigrateInputProperties

type TestMigrateInputProperties struct {
	ProviderSpecificDetails TestMigrateProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*TestMigrateInputProperties) UnmarshalJSON

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

type TestMigrateOperationResponse

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

type TestMigrateProviderSpecificInput

type TestMigrateProviderSpecificInput interface {
}

type TestMigrationState

type TestMigrationState string
const (
	TestMigrationStateNone                                  TestMigrationState = "None"
	TestMigrationStateTestMigrationCleanupInProgress        TestMigrationState = "TestMigrationCleanupInProgress"
	TestMigrationStateTestMigrationCompletedWithInformation TestMigrationState = "TestMigrationCompletedWithInformation"
	TestMigrationStateTestMigrationFailed                   TestMigrationState = "TestMigrationFailed"
	TestMigrationStateTestMigrationInProgress               TestMigrationState = "TestMigrationInProgress"
	TestMigrationStateTestMigrationPartiallySucceeded       TestMigrationState = "TestMigrationPartiallySucceeded"
	TestMigrationStateTestMigrationSucceeded                TestMigrationState = "TestMigrationSucceeded"
)

type UpdateMigrationItemInput

type UpdateMigrationItemInput struct {
	Properties *UpdateMigrationItemInputProperties `json:"properties,omitempty"`
}

type UpdateMigrationItemInputProperties

type UpdateMigrationItemInputProperties struct {
	ProviderSpecificDetails UpdateMigrationItemProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*UpdateMigrationItemInputProperties) UnmarshalJSON

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

type UpdateMigrationItemProviderSpecificInput

type UpdateMigrationItemProviderSpecificInput interface {
}

type UpdateOperationResponse

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

type VMwareCbtDiskInput

type VMwareCbtDiskInput struct {
	DiskEncryptionSetId            *string          `json:"diskEncryptionSetId,omitempty"`
	DiskId                         string           `json:"diskId"`
	DiskType                       *DiskAccountType `json:"diskType,omitempty"`
	IsOSDisk                       string           `json:"isOSDisk"`
	LogStorageAccountId            string           `json:"logStorageAccountId"`
	LogStorageAccountSasSecretName string           `json:"logStorageAccountSasSecretName"`
}

type VMwareCbtEnableMigrationInput

type VMwareCbtEnableMigrationInput struct {
	ConfidentialVMKeyVaultId              *string                             `json:"confidentialVmKeyVaultId,omitempty"`
	DataMoverRunAsAccountId               string                              `json:"dataMoverRunAsAccountId"`
	DisksToInclude                        []VMwareCbtDiskInput                `json:"disksToInclude"`
	LicenseType                           *LicenseType                        `json:"licenseType,omitempty"`
	PerformAutoResync                     *string                             `json:"performAutoResync,omitempty"`
	PerformSqlBulkRegistration            *string                             `json:"performSqlBulkRegistration,omitempty"`
	SeedDiskTags                          *map[string]string                  `json:"seedDiskTags,omitempty"`
	SnapshotRunAsAccountId                string                              `json:"snapshotRunAsAccountId"`
	SqlServerLicenseType                  *SqlServerLicenseType               `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId               *string                             `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                             `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                             `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetDiskTags                        *map[string]string                  `json:"targetDiskTags,omitempty"`
	TargetNetworkId                       string                              `json:"targetNetworkId"`
	TargetNicTags                         *map[string]string                  `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                             `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 string                              `json:"targetResourceGroupId"`
	TargetSubnetName                      *string                             `json:"targetSubnetName,omitempty"`
	TargetVMName                          *string                             `json:"targetVmName,omitempty"`
	TargetVMSecurityProfile               *VMwareCbtSecurityProfileProperties `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                          *string                             `json:"targetVmSize,omitempty"`
	TargetVMTags                          *map[string]string                  `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                             `json:"testNetworkId,omitempty"`
	TestSubnetName                        *string                             `json:"testSubnetName,omitempty"`
	VMwareMachineId                       string                              `json:"vmwareMachineId"`
}

func (VMwareCbtEnableMigrationInput) MarshalJSON

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

type VMwareCbtMigrateInput

type VMwareCbtMigrateInput struct {
	OsUpgradeVersion *string `json:"osUpgradeVersion,omitempty"`
	PerformShutdown  string  `json:"performShutdown"`
}

func (VMwareCbtMigrateInput) MarshalJSON

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

type VMwareCbtMigrationDetails

type VMwareCbtMigrationDetails struct {
	ConfidentialVMKeyVaultId              *string                             `json:"confidentialVmKeyVaultId,omitempty"`
	DataMoverRunAsAccountId               *string                             `json:"dataMoverRunAsAccountId,omitempty"`
	FirmwareType                          *string                             `json:"firmwareType,omitempty"`
	InitialSeedingProgressPercentage      *int64                              `json:"initialSeedingProgressPercentage,omitempty"`
	InitialSeedingRetryCount              *int64                              `json:"initialSeedingRetryCount,omitempty"`
	LastRecoveryPointId                   *string                             `json:"lastRecoveryPointId,omitempty"`
	LastRecoveryPointReceived             *string                             `json:"lastRecoveryPointReceived,omitempty"`
	LicenseType                           *string                             `json:"licenseType,omitempty"`
	MigrationProgressPercentage           *int64                              `json:"migrationProgressPercentage,omitempty"`
	MigrationRecoveryPointId              *string                             `json:"migrationRecoveryPointId,omitempty"`
	OsName                                *string                             `json:"osName,omitempty"`
	OsType                                *string                             `json:"osType,omitempty"`
	PerformAutoResync                     *string                             `json:"performAutoResync,omitempty"`
	ProtectedDisks                        *[]VMwareCbtProtectedDiskDetails    `json:"protectedDisks,omitempty"`
	ResumeProgressPercentage              *int64                              `json:"resumeProgressPercentage,omitempty"`
	ResumeRetryCount                      *int64                              `json:"resumeRetryCount,omitempty"`
	ResyncProgressPercentage              *int64                              `json:"resyncProgressPercentage,omitempty"`
	ResyncRequired                        *string                             `json:"resyncRequired,omitempty"`
	ResyncRetryCount                      *int64                              `json:"resyncRetryCount,omitempty"`
	ResyncState                           *ResyncState                        `json:"resyncState,omitempty"`
	SeedDiskTags                          *map[string]string                  `json:"seedDiskTags,omitempty"`
	SnapshotRunAsAccountId                *string                             `json:"snapshotRunAsAccountId,omitempty"`
	SqlServerLicenseType                  *string                             `json:"sqlServerLicenseType,omitempty"`
	StorageAccountId                      *string                             `json:"storageAccountId,omitempty"`
	SupportedOSVersions                   *[]string                           `json:"supportedOSVersions,omitempty"`
	TargetAvailabilitySetId               *string                             `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                             `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                             `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetDiskTags                        *map[string]string                  `json:"targetDiskTags,omitempty"`
	TargetGeneration                      *string                             `json:"targetGeneration,omitempty"`
	TargetLocation                        *string                             `json:"targetLocation,omitempty"`
	TargetNetworkId                       *string                             `json:"targetNetworkId,omitempty"`
	TargetNicTags                         *map[string]string                  `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                             `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 *string                             `json:"targetResourceGroupId,omitempty"`
	TargetVMName                          *string                             `json:"targetVmName,omitempty"`
	TargetVMSecurityProfile               *VMwareCbtSecurityProfileProperties `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                          *string                             `json:"targetVmSize,omitempty"`
	TargetVMTags                          *map[string]string                  `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                             `json:"testNetworkId,omitempty"`
	VMNics                                *[]VMwareCbtNicDetails              `json:"vmNics,omitempty"`
	VMwareMachineId                       *string                             `json:"vmwareMachineId,omitempty"`
}

func (VMwareCbtMigrationDetails) MarshalJSON

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

type VMwareCbtNicDetails

type VMwareCbtNicDetails struct {
	IsPrimaryNic           *string              `json:"isPrimaryNic,omitempty"`
	IsSelectedForMigration *string              `json:"isSelectedForMigration,omitempty"`
	NicId                  *string              `json:"nicId,omitempty"`
	SourceIPAddress        *string              `json:"sourceIPAddress,omitempty"`
	SourceIPAddressType    *EthernetAddressType `json:"sourceIPAddressType,omitempty"`
	SourceNetworkId        *string              `json:"sourceNetworkId,omitempty"`
	TargetIPAddress        *string              `json:"targetIPAddress,omitempty"`
	TargetIPAddressType    *EthernetAddressType `json:"targetIPAddressType,omitempty"`
	TargetNicName          *string              `json:"targetNicName,omitempty"`
	TargetSubnetName       *string              `json:"targetSubnetName,omitempty"`
	TestIPAddress          *string              `json:"testIPAddress,omitempty"`
	TestIPAddressType      *EthernetAddressType `json:"testIPAddressType,omitempty"`
	TestNetworkId          *string              `json:"testNetworkId,omitempty"`
	TestSubnetName         *string              `json:"testSubnetName,omitempty"`
}

type VMwareCbtNicInput

type VMwareCbtNicInput struct {
	IsPrimaryNic           string  `json:"isPrimaryNic"`
	IsSelectedForMigration *string `json:"isSelectedForMigration,omitempty"`
	NicId                  string  `json:"nicId"`
	TargetNicName          *string `json:"targetNicName,omitempty"`
	TargetStaticIPAddress  *string `json:"targetStaticIPAddress,omitempty"`
	TargetSubnetName       *string `json:"targetSubnetName,omitempty"`
	TestStaticIPAddress    *string `json:"testStaticIPAddress,omitempty"`
	TestSubnetName         *string `json:"testSubnetName,omitempty"`
}

type VMwareCbtProtectedDiskDetails

type VMwareCbtProtectedDiskDetails struct {
	CapacityInBytes                *int64           `json:"capacityInBytes,omitempty"`
	DiskEncryptionSetId            *string          `json:"diskEncryptionSetId,omitempty"`
	DiskId                         *string          `json:"diskId,omitempty"`
	DiskName                       *string          `json:"diskName,omitempty"`
	DiskPath                       *string          `json:"diskPath,omitempty"`
	DiskType                       *DiskAccountType `json:"diskType,omitempty"`
	IsOSDisk                       *string          `json:"isOSDisk,omitempty"`
	LogStorageAccountId            *string          `json:"logStorageAccountId,omitempty"`
	LogStorageAccountSasSecretName *string          `json:"logStorageAccountSasSecretName,omitempty"`
	SeedBlobUri                    *string          `json:"seedBlobUri,omitempty"`
	SeedManagedDiskId              *string          `json:"seedManagedDiskId,omitempty"`
	TargetBlobUri                  *string          `json:"targetBlobUri,omitempty"`
	TargetDiskName                 *string          `json:"targetDiskName,omitempty"`
	TargetManagedDiskId            *string          `json:"targetManagedDiskId,omitempty"`
}

type VMwareCbtResumeReplicationInput

type VMwareCbtResumeReplicationInput struct {
	DeleteMigrationResources *string `json:"deleteMigrationResources,omitempty"`
}

func (VMwareCbtResumeReplicationInput) MarshalJSON

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

type VMwareCbtResyncInput

type VMwareCbtResyncInput struct {
	SkipCbtReset string `json:"skipCbtReset"`
}

func (VMwareCbtResyncInput) MarshalJSON

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

type VMwareCbtSecurityProfileProperties

type VMwareCbtSecurityProfileProperties struct {
	IsTargetVMConfidentialEncryptionEnabled *string       `json:"isTargetVmConfidentialEncryptionEnabled,omitempty"`
	IsTargetVMIntegrityMonitoringEnabled    *string       `json:"isTargetVmIntegrityMonitoringEnabled,omitempty"`
	IsTargetVMSecureBootEnabled             *string       `json:"isTargetVmSecureBootEnabled,omitempty"`
	IsTargetVMTpmEnabled                    *string       `json:"isTargetVmTpmEnabled,omitempty"`
	TargetVMSecurityType                    *SecurityType `json:"targetVmSecurityType,omitempty"`
}

type VMwareCbtTestMigrateInput

type VMwareCbtTestMigrateInput struct {
	NetworkId        string               `json:"networkId"`
	OsUpgradeVersion *string              `json:"osUpgradeVersion,omitempty"`
	RecoveryPointId  string               `json:"recoveryPointId"`
	VMNics           *[]VMwareCbtNicInput `json:"vmNics,omitempty"`
}

func (VMwareCbtTestMigrateInput) MarshalJSON

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

type VMwareCbtUpdateDiskInput

type VMwareCbtUpdateDiskInput struct {
	DiskId         string  `json:"diskId"`
	IsOSDisk       *string `json:"isOSDisk,omitempty"`
	TargetDiskName *string `json:"targetDiskName,omitempty"`
}

type VMwareCbtUpdateMigrationItemInput

type VMwareCbtUpdateMigrationItemInput struct {
	LicenseType                           *LicenseType                `json:"licenseType,omitempty"`
	PerformAutoResync                     *string                     `json:"performAutoResync,omitempty"`
	SqlServerLicenseType                  *SqlServerLicenseType       `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId               *string                     `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                     `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                     `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetDiskTags                        *map[string]string          `json:"targetDiskTags,omitempty"`
	TargetNetworkId                       *string                     `json:"targetNetworkId,omitempty"`
	TargetNicTags                         *map[string]string          `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                     `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 *string                     `json:"targetResourceGroupId,omitempty"`
	TargetVMName                          *string                     `json:"targetVmName,omitempty"`
	TargetVMSize                          *string                     `json:"targetVmSize,omitempty"`
	TargetVMTags                          *map[string]string          `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                     `json:"testNetworkId,omitempty"`
	VMDisks                               *[]VMwareCbtUpdateDiskInput `json:"vmDisks,omitempty"`
	VMNics                                *[]VMwareCbtNicInput        `json:"vmNics,omitempty"`
}

func (VMwareCbtUpdateMigrationItemInput) MarshalJSON

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

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

Source Files

Jump to

Keyboard shortcuts

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