Documentation
¶
Index ¶
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type CompleteMigrationOperationResponse
- type CreateAndStartMigrationOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type MigrationConfigProperties
- type MigrationConfigPropertiesOperationPredicate
- type MigrationConfigPropertiesProperties
- type MigrationConfigsClient
- func (c MigrationConfigsClient) CompleteMigration(ctx context.Context, id NamespaceId) (result CompleteMigrationOperationResponse, err error)
- func (c MigrationConfigsClient) CreateAndStartMigration(ctx context.Context, id NamespaceId, input MigrationConfigProperties) (result CreateAndStartMigrationOperationResponse, err error)
- func (c MigrationConfigsClient) CreateAndStartMigrationThenPoll(ctx context.Context, id NamespaceId, input MigrationConfigProperties) error
- func (c MigrationConfigsClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)
- func (c MigrationConfigsClient) Get(ctx context.Context, id NamespaceId) (result GetOperationResponse, err error)
- func (c MigrationConfigsClient) List(ctx context.Context, id NamespaceId) (resp ListOperationResponse, err error)
- func (c MigrationConfigsClient) ListComplete(ctx context.Context, id NamespaceId) (ListCompleteResult, error)
- func (c MigrationConfigsClient) ListCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (resp ListCompleteResult, err error)
- func (c MigrationConfigsClient) Revert(ctx context.Context, id NamespaceId) (result RevertOperationResponse, err error)
- type NamespaceId
- type RevertOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type CreateAndStartMigrationOperationResponse ¶
type CreateAndStartMigrationOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
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"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *MigrationConfigPropertiesProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MigrationConfigPropertiesOperationPredicate ¶
type MigrationConfigPropertiesOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (MigrationConfigPropertiesOperationPredicate) Matches ¶
func (p MigrationConfigPropertiesOperationPredicate) Matches(input MigrationConfigProperties) bool
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 NamespaceId) (result CompleteMigrationOperationResponse, err error)
CompleteMigration ...
func (MigrationConfigsClient) CreateAndStartMigration ¶
func (c MigrationConfigsClient) CreateAndStartMigration(ctx context.Context, id NamespaceId, input MigrationConfigProperties) (result CreateAndStartMigrationOperationResponse, err error)
CreateAndStartMigration ...
func (MigrationConfigsClient) CreateAndStartMigrationThenPoll ¶
func (c MigrationConfigsClient) CreateAndStartMigrationThenPoll(ctx context.Context, id NamespaceId, input MigrationConfigProperties) error
CreateAndStartMigrationThenPoll performs CreateAndStartMigration then polls until it's completed
func (MigrationConfigsClient) Delete ¶
func (c MigrationConfigsClient) Delete(ctx context.Context, id NamespaceId) (result DeleteOperationResponse, err error)
Delete ...
func (MigrationConfigsClient) Get ¶
func (c MigrationConfigsClient) Get(ctx context.Context, id NamespaceId) (result GetOperationResponse, err error)
Get ...
func (MigrationConfigsClient) List ¶
func (c MigrationConfigsClient) List(ctx context.Context, id NamespaceId) (resp ListOperationResponse, err error)
List ...
func (MigrationConfigsClient) ListComplete ¶
func (c MigrationConfigsClient) ListComplete(ctx context.Context, id NamespaceId) (ListCompleteResult, error)
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 ¶
func (c MigrationConfigsClient) Revert(ctx context.Context, id NamespaceId) (result RevertOperationResponse, err error)
Revert ...
type NamespaceId ¶
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) 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 ¶
Source Files
¶
- client.go
- id_namespace.go
- method_completemigration_autorest.go
- method_createandstartmigration_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_revert_autorest.go
- model_migrationconfigproperties.go
- model_migrationconfigpropertiesproperties.go
- predicates.go
- version.go