migrate

package
v46.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package migrate implements the Azure ARM Migrate service API version 2018-09-01-preview.

Migrate your workloads to Azure.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Migrate
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type ApplyClause

type ApplyClause struct {
	// Transformations - READ-ONLY
	Transformations *[]TransformationNode `json:"transformations,omitempty"`
}

ApplyClause ...

type AssessmentDetails

type AssessmentDetails struct {
	// AssessmentID - Gets or sets the id of the assessment done on the machine.
	AssessmentID *string `json:"assessmentId,omitempty"`
	// TargetVMSize - Gets or sets the target VM size.
	TargetVMSize *string `json:"targetVMSize,omitempty"`
	// TargetVMLocation - Gets or sets the target VM location.
	TargetVMLocation *string `json:"targetVMLocation,omitempty"`
	// TargetStorageType - Gets or sets the target storage type.
	TargetStorageType map[string]*string `json:"targetStorageType"`
	// EnqueueTime - Gets or sets the time the message was enqueued.
	EnqueueTime *string `json:"enqueueTime,omitempty"`
	// SolutionName - Gets or sets the name of the solution that sent the data.
	SolutionName *string `json:"solutionName,omitempty"`
	// MachineID - Gets or sets the unique identifier of the machine.
	MachineID *string `json:"machineId,omitempty"`
	// MachineManagerID - Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).
	MachineManagerID *string `json:"machineManagerId,omitempty"`
	// FabricType - Gets or sets the fabric type.
	FabricType *string `json:"fabricType,omitempty"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the machine details.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
	// MachineName - Gets or sets the name of the machine.
	MachineName *string `json:"machineName,omitempty"`
	// IPAddresses - Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
	// Fqdn - Gets or sets the FQDN of the machine.
	Fqdn *string `json:"fqdn,omitempty"`
	// BiosID - Gets or sets the BIOS ID of the machine.
	BiosID *string `json:"biosId,omitempty"`
	// MacAddresses - Gets or sets the list of MAC addresses of the machine.
	MacAddresses *[]string `json:"macAddresses,omitempty"`
	// ExtendedInfo - Gets or sets the ISV specific extended information.
	ExtendedInfo map[string]*string `json:"extendedInfo"`
}

AssessmentDetails assessment properties that can be shared by various publishers.

func (AssessmentDetails) MarshalJSON

func (ad AssessmentDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AssessmentDetails.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
	AcceptLanguage string
}

BaseClient is the base client for Migrate.

func New

func New(subscriptionID string, acceptLanguage string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicEventProperties

type BasicEventProperties interface {
	AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)
	AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)
	AsEventProperties() (*EventProperties, bool)
}

BasicEventProperties properties of the error resource.

type BasicProjectSummary

type BasicProjectSummary interface {
	AsServersProjectSummary() (*ServersProjectSummary, bool)
	AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)
	AsProjectSummary() (*ProjectSummary, bool)
}

BasicProjectSummary the project summary class.

type BasicSolutionSummary

type BasicSolutionSummary interface {
	AsServersSolutionSummary() (*ServersSolutionSummary, bool)
	AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)
	AsSolutionSummary() (*SolutionSummary, bool)
}

BasicSolutionSummary the solution summary class.

type CleanupState

type CleanupState string

CleanupState enumerates the values for cleanup state.

const (
	// Completed ...
	Completed CleanupState = "Completed"
	// Failed ...
	Failed CleanupState = "Failed"
	// InProgress ...
	InProgress CleanupState = "InProgress"
	// None ...
	None CleanupState = "None"
	// Started ...
	Started CleanupState = "Started"
)

func PossibleCleanupStateValues

func PossibleCleanupStateValues() []CleanupState

PossibleCleanupStateValues returns an array of possible values for the CleanupState const type.

type ContainerElementKind

type ContainerElementKind string

ContainerElementKind enumerates the values for container element kind.

const (
	// ContainerElementKindActionImport ...
	ContainerElementKindActionImport ContainerElementKind = "ActionImport"
	// ContainerElementKindEntitySet ...
	ContainerElementKindEntitySet ContainerElementKind = "EntitySet"
	// ContainerElementKindFunctionImport ...
	ContainerElementKindFunctionImport ContainerElementKind = "FunctionImport"
	// ContainerElementKindNone ...
	ContainerElementKindNone ContainerElementKind = "None"
	// ContainerElementKindSingleton ...
	ContainerElementKindSingleton ContainerElementKind = "Singleton"
)

func PossibleContainerElementKindValues

func PossibleContainerElementKindValues() []ContainerElementKind

PossibleContainerElementKindValues returns an array of possible values for the ContainerElementKind const type.

type Database

type Database struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the relative URL to get to this REST resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the name of this REST resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the type of this REST resource.
	Type *string `json:"type,omitempty"`
	// Properties - Gets or sets the properties of the database.
	Properties *DatabaseProperties `json:"properties,omitempty"`
}

Database database REST resource.

func (Database) MarshalJSON

func (d Database) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Database.

type DatabaseAssessmentDetails

type DatabaseAssessmentDetails struct {
	// AssessmentID - Gets or sets the database assessment scope/Id.
	AssessmentID *string `json:"assessmentId,omitempty"`
	// MigrationBlockersCount - Gets or sets the number of blocking changes found.
	MigrationBlockersCount *int32 `json:"migrationBlockersCount,omitempty"`
	// BreakingChangesCount - Gets or sets the number of breaking changes found.
	BreakingChangesCount *int32 `json:"breakingChangesCount,omitempty"`
	// IsReadyForMigration - Gets or sets a value indicating whether the database is ready for migration.
	IsReadyForMigration *bool `json:"isReadyForMigration,omitempty"`
	// AssessmentTargetType - Gets or sets the assessed target database type.
	AssessmentTargetType *string `json:"assessmentTargetType,omitempty"`
	// LastAssessedTime - Gets or sets the time when the database was last assessed.
	LastAssessedTime *date.Time `json:"lastAssessedTime,omitempty"`
	// CompatibilityLevel - Gets or sets the compatibility level of the database.
	CompatibilityLevel *string `json:"compatibilityLevel,omitempty"`
	// DatabaseSizeInMB - Gets or sets the database size.
	DatabaseSizeInMB *string `json:"databaseSizeInMB,omitempty"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the database details.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
	// EnqueueTime - Gets or sets the time the message was enqueued.
	EnqueueTime *string `json:"enqueueTime,omitempty"`
	// SolutionName - Gets or sets the name of the solution that sent the data.
	SolutionName *string `json:"solutionName,omitempty"`
	// InstanceID - Gets or sets the database server instance Id.
	InstanceID *string `json:"instanceId,omitempty"`
	// DatabaseName - Gets or sets the database name.
	DatabaseName *string `json:"databaseName,omitempty"`
	// ExtendedInfo - Gets or sets the extended properties of the database.
	ExtendedInfo map[string]*string `json:"extendedInfo"`
}

DatabaseAssessmentDetails assessment properties that can be shared by various publishers.

func (DatabaseAssessmentDetails) MarshalJSON

func (dad DatabaseAssessmentDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseAssessmentDetails.

type DatabaseCollection

type DatabaseCollection struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets the databases.
	Value *[]Database `json:"value,omitempty"`
	// NextLink - Gets or sets the value of nextLink.
	NextLink *string `json:"nextLink,omitempty"`
}

DatabaseCollection collection of databases.

type DatabaseInstance

type DatabaseInstance struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the relative URL to get to this REST resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the name of this REST resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the type of this REST resource.
	Type *string `json:"type,omitempty"`
	// Properties - Gets or sets the properties of the machine.
	Properties *DatabaseInstanceProperties `json:"properties,omitempty"`
}

DatabaseInstance databaseInstance REST resource.

func (DatabaseInstance) MarshalJSON

func (di DatabaseInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseInstance.

type DatabaseInstanceCollection

type DatabaseInstanceCollection struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets the database instances.
	Value *[]DatabaseInstance `json:"value,omitempty"`
	// NextLink - Gets or sets the value of nextLink.
	NextLink *string `json:"nextLink,omitempty"`
}

DatabaseInstanceCollection collection of database instances.

type DatabaseInstanceDiscoveryDetails

type DatabaseInstanceDiscoveryDetails struct {
	// LastUpdatedTime - Gets or sets the time of the last modification of the database instance details.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
	// InstanceID - Gets or sets the database instance Id.
	InstanceID *string `json:"instanceId,omitempty"`
	// EnqueueTime - Gets or sets the time the message was enqueued.
	EnqueueTime *string `json:"enqueueTime,omitempty"`
	// SolutionName - Gets or sets the name of the solution that sent the data.
	SolutionName *string `json:"solutionName,omitempty"`
	// InstanceName - Gets or sets the database instance name.
	InstanceName *string `json:"instanceName,omitempty"`
	// InstanceVersion - Gets or sets the database instance version.
	InstanceVersion *string `json:"instanceVersion,omitempty"`
	// InstanceType - Gets or sets the database instance type.
	InstanceType *string `json:"instanceType,omitempty"`
	// HostName - Gets or sets the host name of the database server.
	HostName *string `json:"hostName,omitempty"`
	// IPAddress - Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.
	IPAddress *string `json:"ipAddress,omitempty"`
	// PortNumber - Gets or sets the port number of the database server.
	PortNumber *int32 `json:"portNumber,omitempty"`
	// ExtendedInfo - Gets or sets the extended properties of the database server.
	ExtendedInfo map[string]*string `json:"extendedInfo"`
}

DatabaseInstanceDiscoveryDetails discovery properties that can be shared by various publishers.

func (DatabaseInstanceDiscoveryDetails) MarshalJSON

func (didd DatabaseInstanceDiscoveryDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseInstanceDiscoveryDetails.

type DatabaseInstanceProperties

type DatabaseInstanceProperties struct {
	// DiscoveryData - Gets or sets the assessment details of the database instance published by various sources.
	DiscoveryData *[]DatabaseInstanceDiscoveryDetails `json:"discoveryData,omitempty"`
	// Summary - Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.
	Summary map[string]*DatabaseInstanceSummary `json:"summary"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the database.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
}

DatabaseInstanceProperties properties of the database instance resource.

func (DatabaseInstanceProperties) MarshalJSON

func (dip DatabaseInstanceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseInstanceProperties.

type DatabaseInstanceSummary

type DatabaseInstanceSummary struct {
	// DatabasesAssessedCount - Gets or sets the count of databases assessed.
	DatabasesAssessedCount *int32 `json:"databasesAssessedCount,omitempty"`
	// MigrationReadyCount - Gets or sets the count of databases ready for migration.
	MigrationReadyCount *int32 `json:"migrationReadyCount,omitempty"`
}

DatabaseInstanceSummary class representing the database instance summary object.

type DatabaseInstancesClient

type DatabaseInstancesClient struct {
	BaseClient
}

DatabaseInstancesClient is the migrate your workloads to Azure.

func NewDatabaseInstancesClient

func NewDatabaseInstancesClient(subscriptionID string, acceptLanguage string) DatabaseInstancesClient

NewDatabaseInstancesClient creates an instance of the DatabaseInstancesClient client.

func NewDatabaseInstancesClientWithBaseURI

func NewDatabaseInstancesClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) DatabaseInstancesClient

NewDatabaseInstancesClientWithBaseURI creates an instance of the DatabaseInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DatabaseInstancesClient) EnumerateDatabaseInstances

func (client DatabaseInstancesClient) EnumerateDatabaseInstances(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (result DatabaseInstanceCollection, err error)

EnumerateDatabaseInstances sends the enumerate database instances request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. continuationToken - the continuation token. pageSize - the number of items to be returned in a single page. This value is honored only if it is less than the 100.

func (DatabaseInstancesClient) EnumerateDatabaseInstancesPreparer

func (client DatabaseInstancesClient) EnumerateDatabaseInstancesPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)

EnumerateDatabaseInstancesPreparer prepares the EnumerateDatabaseInstances request.

func (DatabaseInstancesClient) EnumerateDatabaseInstancesResponder

func (client DatabaseInstancesClient) EnumerateDatabaseInstancesResponder(resp *http.Response) (result DatabaseInstanceCollection, err error)

EnumerateDatabaseInstancesResponder handles the response to the EnumerateDatabaseInstances request. The method always closes the http.Response Body.

func (DatabaseInstancesClient) EnumerateDatabaseInstancesSender

func (client DatabaseInstancesClient) EnumerateDatabaseInstancesSender(req *http.Request) (*http.Response, error)

EnumerateDatabaseInstancesSender sends the EnumerateDatabaseInstances request. The method will close the http.Response Body if it receives an error.

func (DatabaseInstancesClient) GetDatabaseInstance

func (client DatabaseInstancesClient) GetDatabaseInstance(ctx context.Context, resourceGroupName string, migrateProjectName string, databaseInstanceName string) (result DatabaseInstance, err error)

GetDatabaseInstance sends the get database instance request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. databaseInstanceName - unique name of a database instance in Azure migration hub.

func (DatabaseInstancesClient) GetDatabaseInstancePreparer

func (client DatabaseInstancesClient) GetDatabaseInstancePreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, databaseInstanceName string) (*http.Request, error)

GetDatabaseInstancePreparer prepares the GetDatabaseInstance request.

func (DatabaseInstancesClient) GetDatabaseInstanceResponder

func (client DatabaseInstancesClient) GetDatabaseInstanceResponder(resp *http.Response) (result DatabaseInstance, err error)

GetDatabaseInstanceResponder handles the response to the GetDatabaseInstance request. The method always closes the http.Response Body.

func (DatabaseInstancesClient) GetDatabaseInstanceSender

func (client DatabaseInstancesClient) GetDatabaseInstanceSender(req *http.Request) (*http.Response, error)

GetDatabaseInstanceSender sends the GetDatabaseInstance request. The method will close the http.Response Body if it receives an error.

type DatabaseMigrateEventProperties

type DatabaseMigrateEventProperties struct {
	// Database - Gets or sets the database for which the error is being reported.
	Database *string `json:"database,omitempty"`
	// DatabaseInstanceID - Gets or sets the database instance for which the error is being reported.
	DatabaseInstanceID *string `json:"databaseInstanceId,omitempty"`
	// ErrorCode - Gets or sets the error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - Gets or sets the error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Recommendation - Gets or sets the recommendation for the error.
	Recommendation *string `json:"recommendation,omitempty"`
	// PossibleCauses - Gets or sets the possible causes for the error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// Solution - Gets or sets the solution for which the error is being reported.
	Solution *string `json:"solution,omitempty"`
	// ClientRequestID - Gets or sets the client request Id of the payload for which the event is being reported.
	ClientRequestID *string `json:"clientRequestId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeMigrateEventProperties', 'InstanceTypeServers', 'InstanceTypeDatabases'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

DatabaseMigrateEventProperties properties of the database error resource.

func (DatabaseMigrateEventProperties) AsBasicEventProperties

func (dmep DatabaseMigrateEventProperties) AsBasicEventProperties() (BasicEventProperties, bool)

AsBasicEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) AsDatabaseMigrateEventProperties

func (dmep DatabaseMigrateEventProperties) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)

AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) AsEventProperties

func (dmep DatabaseMigrateEventProperties) AsEventProperties() (*EventProperties, bool)

AsEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) AsMachineMigrateEventProperties

func (dmep DatabaseMigrateEventProperties) AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)

AsMachineMigrateEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) MarshalJSON

func (dmep DatabaseMigrateEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseMigrateEventProperties.

type DatabaseProjectSummary

type DatabaseProjectSummary struct {
	// RefreshSummaryState - Gets or sets the state of refresh summary. Possible values include: 'RefreshSummaryStateStarted', 'RefreshSummaryStateInProgress', 'RefreshSummaryStateCompleted', 'RefreshSummaryStateFailed'
	RefreshSummaryState RefreshSummaryState `json:"refreshSummaryState,omitempty"`
	// LastSummaryRefreshedTime - Gets or sets the time when summary was last refreshed.
	LastSummaryRefreshedTime *date.Time `json:"lastSummaryRefreshedTime,omitempty"`
	// ExtendedSummary - Gets or sets the extended summary.
	ExtendedSummary map[string]*string `json:"extendedSummary"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary', 'InstanceTypeBasicProjectSummaryInstanceTypeServers', 'InstanceTypeBasicProjectSummaryInstanceTypeDatabases'
	InstanceType InstanceTypeBasicProjectSummary `json:"instanceType,omitempty"`
}

DatabaseProjectSummary the database project summary class.

func (DatabaseProjectSummary) AsBasicProjectSummary

func (dps DatabaseProjectSummary) AsBasicProjectSummary() (BasicProjectSummary, bool)

AsBasicProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) AsDatabaseProjectSummary

func (dps DatabaseProjectSummary) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)

AsDatabaseProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) AsProjectSummary

func (dps DatabaseProjectSummary) AsProjectSummary() (*ProjectSummary, bool)

AsProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) AsServersProjectSummary

func (dps DatabaseProjectSummary) AsServersProjectSummary() (*ServersProjectSummary, bool)

AsServersProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) MarshalJSON

func (dps DatabaseProjectSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseProjectSummary.

type DatabaseProperties

type DatabaseProperties struct {
	// AssessmentData - Gets or sets the assessment details of the database published by various sources.
	AssessmentData *[]DatabaseAssessmentDetails `json:"assessmentData,omitempty"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the database.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
}

DatabaseProperties properties of the database resource.

type DatabasesClient

type DatabasesClient struct {
	BaseClient
}

DatabasesClient is the migrate your workloads to Azure.

func NewDatabasesClient

func NewDatabasesClient(subscriptionID string, acceptLanguage string) DatabasesClient

NewDatabasesClient creates an instance of the DatabasesClient client.

func NewDatabasesClientWithBaseURI

func NewDatabasesClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) DatabasesClient

NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DatabasesClient) EnumerateDatabases

func (client DatabasesClient) EnumerateDatabases(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (result DatabaseCollection, err error)

EnumerateDatabases sends the enumerate databases request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. continuationToken - the continuation token. pageSize - the number of items to be returned in a single page. This value is honored only if it is less than the 100.

func (DatabasesClient) EnumerateDatabasesPreparer

func (client DatabasesClient) EnumerateDatabasesPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)

EnumerateDatabasesPreparer prepares the EnumerateDatabases request.

func (DatabasesClient) EnumerateDatabasesResponder

func (client DatabasesClient) EnumerateDatabasesResponder(resp *http.Response) (result DatabaseCollection, err error)

EnumerateDatabasesResponder handles the response to the EnumerateDatabases request. The method always closes the http.Response Body.

func (DatabasesClient) EnumerateDatabasesSender

func (client DatabasesClient) EnumerateDatabasesSender(req *http.Request) (*http.Response, error)

EnumerateDatabasesSender sends the EnumerateDatabases request. The method will close the http.Response Body if it receives an error.

func (DatabasesClient) GetDatabase

func (client DatabasesClient) GetDatabase(ctx context.Context, resourceGroupName string, migrateProjectName string, databaseName string) (result Database, err error)

GetDatabase sends the get database request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. databaseName - unique name of a database in Azure migration hub.

func (DatabasesClient) GetDatabasePreparer

func (client DatabasesClient) GetDatabasePreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, databaseName string) (*http.Request, error)

GetDatabasePreparer prepares the GetDatabase request.

func (DatabasesClient) GetDatabaseResponder

func (client DatabasesClient) GetDatabaseResponder(resp *http.Response) (result Database, err error)

GetDatabaseResponder handles the response to the GetDatabase request. The method always closes the http.Response Body.

func (DatabasesClient) GetDatabaseSender

func (client DatabasesClient) GetDatabaseSender(req *http.Request) (*http.Response, error)

GetDatabaseSender sends the GetDatabase request. The method will close the http.Response Body if it receives an error.

type DatabasesSolutionSummary

type DatabasesSolutionSummary struct {
	// DatabasesAssessedCount - Gets or sets the count of databases assessed.
	DatabasesAssessedCount *int32 `json:"databasesAssessedCount,omitempty"`
	// DatabaseInstancesAssessedCount - Gets or sets the count of database instances assessed.
	DatabaseInstancesAssessedCount *int32 `json:"databaseInstancesAssessedCount,omitempty"`
	// MigrationReadyCount - Gets or sets the count of databases ready for migration.
	MigrationReadyCount *int32 `json:"migrationReadyCount,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary', 'InstanceTypeBasicSolutionSummaryInstanceTypeServers', 'InstanceTypeBasicSolutionSummaryInstanceTypeDatabases'
	InstanceType InstanceTypeBasicSolutionSummary `json:"instanceType,omitempty"`
}

DatabasesSolutionSummary class representing the databases solution summary.

func (DatabasesSolutionSummary) AsBasicSolutionSummary

func (dss DatabasesSolutionSummary) AsBasicSolutionSummary() (BasicSolutionSummary, bool)

AsBasicSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) AsDatabasesSolutionSummary

func (dss DatabasesSolutionSummary) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)

AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) AsServersSolutionSummary

func (dss DatabasesSolutionSummary) AsServersSolutionSummary() (*ServersSolutionSummary, bool)

AsServersSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) AsSolutionSummary

func (dss DatabasesSolutionSummary) AsSolutionSummary() (*SolutionSummary, bool)

AsSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) MarshalJSON

func (dss DatabasesSolutionSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabasesSolutionSummary.

type DefaultQuerySettings

type DefaultQuerySettings struct {
	EnableExpand  *bool  `json:"enableExpand,omitempty"`
	EnableSelect  *bool  `json:"enableSelect,omitempty"`
	EnableCount   *bool  `json:"enableCount,omitempty"`
	EnableOrderBy *bool  `json:"enableOrderBy,omitempty"`
	EnableFilter  *bool  `json:"enableFilter,omitempty"`
	MaxTop        *int32 `json:"maxTop,omitempty"`
}

DefaultQuerySettings ...

type DiscoveryDetails

type DiscoveryDetails struct {
	// OsType - Gets or sets the OS type.
	OsType *string `json:"osType,omitempty"`
	// OsName - Gets or sets the OS name.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - Gets or sets the OS version.
	OsVersion *string `json:"osVersion,omitempty"`
	// EnqueueTime - Gets or sets the time the message was enqueued.
	EnqueueTime *string `json:"enqueueTime,omitempty"`
	// SolutionName - Gets or sets the name of the solution that sent the data.
	SolutionName *string `json:"solutionName,omitempty"`
	// MachineID - Gets or sets the unique identifier of the machine.
	MachineID *string `json:"machineId,omitempty"`
	// MachineManagerID - Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).
	MachineManagerID *string `json:"machineManagerId,omitempty"`
	// FabricType - Gets or sets the fabric type.
	FabricType *string `json:"fabricType,omitempty"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the machine details.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
	// MachineName - Gets or sets the name of the machine.
	MachineName *string `json:"machineName,omitempty"`
	// IPAddresses - Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
	// Fqdn - Gets or sets the FQDN of the machine.
	Fqdn *string `json:"fqdn,omitempty"`
	// BiosID - Gets or sets the BIOS ID of the machine.
	BiosID *string `json:"biosId,omitempty"`
	// MacAddresses - Gets or sets the list of MAC addresses of the machine.
	MacAddresses *[]string `json:"macAddresses,omitempty"`
	// ExtendedInfo - Gets or sets the ISV specific extended information.
	ExtendedInfo map[string]*string `json:"extendedInfo"`
}

DiscoveryDetails discovery properties that can be published by various ISVs.

func (DiscoveryDetails) MarshalJSON

func (dd DiscoveryDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiscoveryDetails.

type EdmReferentialConstraintPropertyPair

type EdmReferentialConstraintPropertyPair struct {
	// DependentProperty - READ-ONLY
	DependentProperty *IEdmStructuralProperty `json:"dependentProperty,omitempty"`
	// PrincipalProperty - READ-ONLY
	PrincipalProperty *IEdmStructuralProperty `json:"principalProperty,omitempty"`
}

EdmReferentialConstraintPropertyPair ...

type Event

type Event struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the relative URL to get to this REST resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the name of this REST resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the type of this REST resource.
	Type *string `json:"type,omitempty"`
	// Properties - Gets or sets the properties of the event.
	Properties BasicEventProperties `json:"properties,omitempty"`
}

Event migrateEvent REST resource.

func (Event) MarshalJSON

func (e Event) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Event.

func (*Event) UnmarshalJSON

func (e *Event) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Event struct.

type EventCollection

type EventCollection struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets the machines.
	Value *[]Event `json:"value,omitempty"`
	// NextLink - Gets or sets the value of nextLink.
	NextLink *string `json:"nextLink,omitempty"`
}

EventCollection collection of events.

type EventProperties

type EventProperties struct {
	// ErrorCode - Gets or sets the error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - Gets or sets the error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Recommendation - Gets or sets the recommendation for the error.
	Recommendation *string `json:"recommendation,omitempty"`
	// PossibleCauses - Gets or sets the possible causes for the error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// Solution - Gets or sets the solution for which the error is being reported.
	Solution *string `json:"solution,omitempty"`
	// ClientRequestID - Gets or sets the client request Id of the payload for which the event is being reported.
	ClientRequestID *string `json:"clientRequestId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeMigrateEventProperties', 'InstanceTypeServers', 'InstanceTypeDatabases'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

EventProperties properties of the error resource.

func (EventProperties) AsBasicEventProperties

func (ep EventProperties) AsBasicEventProperties() (BasicEventProperties, bool)

AsBasicEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) AsDatabaseMigrateEventProperties

func (ep EventProperties) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)

AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) AsEventProperties

func (ep EventProperties) AsEventProperties() (*EventProperties, bool)

AsEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) AsMachineMigrateEventProperties

func (ep EventProperties) AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)

AsMachineMigrateEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) MarshalJSON

func (ep EventProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventProperties.

type EventsClient

type EventsClient struct {
	BaseClient
}

EventsClient is the migrate your workloads to Azure.

func NewEventsClient

func NewEventsClient(subscriptionID string, acceptLanguage string) EventsClient

NewEventsClient creates an instance of the EventsClient client.

func NewEventsClientWithBaseURI

func NewEventsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) EventsClient

NewEventsClientWithBaseURI creates an instance of the EventsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EventsClient) DeleteEvent

func (client EventsClient) DeleteEvent(ctx context.Context, resourceGroupName string, migrateProjectName string, eventName string) (result autorest.Response, err error)

DeleteEvent delete the migrate event. Deleting non-existent migrate event is a no-operation. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. eventName - unique name of an event within a migrate project.

func (EventsClient) DeleteEventPreparer

func (client EventsClient) DeleteEventPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, eventName string) (*http.Request, error)

DeleteEventPreparer prepares the DeleteEvent request.

func (EventsClient) DeleteEventResponder

func (client EventsClient) DeleteEventResponder(resp *http.Response) (result autorest.Response, err error)

DeleteEventResponder handles the response to the DeleteEvent request. The method always closes the http.Response Body.

func (EventsClient) DeleteEventSender

func (client EventsClient) DeleteEventSender(req *http.Request) (*http.Response, error)

DeleteEventSender sends the DeleteEvent request. The method will close the http.Response Body if it receives an error.

func (EventsClient) EnumerateEvents

func (client EventsClient) EnumerateEvents(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (result EventCollection, err error)

EnumerateEvents sends the enumerate events request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. continuationToken - the continuation token. pageSize - the number of items to be returned in a single page. This value is honored only if it is less than the 100.

func (EventsClient) EnumerateEventsPreparer

func (client EventsClient) EnumerateEventsPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)

EnumerateEventsPreparer prepares the EnumerateEvents request.

func (EventsClient) EnumerateEventsResponder

func (client EventsClient) EnumerateEventsResponder(resp *http.Response) (result EventCollection, err error)

EnumerateEventsResponder handles the response to the EnumerateEvents request. The method always closes the http.Response Body.

func (EventsClient) EnumerateEventsSender

func (client EventsClient) EnumerateEventsSender(req *http.Request) (*http.Response, error)

EnumerateEventsSender sends the EnumerateEvents request. The method will close the http.Response Body if it receives an error.

func (EventsClient) GetEvent

func (client EventsClient) GetEvent(ctx context.Context, resourceGroupName string, migrateProjectName string, eventName string) (result Event, err error)

GetEvent sends the get event request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. eventName - unique name of an event within a migrate project.

func (EventsClient) GetEventPreparer

func (client EventsClient) GetEventPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, eventName string) (*http.Request, error)

GetEventPreparer prepares the GetEvent request.

func (EventsClient) GetEventResponder

func (client EventsClient) GetEventResponder(resp *http.Response) (result Event, err error)

GetEventResponder handles the response to the GetEvent request. The method always closes the http.Response Body.

func (EventsClient) GetEventSender

func (client EventsClient) GetEventSender(req *http.Request) (*http.Response, error)

GetEventSender sends the GetEvent request. The method will close the http.Response Body if it receives an error.

type ExpressionKind

type ExpressionKind string

ExpressionKind enumerates the values for expression kind.

const (
	// ExpressionKindAnnotationPath ...
	ExpressionKindAnnotationPath ExpressionKind = "AnnotationPath"
	// ExpressionKindBinaryConstant ...
	ExpressionKindBinaryConstant ExpressionKind = "BinaryConstant"
	// ExpressionKindBooleanConstant ...
	ExpressionKindBooleanConstant ExpressionKind = "BooleanConstant"
	// ExpressionKindCast ...
	ExpressionKindCast ExpressionKind = "Cast"
	// ExpressionKindCollection ...
	ExpressionKindCollection ExpressionKind = "Collection"
	// ExpressionKindDateConstant ...
	ExpressionKindDateConstant ExpressionKind = "DateConstant"
	// ExpressionKindDateTimeOffsetConstant ...
	ExpressionKindDateTimeOffsetConstant ExpressionKind = "DateTimeOffsetConstant"
	// ExpressionKindDecimalConstant ...
	ExpressionKindDecimalConstant ExpressionKind = "DecimalConstant"
	// ExpressionKindDurationConstant ...
	ExpressionKindDurationConstant ExpressionKind = "DurationConstant"
	// ExpressionKindEnumMember ...
	ExpressionKindEnumMember ExpressionKind = "EnumMember"
	// ExpressionKindFloatingConstant ...
	ExpressionKindFloatingConstant ExpressionKind = "FloatingConstant"
	// ExpressionKindFunctionApplication ...
	ExpressionKindFunctionApplication ExpressionKind = "FunctionApplication"
	// ExpressionKindGUIDConstant ...
	ExpressionKindGUIDConstant ExpressionKind = "GuidConstant"
	// ExpressionKindIf ...
	ExpressionKindIf ExpressionKind = "If"
	// ExpressionKindIntegerConstant ...
	ExpressionKindIntegerConstant ExpressionKind = "IntegerConstant"
	// ExpressionKindIsType ...
	ExpressionKindIsType ExpressionKind = "IsType"
	// ExpressionKindLabeled ...
	ExpressionKindLabeled ExpressionKind = "Labeled"
	// ExpressionKindLabeledExpressionReference ...
	ExpressionKindLabeledExpressionReference ExpressionKind = "LabeledExpressionReference"
	// ExpressionKindNavigationPropertyPath ...
	ExpressionKindNavigationPropertyPath ExpressionKind = "NavigationPropertyPath"
	// ExpressionKindNone ...
	ExpressionKindNone ExpressionKind = "None"
	// ExpressionKindNull ...
	ExpressionKindNull ExpressionKind = "Null"
	// ExpressionKindPath ...
	ExpressionKindPath ExpressionKind = "Path"
	// ExpressionKindPropertyPath ...
	ExpressionKindPropertyPath ExpressionKind = "PropertyPath"
	// ExpressionKindRecord ...
	ExpressionKindRecord ExpressionKind = "Record"
	// ExpressionKindStringConstant ...
	ExpressionKindStringConstant ExpressionKind = "StringConstant"
	// ExpressionKindTimeOfDayConstant ...
	ExpressionKindTimeOfDayConstant ExpressionKind = "TimeOfDayConstant"
)

func PossibleExpressionKindValues

func PossibleExpressionKindValues() []ExpressionKind

PossibleExpressionKindValues returns an array of possible values for the ExpressionKind const type.

type ExpressionKind1

type ExpressionKind1 string

ExpressionKind1 enumerates the values for expression kind 1.

const (
	// ExpressionKind1AnnotationPath ...
	ExpressionKind1AnnotationPath ExpressionKind1 = "AnnotationPath"
	// ExpressionKind1BinaryConstant ...
	ExpressionKind1BinaryConstant ExpressionKind1 = "BinaryConstant"
	// ExpressionKind1BooleanConstant ...
	ExpressionKind1BooleanConstant ExpressionKind1 = "BooleanConstant"
	// ExpressionKind1Cast ...
	ExpressionKind1Cast ExpressionKind1 = "Cast"
	// ExpressionKind1Collection ...
	ExpressionKind1Collection ExpressionKind1 = "Collection"
	// ExpressionKind1DateConstant ...
	ExpressionKind1DateConstant ExpressionKind1 = "DateConstant"
	// ExpressionKind1DateTimeOffsetConstant ...
	ExpressionKind1DateTimeOffsetConstant ExpressionKind1 = "DateTimeOffsetConstant"
	// ExpressionKind1DecimalConstant ...
	ExpressionKind1DecimalConstant ExpressionKind1 = "DecimalConstant"
	// ExpressionKind1DurationConstant ...
	ExpressionKind1DurationConstant ExpressionKind1 = "DurationConstant"
	// ExpressionKind1EnumMember ...
	ExpressionKind1EnumMember ExpressionKind1 = "EnumMember"
	// ExpressionKind1FloatingConstant ...
	ExpressionKind1FloatingConstant ExpressionKind1 = "FloatingConstant"
	// ExpressionKind1FunctionApplication ...
	ExpressionKind1FunctionApplication ExpressionKind1 = "FunctionApplication"
	// ExpressionKind1GUIDConstant ...
	ExpressionKind1GUIDConstant ExpressionKind1 = "GuidConstant"
	// ExpressionKind1If ...
	ExpressionKind1If ExpressionKind1 = "If"
	// ExpressionKind1IntegerConstant ...
	ExpressionKind1IntegerConstant ExpressionKind1 = "IntegerConstant"
	// ExpressionKind1IsType ...
	ExpressionKind1IsType ExpressionKind1 = "IsType"
	// ExpressionKind1Labeled ...
	ExpressionKind1Labeled ExpressionKind1 = "Labeled"
	// ExpressionKind1LabeledExpressionReference ...
	ExpressionKind1LabeledExpressionReference ExpressionKind1 = "LabeledExpressionReference"
	// ExpressionKind1NavigationPropertyPath ...
	ExpressionKind1NavigationPropertyPath ExpressionKind1 = "NavigationPropertyPath"
	// ExpressionKind1None ...
	ExpressionKind1None ExpressionKind1 = "None"
	// ExpressionKind1Null ...
	ExpressionKind1Null ExpressionKind1 = "Null"
	// ExpressionKind1Path ...
	ExpressionKind1Path ExpressionKind1 = "Path"
	// ExpressionKind1PropertyPath ...
	ExpressionKind1PropertyPath ExpressionKind1 = "PropertyPath"
	// ExpressionKind1Record ...
	ExpressionKind1Record ExpressionKind1 = "Record"
	// ExpressionKind1StringConstant ...
	ExpressionKind1StringConstant ExpressionKind1 = "StringConstant"
	// ExpressionKind1TimeOfDayConstant ...
	ExpressionKind1TimeOfDayConstant ExpressionKind1 = "TimeOfDayConstant"
)

func PossibleExpressionKind1Values

func PossibleExpressionKind1Values() []ExpressionKind1

PossibleExpressionKind1Values returns an array of possible values for the ExpressionKind1 const type.

type FilterClause

type FilterClause struct {
	// Expression - READ-ONLY
	Expression *SingleValueNode `json:"expression,omitempty"`
	// RangeVariable - READ-ONLY
	RangeVariable *RangeVariable `json:"rangeVariable,omitempty"`
	// ItemType - READ-ONLY
	ItemType *IEdmTypeReference `json:"itemType,omitempty"`
}

FilterClause ...

type FilterQueryOption

type FilterQueryOption struct {
	// Context - READ-ONLY
	Context   *ODataQueryContext `json:"context,omitempty"`
	Validator interface{}        `json:"validator,omitempty"`
	// FilterClause - READ-ONLY
	FilterClause *FilterClause `json:"filterClause,omitempty"`
	// RawValue - READ-ONLY
	RawValue *string `json:"rawValue,omitempty"`
}

FilterQueryOption ...

func (FilterQueryOption) MarshalJSON

func (fqo FilterQueryOption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FilterQueryOption.

type Goal

type Goal string

Goal enumerates the values for goal.

const (
	// Databases ...
	Databases Goal = "Databases"
	// Servers ...
	Servers Goal = "Servers"
)

func PossibleGoalValues

func PossibleGoalValues() []Goal

PossibleGoalValues returns an array of possible values for the Goal const type.

type Goal1

type Goal1 string

Goal1 enumerates the values for goal 1.

const (
	// Goal1Databases ...
	Goal1Databases Goal1 = "Databases"
	// Goal1Servers ...
	Goal1Servers Goal1 = "Servers"
)

func PossibleGoal1Values

func PossibleGoal1Values() []Goal1

PossibleGoal1Values returns an array of possible values for the Goal1 const type.

type IEdmEntityContainer

type IEdmEntityContainer struct {
	// Elements - READ-ONLY
	Elements *[]IEdmEntityContainerElement `json:"elements,omitempty"`
	// SchemaElementKind - READ-ONLY; Possible values include: 'SchemaElementKind2None', 'SchemaElementKind2TypeDefinition', 'SchemaElementKind2Term', 'SchemaElementKind2Action', 'SchemaElementKind2EntityContainer', 'SchemaElementKind2Function'
	SchemaElementKind SchemaElementKind2 `json:"schemaElementKind,omitempty"`
	// Namespace - READ-ONLY
	Namespace *string `json:"namespace,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmEntityContainer ...

type IEdmEntityContainerElement

type IEdmEntityContainerElement struct {
	// ContainerElementKind - READ-ONLY; Possible values include: 'ContainerElementKindNone', 'ContainerElementKindEntitySet', 'ContainerElementKindActionImport', 'ContainerElementKindFunctionImport', 'ContainerElementKindSingleton'
	ContainerElementKind ContainerElementKind `json:"containerElementKind,omitempty"`
	// Container - READ-ONLY
	Container *IEdmEntityContainer `json:"container,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmEntityContainerElement ...

type IEdmExpression

type IEdmExpression struct {
	// ExpressionKind - READ-ONLY; Possible values include: 'ExpressionKindNone', 'ExpressionKindBinaryConstant', 'ExpressionKindBooleanConstant', 'ExpressionKindDateTimeOffsetConstant', 'ExpressionKindDecimalConstant', 'ExpressionKindFloatingConstant', 'ExpressionKindGUIDConstant', 'ExpressionKindIntegerConstant', 'ExpressionKindStringConstant', 'ExpressionKindDurationConstant', 'ExpressionKindNull', 'ExpressionKindRecord', 'ExpressionKindCollection', 'ExpressionKindPath', 'ExpressionKindIf', 'ExpressionKindCast', 'ExpressionKindIsType', 'ExpressionKindFunctionApplication', 'ExpressionKindLabeledExpressionReference', 'ExpressionKindLabeled', 'ExpressionKindPropertyPath', 'ExpressionKindNavigationPropertyPath', 'ExpressionKindDateConstant', 'ExpressionKindTimeOfDayConstant', 'ExpressionKindEnumMember', 'ExpressionKindAnnotationPath'
	ExpressionKind ExpressionKind `json:"expressionKind,omitempty"`
}

IEdmExpression ...

type IEdmModel

type IEdmModel struct {
	// SchemaElements - READ-ONLY
	SchemaElements *[]IEdmSchemaElement `json:"schemaElements,omitempty"`
	// VocabularyAnnotations - READ-ONLY
	VocabularyAnnotations *[]IEdmVocabularyAnnotation `json:"vocabularyAnnotations,omitempty"`
	// ReferencedModels - READ-ONLY
	ReferencedModels *[]IEdmModel `json:"referencedModels,omitempty"`
	// DeclaredNamespaces - READ-ONLY
	DeclaredNamespaces *[]string `json:"declaredNamespaces,omitempty"`
	// DirectValueAnnotationsManager - READ-ONLY
	DirectValueAnnotationsManager interface{} `json:"directValueAnnotationsManager,omitempty"`
	// EntityContainer - READ-ONLY
	EntityContainer *IEdmEntityContainer `json:"entityContainer,omitempty"`
}

IEdmModel ...

type IEdmNavigationProperty

type IEdmNavigationProperty struct {
	// Partner - READ-ONLY
	Partner *IEdmNavigationProperty `json:"partner,omitempty"`
	// OnDelete - READ-ONLY; Possible values include: 'OnDeleteNone', 'OnDeleteCascade'
	OnDelete OnDelete `json:"onDelete,omitempty"`
	// ContainsTarget - READ-ONLY
	ContainsTarget *bool `json:"containsTarget,omitempty"`
	// ReferentialConstraint - READ-ONLY
	ReferentialConstraint *IEdmReferentialConstraint `json:"referentialConstraint,omitempty"`
	// PropertyKind - READ-ONLY; Possible values include: 'PropertyKind2None', 'PropertyKind2Structural', 'PropertyKind2Navigation'
	PropertyKind PropertyKind2 `json:"propertyKind,omitempty"`
	// Type - READ-ONLY
	Type *IEdmTypeReference `json:"type,omitempty"`
	// DeclaringType - READ-ONLY
	DeclaringType *IEdmStructuredType `json:"declaringType,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmNavigationProperty ...

type IEdmNavigationPropertyBinding

type IEdmNavigationPropertyBinding struct {
	// NavigationProperty - READ-ONLY
	NavigationProperty *IEdmNavigationProperty `json:"navigationProperty,omitempty"`
	// Target - READ-ONLY
	Target *IEdmNavigationSource `json:"target,omitempty"`
	// Path - READ-ONLY
	Path *IEdmPathExpression `json:"path,omitempty"`
}

IEdmNavigationPropertyBinding ...

type IEdmNavigationSource

type IEdmNavigationSource struct {
	// NavigationPropertyBindings - READ-ONLY
	NavigationPropertyBindings *[]IEdmNavigationPropertyBinding `json:"navigationPropertyBindings,omitempty"`
	// Path - READ-ONLY
	Path *IEdmPathExpression `json:"path,omitempty"`
	// Type - READ-ONLY
	Type *IEdmType `json:"type,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmNavigationSource ...

type IEdmPathExpression

type IEdmPathExpression struct {
	// PathSegments - READ-ONLY
	PathSegments *[]string `json:"pathSegments,omitempty"`
	// Path - READ-ONLY
	Path *string `json:"path,omitempty"`
	// ExpressionKind - READ-ONLY; Possible values include: 'ExpressionKind1None', 'ExpressionKind1BinaryConstant', 'ExpressionKind1BooleanConstant', 'ExpressionKind1DateTimeOffsetConstant', 'ExpressionKind1DecimalConstant', 'ExpressionKind1FloatingConstant', 'ExpressionKind1GUIDConstant', 'ExpressionKind1IntegerConstant', 'ExpressionKind1StringConstant', 'ExpressionKind1DurationConstant', 'ExpressionKind1Null', 'ExpressionKind1Record', 'ExpressionKind1Collection', 'ExpressionKind1Path', 'ExpressionKind1If', 'ExpressionKind1Cast', 'ExpressionKind1IsType', 'ExpressionKind1FunctionApplication', 'ExpressionKind1LabeledExpressionReference', 'ExpressionKind1Labeled', 'ExpressionKind1PropertyPath', 'ExpressionKind1NavigationPropertyPath', 'ExpressionKind1DateConstant', 'ExpressionKind1TimeOfDayConstant', 'ExpressionKind1EnumMember', 'ExpressionKind1AnnotationPath'
	ExpressionKind ExpressionKind1 `json:"expressionKind,omitempty"`
}

IEdmPathExpression ...

type IEdmProperty

type IEdmProperty struct {
	// PropertyKind - READ-ONLY; Possible values include: 'PropertyKindNone', 'PropertyKindStructural', 'PropertyKindNavigation'
	PropertyKind PropertyKind `json:"propertyKind,omitempty"`
	// Type - READ-ONLY
	Type *IEdmTypeReference `json:"type,omitempty"`
	// DeclaringType - READ-ONLY
	DeclaringType *IEdmStructuredType `json:"declaringType,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmProperty ...

type IEdmReferentialConstraint

type IEdmReferentialConstraint struct {
	// PropertyPairs - READ-ONLY
	PropertyPairs *[]EdmReferentialConstraintPropertyPair `json:"propertyPairs,omitempty"`
}

IEdmReferentialConstraint ...

type IEdmSchemaElement

type IEdmSchemaElement struct {
	// SchemaElementKind - READ-ONLY; Possible values include: 'SchemaElementKindNone', 'SchemaElementKindTypeDefinition', 'SchemaElementKindTerm', 'SchemaElementKindAction', 'SchemaElementKindEntityContainer', 'SchemaElementKindFunction'
	SchemaElementKind SchemaElementKind `json:"schemaElementKind,omitempty"`
	// Namespace - READ-ONLY
	Namespace *string `json:"namespace,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmSchemaElement ...

type IEdmStructuralProperty

type IEdmStructuralProperty struct {
	// DefaultValueString - READ-ONLY
	DefaultValueString *string `json:"defaultValueString,omitempty"`
	// PropertyKind - READ-ONLY; Possible values include: 'PropertyKind1None', 'PropertyKind1Structural', 'PropertyKind1Navigation'
	PropertyKind PropertyKind1 `json:"propertyKind,omitempty"`
	// Type - READ-ONLY
	Type *IEdmTypeReference `json:"type,omitempty"`
	// DeclaringType - READ-ONLY
	DeclaringType *IEdmStructuredType `json:"declaringType,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmStructuralProperty ...

type IEdmStructuredType

type IEdmStructuredType struct {
	// IsAbstract - READ-ONLY
	IsAbstract *bool `json:"isAbstract,omitempty"`
	// IsOpen - READ-ONLY
	IsOpen *bool `json:"isOpen,omitempty"`
	// BaseType - READ-ONLY
	BaseType *IEdmStructuredType `json:"baseType,omitempty"`
	// DeclaredProperties - READ-ONLY
	DeclaredProperties *[]IEdmProperty `json:"declaredProperties,omitempty"`
	// TypeKind - READ-ONLY; Possible values include: 'TypeKind1None', 'TypeKind1Primitive', 'TypeKind1Entity', 'TypeKind1Complex', 'TypeKind1Collection', 'TypeKind1EntityReference', 'TypeKind1Enum', 'TypeKind1TypeDefinition', 'TypeKind1Untyped', 'TypeKind1Path'
	TypeKind TypeKind1 `json:"typeKind,omitempty"`
}

IEdmStructuredType ...

type IEdmTerm

type IEdmTerm struct {
	// Type - READ-ONLY
	Type *IEdmTypeReference `json:"type,omitempty"`
	// AppliesTo - READ-ONLY
	AppliesTo *string `json:"appliesTo,omitempty"`
	// DefaultValue - READ-ONLY
	DefaultValue *string `json:"defaultValue,omitempty"`
	// SchemaElementKind - READ-ONLY; Possible values include: 'SchemaElementKind1None', 'SchemaElementKind1TypeDefinition', 'SchemaElementKind1Term', 'SchemaElementKind1Action', 'SchemaElementKind1EntityContainer', 'SchemaElementKind1Function'
	SchemaElementKind SchemaElementKind1 `json:"schemaElementKind,omitempty"`
	// Namespace - READ-ONLY
	Namespace *string `json:"namespace,omitempty"`
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
}

IEdmTerm ...

type IEdmType

type IEdmType struct {
	// TypeKind - READ-ONLY; Possible values include: 'TypeKindNone', 'TypeKindPrimitive', 'TypeKindEntity', 'TypeKindComplex', 'TypeKindCollection', 'TypeKindEntityReference', 'TypeKindEnum', 'TypeKindTypeDefinition', 'TypeKindUntyped', 'TypeKindPath'
	TypeKind TypeKind `json:"typeKind,omitempty"`
}

IEdmType ...

type IEdmTypeReference

type IEdmTypeReference struct {
	// IsNullable - READ-ONLY
	IsNullable *bool `json:"isNullable,omitempty"`
	// Definition - READ-ONLY
	Definition *IEdmType `json:"definition,omitempty"`
}

IEdmTypeReference ...

type IEdmVocabularyAnnotation

type IEdmVocabularyAnnotation struct {
	// Qualifier - READ-ONLY
	Qualifier *string `json:"qualifier,omitempty"`
	// Term - READ-ONLY
	Term *IEdmTerm `json:"term,omitempty"`
	// Target - READ-ONLY
	Target interface{} `json:"target,omitempty"`
	// Value - READ-ONLY
	Value *IEdmExpression `json:"value,omitempty"`
}

IEdmVocabularyAnnotation ...

type InstanceType

type InstanceType string

InstanceType enumerates the values for instance type.

const (
	// InstanceTypeDatabases ...
	InstanceTypeDatabases InstanceType = "Databases"
	// InstanceTypeMigrateEventProperties ...
	InstanceTypeMigrateEventProperties InstanceType = "MigrateEventProperties"
	// InstanceTypeServers ...
	InstanceTypeServers InstanceType = "Servers"
)

func PossibleInstanceTypeValues

func PossibleInstanceTypeValues() []InstanceType

PossibleInstanceTypeValues returns an array of possible values for the InstanceType const type.

type InstanceTypeBasicProjectSummary

type InstanceTypeBasicProjectSummary string

InstanceTypeBasicProjectSummary enumerates the values for instance type basic project summary.

const (
	// InstanceTypeBasicProjectSummaryInstanceTypeDatabases ...
	InstanceTypeBasicProjectSummaryInstanceTypeDatabases InstanceTypeBasicProjectSummary = "Databases"
	// InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary ...
	InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary InstanceTypeBasicProjectSummary = "ProjectSummary"
	// InstanceTypeBasicProjectSummaryInstanceTypeServers ...
	InstanceTypeBasicProjectSummaryInstanceTypeServers InstanceTypeBasicProjectSummary = "Servers"
)

func PossibleInstanceTypeBasicProjectSummaryValues

func PossibleInstanceTypeBasicProjectSummaryValues() []InstanceTypeBasicProjectSummary

PossibleInstanceTypeBasicProjectSummaryValues returns an array of possible values for the InstanceTypeBasicProjectSummary const type.

type InstanceTypeBasicSolutionSummary

type InstanceTypeBasicSolutionSummary string

InstanceTypeBasicSolutionSummary enumerates the values for instance type basic solution summary.

const (
	// InstanceTypeBasicSolutionSummaryInstanceTypeDatabases ...
	InstanceTypeBasicSolutionSummaryInstanceTypeDatabases InstanceTypeBasicSolutionSummary = "Databases"
	// InstanceTypeBasicSolutionSummaryInstanceTypeServers ...
	InstanceTypeBasicSolutionSummaryInstanceTypeServers InstanceTypeBasicSolutionSummary = "Servers"
	// InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary ...
	InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary InstanceTypeBasicSolutionSummary = "SolutionSummary"
)

func PossibleInstanceTypeBasicSolutionSummaryValues

func PossibleInstanceTypeBasicSolutionSummaryValues() []InstanceTypeBasicSolutionSummary

PossibleInstanceTypeBasicSolutionSummaryValues returns an array of possible values for the InstanceTypeBasicSolutionSummary const type.

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindAggregatedCollectionPropertyNode ...
	KindAggregatedCollectionPropertyNode Kind = "AggregatedCollectionPropertyNode"
	// KindAll ...
	KindAll Kind = "All"
	// KindAny ...
	KindAny Kind = "Any"
	// KindBinaryOperator ...
	KindBinaryOperator Kind = "BinaryOperator"
	// KindCollectionComplexNode ...
	KindCollectionComplexNode Kind = "CollectionComplexNode"
	// KindCollectionConstant ...
	KindCollectionConstant Kind = "CollectionConstant"
	// KindCollectionFunctionCall ...
	KindCollectionFunctionCall Kind = "CollectionFunctionCall"
	// KindCollectionNavigationNode ...
	KindCollectionNavigationNode Kind = "CollectionNavigationNode"
	// KindCollectionOpenPropertyAccess ...
	KindCollectionOpenPropertyAccess Kind = "CollectionOpenPropertyAccess"
	// KindCollectionPropertyAccess ...
	KindCollectionPropertyAccess Kind = "CollectionPropertyAccess"
	// KindCollectionPropertyNode ...
	KindCollectionPropertyNode Kind = "CollectionPropertyNode"
	// KindCollectionResourceCast ...
	KindCollectionResourceCast Kind = "CollectionResourceCast"
	// KindCollectionResourceFunctionCall ...
	KindCollectionResourceFunctionCall Kind = "CollectionResourceFunctionCall"
	// KindConstant ...
	KindConstant Kind = "Constant"
	// KindConvert ...
	KindConvert Kind = "Convert"
	// KindCount ...
	KindCount Kind = "Count"
	// KindEntitySet ...
	KindEntitySet Kind = "EntitySet"
	// KindIn ...
	KindIn Kind = "In"
	// KindKeyLookup ...
	KindKeyLookup Kind = "KeyLookup"
	// KindNamedFunctionParameter ...
	KindNamedFunctionParameter Kind = "NamedFunctionParameter"
	// KindNone ...
	KindNone Kind = "None"
	// KindNonResourceRangeVariableReference ...
	KindNonResourceRangeVariableReference Kind = "NonResourceRangeVariableReference"
	// KindParameterAlias ...
	KindParameterAlias Kind = "ParameterAlias"
	// KindResourceRangeVariableReference ...
	KindResourceRangeVariableReference Kind = "ResourceRangeVariableReference"
	// KindSearchTerm ...
	KindSearchTerm Kind = "SearchTerm"
	// KindSingleComplexNode ...
	KindSingleComplexNode Kind = "SingleComplexNode"
	// KindSingleNavigationNode ...
	KindSingleNavigationNode Kind = "SingleNavigationNode"
	// KindSingleResourceCast ...
	KindSingleResourceCast Kind = "SingleResourceCast"
	// KindSingleResourceFunctionCall ...
	KindSingleResourceFunctionCall Kind = "SingleResourceFunctionCall"
	// KindSingleValueCast ...
	KindSingleValueCast Kind = "SingleValueCast"
	// KindSingleValueFunctionCall ...
	KindSingleValueFunctionCall Kind = "SingleValueFunctionCall"
	// KindSingleValueOpenPropertyAccess ...
	KindSingleValueOpenPropertyAccess Kind = "SingleValueOpenPropertyAccess"
	// KindSingleValuePropertyAccess ...
	KindSingleValuePropertyAccess Kind = "SingleValuePropertyAccess"
	// KindUnaryOperator ...
	KindUnaryOperator Kind = "UnaryOperator"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type Kind1

type Kind1 string

Kind1 enumerates the values for kind 1.

const (
	// Aggregate ...
	Aggregate Kind1 = "Aggregate"
	// Compute ...
	Compute Kind1 = "Compute"
	// Filter ...
	Filter Kind1 = "Filter"
	// GroupBy ...
	GroupBy Kind1 = "GroupBy"
)

func PossibleKind1Values

func PossibleKind1Values() []Kind1

PossibleKind1Values returns an array of possible values for the Kind1 const type.

type Machine

type Machine struct {
	autorest.Response `json:"-"`
	// ID - Gets or sets the relative URL to get to this REST resource.
	ID *string `json:"id,omitempty"`
	// Name - Gets or sets the name of this REST resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the type of this REST resource.
	Type *string `json:"type,omitempty"`
	// Properties - Gets or sets the properties of the machine.
	Properties *MachineProperties `json:"properties,omitempty"`
}

Machine machine REST resource.

func (Machine) MarshalJSON

func (mVar Machine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Machine.

type MachineCollection

type MachineCollection struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets the machines.
	Value *[]Machine `json:"value,omitempty"`
	// NextLink - Gets or sets the value of nextLink.
	NextLink *string `json:"nextLink,omitempty"`
}

MachineCollection collection of machines.

type MachineMigrateEventProperties

type MachineMigrateEventProperties struct {
	// Machine - Gets or sets the machine for which the error is being reported.
	Machine *string `json:"machine,omitempty"`
	// ErrorCode - Gets or sets the error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - Gets or sets the error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Recommendation - Gets or sets the recommendation for the error.
	Recommendation *string `json:"recommendation,omitempty"`
	// PossibleCauses - Gets or sets the possible causes for the error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// Solution - Gets or sets the solution for which the error is being reported.
	Solution *string `json:"solution,omitempty"`
	// ClientRequestID - Gets or sets the client request Id of the payload for which the event is being reported.
	ClientRequestID *string `json:"clientRequestId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeMigrateEventProperties', 'InstanceTypeServers', 'InstanceTypeDatabases'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

MachineMigrateEventProperties properties of the machine error resource.

func (MachineMigrateEventProperties) AsBasicEventProperties

func (mmep MachineMigrateEventProperties) AsBasicEventProperties() (BasicEventProperties, bool)

AsBasicEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) AsDatabaseMigrateEventProperties

func (mmep MachineMigrateEventProperties) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)

AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) AsEventProperties

func (mmep MachineMigrateEventProperties) AsEventProperties() (*EventProperties, bool)

AsEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) AsMachineMigrateEventProperties

func (mmep MachineMigrateEventProperties) AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)

AsMachineMigrateEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) MarshalJSON

func (mmep MachineMigrateEventProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineMigrateEventProperties.

type MachineProperties

type MachineProperties struct {
	// DiscoveryData - Gets or sets the discovery details of the machine published by various sources.
	DiscoveryData *[]DiscoveryDetails `json:"discoveryData,omitempty"`
	// AssessmentData - Gets or sets the assessment details of the machine published by various sources.
	AssessmentData *[]AssessmentDetails `json:"assessmentData,omitempty"`
	// MigrationData - Gets or sets the migration details of the machine published by various sources.
	MigrationData *[]MigrationDetails `json:"migrationData,omitempty"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the machine.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
}

MachineProperties properties of the machine resource.

type MachinesClient

type MachinesClient struct {
	BaseClient
}

MachinesClient is the migrate your workloads to Azure.

func NewMachinesClient

func NewMachinesClient(subscriptionID string, acceptLanguage string) MachinesClient

NewMachinesClient creates an instance of the MachinesClient client.

func NewMachinesClientWithBaseURI

func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) MachinesClient

NewMachinesClientWithBaseURI creates an instance of the MachinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MachinesClient) EnumerateMachines

func (client MachinesClient) EnumerateMachines(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (result MachineCollection, err error)

EnumerateMachines sends the enumerate machines request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. continuationToken - the continuation token. pageSize - the number of items to be returned in a single page. This value is honored only if it is less than the 100.

func (MachinesClient) EnumerateMachinesPreparer

func (client MachinesClient) EnumerateMachinesPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)

EnumerateMachinesPreparer prepares the EnumerateMachines request.

func (MachinesClient) EnumerateMachinesResponder

func (client MachinesClient) EnumerateMachinesResponder(resp *http.Response) (result MachineCollection, err error)

EnumerateMachinesResponder handles the response to the EnumerateMachines request. The method always closes the http.Response Body.

func (MachinesClient) EnumerateMachinesSender

func (client MachinesClient) EnumerateMachinesSender(req *http.Request) (*http.Response, error)

EnumerateMachinesSender sends the EnumerateMachines request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) GetMachine

func (client MachinesClient) GetMachine(ctx context.Context, resourceGroupName string, migrateProjectName string, machineName string) (result Machine, err error)

GetMachine sends the get machine request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. machineName - unique name of a machine in Azure migration hub.

func (MachinesClient) GetMachinePreparer

func (client MachinesClient) GetMachinePreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, machineName string) (*http.Request, error)

GetMachinePreparer prepares the GetMachine request.

func (MachinesClient) GetMachineResponder

func (client MachinesClient) GetMachineResponder(resp *http.Response) (result Machine, err error)

GetMachineResponder handles the response to the GetMachine request. The method always closes the http.Response Body.

func (MachinesClient) GetMachineSender

func (client MachinesClient) GetMachineSender(req *http.Request) (*http.Response, error)

GetMachineSender sends the GetMachine request. The method will close the http.Response Body if it receives an error.

type MigrationDetails

type MigrationDetails struct {
	// MigrationPhase - Gets or sets the phase of migration of the machine.
	MigrationPhase *string `json:"migrationPhase,omitempty"`
	// MigrationTested - Gets or sets a value indicating whether migration was tested on the machine.
	MigrationTested *bool `json:"migrationTested,omitempty"`
	// ReplicationProgressPercentage - Gets or sets the progress percentage of migration on the machine.
	ReplicationProgressPercentage *int32 `json:"replicationProgressPercentage,omitempty"`
	// TargetVMArmID - Gets or sets the ARM id the migrated VM.
	TargetVMArmID *string `json:"targetVMArmId,omitempty"`
	// EnqueueTime - Gets or sets the time the message was enqueued.
	EnqueueTime *string `json:"enqueueTime,omitempty"`
	// SolutionName - Gets or sets the name of the solution that sent the data.
	SolutionName *string `json:"solutionName,omitempty"`
	// MachineID - Gets or sets the unique identifier of the machine.
	MachineID *string `json:"machineId,omitempty"`
	// MachineManagerID - Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).
	MachineManagerID *string `json:"machineManagerId,omitempty"`
	// FabricType - Gets or sets the fabric type.
	FabricType *string `json:"fabricType,omitempty"`
	// LastUpdatedTime - Gets or sets the time of the last modification of the machine details.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
	// MachineName - Gets or sets the name of the machine.
	MachineName *string `json:"machineName,omitempty"`
	// IPAddresses - Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
	// Fqdn - Gets or sets the FQDN of the machine.
	Fqdn *string `json:"fqdn,omitempty"`
	// BiosID - Gets or sets the BIOS ID of the machine.
	BiosID *string `json:"biosId,omitempty"`
	// MacAddresses - Gets or sets the list of MAC addresses of the machine.
	MacAddresses *[]string `json:"macAddresses,omitempty"`
	// ExtendedInfo - Gets or sets the ISV specific extended information.
	ExtendedInfo map[string]*string `json:"extendedInfo"`
}

MigrationDetails migration properties that can be shared by various publishers.

func (MigrationDetails) MarshalJSON

func (md MigrationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MigrationDetails.

type ODataPath

type ODataPath struct {
	// EdmType - READ-ONLY
	EdmType *IEdmType `json:"edmType,omitempty"`
	// NavigationSource - READ-ONLY
	NavigationSource *IEdmNavigationSource `json:"navigationSource,omitempty"`
	// Segments - READ-ONLY
	Segments *[]ODataPathSegment `json:"segments,omitempty"`
	// PathTemplate - READ-ONLY
	PathTemplate *string `json:"pathTemplate,omitempty"`
	// Path - READ-ONLY
	Path *[]ODataPathSegment `json:"path,omitempty"`
}

ODataPath ...

type ODataPathSegment

type ODataPathSegment struct {
	// EdmType - READ-ONLY
	EdmType    *IEdmType `json:"edmType,omitempty"`
	Identifier *string   `json:"identifier,omitempty"`
}

ODataPathSegment ...

func (ODataPathSegment) MarshalJSON

func (odps ODataPathSegment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ODataPathSegment.

type ODataQueryContext

type ODataQueryContext struct {
	// DefaultQuerySettings - READ-ONLY
	DefaultQuerySettings *DefaultQuerySettings `json:"defaultQuerySettings,omitempty"`
	// Model - READ-ONLY
	Model *IEdmModel `json:"model,omitempty"`
	// ElementType - READ-ONLY
	ElementType *IEdmType `json:"elementType,omitempty"`
	// NavigationSource - READ-ONLY
	NavigationSource *IEdmNavigationSource `json:"navigationSource,omitempty"`
	// ElementClrType - READ-ONLY
	ElementClrType *string `json:"elementClrType,omitempty"`
	// Path - READ-ONLY
	Path *ODataPath `json:"path,omitempty"`
	// RequestContainer - READ-ONLY
	RequestContainer interface{} `json:"requestContainer,omitempty"`
}

ODataQueryContext ...

type ODataQueryOptions1

type ODataQueryOptions1 struct {
	// Filter - READ-ONLY
	Filter *FilterQueryOption `json:"filter,omitempty"`
}

ODataQueryOptions1 ...

type ODataRawQueryOptions

type ODataRawQueryOptions struct {
	// Filter - READ-ONLY
	Filter *string `json:"filter,omitempty"`
}

ODataRawQueryOptions ...

type OnDelete

type OnDelete string

OnDelete enumerates the values for on delete.

const (
	// OnDeleteCascade ...
	OnDeleteCascade OnDelete = "Cascade"
	// OnDeleteNone ...
	OnDeleteNone OnDelete = "None"
)

func PossibleOnDeleteValues

func PossibleOnDeleteValues() []OnDelete

PossibleOnDeleteValues returns an array of possible values for the OnDelete const type.

type Operation

type Operation struct {
	// Name - READ-ONLY; Name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - Displayable properties of the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - READ-ONLY; Origin of the operation.
	Origin *string `json:"origin,omitempty"`
}

Operation a REST API operation supported by the provider.

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; Provider of the operation.
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Resource operated on by the operation.
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; Operation Type.
	Operation *string `json:"operation,omitempty"`
	// Description - READ-ONLY; Description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay displayable properties of the operation.

type OperationResultList

type OperationResultList struct {
	autorest.Response `json:"-"`
	// Value - List of operations.
	Value *[]Operation `json:"value,omitempty"`
}

OperationResultList list of API operations.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the migrate your workloads to Azure.

func NewOperationsClient

func NewOperationsClient(subscriptionID string, acceptLanguage string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationResultList, err error)

List get a list of REST API supported by Microsoft.Migrate provider.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationResultList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Project

type Project struct {
	autorest.Response `json:"-"`
	// ETag - Gets or sets the eTag for concurrency control.
	ETag *string `json:"eTag,omitempty"`
	// Location - Gets or sets the Azure location in which migrate project is created.
	Location *string `json:"location,omitempty"`
	// Properties - Gets or sets the nested properties.
	Properties *ProjectProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Gets the relative URL to get this migrate project.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Gets the name of the migrate project.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.
	Type *string `json:"type,omitempty"`
	// Tags - Gets or sets the tags.
	Tags *ProjectTags `json:"tags,omitempty"`
}

Project migrate Project REST Resource.

func (Project) MarshalJSON

func (p Project) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Project.

type ProjectProperties

type ProjectProperties struct {
	// RegisteredTools - Gets or sets the list of tools registered with the migrate project.
	RegisteredTools *[]string `json:"registeredTools,omitempty"`
	// Summary - READ-ONLY; Gets the summary of the migrate project.
	Summary map[string]BasicProjectSummary `json:"summary"`
	// LastSummaryRefreshedTime - READ-ONLY; Gets the last time the project summary was refreshed.
	LastSummaryRefreshedTime *date.Time `json:"lastSummaryRefreshedTime,omitempty"`
	// RefreshSummaryState - READ-ONLY; Gets the refresh summary state. Possible values include: 'RefreshSummaryState1Started', 'RefreshSummaryState1InProgress', 'RefreshSummaryState1Completed', 'RefreshSummaryState1Failed'
	RefreshSummaryState RefreshSummaryState1 `json:"refreshSummaryState,omitempty"`
	// ProvisioningState - Provisioning state of the migrate project. Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateMoving', 'ProvisioningStateSucceeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ProjectProperties class for migrate project properties.

func (ProjectProperties) MarshalJSON

func (pp ProjectProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProjectProperties.

type ProjectSummary

type ProjectSummary struct {
	// RefreshSummaryState - Gets or sets the state of refresh summary. Possible values include: 'RefreshSummaryStateStarted', 'RefreshSummaryStateInProgress', 'RefreshSummaryStateCompleted', 'RefreshSummaryStateFailed'
	RefreshSummaryState RefreshSummaryState `json:"refreshSummaryState,omitempty"`
	// LastSummaryRefreshedTime - Gets or sets the time when summary was last refreshed.
	LastSummaryRefreshedTime *date.Time `json:"lastSummaryRefreshedTime,omitempty"`
	// ExtendedSummary - Gets or sets the extended summary.
	ExtendedSummary map[string]*string `json:"extendedSummary"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary', 'InstanceTypeBasicProjectSummaryInstanceTypeServers', 'InstanceTypeBasicProjectSummaryInstanceTypeDatabases'
	InstanceType InstanceTypeBasicProjectSummary `json:"instanceType,omitempty"`
}

ProjectSummary the project summary class.

func (ProjectSummary) AsBasicProjectSummary

func (ps ProjectSummary) AsBasicProjectSummary() (BasicProjectSummary, bool)

AsBasicProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) AsDatabaseProjectSummary

func (ps ProjectSummary) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)

AsDatabaseProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) AsProjectSummary

func (ps ProjectSummary) AsProjectSummary() (*ProjectSummary, bool)

AsProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) AsServersProjectSummary

func (ps ProjectSummary) AsServersProjectSummary() (*ServersProjectSummary, bool)

AsServersProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) MarshalJSON

func (ps ProjectSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProjectSummary.

type ProjectTags

type ProjectTags struct {
	AdditionalProperties *string `json:"additionalProperties,omitempty"`
}

ProjectTags gets or sets the tags.

type ProjectsClient

type ProjectsClient struct {
	BaseClient
}

ProjectsClient is the migrate your workloads to Azure.

func NewProjectsClient

func NewProjectsClient(subscriptionID string, acceptLanguage string) ProjectsClient

NewProjectsClient creates an instance of the ProjectsClient client.

func NewProjectsClientWithBaseURI

func NewProjectsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) ProjectsClient

NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProjectsClient) DeleteMigrateProject

func (client ProjectsClient) DeleteMigrateProject(ctx context.Context, resourceGroupName string, migrateProjectName string) (result autorest.Response, err error)

DeleteMigrateProject delete the migrate project. Deleting non-existent project is a no-operation. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project.

func (ProjectsClient) DeleteMigrateProjectPreparer

func (client ProjectsClient) DeleteMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string) (*http.Request, error)

DeleteMigrateProjectPreparer prepares the DeleteMigrateProject request.

func (ProjectsClient) DeleteMigrateProjectResponder

func (client ProjectsClient) DeleteMigrateProjectResponder(resp *http.Response) (result autorest.Response, err error)

DeleteMigrateProjectResponder handles the response to the DeleteMigrateProject request. The method always closes the http.Response Body.

func (ProjectsClient) DeleteMigrateProjectSender

func (client ProjectsClient) DeleteMigrateProjectSender(req *http.Request) (*http.Response, error)

DeleteMigrateProjectSender sends the DeleteMigrateProject request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) GetMigrateProject

func (client ProjectsClient) GetMigrateProject(ctx context.Context, resourceGroupName string, migrateProjectName string) (result Project, err error)

GetMigrateProject sends the get migrate project request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project.

func (ProjectsClient) GetMigrateProjectPreparer

func (client ProjectsClient) GetMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string) (*http.Request, error)

GetMigrateProjectPreparer prepares the GetMigrateProject request.

func (ProjectsClient) GetMigrateProjectResponder

func (client ProjectsClient) GetMigrateProjectResponder(resp *http.Response) (result Project, err error)

GetMigrateProjectResponder handles the response to the GetMigrateProject request. The method always closes the http.Response Body.

func (ProjectsClient) GetMigrateProjectSender

func (client ProjectsClient) GetMigrateProjectSender(req *http.Request) (*http.Response, error)

GetMigrateProjectSender sends the GetMigrateProject request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) PatchMigrateProject

func (client ProjectsClient) PatchMigrateProject(ctx context.Context, resourceGroupName string, migrateProjectName string, body Project) (result Project, err error)

PatchMigrateProject update a migrate project with specified name. Supports partial updates, for example only tags can be provided. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. body - body with migrate project details.

func (ProjectsClient) PatchMigrateProjectPreparer

func (client ProjectsClient) PatchMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, body Project) (*http.Request, error)

PatchMigrateProjectPreparer prepares the PatchMigrateProject request.

func (ProjectsClient) PatchMigrateProjectResponder

func (client ProjectsClient) PatchMigrateProjectResponder(resp *http.Response) (result Project, err error)

PatchMigrateProjectResponder handles the response to the PatchMigrateProject request. The method always closes the http.Response Body.

func (ProjectsClient) PatchMigrateProjectSender

func (client ProjectsClient) PatchMigrateProjectSender(req *http.Request) (*http.Response, error)

PatchMigrateProjectSender sends the PatchMigrateProject request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) PutMigrateProject

func (client ProjectsClient) PutMigrateProject(ctx context.Context, resourceGroupName string, migrateProjectName string, body Project) (result Project, err error)

PutMigrateProject sends the put migrate project request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. body - body with migrate project details.

func (ProjectsClient) PutMigrateProjectPreparer

func (client ProjectsClient) PutMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, body Project) (*http.Request, error)

PutMigrateProjectPreparer prepares the PutMigrateProject request.

func (ProjectsClient) PutMigrateProjectResponder

func (client ProjectsClient) PutMigrateProjectResponder(resp *http.Response) (result Project, err error)

PutMigrateProjectResponder handles the response to the PutMigrateProject request. The method always closes the http.Response Body.

func (ProjectsClient) PutMigrateProjectSender

func (client ProjectsClient) PutMigrateProjectSender(req *http.Request) (*http.Response, error)

PutMigrateProjectSender sends the PutMigrateProject request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) RefreshMigrateProjectSummary

func (client ProjectsClient) RefreshMigrateProjectSummary(ctx context.Context, resourceGroupName string, migrateProjectName string, input RefreshSummaryInput) (result RefreshSummaryResult, err error)

RefreshMigrateProjectSummary sends the refresh migrate project summary request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. input - the goal input which needs to be refreshed.

func (ProjectsClient) RefreshMigrateProjectSummaryPreparer

func (client ProjectsClient) RefreshMigrateProjectSummaryPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, input RefreshSummaryInput) (*http.Request, error)

RefreshMigrateProjectSummaryPreparer prepares the RefreshMigrateProjectSummary request.

func (ProjectsClient) RefreshMigrateProjectSummaryResponder

func (client ProjectsClient) RefreshMigrateProjectSummaryResponder(resp *http.Response) (result RefreshSummaryResult, err error)

RefreshMigrateProjectSummaryResponder handles the response to the RefreshMigrateProjectSummary request. The method always closes the http.Response Body.

func (ProjectsClient) RefreshMigrateProjectSummarySender

func (client ProjectsClient) RefreshMigrateProjectSummarySender(req *http.Request) (*http.Response, error)

RefreshMigrateProjectSummarySender sends the RefreshMigrateProjectSummary request. The method will close the http.Response Body if it receives an error.

func (ProjectsClient) RegisterTool

func (client ProjectsClient) RegisterTool(ctx context.Context, resourceGroupName string, migrateProjectName string, input RegisterToolInput) (result RegistrationResult, err error)

RegisterTool sends the register tool request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. input - input containing the name of the tool to be registered.

func (ProjectsClient) RegisterToolPreparer

func (client ProjectsClient) RegisterToolPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, input RegisterToolInput) (*http.Request, error)

RegisterToolPreparer prepares the RegisterTool request.

func (ProjectsClient) RegisterToolResponder

func (client ProjectsClient) RegisterToolResponder(resp *http.Response) (result RegistrationResult, err error)

RegisterToolResponder handles the response to the RegisterTool request. The method always closes the http.Response Body.

func (ProjectsClient) RegisterToolSender

func (client ProjectsClient) RegisterToolSender(req *http.Request) (*http.Response, error)

RegisterToolSender sends the RegisterTool request. The method will close the http.Response Body if it receives an error.

type PropertyKind

type PropertyKind string

PropertyKind enumerates the values for property kind.

const (
	// PropertyKindNavigation ...
	PropertyKindNavigation PropertyKind = "Navigation"
	// PropertyKindNone ...
	PropertyKindNone PropertyKind = "None"
	// PropertyKindStructural ...
	PropertyKindStructural PropertyKind = "Structural"
)

func PossiblePropertyKindValues

func PossiblePropertyKindValues() []PropertyKind

PossiblePropertyKindValues returns an array of possible values for the PropertyKind const type.

type PropertyKind1

type PropertyKind1 string

PropertyKind1 enumerates the values for property kind 1.

const (
	// PropertyKind1Navigation ...
	PropertyKind1Navigation PropertyKind1 = "Navigation"
	// PropertyKind1None ...
	PropertyKind1None PropertyKind1 = "None"
	// PropertyKind1Structural ...
	PropertyKind1Structural PropertyKind1 = "Structural"
)

func PossiblePropertyKind1Values

func PossiblePropertyKind1Values() []PropertyKind1

PossiblePropertyKind1Values returns an array of possible values for the PropertyKind1 const type.

type PropertyKind2

type PropertyKind2 string

PropertyKind2 enumerates the values for property kind 2.

const (
	// PropertyKind2Navigation ...
	PropertyKind2Navigation PropertyKind2 = "Navigation"
	// PropertyKind2None ...
	PropertyKind2None PropertyKind2 = "None"
	// PropertyKind2Structural ...
	PropertyKind2Structural PropertyKind2 = "Structural"
)

func PossiblePropertyKind2Values

func PossiblePropertyKind2Values() []PropertyKind2

PossiblePropertyKind2Values returns an array of possible values for the PropertyKind2 const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateAccepted ...
	ProvisioningStateAccepted ProvisioningState = "Accepted"
	// ProvisioningStateCreating ...
	ProvisioningStateCreating ProvisioningState = "Creating"
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateMoving ...
	ProvisioningStateMoving ProvisioningState = "Moving"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Purpose

type Purpose string

Purpose enumerates the values for purpose.

const (
	// Assessment ...
	Assessment Purpose = "Assessment"
	// Discovery ...
	Discovery Purpose = "Discovery"
	// Migration ...
	Migration Purpose = "Migration"
)

func PossiblePurposeValues

func PossiblePurposeValues() []Purpose

PossiblePurposeValues returns an array of possible values for the Purpose const type.

type RangeVariable

type RangeVariable struct {
	// Name - READ-ONLY
	Name *string `json:"name,omitempty"`
	// TypeReference - READ-ONLY
	TypeReference *IEdmTypeReference `json:"typeReference,omitempty"`
	// Kind - READ-ONLY
	Kind *int32 `json:"kind,omitempty"`
}

RangeVariable ...

type RefreshSummaryInput

type RefreshSummaryInput struct {
	// Goal - Gets or sets the goal for which summary needs to be refreshed. Possible values include: 'Servers', 'Databases'
	Goal Goal `json:"goal,omitempty"`
}

RefreshSummaryInput class representing the refresh summary input.

type RefreshSummaryResult

type RefreshSummaryResult struct {
	autorest.Response `json:"-"`
	// IsRefreshed - Gets or sets a value indicating whether the migrate project summary is refreshed.
	IsRefreshed *bool `json:"isRefreshed,omitempty"`
}

RefreshSummaryResult class representing the refresh summary status of the migrate project.

type RefreshSummaryState

type RefreshSummaryState string

RefreshSummaryState enumerates the values for refresh summary state.

const (
	// RefreshSummaryStateCompleted ...
	RefreshSummaryStateCompleted RefreshSummaryState = "Completed"
	// RefreshSummaryStateFailed ...
	RefreshSummaryStateFailed RefreshSummaryState = "Failed"
	// RefreshSummaryStateInProgress ...
	RefreshSummaryStateInProgress RefreshSummaryState = "InProgress"
	// RefreshSummaryStateStarted ...
	RefreshSummaryStateStarted RefreshSummaryState = "Started"
)

func PossibleRefreshSummaryStateValues

func PossibleRefreshSummaryStateValues() []RefreshSummaryState

PossibleRefreshSummaryStateValues returns an array of possible values for the RefreshSummaryState const type.

type RefreshSummaryState1

type RefreshSummaryState1 string

RefreshSummaryState1 enumerates the values for refresh summary state 1.

const (
	// RefreshSummaryState1Completed ...
	RefreshSummaryState1Completed RefreshSummaryState1 = "Completed"
	// RefreshSummaryState1Failed ...
	RefreshSummaryState1Failed RefreshSummaryState1 = "Failed"
	// RefreshSummaryState1InProgress ...
	RefreshSummaryState1InProgress RefreshSummaryState1 = "InProgress"
	// RefreshSummaryState1Started ...
	RefreshSummaryState1Started RefreshSummaryState1 = "Started"
)

func PossibleRefreshSummaryState1Values

func PossibleRefreshSummaryState1Values() []RefreshSummaryState1

PossibleRefreshSummaryState1Values returns an array of possible values for the RefreshSummaryState1 const type.

type RegisterToolInput

type RegisterToolInput struct {
	// Tool - Gets or sets the tool to be registered. Possible values include: 'ServerDiscovery', 'ServerAssessment', 'ServerMigration', 'Cloudamize', 'Turbonomic', 'Zerto', 'CorentTech', 'ServerAssessmentV1', 'ServerMigrationReplication', 'Carbonite', 'DataMigrationAssistant', 'DatabaseMigrationService'
	Tool Tool `json:"tool,omitempty"`
}

RegisterToolInput class representing the register tool input.

type RegistrationResult

type RegistrationResult struct {
	autorest.Response `json:"-"`
	// IsRegistered - Gets or sets a value indicating whether the tool is registered or not.
	IsRegistered *bool `json:"isRegistered,omitempty"`
}

RegistrationResult class representing the registration status of a tool with the migrate project.

type SchemaElementKind

type SchemaElementKind string

SchemaElementKind enumerates the values for schema element kind.

const (
	// SchemaElementKindAction ...
	SchemaElementKindAction SchemaElementKind = "Action"
	// SchemaElementKindEntityContainer ...
	SchemaElementKindEntityContainer SchemaElementKind = "EntityContainer"
	// SchemaElementKindFunction ...
	SchemaElementKindFunction SchemaElementKind = "Function"
	// SchemaElementKindNone ...
	SchemaElementKindNone SchemaElementKind = "None"
	// SchemaElementKindTerm ...
	SchemaElementKindTerm SchemaElementKind = "Term"
	// SchemaElementKindTypeDefinition ...
	SchemaElementKindTypeDefinition SchemaElementKind = "TypeDefinition"
)

func PossibleSchemaElementKindValues

func PossibleSchemaElementKindValues() []SchemaElementKind

PossibleSchemaElementKindValues returns an array of possible values for the SchemaElementKind const type.

type SchemaElementKind1

type SchemaElementKind1 string

SchemaElementKind1 enumerates the values for schema element kind 1.

const (
	// SchemaElementKind1Action ...
	SchemaElementKind1Action SchemaElementKind1 = "Action"
	// SchemaElementKind1EntityContainer ...
	SchemaElementKind1EntityContainer SchemaElementKind1 = "EntityContainer"
	// SchemaElementKind1Function ...
	SchemaElementKind1Function SchemaElementKind1 = "Function"
	// SchemaElementKind1None ...
	SchemaElementKind1None SchemaElementKind1 = "None"
	// SchemaElementKind1Term ...
	SchemaElementKind1Term SchemaElementKind1 = "Term"
	// SchemaElementKind1TypeDefinition ...
	SchemaElementKind1TypeDefinition SchemaElementKind1 = "TypeDefinition"
)

func PossibleSchemaElementKind1Values

func PossibleSchemaElementKind1Values() []SchemaElementKind1

PossibleSchemaElementKind1Values returns an array of possible values for the SchemaElementKind1 const type.

type SchemaElementKind2

type SchemaElementKind2 string

SchemaElementKind2 enumerates the values for schema element kind 2.

const (
	// SchemaElementKind2Action ...
	SchemaElementKind2Action SchemaElementKind2 = "Action"
	// SchemaElementKind2EntityContainer ...
	SchemaElementKind2EntityContainer SchemaElementKind2 = "EntityContainer"
	// SchemaElementKind2Function ...
	SchemaElementKind2Function SchemaElementKind2 = "Function"
	// SchemaElementKind2None ...
	SchemaElementKind2None SchemaElementKind2 = "None"
	// SchemaElementKind2Term ...
	SchemaElementKind2Term SchemaElementKind2 = "Term"
	// SchemaElementKind2TypeDefinition ...
	SchemaElementKind2TypeDefinition SchemaElementKind2 = "TypeDefinition"
)

func PossibleSchemaElementKind2Values

func PossibleSchemaElementKind2Values() []SchemaElementKind2

PossibleSchemaElementKind2Values returns an array of possible values for the SchemaElementKind2 const type.

type SelectExpandClause

type SelectExpandClause struct {
	// SelectedItems - READ-ONLY
	SelectedItems *[]interface{} `json:"selectedItems,omitempty"`
	// AllSelected - READ-ONLY
	AllSelected *bool `json:"allSelected,omitempty"`
}

SelectExpandClause ...

type ServersProjectSummary

type ServersProjectSummary struct {
	// DiscoveredCount - Gets or sets the count of entities discovered.
	DiscoveredCount *int32 `json:"discoveredCount,omitempty"`
	// AssessedCount - Gets or sets the count of entities assessed.
	AssessedCount *int32 `json:"assessedCount,omitempty"`
	// ReplicatingCount - Gets or sets the count of entities being replicated.
	ReplicatingCount *int32 `json:"replicatingCount,omitempty"`
	// TestMigratedCount - Gets or sets the count of entities test migrated.
	TestMigratedCount *int32 `json:"testMigratedCount,omitempty"`
	// MigratedCount - Gets or sets the count of entities migrated.
	MigratedCount *int32 `json:"migratedCount,omitempty"`
	// RefreshSummaryState - Gets or sets the state of refresh summary. Possible values include: 'RefreshSummaryStateStarted', 'RefreshSummaryStateInProgress', 'RefreshSummaryStateCompleted', 'RefreshSummaryStateFailed'
	RefreshSummaryState RefreshSummaryState `json:"refreshSummaryState,omitempty"`
	// LastSummaryRefreshedTime - Gets or sets the time when summary was last refreshed.
	LastSummaryRefreshedTime *date.Time `json:"lastSummaryRefreshedTime,omitempty"`
	// ExtendedSummary - Gets or sets the extended summary.
	ExtendedSummary map[string]*string `json:"extendedSummary"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary', 'InstanceTypeBasicProjectSummaryInstanceTypeServers', 'InstanceTypeBasicProjectSummaryInstanceTypeDatabases'
	InstanceType InstanceTypeBasicProjectSummary `json:"instanceType,omitempty"`
}

ServersProjectSummary class representing the servers project summary.

func (ServersProjectSummary) AsBasicProjectSummary

func (sps ServersProjectSummary) AsBasicProjectSummary() (BasicProjectSummary, bool)

AsBasicProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) AsDatabaseProjectSummary

func (sps ServersProjectSummary) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)

AsDatabaseProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) AsProjectSummary

func (sps ServersProjectSummary) AsProjectSummary() (*ProjectSummary, bool)

AsProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) AsServersProjectSummary

func (sps ServersProjectSummary) AsServersProjectSummary() (*ServersProjectSummary, bool)

AsServersProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) MarshalJSON

func (sps ServersProjectSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServersProjectSummary.

type ServersSolutionSummary

type ServersSolutionSummary struct {
	// DiscoveredCount - Gets or sets the count of servers discovered.
	DiscoveredCount *int32 `json:"discoveredCount,omitempty"`
	// AssessedCount - Gets or sets the count of servers assessed.
	AssessedCount *int32 `json:"assessedCount,omitempty"`
	// ReplicatingCount - Gets or sets the count of servers being replicated.
	ReplicatingCount *int32 `json:"replicatingCount,omitempty"`
	// TestMigratedCount - Gets or sets the count of servers test migrated.
	TestMigratedCount *int32 `json:"testMigratedCount,omitempty"`
	// MigratedCount - Gets or sets the count of servers migrated.
	MigratedCount *int32 `json:"migratedCount,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary', 'InstanceTypeBasicSolutionSummaryInstanceTypeServers', 'InstanceTypeBasicSolutionSummaryInstanceTypeDatabases'
	InstanceType InstanceTypeBasicSolutionSummary `json:"instanceType,omitempty"`
}

ServersSolutionSummary class representing the servers solution summary.

func (ServersSolutionSummary) AsBasicSolutionSummary

func (sss ServersSolutionSummary) AsBasicSolutionSummary() (BasicSolutionSummary, bool)

AsBasicSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) AsDatabasesSolutionSummary

func (sss ServersSolutionSummary) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)

AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) AsServersSolutionSummary

func (sss ServersSolutionSummary) AsServersSolutionSummary() (*ServersSolutionSummary, bool)

AsServersSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) AsSolutionSummary

func (sss ServersSolutionSummary) AsSolutionSummary() (*SolutionSummary, bool)

AsSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) MarshalJSON

func (sss ServersSolutionSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServersSolutionSummary.

type SingleValueNode

type SingleValueNode struct {
	// TypeReference - READ-ONLY
	TypeReference *IEdmTypeReference `json:"typeReference,omitempty"`
	// Kind - READ-ONLY; Possible values include: 'KindNone', 'KindConstant', 'KindConvert', 'KindNonResourceRangeVariableReference', 'KindBinaryOperator', 'KindUnaryOperator', 'KindSingleValuePropertyAccess', 'KindCollectionPropertyAccess', 'KindSingleValueFunctionCall', 'KindAny', 'KindCollectionNavigationNode', 'KindSingleNavigationNode', 'KindSingleValueOpenPropertyAccess', 'KindSingleResourceCast', 'KindAll', 'KindCollectionResourceCast', 'KindResourceRangeVariableReference', 'KindSingleResourceFunctionCall', 'KindCollectionFunctionCall', 'KindCollectionResourceFunctionCall', 'KindNamedFunctionParameter', 'KindParameterAlias', 'KindEntitySet', 'KindKeyLookup', 'KindSearchTerm', 'KindCollectionOpenPropertyAccess', 'KindCollectionComplexNode', 'KindSingleComplexNode', 'KindCount', 'KindSingleValueCast', 'KindCollectionPropertyNode', 'KindAggregatedCollectionPropertyNode', 'KindIn', 'KindCollectionConstant'
	Kind Kind `json:"kind,omitempty"`
}

SingleValueNode ...

type Solution

type Solution struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Gets the relative URL to get to this REST resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Gets the name of this REST resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Gets the type of this REST resource.
	Type *string `json:"type,omitempty"`
	// Etag - Gets or sets the ETAG for optimistic concurrency control.
	Etag *string `json:"etag,omitempty"`
	// Properties - Gets or sets the properties of the solution.
	Properties *SolutionProperties `json:"properties,omitempty"`
}

Solution solution REST Resource.

func (Solution) MarshalJSON

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

MarshalJSON is the custom marshaler for Solution.

type SolutionConfig

type SolutionConfig struct {
	autorest.Response `json:"-"`
	// PublisherSasURI - Gets or sets the publisher sas uri for the solution.
	PublisherSasURI *string `json:"publisherSasUri,omitempty"`
}

SolutionConfig class representing the config for the solution in the migrate project.

type SolutionDetails

type SolutionDetails struct {
	// GroupCount - Gets or sets the count of groups reported by the solution.
	GroupCount *int32 `json:"groupCount,omitempty"`
	// AssessmentCount - Gets or sets the count of assessments reported by the solution.
	AssessmentCount *int32 `json:"assessmentCount,omitempty"`
	// ExtendedDetails - Gets or sets the extended details reported by the solution.
	ExtendedDetails map[string]*string `json:"extendedDetails"`
}

SolutionDetails class representing the details of the solution.

func (SolutionDetails) MarshalJSON

func (sd SolutionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SolutionDetails.

type SolutionProperties

type SolutionProperties struct {
	// Tool - Gets or sets the tool being used in the solution. Possible values include: 'Tool1ServerDiscovery', 'Tool1ServerAssessment', 'Tool1ServerMigration', 'Tool1Cloudamize', 'Tool1Turbonomic', 'Tool1Zerto', 'Tool1CorentTech', 'Tool1ServerAssessmentV1', 'Tool1ServerMigrationReplication', 'Tool1Carbonite', 'Tool1DataMigrationAssistant', 'Tool1DatabaseMigrationService'
	Tool Tool1 `json:"tool,omitempty"`
	// Purpose - Gets or sets the purpose of the solution. Possible values include: 'Discovery', 'Assessment', 'Migration'
	Purpose Purpose `json:"purpose,omitempty"`
	// Goal - Gets or sets the goal of the solution. Possible values include: 'Goal1Servers', 'Goal1Databases'
	Goal Goal1 `json:"goal,omitempty"`
	// Status - Gets or sets the current status of the solution. Possible values include: 'Inactive', 'Active'
	Status Status `json:"status,omitempty"`
	// CleanupState - Gets or sets the cleanup state of the solution. Possible values include: 'None', 'Started', 'InProgress', 'Completed', 'Failed'
	CleanupState CleanupState `json:"cleanupState,omitempty"`
	// Summary - Gets or sets the summary of the solution.
	Summary BasicSolutionSummary `json:"summary,omitempty"`
	// Details - Gets or sets the details of the solution.
	Details *SolutionDetails `json:"details,omitempty"`
}

SolutionProperties class for solution properties.

func (*SolutionProperties) UnmarshalJSON

func (sp *SolutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SolutionProperties struct.

type SolutionSummary

type SolutionSummary struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary', 'InstanceTypeBasicSolutionSummaryInstanceTypeServers', 'InstanceTypeBasicSolutionSummaryInstanceTypeDatabases'
	InstanceType InstanceTypeBasicSolutionSummary `json:"instanceType,omitempty"`
}

SolutionSummary the solution summary class.

func (SolutionSummary) AsBasicSolutionSummary

func (ss SolutionSummary) AsBasicSolutionSummary() (BasicSolutionSummary, bool)

AsBasicSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) AsDatabasesSolutionSummary

func (ss SolutionSummary) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)

AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) AsServersSolutionSummary

func (ss SolutionSummary) AsServersSolutionSummary() (*ServersSolutionSummary, bool)

AsServersSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) AsSolutionSummary

func (ss SolutionSummary) AsSolutionSummary() (*SolutionSummary, bool)

AsSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) MarshalJSON

func (ss SolutionSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SolutionSummary.

type SolutionsClient

type SolutionsClient struct {
	BaseClient
}

SolutionsClient is the migrate your workloads to Azure.

func NewSolutionsClient

func NewSolutionsClient(subscriptionID string, acceptLanguage string) SolutionsClient

NewSolutionsClient creates an instance of the SolutionsClient client.

func NewSolutionsClientWithBaseURI

func NewSolutionsClientWithBaseURI(baseURI string, subscriptionID string, acceptLanguage string) SolutionsClient

NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SolutionsClient) CleanupSolutionData

func (client SolutionsClient) CleanupSolutionData(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (result autorest.Response, err error)

CleanupSolutionData sends the cleanup solution data request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. solutionName - unique name of a migration solution within a migrate project.

func (SolutionsClient) CleanupSolutionDataPreparer

func (client SolutionsClient) CleanupSolutionDataPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)

CleanupSolutionDataPreparer prepares the CleanupSolutionData request.

func (SolutionsClient) CleanupSolutionDataResponder

func (client SolutionsClient) CleanupSolutionDataResponder(resp *http.Response) (result autorest.Response, err error)

CleanupSolutionDataResponder handles the response to the CleanupSolutionData request. The method always closes the http.Response Body.

func (SolutionsClient) CleanupSolutionDataSender

func (client SolutionsClient) CleanupSolutionDataSender(req *http.Request) (*http.Response, error)

CleanupSolutionDataSender sends the CleanupSolutionData request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) DeleteSolution

func (client SolutionsClient) DeleteSolution(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (result autorest.Response, err error)

DeleteSolution delete the solution. Deleting non-existent project is a no-operation. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. solutionName - unique name of a migration solution within a migrate project.

func (SolutionsClient) DeleteSolutionPreparer

func (client SolutionsClient) DeleteSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)

DeleteSolutionPreparer prepares the DeleteSolution request.

func (SolutionsClient) DeleteSolutionResponder

func (client SolutionsClient) DeleteSolutionResponder(resp *http.Response) (result autorest.Response, err error)

DeleteSolutionResponder handles the response to the DeleteSolution request. The method always closes the http.Response Body.

func (SolutionsClient) DeleteSolutionSender

func (client SolutionsClient) DeleteSolutionSender(req *http.Request) (*http.Response, error)

DeleteSolutionSender sends the DeleteSolution request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) EnumerateSolutions

func (client SolutionsClient) EnumerateSolutions(ctx context.Context, resourceGroupName string, migrateProjectName string) (result SolutionsCollection, err error)

EnumerateSolutions sends the enumerate solutions request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project.

func (SolutionsClient) EnumerateSolutionsPreparer

func (client SolutionsClient) EnumerateSolutionsPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string) (*http.Request, error)

EnumerateSolutionsPreparer prepares the EnumerateSolutions request.

func (SolutionsClient) EnumerateSolutionsResponder

func (client SolutionsClient) EnumerateSolutionsResponder(resp *http.Response) (result SolutionsCollection, err error)

EnumerateSolutionsResponder handles the response to the EnumerateSolutions request. The method always closes the http.Response Body.

func (SolutionsClient) EnumerateSolutionsSender

func (client SolutionsClient) EnumerateSolutionsSender(req *http.Request) (*http.Response, error)

EnumerateSolutionsSender sends the EnumerateSolutions request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) GetConfig

func (client SolutionsClient) GetConfig(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (result SolutionConfig, err error)

GetConfig sends the get config request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. solutionName - unique name of a migration solution within a migrate project.

func (SolutionsClient) GetConfigPreparer

func (client SolutionsClient) GetConfigPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)

GetConfigPreparer prepares the GetConfig request.

func (SolutionsClient) GetConfigResponder

func (client SolutionsClient) GetConfigResponder(resp *http.Response) (result SolutionConfig, err error)

GetConfigResponder handles the response to the GetConfig request. The method always closes the http.Response Body.

func (SolutionsClient) GetConfigSender

func (client SolutionsClient) GetConfigSender(req *http.Request) (*http.Response, error)

GetConfigSender sends the GetConfig request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) GetSolution

func (client SolutionsClient) GetSolution(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (result Solution, err error)

GetSolution sends the get solution request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. solutionName - unique name of a migration solution within a migrate project.

func (SolutionsClient) GetSolutionPreparer

func (client SolutionsClient) GetSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)

GetSolutionPreparer prepares the GetSolution request.

func (SolutionsClient) GetSolutionResponder

func (client SolutionsClient) GetSolutionResponder(resp *http.Response) (result Solution, err error)

GetSolutionResponder handles the response to the GetSolution request. The method always closes the http.Response Body.

func (SolutionsClient) GetSolutionSender

func (client SolutionsClient) GetSolutionSender(req *http.Request) (*http.Response, error)

GetSolutionSender sends the GetSolution request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) PatchSolution

func (client SolutionsClient) PatchSolution(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string, solutionInput Solution) (result Solution, err error)

PatchSolution update a solution with specified name. Supports partial updates, for example only tags can be provided. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. solutionName - unique name of a migration solution within a migrate project. solutionInput - the input for the solution.

func (SolutionsClient) PatchSolutionPreparer

func (client SolutionsClient) PatchSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string, solutionInput Solution) (*http.Request, error)

PatchSolutionPreparer prepares the PatchSolution request.

func (SolutionsClient) PatchSolutionResponder

func (client SolutionsClient) PatchSolutionResponder(resp *http.Response) (result Solution, err error)

PatchSolutionResponder handles the response to the PatchSolution request. The method always closes the http.Response Body.

func (SolutionsClient) PatchSolutionSender

func (client SolutionsClient) PatchSolutionSender(req *http.Request) (*http.Response, error)

PatchSolutionSender sends the PatchSolution request. The method will close the http.Response Body if it receives an error.

func (SolutionsClient) PutSolution

func (client SolutionsClient) PutSolution(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string, solutionInput Solution) (result Solution, err error)

PutSolution sends the put solution request. Parameters: resourceGroupName - name of the Azure Resource Group that migrate project is part of. migrateProjectName - name of the Azure Migrate project. solutionName - unique name of a migration solution within a migrate project. solutionInput - the input for the solution.

func (SolutionsClient) PutSolutionPreparer

func (client SolutionsClient) PutSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string, solutionInput Solution) (*http.Request, error)

PutSolutionPreparer prepares the PutSolution request.

func (SolutionsClient) PutSolutionResponder

func (client SolutionsClient) PutSolutionResponder(resp *http.Response) (result Solution, err error)

PutSolutionResponder handles the response to the PutSolution request. The method always closes the http.Response Body.

func (SolutionsClient) PutSolutionSender

func (client SolutionsClient) PutSolutionSender(req *http.Request) (*http.Response, error)

PutSolutionSender sends the PutSolution request. The method will close the http.Response Body if it receives an error.

type SolutionsCollection

type SolutionsCollection struct {
	autorest.Response `json:"-"`
	// Value - Gets or sets the list of solutions.
	Value *[]Solution `json:"value,omitempty"`
	// NextLink - Gets or sets the value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

SolutionsCollection collection of solutions.

type Status

type Status string

Status enumerates the values for status.

const (
	// Active ...
	Active Status = "Active"
	// Inactive ...
	Inactive Status = "Inactive"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type Tool

type Tool string

Tool enumerates the values for tool.

const (
	// Carbonite ...
	Carbonite Tool = "Carbonite"
	// Cloudamize ...
	Cloudamize Tool = "Cloudamize"
	// CorentTech ...
	CorentTech Tool = "CorentTech"
	// DatabaseMigrationService ...
	DatabaseMigrationService Tool = "DatabaseMigrationService"
	// DataMigrationAssistant ...
	DataMigrationAssistant Tool = "DataMigrationAssistant"
	// ServerAssessment ...
	ServerAssessment Tool = "ServerAssessment"
	// ServerAssessmentV1 ...
	ServerAssessmentV1 Tool = "ServerAssessmentV1"
	// ServerDiscovery ...
	ServerDiscovery Tool = "ServerDiscovery"
	// ServerMigration ...
	ServerMigration Tool = "ServerMigration"
	// ServerMigrationReplication ...
	ServerMigrationReplication Tool = "ServerMigration_Replication"
	// Turbonomic ...
	Turbonomic Tool = "Turbonomic"
	// Zerto ...
	Zerto Tool = "Zerto"
)

func PossibleToolValues

func PossibleToolValues() []Tool

PossibleToolValues returns an array of possible values for the Tool const type.

type Tool1

type Tool1 string

Tool1 enumerates the values for tool 1.

const (
	// Tool1Carbonite ...
	Tool1Carbonite Tool1 = "Carbonite"
	// Tool1Cloudamize ...
	Tool1Cloudamize Tool1 = "Cloudamize"
	// Tool1CorentTech ...
	Tool1CorentTech Tool1 = "CorentTech"
	// Tool1DatabaseMigrationService ...
	Tool1DatabaseMigrationService Tool1 = "DatabaseMigrationService"
	// Tool1DataMigrationAssistant ...
	Tool1DataMigrationAssistant Tool1 = "DataMigrationAssistant"
	// Tool1ServerAssessment ...
	Tool1ServerAssessment Tool1 = "ServerAssessment"
	// Tool1ServerAssessmentV1 ...
	Tool1ServerAssessmentV1 Tool1 = "ServerAssessmentV1"
	// Tool1ServerDiscovery ...
	Tool1ServerDiscovery Tool1 = "ServerDiscovery"
	// Tool1ServerMigration ...
	Tool1ServerMigration Tool1 = "ServerMigration"
	// Tool1ServerMigrationReplication ...
	Tool1ServerMigrationReplication Tool1 = "ServerMigration_Replication"
	// Tool1Turbonomic ...
	Tool1Turbonomic Tool1 = "Turbonomic"
	// Tool1Zerto ...
	Tool1Zerto Tool1 = "Zerto"
)

func PossibleTool1Values

func PossibleTool1Values() []Tool1

PossibleTool1Values returns an array of possible values for the Tool1 const type.

type TransformationNode

type TransformationNode struct {
	// Kind - READ-ONLY; Possible values include: 'Aggregate', 'GroupBy', 'Filter', 'Compute'
	Kind Kind1 `json:"kind,omitempty"`
}

TransformationNode ...

type TypeKind

type TypeKind string

TypeKind enumerates the values for type kind.

const (
	// TypeKindCollection ...
	TypeKindCollection TypeKind = "Collection"
	// TypeKindComplex ...
	TypeKindComplex TypeKind = "Complex"
	// TypeKindEntity ...
	TypeKindEntity TypeKind = "Entity"
	// TypeKindEntityReference ...
	TypeKindEntityReference TypeKind = "EntityReference"
	// TypeKindEnum ...
	TypeKindEnum TypeKind = "Enum"
	// TypeKindNone ...
	TypeKindNone TypeKind = "None"
	// TypeKindPath ...
	TypeKindPath TypeKind = "Path"
	// TypeKindPrimitive ...
	TypeKindPrimitive TypeKind = "Primitive"
	// TypeKindTypeDefinition ...
	TypeKindTypeDefinition TypeKind = "TypeDefinition"
	// TypeKindUntyped ...
	TypeKindUntyped TypeKind = "Untyped"
)

func PossibleTypeKindValues

func PossibleTypeKindValues() []TypeKind

PossibleTypeKindValues returns an array of possible values for the TypeKind const type.

type TypeKind1

type TypeKind1 string

TypeKind1 enumerates the values for type kind 1.

const (
	// TypeKind1Collection ...
	TypeKind1Collection TypeKind1 = "Collection"
	// TypeKind1Complex ...
	TypeKind1Complex TypeKind1 = "Complex"
	// TypeKind1Entity ...
	TypeKind1Entity TypeKind1 = "Entity"
	// TypeKind1EntityReference ...
	TypeKind1EntityReference TypeKind1 = "EntityReference"
	// TypeKind1Enum ...
	TypeKind1Enum TypeKind1 = "Enum"
	// TypeKind1None ...
	TypeKind1None TypeKind1 = "None"
	// TypeKind1Path ...
	TypeKind1Path TypeKind1 = "Path"
	// TypeKind1Primitive ...
	TypeKind1Primitive TypeKind1 = "Primitive"
	// TypeKind1TypeDefinition ...
	TypeKind1TypeDefinition TypeKind1 = "TypeDefinition"
	// TypeKind1Untyped ...
	TypeKind1Untyped TypeKind1 = "Untyped"
)

func PossibleTypeKind1Values

func PossibleTypeKind1Values() []TypeKind1

PossibleTypeKind1Values returns an array of possible values for the TypeKind1 const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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