const ( // DefaultBaseURI is the default URI used for the service Migrate DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
ApplyClause ...
type ApplyClause struct { // Transformations - READ-ONLY Transformations *[]TransformationNode `json:"transformations,omitempty"` }
func (ac ApplyClause) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplyClause.
AssessmentDetails assessment properties that can be shared by various publishers.
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"` }
func (ad AssessmentDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssessmentDetails.
BaseClient is the base client for Migrate.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string AcceptLanguage string }
func New(subscriptionID string, acceptLanguage string) BaseClient
New creates an instance of the BaseClient client.
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).
BasicEventProperties properties of the error resource.
type BasicEventProperties interface { AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool) AsEventProperties() (*EventProperties, bool) }
BasicProjectSummary the project summary class.
type BasicProjectSummary interface { AsServersProjectSummary() (*ServersProjectSummary, bool) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool) AsProjectSummary() (*ProjectSummary, bool) }
BasicSolutionSummary the solution summary class.
type BasicSolutionSummary interface { AsServersSolutionSummary() (*ServersSolutionSummary, bool) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool) AsSolutionSummary() (*SolutionSummary, bool) }
CleanupState enumerates the values for cleanup state.
type CleanupState string
const ( // Completed ... Completed CleanupState = "Completed" // Failed ... Failed CleanupState = "Failed" // InProgress ... InProgress CleanupState = "InProgress" // None ... None CleanupState = "None" // Started ... Started CleanupState = "Started" )
func PossibleCleanupStateValues() []CleanupState
PossibleCleanupStateValues returns an array of possible values for the CleanupState const type.
ContainerElementKind enumerates the values for container element kind.
type ContainerElementKind string
const ( // ContainerElementKindActionImport ... ContainerElementKindActionImport ContainerElementKind = "ActionImport" // ContainerElementKindEntitySet ... ContainerElementKindEntitySet ContainerElementKind = "EntitySet" // ContainerElementKindFunctionImport ... ContainerElementKindFunctionImport ContainerElementKind = "FunctionImport" // ContainerElementKindNone ... ContainerElementKindNone ContainerElementKind = "None" // ContainerElementKindSingleton ... ContainerElementKindSingleton ContainerElementKind = "Singleton" )
func PossibleContainerElementKindValues() []ContainerElementKind
PossibleContainerElementKindValues returns an array of possible values for the ContainerElementKind const type.
Database database REST resource.
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"` }
func (d Database) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Database.
DatabaseAssessmentDetails assessment properties that can be shared by various publishers.
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"` }
func (dad DatabaseAssessmentDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseAssessmentDetails.
DatabaseCollection collection of databases.
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"` }
DatabaseInstance databaseInstance REST resource.
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"` }
func (di DatabaseInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseInstance.
DatabaseInstanceCollection collection of database instances.
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"` }
DatabaseInstanceDiscoveryDetails discovery properties that can be shared by various publishers.
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"` }
func (didd DatabaseInstanceDiscoveryDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseInstanceDiscoveryDetails.
DatabaseInstanceProperties properties of the database instance resource.
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"` }
func (dip DatabaseInstanceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseInstanceProperties.
DatabaseInstanceSummary class representing the database instance summary object.
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"` }
DatabaseInstancesClient is the migrate your workloads to Azure.
type DatabaseInstancesClient struct { BaseClient }
func NewDatabaseInstancesClient(subscriptionID string, acceptLanguage string) DatabaseInstancesClient
NewDatabaseInstancesClient creates an instance of the DatabaseInstancesClient client.
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 (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 (client DatabaseInstancesClient) EnumerateDatabaseInstancesPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)
EnumerateDatabaseInstancesPreparer prepares the EnumerateDatabaseInstances request.
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 (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 (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 (client DatabaseInstancesClient) GetDatabaseInstancePreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, databaseInstanceName string) (*http.Request, error)
GetDatabaseInstancePreparer prepares the GetDatabaseInstance request.
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 (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.
DatabaseMigrateEventProperties properties of the database error resource.
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"` }
func (dmep DatabaseMigrateEventProperties) AsBasicEventProperties() (BasicEventProperties, bool)
AsBasicEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.
func (dmep DatabaseMigrateEventProperties) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)
AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.
func (dmep DatabaseMigrateEventProperties) AsEventProperties() (*EventProperties, bool)
AsEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.
func (dmep DatabaseMigrateEventProperties) AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)
AsMachineMigrateEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.
func (dmep DatabaseMigrateEventProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseMigrateEventProperties.
DatabaseProjectSummary the database project summary class.
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"` }
func (dps DatabaseProjectSummary) AsBasicProjectSummary() (BasicProjectSummary, bool)
AsBasicProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.
func (dps DatabaseProjectSummary) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)
AsDatabaseProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.
func (dps DatabaseProjectSummary) AsProjectSummary() (*ProjectSummary, bool)
AsProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.
func (dps DatabaseProjectSummary) AsServersProjectSummary() (*ServersProjectSummary, bool)
AsServersProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.
func (dps DatabaseProjectSummary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabaseProjectSummary.
DatabaseProperties properties of the database resource.
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"` }
DatabasesClient is the migrate your workloads to Azure.
type DatabasesClient struct { BaseClient }
func NewDatabasesClient(subscriptionID string, acceptLanguage string) DatabasesClient
NewDatabasesClient creates an instance of the DatabasesClient client.
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 (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 (client DatabasesClient) EnumerateDatabasesPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)
EnumerateDatabasesPreparer prepares the EnumerateDatabases request.
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 (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 (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 (client DatabasesClient) GetDatabasePreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, databaseName string) (*http.Request, error)
GetDatabasePreparer prepares the GetDatabase request.
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 (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.
DatabasesSolutionSummary class representing the databases solution summary.
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"` }
func (dss DatabasesSolutionSummary) AsBasicSolutionSummary() (BasicSolutionSummary, bool)
AsBasicSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.
func (dss DatabasesSolutionSummary) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)
AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.
func (dss DatabasesSolutionSummary) AsServersSolutionSummary() (*ServersSolutionSummary, bool)
AsServersSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.
func (dss DatabasesSolutionSummary) AsSolutionSummary() (*SolutionSummary, bool)
AsSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.
func (dss DatabasesSolutionSummary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DatabasesSolutionSummary.
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"` }
DiscoveryDetails discovery properties that can be published by various ISVs.
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"` }
func (dd DiscoveryDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiscoveryDetails.
EdmReferentialConstraintPropertyPair ...
type EdmReferentialConstraintPropertyPair struct { // DependentProperty - READ-ONLY DependentProperty *IEdmStructuralProperty `json:"dependentProperty,omitempty"` // PrincipalProperty - READ-ONLY PrincipalProperty *IEdmStructuralProperty `json:"principalProperty,omitempty"` }
func (ercpp EdmReferentialConstraintPropertyPair) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EdmReferentialConstraintPropertyPair.
Event migrateEvent REST resource.
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"` }
func (e Event) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Event.
func (e *Event) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Event struct.
EventCollection collection of events.
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"` }
EventProperties properties of the error resource.
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"` }
func (ep EventProperties) AsBasicEventProperties() (BasicEventProperties, bool)
AsBasicEventProperties is the BasicEventProperties implementation for EventProperties.
func (ep EventProperties) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)
AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for EventProperties.
func (ep EventProperties) AsEventProperties() (*EventProperties, bool)
AsEventProperties is the BasicEventProperties implementation for EventProperties.
func (ep EventProperties) AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)
AsMachineMigrateEventProperties is the BasicEventProperties implementation for EventProperties.
func (ep EventProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EventProperties.
EventsClient is the migrate your workloads to Azure.
type EventsClient struct { BaseClient }
func NewEventsClient(subscriptionID string, acceptLanguage string) EventsClient
NewEventsClient creates an instance of the EventsClient client.
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 (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 (client EventsClient) DeleteEventPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, eventName string) (*http.Request, error)
DeleteEventPreparer prepares the DeleteEvent request.
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 (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 (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 (client EventsClient) EnumerateEventsPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)
EnumerateEventsPreparer prepares the EnumerateEvents request.
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 (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 (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 (client EventsClient) GetEventPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, eventName string) (*http.Request, error)
GetEventPreparer prepares the GetEvent request.
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 (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.
ExpressionKind enumerates the values for expression kind.
type ExpressionKind string
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 ... 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() []ExpressionKind
PossibleExpressionKindValues returns an array of possible values for the ExpressionKind const type.
ExpressionKind1 enumerates the values for expression kind 1.
type ExpressionKind1 string
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 ... 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() []ExpressionKind1
PossibleExpressionKind1Values returns an array of possible values for the ExpressionKind1 const 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"` }
func (fc FilterClause) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FilterClause.
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"` }
func (fqo FilterQueryOption) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FilterQueryOption.
Goal enumerates the values for goal.
type Goal string
const ( // Databases ... Databases Goal = "Databases" // Servers ... Servers Goal = "Servers" )
func PossibleGoalValues() []Goal
PossibleGoalValues returns an array of possible values for the Goal const type.
Goal1 enumerates the values for goal 1.
type Goal1 string
const ( // Goal1Databases ... Goal1Databases Goal1 = "Databases" // Goal1Servers ... Goal1Servers Goal1 = "Servers" )
func PossibleGoal1Values() []Goal1
PossibleGoal1Values returns an array of possible values for the Goal1 const 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"` }
func (ieec IEdmEntityContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmEntityContainer.
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"` }
func (ieece IEdmEntityContainerElement) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmEntityContainerElement.
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"` }
func (iee IEdmExpression) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmExpression.
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"` }
func (iem IEdmModel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmModel.
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"` }
func (ienp IEdmNavigationProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmNavigationProperty.
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"` }
func (ienpb IEdmNavigationPropertyBinding) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmNavigationPropertyBinding.
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"` }
func (iens IEdmNavigationSource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmNavigationSource.
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"` }
func (iepe IEdmPathExpression) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmPathExpression.
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"` }
func (iep IEdmProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmProperty.
IEdmReferentialConstraint ...
type IEdmReferentialConstraint struct { // PropertyPairs - READ-ONLY PropertyPairs *[]EdmReferentialConstraintPropertyPair `json:"propertyPairs,omitempty"` }
func (ierc IEdmReferentialConstraint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmReferentialConstraint.
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"` }
func (iese IEdmSchemaElement) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmSchemaElement.
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"` }
func (iesp IEdmStructuralProperty) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmStructuralProperty.
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"` }
func (iest IEdmStructuredType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmStructuredType.
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"` }
func (iet IEdmTerm) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmTerm.
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"` }
func (iet IEdmType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmType.
IEdmTypeReference ...
type IEdmTypeReference struct { // IsNullable - READ-ONLY IsNullable *bool `json:"isNullable,omitempty"` // Definition - READ-ONLY Definition *IEdmType `json:"definition,omitempty"` }
func (ietr IEdmTypeReference) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmTypeReference.
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"` }
func (ieva IEdmVocabularyAnnotation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IEdmVocabularyAnnotation.
InstanceType enumerates the values for instance type.
type InstanceType string
const ( // InstanceTypeDatabases ... InstanceTypeDatabases InstanceType = "Databases" // InstanceTypeMigrateEventProperties ... InstanceTypeMigrateEventProperties InstanceType = "MigrateEventProperties" // InstanceTypeServers ... InstanceTypeServers InstanceType = "Servers" )
func PossibleInstanceTypeValues() []InstanceType
PossibleInstanceTypeValues returns an array of possible values for the InstanceType const type.
InstanceTypeBasicProjectSummary enumerates the values for instance type basic project summary.
type InstanceTypeBasicProjectSummary string
const ( // InstanceTypeBasicProjectSummaryInstanceTypeDatabases ... InstanceTypeBasicProjectSummaryInstanceTypeDatabases InstanceTypeBasicProjectSummary = "Databases" // InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary ... InstanceTypeBasicProjectSummaryInstanceTypeProjectSummary InstanceTypeBasicProjectSummary = "ProjectSummary" // InstanceTypeBasicProjectSummaryInstanceTypeServers ... InstanceTypeBasicProjectSummaryInstanceTypeServers InstanceTypeBasicProjectSummary = "Servers" )
func PossibleInstanceTypeBasicProjectSummaryValues() []InstanceTypeBasicProjectSummary
PossibleInstanceTypeBasicProjectSummaryValues returns an array of possible values for the InstanceTypeBasicProjectSummary const type.
InstanceTypeBasicSolutionSummary enumerates the values for instance type basic solution summary.
type InstanceTypeBasicSolutionSummary string
const ( // InstanceTypeBasicSolutionSummaryInstanceTypeDatabases ... InstanceTypeBasicSolutionSummaryInstanceTypeDatabases InstanceTypeBasicSolutionSummary = "Databases" // InstanceTypeBasicSolutionSummaryInstanceTypeServers ... InstanceTypeBasicSolutionSummaryInstanceTypeServers InstanceTypeBasicSolutionSummary = "Servers" // InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary ... InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary InstanceTypeBasicSolutionSummary = "SolutionSummary" )
func PossibleInstanceTypeBasicSolutionSummaryValues() []InstanceTypeBasicSolutionSummary
PossibleInstanceTypeBasicSolutionSummaryValues returns an array of possible values for the InstanceTypeBasicSolutionSummary const type.
Kind enumerates the values for kind.
type Kind string
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 ... 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 ... 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() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
Kind1 enumerates the values for kind 1.
type Kind1 string
const ( // Aggregate ... Aggregate Kind1 = "Aggregate" // Compute ... Compute Kind1 = "Compute" // Filter ... Filter Kind1 = "Filter" // GroupBy ... GroupBy Kind1 = "GroupBy" )
func PossibleKind1Values() []Kind1
PossibleKind1Values returns an array of possible values for the Kind1 const type.
Machine machine REST resource.
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"` }
func (mVar Machine) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Machine.
MachineCollection collection of machines.
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"` }
MachineMigrateEventProperties properties of the machine error resource.
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"` }
func (mmep MachineMigrateEventProperties) AsBasicEventProperties() (BasicEventProperties, bool)
AsBasicEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.
func (mmep MachineMigrateEventProperties) AsDatabaseMigrateEventProperties() (*DatabaseMigrateEventProperties, bool)
AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.
func (mmep MachineMigrateEventProperties) AsEventProperties() (*EventProperties, bool)
AsEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.
func (mmep MachineMigrateEventProperties) AsMachineMigrateEventProperties() (*MachineMigrateEventProperties, bool)
AsMachineMigrateEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.
func (mmep MachineMigrateEventProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MachineMigrateEventProperties.
MachineProperties properties of the machine resource.
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"` }
MachinesClient is the migrate your workloads to Azure.
type MachinesClient struct { BaseClient }
func NewMachinesClient(subscriptionID string, acceptLanguage string) MachinesClient
NewMachinesClient creates an instance of the MachinesClient client.
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 (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 (client MachinesClient) EnumerateMachinesPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, continuationToken string, pageSize *int32) (*http.Request, error)
EnumerateMachinesPreparer prepares the EnumerateMachines request.
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 (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 (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 (client MachinesClient) GetMachinePreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, machineName string) (*http.Request, error)
GetMachinePreparer prepares the GetMachine request.
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 (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.
MigrationDetails migration properties that can be shared by various publishers.
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"` }
func (md MigrationDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MigrationDetails.
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"` }
func (odp ODataPath) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ODataPath.
ODataPathSegment ...
type ODataPathSegment struct { // EdmType - READ-ONLY EdmType *IEdmType `json:"edmType,omitempty"` Identifier *string `json:"identifier,omitempty"` }
func (odps ODataPathSegment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ODataPathSegment.
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"` }
func (odqc ODataQueryContext) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ODataQueryContext.
ODataQueryOptions1 ...
type ODataQueryOptions1 struct { // Filter - READ-ONLY Filter *FilterQueryOption `json:"filter,omitempty"` }
func (odqo ODataQueryOptions1) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ODataQueryOptions1.
ODataRawQueryOptions ...
type ODataRawQueryOptions struct { // Filter - READ-ONLY Filter *string `json:"filter,omitempty"` }
func (odrqo ODataRawQueryOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ODataRawQueryOptions.
OnDelete enumerates the values for on delete.
type OnDelete string
const ( // OnDeleteCascade ... OnDeleteCascade OnDelete = "Cascade" // OnDeleteNone ... OnDeleteNone OnDelete = "None" )
func PossibleOnDeleteValues() []OnDelete
PossibleOnDeleteValues returns an array of possible values for the OnDelete const type.
Operation a REST API operation supported by the provider.
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"` }
func (o Operation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Operation.
OperationDisplay displayable properties of the operation.
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"` }
func (od OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
OperationResultList list of API operations.
type OperationResultList struct { autorest.Response `json:"-"` // Value - List of operations. Value *[]Operation `json:"value,omitempty"` }
OperationsClient is the migrate your workloads to Azure.
type OperationsClient struct { BaseClient }
func NewOperationsClient(subscriptionID string, acceptLanguage string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
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 (client OperationsClient) List(ctx context.Context) (result OperationResultList, err error)
List get a list of REST API supported by Microsoft.Migrate provider.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (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.
Project migrate Project REST Resource.
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"` }
func (p Project) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Project.
ProjectProperties class for migrate project properties.
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"` }
func (pp ProjectProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProjectProperties.
ProjectSummary the project summary class.
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"` }
func (ps ProjectSummary) AsBasicProjectSummary() (BasicProjectSummary, bool)
AsBasicProjectSummary is the BasicProjectSummary implementation for ProjectSummary.
func (ps ProjectSummary) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)
AsDatabaseProjectSummary is the BasicProjectSummary implementation for ProjectSummary.
func (ps ProjectSummary) AsProjectSummary() (*ProjectSummary, bool)
AsProjectSummary is the BasicProjectSummary implementation for ProjectSummary.
func (ps ProjectSummary) AsServersProjectSummary() (*ServersProjectSummary, bool)
AsServersProjectSummary is the BasicProjectSummary implementation for ProjectSummary.
func (ps ProjectSummary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProjectSummary.
ProjectTags gets or sets the tags.
type ProjectTags struct { AdditionalProperties *string `json:"additionalProperties,omitempty"` }
ProjectsClient is the migrate your workloads to Azure.
type ProjectsClient struct { BaseClient }
func NewProjectsClient(subscriptionID string, acceptLanguage string) ProjectsClient
NewProjectsClient creates an instance of the ProjectsClient client.
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 (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 (client ProjectsClient) DeleteMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string) (*http.Request, error)
DeleteMigrateProjectPreparer prepares the DeleteMigrateProject request.
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 (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 (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 (client ProjectsClient) GetMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string) (*http.Request, error)
GetMigrateProjectPreparer prepares the GetMigrateProject request.
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 (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 (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 (client ProjectsClient) PatchMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, body Project) (*http.Request, error)
PatchMigrateProjectPreparer prepares the PatchMigrateProject request.
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 (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 (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 (client ProjectsClient) PutMigrateProjectPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, body Project) (*http.Request, error)
PutMigrateProjectPreparer prepares the PutMigrateProject request.
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 (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 (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 (client ProjectsClient) RefreshMigrateProjectSummaryPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, input RefreshSummaryInput) (*http.Request, error)
RefreshMigrateProjectSummaryPreparer prepares the RefreshMigrateProjectSummary request.
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 (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 (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 (client ProjectsClient) RegisterToolPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, input RegisterToolInput) (*http.Request, error)
RegisterToolPreparer prepares the RegisterTool request.
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 (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.
PropertyKind enumerates the values for property kind.
type PropertyKind string
const ( // PropertyKindNavigation ... PropertyKind = "Navigation" // PropertyKindNone ... PropertyKindNone PropertyKind = "None" // PropertyKindStructural ... PropertyKindStructural PropertyKind = "Structural" )
func PossiblePropertyKindValues() []PropertyKind
PossiblePropertyKindValues returns an array of possible values for the PropertyKind const type.
PropertyKind1 enumerates the values for property kind 1.
type PropertyKind1 string
const ( // PropertyKind1Navigation ... PropertyKind1 = "Navigation" // PropertyKind1None ... PropertyKind1None PropertyKind1 = "None" // PropertyKind1Structural ... PropertyKind1Structural PropertyKind1 = "Structural" )
func PossiblePropertyKind1Values() []PropertyKind1
PossiblePropertyKind1Values returns an array of possible values for the PropertyKind1 const type.
PropertyKind2 enumerates the values for property kind 2.
type PropertyKind2 string
const ( // PropertyKind2Navigation ... PropertyKind2 = "Navigation" // PropertyKind2None ... PropertyKind2None PropertyKind2 = "None" // PropertyKind2Structural ... PropertyKind2Structural PropertyKind2 = "Structural" )
func PossiblePropertyKind2Values() []PropertyKind2
PossiblePropertyKind2Values returns an array of possible values for the PropertyKind2 const type.
ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
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() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
Purpose enumerates the values for purpose.
type Purpose string
const ( // Assessment ... Assessment Purpose = "Assessment" // Discovery ... Discovery Purpose = "Discovery" // Migration ... Migration Purpose = "Migration" )
func PossiblePurposeValues() []Purpose
PossiblePurposeValues returns an array of possible values for the Purpose const 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"` }
func (rv RangeVariable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RangeVariable.
RefreshSummaryInput class representing the refresh summary input.
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"` }
RefreshSummaryResult class representing the refresh summary status of the migrate project.
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"` }
RefreshSummaryState enumerates the values for refresh summary state.
type RefreshSummaryState string
const ( // RefreshSummaryStateCompleted ... RefreshSummaryStateCompleted RefreshSummaryState = "Completed" // RefreshSummaryStateFailed ... RefreshSummaryStateFailed RefreshSummaryState = "Failed" // RefreshSummaryStateInProgress ... RefreshSummaryStateInProgress RefreshSummaryState = "InProgress" // RefreshSummaryStateStarted ... RefreshSummaryStateStarted RefreshSummaryState = "Started" )
func PossibleRefreshSummaryStateValues() []RefreshSummaryState
PossibleRefreshSummaryStateValues returns an array of possible values for the RefreshSummaryState const type.
RefreshSummaryState1 enumerates the values for refresh summary state 1.
type RefreshSummaryState1 string
const ( // RefreshSummaryState1Completed ... RefreshSummaryState1Completed RefreshSummaryState1 = "Completed" // RefreshSummaryState1Failed ... RefreshSummaryState1Failed RefreshSummaryState1 = "Failed" // RefreshSummaryState1InProgress ... RefreshSummaryState1InProgress RefreshSummaryState1 = "InProgress" // RefreshSummaryState1Started ... RefreshSummaryState1Started RefreshSummaryState1 = "Started" )
func PossibleRefreshSummaryState1Values() []RefreshSummaryState1
PossibleRefreshSummaryState1Values returns an array of possible values for the RefreshSummaryState1 const type.
RegisterToolInput class representing the register tool input.
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"` }
RegistrationResult class representing the registration status of a tool with the migrate project.
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"` }
SchemaElementKind enumerates the values for schema element kind.
type SchemaElementKind string
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() []SchemaElementKind
PossibleSchemaElementKindValues returns an array of possible values for the SchemaElementKind const type.
SchemaElementKind1 enumerates the values for schema element kind 1.
type SchemaElementKind1 string
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() []SchemaElementKind1
PossibleSchemaElementKind1Values returns an array of possible values for the SchemaElementKind1 const type.
SchemaElementKind2 enumerates the values for schema element kind 2.
type SchemaElementKind2 string
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() []SchemaElementKind2
PossibleSchemaElementKind2Values returns an array of possible values for the SchemaElementKind2 const type.
SelectExpandClause ...
type SelectExpandClause struct { // SelectedItems - READ-ONLY SelectedItems *[]interface{} `json:"selectedItems,omitempty"` // AllSelected - READ-ONLY AllSelected *bool `json:"allSelected,omitempty"` }
func (sec SelectExpandClause) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SelectExpandClause.
ServersProjectSummary class representing the servers project summary.
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"` }
func (sps ServersProjectSummary) AsBasicProjectSummary() (BasicProjectSummary, bool)
AsBasicProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.
func (sps ServersProjectSummary) AsDatabaseProjectSummary() (*DatabaseProjectSummary, bool)
AsDatabaseProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.
func (sps ServersProjectSummary) AsProjectSummary() (*ProjectSummary, bool)
AsProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.
func (sps ServersProjectSummary) AsServersProjectSummary() (*ServersProjectSummary, bool)
AsServersProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.
func (sps ServersProjectSummary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServersProjectSummary.
ServersSolutionSummary class representing the servers solution summary.
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"` }
func (sss ServersSolutionSummary) AsBasicSolutionSummary() (BasicSolutionSummary, bool)
AsBasicSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.
func (sss ServersSolutionSummary) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)
AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.
func (sss ServersSolutionSummary) AsServersSolutionSummary() (*ServersSolutionSummary, bool)
AsServersSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.
func (sss ServersSolutionSummary) AsSolutionSummary() (*SolutionSummary, bool)
AsSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.
func (sss ServersSolutionSummary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServersSolutionSummary.
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"` }
func (svn SingleValueNode) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SingleValueNode.
Solution solution REST Resource.
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"` }
func (s Solution) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Solution.
SolutionConfig class representing the config for the solution in the migrate project.
type SolutionConfig struct { autorest.Response `json:"-"` // PublisherSasURI - Gets or sets the publisher sas uri for the solution. PublisherSasURI *string `json:"publisherSasUri,omitempty"` }
SolutionDetails class representing the details of the solution.
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"` }
func (sd SolutionDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SolutionDetails.
SolutionProperties class for solution properties.
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"` }
func (sp *SolutionProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SolutionProperties struct.
SolutionSummary the solution summary class.
type SolutionSummary struct { // InstanceType - Possible values include: 'InstanceTypeBasicSolutionSummaryInstanceTypeSolutionSummary', 'InstanceTypeBasicSolutionSummaryInstanceTypeServers', 'InstanceTypeBasicSolutionSummaryInstanceTypeDatabases' InstanceType InstanceTypeBasicSolutionSummary `json:"instanceType,omitempty"` }
func (ss SolutionSummary) AsBasicSolutionSummary() (BasicSolutionSummary, bool)
AsBasicSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.
func (ss SolutionSummary) AsDatabasesSolutionSummary() (*DatabasesSolutionSummary, bool)
AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.
func (ss SolutionSummary) AsServersSolutionSummary() (*ServersSolutionSummary, bool)
AsServersSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.
func (ss SolutionSummary) AsSolutionSummary() (*SolutionSummary, bool)
AsSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.
func (ss SolutionSummary) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SolutionSummary.
SolutionsClient is the migrate your workloads to Azure.
type SolutionsClient struct { BaseClient }
func NewSolutionsClient(subscriptionID string, acceptLanguage string) SolutionsClient
NewSolutionsClient creates an instance of the SolutionsClient client.
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 (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 (client SolutionsClient) CleanupSolutionDataPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)
CleanupSolutionDataPreparer prepares the CleanupSolutionData request.
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 (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 (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 (client SolutionsClient) DeleteSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)
DeleteSolutionPreparer prepares the DeleteSolution request.
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 (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 (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 (client SolutionsClient) EnumerateSolutionsPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string) (*http.Request, error)
EnumerateSolutionsPreparer prepares the EnumerateSolutions request.
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 (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 (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 (client SolutionsClient) GetConfigPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)
GetConfigPreparer prepares the GetConfig request.
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 (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 (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 (client SolutionsClient) GetSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string) (*http.Request, error)
GetSolutionPreparer prepares the GetSolution request.
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 (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 (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 (client SolutionsClient) PatchSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string, solutionInput Solution) (*http.Request, error)
PatchSolutionPreparer prepares the PatchSolution request.
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 (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 (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 (client SolutionsClient) PutSolutionPreparer(ctx context.Context, resourceGroupName string, migrateProjectName string, solutionName string, solutionInput Solution) (*http.Request, error)
PutSolutionPreparer prepares the PutSolution request.
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 (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.
SolutionsCollection collection of solutions.
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"` }
Status enumerates the values for status.
type Status string
const ( // Active ... Active Status = "Active" // Inactive ... Inactive Status = "Inactive" )
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
Tool enumerates the values for tool.
type Tool string
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() []Tool
PossibleToolValues returns an array of possible values for the Tool const type.
Tool1 enumerates the values for tool 1.
type Tool1 string
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() []Tool1
PossibleTool1Values returns an array of possible values for the Tool1 const type.
TransformationNode ...
type TransformationNode struct { // Kind - READ-ONLY; Possible values include: 'Aggregate', 'GroupBy', 'Filter', 'Compute' Kind Kind1 `json:"kind,omitempty"` }
func (tn TransformationNode) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TransformationNode.
TypeKind enumerates the values for type kind.
type TypeKind string
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() []TypeKind
PossibleTypeKindValues returns an array of possible values for the TypeKind const type.
TypeKind1 enumerates the values for type kind 1.
type TypeKind1 string
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() []TypeKind1
PossibleTypeKind1Values returns an array of possible values for the TypeKind1 const type.
Name | Synopsis |
---|---|
.. | |
migrateapi | Deprecated: Please note, this package has been deprecated. |