migrationconfigs

package
v0.20220623.1111642 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForMigrationConfigurationName

func PossibleValuesForMigrationConfigurationName() []string

func ValidateConfigID

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

ValidateConfigID checks that 'input' can be parsed as a Config ID

func ValidateNamespaceID

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

ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID

Types

type CompleteMigrationOperationResponse

type CompleteMigrationOperationResponse struct {
	HttpResponse *http.Response
}

type ConfigId

type ConfigId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
	ConfigName        MigrationConfigurationName
}

ConfigId is a struct representing the Resource ID for a Config

func NewConfigID

func NewConfigID(subscriptionId string, resourceGroupName string, namespaceName string, configName MigrationConfigurationName) ConfigId

NewConfigID returns a new ConfigId struct

func ParseConfigID

func ParseConfigID(input string) (*ConfigId, error)

ParseConfigID parses 'input' into a ConfigId

func ParseConfigIDInsensitively

func ParseConfigIDInsensitively(input string) (*ConfigId, error)

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

func (ConfigId) ID

func (id ConfigId) ID() string

ID returns the formatted Config ID

func (ConfigId) Segments

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

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

func (ConfigId) String

func (id ConfigId) String() string

String returns a human-readable description of this Config ID

type CreateAndStartMigrationOperationResponse

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

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationResponse

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

type ListCompleteResult

type ListCompleteResult struct {
	Items []MigrationConfigProperties
}

type ListOperationResponse

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

type MigrationConfigProperties struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *MigrationConfigPropertiesProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData               `json:"systemData,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type MigrationConfigPropertiesOperationPredicate

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

func (MigrationConfigPropertiesOperationPredicate) Matches

type MigrationConfigPropertiesProperties

type MigrationConfigPropertiesProperties struct {
	MigrationState                    *string `json:"migrationState,omitempty"`
	PendingReplicationOperationsCount *int64  `json:"pendingReplicationOperationsCount,omitempty"`
	PostMigrationName                 string  `json:"postMigrationName"`
	ProvisioningState                 *string `json:"provisioningState,omitempty"`
	TargetNamespace                   string  `json:"targetNamespace"`
}

type MigrationConfigsClient

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

func NewMigrationConfigsClientWithBaseURI

func NewMigrationConfigsClientWithBaseURI(endpoint string) MigrationConfigsClient

func (MigrationConfigsClient) CompleteMigration

func (c MigrationConfigsClient) CompleteMigration(ctx context.Context, id ConfigId) (result CompleteMigrationOperationResponse, err error)

CompleteMigration ...

func (MigrationConfigsClient) CreateAndStartMigration

CreateAndStartMigration ...

func (MigrationConfigsClient) CreateAndStartMigrationThenPoll

func (c MigrationConfigsClient) CreateAndStartMigrationThenPoll(ctx context.Context, id ConfigId, input MigrationConfigProperties) error

CreateAndStartMigrationThenPoll performs CreateAndStartMigration then polls until it's completed

func (MigrationConfigsClient) Delete

Delete ...

func (MigrationConfigsClient) Get

Get ...

func (MigrationConfigsClient) List

List ...

func (MigrationConfigsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (MigrationConfigsClient) ListCompleteMatchingPredicate

func (c MigrationConfigsClient) ListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate MigrationConfigPropertiesOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (MigrationConfigsClient) Revert

Revert ...

type MigrationConfigurationName

type MigrationConfigurationName string
const (
	MigrationConfigurationNameDefault MigrationConfigurationName = "$default"
)

type NamespaceId

type NamespaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
}

NamespaceId is a struct representing the Resource ID for a Namespace

func NewNamespaceID

func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId

NewNamespaceID returns a new NamespaceId struct

func ParseNamespaceID

func ParseNamespaceID(input string) (*NamespaceId, error)

ParseNamespaceID parses 'input' into a NamespaceId

func ParseNamespaceIDInsensitively

func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)

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

func (NamespaceId) ID

func (id NamespaceId) ID() string

ID returns the formatted Namespace ID

func (NamespaceId) Segments

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

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

func (NamespaceId) String

func (id NamespaceId) String() string

String returns a human-readable description of this Namespace ID

type RevertOperationResponse

type RevertOperationResponse struct {
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

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