azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/migrate/mgmt/2018-09-01-preview/migrate Index | Files | Directories

package migrate

import "github.com/Azure/azure-sdk-for-go/services/preview/migrate/mgmt/2018-09-01-preview/migrate"

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

Migrate your workloads to Azure.

Index

Package Files

client.go databaseinstances.go databases.go events.go machines.go models.go operations.go projects.go solutions.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ApplyClause Uses

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

ApplyClause ...

type AssessmentDetails Uses

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

AssessmentDetails assessment properties that can be shared by various publishers.

func (AssessmentDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AssessmentDetails.

type BaseClient Uses

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

BaseClient is the base client for Migrate.

func New Uses

func New(subscriptionID string, acceptLanguage string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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

NewWithBaseURI creates an instance of the BaseClient client.

type BasicEventProperties Uses

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

BasicEventProperties properties of the error resource.

type BasicProjectSummary Uses

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

BasicProjectSummary the project summary class.

type BasicSolutionSummary Uses

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

BasicSolutionSummary the solution summary class.

type CleanupState Uses

type CleanupState string

CleanupState enumerates the values for cleanup state.

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

func PossibleCleanupStateValues Uses

func PossibleCleanupStateValues() []CleanupState

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

type ContainerElementKind Uses

type ContainerElementKind string

ContainerElementKind enumerates the values for container element kind.

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

func PossibleContainerElementKindValues Uses

func PossibleContainerElementKindValues() []ContainerElementKind

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

type Database Uses

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

Database database REST resource.

type DatabaseAssessmentDetails Uses

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

DatabaseAssessmentDetails assessment properties that can be shared by various publishers.

func (DatabaseAssessmentDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabaseAssessmentDetails.

type DatabaseCollection Uses

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

DatabaseCollection collection of databases.

type DatabaseInstance Uses

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

DatabaseInstance databaseInstance REST resource.

type DatabaseInstanceCollection Uses

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

DatabaseInstanceCollection collection of database instances.

type DatabaseInstanceDiscoveryDetails Uses

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

DatabaseInstanceDiscoveryDetails discovery properties that can be shared by various publishers.

func (DatabaseInstanceDiscoveryDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabaseInstanceDiscoveryDetails.

type DatabaseInstanceProperties Uses

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

DatabaseInstanceProperties properties of the database instance resource.

func (DatabaseInstanceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabaseInstanceProperties.

type DatabaseInstanceSummary Uses

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

DatabaseInstanceSummary class representing the database instance summary object.

type DatabaseInstancesClient Uses

type DatabaseInstancesClient struct {
    BaseClient
}

DatabaseInstancesClient is the migrate your workloads to Azure.

func NewDatabaseInstancesClient Uses

func NewDatabaseInstancesClient(subscriptionID string, acceptLanguage string) DatabaseInstancesClient

NewDatabaseInstancesClient creates an instance of the DatabaseInstancesClient client.

func NewDatabaseInstancesClientWithBaseURI Uses

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

NewDatabaseInstancesClientWithBaseURI creates an instance of the DatabaseInstancesClient client.

func (DatabaseInstancesClient) EnumerateDatabaseInstances Uses

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

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

func (DatabaseInstancesClient) EnumerateDatabaseInstancesPreparer Uses

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

EnumerateDatabaseInstancesPreparer prepares the EnumerateDatabaseInstances request.

func (DatabaseInstancesClient) EnumerateDatabaseInstancesResponder Uses

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

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

func (DatabaseInstancesClient) EnumerateDatabaseInstancesSender Uses

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

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

func (DatabaseInstancesClient) GetDatabaseInstance Uses

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

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

func (DatabaseInstancesClient) GetDatabaseInstancePreparer Uses

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

GetDatabaseInstancePreparer prepares the GetDatabaseInstance request.

func (DatabaseInstancesClient) GetDatabaseInstanceResponder Uses

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

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

func (DatabaseInstancesClient) GetDatabaseInstanceSender Uses

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

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

type DatabaseMigrateEventProperties Uses

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

DatabaseMigrateEventProperties properties of the database error resource.

func (DatabaseMigrateEventProperties) AsBasicEventProperties Uses

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

AsBasicEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) AsDatabaseMigrateEventProperties Uses

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

AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) AsEventProperties Uses

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

AsEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) AsMachineMigrateEventProperties Uses

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

AsMachineMigrateEventProperties is the BasicEventProperties implementation for DatabaseMigrateEventProperties.

func (DatabaseMigrateEventProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabaseMigrateEventProperties.

type DatabaseProjectSummary Uses

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

DatabaseProjectSummary the database project summary class.

func (DatabaseProjectSummary) AsBasicProjectSummary Uses

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

AsBasicProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) AsDatabaseProjectSummary Uses

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

AsDatabaseProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) AsProjectSummary Uses

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

AsProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) AsServersProjectSummary Uses

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

AsServersProjectSummary is the BasicProjectSummary implementation for DatabaseProjectSummary.

func (DatabaseProjectSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabaseProjectSummary.

type DatabaseProperties Uses

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

DatabaseProperties properties of the database resource.

type DatabasesClient Uses

type DatabasesClient struct {
    BaseClient
}

DatabasesClient is the migrate your workloads to Azure.

func NewDatabasesClient Uses

func NewDatabasesClient(subscriptionID string, acceptLanguage string) DatabasesClient

NewDatabasesClient creates an instance of the DatabasesClient client.

func NewDatabasesClientWithBaseURI Uses

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

NewDatabasesClientWithBaseURI creates an instance of the DatabasesClient client.

func (DatabasesClient) EnumerateDatabases Uses

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

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

func (DatabasesClient) EnumerateDatabasesPreparer Uses

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

EnumerateDatabasesPreparer prepares the EnumerateDatabases request.

func (DatabasesClient) EnumerateDatabasesResponder Uses

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

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

func (DatabasesClient) EnumerateDatabasesSender Uses

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

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

func (DatabasesClient) GetDatabase Uses

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

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

func (DatabasesClient) GetDatabasePreparer Uses

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

GetDatabasePreparer prepares the GetDatabase request.

func (DatabasesClient) GetDatabaseResponder Uses

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

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

func (DatabasesClient) GetDatabaseSender Uses

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

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

type DatabasesSolutionSummary Uses

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

DatabasesSolutionSummary class representing the databases solution summary.

func (DatabasesSolutionSummary) AsBasicSolutionSummary Uses

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

AsBasicSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) AsDatabasesSolutionSummary Uses

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

AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) AsServersSolutionSummary Uses

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

AsServersSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) AsSolutionSummary Uses

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

AsSolutionSummary is the BasicSolutionSummary implementation for DatabasesSolutionSummary.

func (DatabasesSolutionSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabasesSolutionSummary.

type DefaultQuerySettings Uses

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

DefaultQuerySettings ...

type DiscoveryDetails Uses

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

DiscoveryDetails discovery properties that can be published by various ISVs.

func (DiscoveryDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DiscoveryDetails.

type EdmReferentialConstraintPropertyPair Uses

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

EdmReferentialConstraintPropertyPair ...

type Event Uses

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

Event migrateEvent REST resource.

func (*Event) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Event struct.

type EventCollection Uses

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

EventCollection collection of events.

type EventProperties Uses

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

EventProperties properties of the error resource.

func (EventProperties) AsBasicEventProperties Uses

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

AsBasicEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) AsDatabaseMigrateEventProperties Uses

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

AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) AsEventProperties Uses

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

AsEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) AsMachineMigrateEventProperties Uses

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

AsMachineMigrateEventProperties is the BasicEventProperties implementation for EventProperties.

func (EventProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventProperties.

type EventsClient Uses

type EventsClient struct {
    BaseClient
}

EventsClient is the migrate your workloads to Azure.

func NewEventsClient Uses

func NewEventsClient(subscriptionID string, acceptLanguage string) EventsClient

NewEventsClient creates an instance of the EventsClient client.

func NewEventsClientWithBaseURI Uses

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

NewEventsClientWithBaseURI creates an instance of the EventsClient client.

func (EventsClient) DeleteEvent Uses

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

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

func (EventsClient) DeleteEventPreparer Uses

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

DeleteEventPreparer prepares the DeleteEvent request.

func (EventsClient) DeleteEventResponder Uses

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

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

func (EventsClient) DeleteEventSender Uses

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

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

func (EventsClient) EnumerateEvents Uses

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

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

func (EventsClient) EnumerateEventsPreparer Uses

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

EnumerateEventsPreparer prepares the EnumerateEvents request.

func (EventsClient) EnumerateEventsResponder Uses

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

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

func (EventsClient) EnumerateEventsSender Uses

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

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

func (EventsClient) GetEvent Uses

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

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

func (EventsClient) GetEventPreparer Uses

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

GetEventPreparer prepares the GetEvent request.

func (EventsClient) GetEventResponder Uses

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

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

func (EventsClient) GetEventSender Uses

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

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

type ExpressionKind Uses

type ExpressionKind string

ExpressionKind enumerates the values for expression kind.

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

func PossibleExpressionKindValues Uses

func PossibleExpressionKindValues() []ExpressionKind

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

type ExpressionKind1 Uses

type ExpressionKind1 string

ExpressionKind1 enumerates the values for expression kind 1.

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

func PossibleExpressionKind1Values Uses

func PossibleExpressionKind1Values() []ExpressionKind1

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

type FilterClause Uses

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

FilterClause ...

type FilterQueryOption Uses

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

FilterQueryOption ...

type Goal Uses

type Goal string

Goal enumerates the values for goal.

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

func PossibleGoalValues Uses

func PossibleGoalValues() []Goal

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

type Goal1 Uses

type Goal1 string

Goal1 enumerates the values for goal 1.

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

func PossibleGoal1Values Uses

func PossibleGoal1Values() []Goal1

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

type IEdmEntityContainer Uses

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

IEdmEntityContainer ...

type IEdmEntityContainerElement Uses

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

IEdmEntityContainerElement ...

type IEdmExpression Uses

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

IEdmExpression ...

type IEdmModel Uses

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

IEdmModel ...

type IEdmNavigationProperty Uses

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

IEdmNavigationProperty ...

type IEdmNavigationPropertyBinding Uses

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

IEdmNavigationPropertyBinding ...

type IEdmNavigationSource Uses

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

IEdmNavigationSource ...

type IEdmPathExpression Uses

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

IEdmPathExpression ...

type IEdmProperty Uses

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

IEdmProperty ...

type IEdmReferentialConstraint Uses

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

IEdmReferentialConstraint ...

type IEdmSchemaElement Uses

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

IEdmSchemaElement ...

type IEdmStructuralProperty Uses

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

IEdmStructuralProperty ...

type IEdmStructuredType Uses

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

IEdmStructuredType ...

type IEdmTerm Uses

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

IEdmTerm ...

type IEdmType Uses

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

IEdmType ...

type IEdmTypeReference Uses

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

IEdmTypeReference ...

type IEdmVocabularyAnnotation Uses

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

IEdmVocabularyAnnotation ...

type InstanceType Uses

type InstanceType string

InstanceType enumerates the values for instance type.

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

func PossibleInstanceTypeValues Uses

func PossibleInstanceTypeValues() []InstanceType

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

type InstanceTypeBasicProjectSummary Uses

type InstanceTypeBasicProjectSummary string

InstanceTypeBasicProjectSummary enumerates the values for instance type basic project summary.

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

func PossibleInstanceTypeBasicProjectSummaryValues Uses

func PossibleInstanceTypeBasicProjectSummaryValues() []InstanceTypeBasicProjectSummary

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

type InstanceTypeBasicSolutionSummary Uses

type InstanceTypeBasicSolutionSummary string

InstanceTypeBasicSolutionSummary enumerates the values for instance type basic solution summary.

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

func PossibleInstanceTypeBasicSolutionSummaryValues Uses

func PossibleInstanceTypeBasicSolutionSummaryValues() []InstanceTypeBasicSolutionSummary

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

type Kind Uses

type Kind string

Kind enumerates the values for kind.

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

func PossibleKindValues Uses

func PossibleKindValues() []Kind

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

type Kind1 Uses

type Kind1 string

Kind1 enumerates the values for kind 1.

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

func PossibleKind1Values Uses

func PossibleKind1Values() []Kind1

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

type Machine Uses

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

Machine machine REST resource.

type MachineCollection Uses

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

MachineCollection collection of machines.

type MachineMigrateEventProperties Uses

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

MachineMigrateEventProperties properties of the machine error resource.

func (MachineMigrateEventProperties) AsBasicEventProperties Uses

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

AsBasicEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) AsDatabaseMigrateEventProperties Uses

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

AsDatabaseMigrateEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) AsEventProperties Uses

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

AsEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) AsMachineMigrateEventProperties Uses

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

AsMachineMigrateEventProperties is the BasicEventProperties implementation for MachineMigrateEventProperties.

func (MachineMigrateEventProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachineMigrateEventProperties.

type MachineProperties Uses

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

MachineProperties properties of the machine resource.

type MachinesClient Uses

type MachinesClient struct {
    BaseClient
}

MachinesClient is the migrate your workloads to Azure.

func NewMachinesClient Uses

func NewMachinesClient(subscriptionID string, acceptLanguage string) MachinesClient

NewMachinesClient creates an instance of the MachinesClient client.

func NewMachinesClientWithBaseURI Uses

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

NewMachinesClientWithBaseURI creates an instance of the MachinesClient client.

func (MachinesClient) EnumerateMachines Uses

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

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

func (MachinesClient) EnumerateMachinesPreparer Uses

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

EnumerateMachinesPreparer prepares the EnumerateMachines request.

func (MachinesClient) EnumerateMachinesResponder Uses

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

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

func (MachinesClient) EnumerateMachinesSender Uses

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

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

func (MachinesClient) GetMachine Uses

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

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

func (MachinesClient) GetMachinePreparer Uses

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

GetMachinePreparer prepares the GetMachine request.

func (MachinesClient) GetMachineResponder Uses

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

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

func (MachinesClient) GetMachineSender Uses

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

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

type MigrationDetails Uses

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

MigrationDetails migration properties that can be shared by various publishers.

func (MigrationDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MigrationDetails.

type ODataPath Uses

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

ODataPath ...

type ODataPathSegment Uses

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

ODataPathSegment ...

type ODataQueryContext Uses

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

ODataQueryContext ...

type ODataQueryOptions1 Uses

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

ODataQueryOptions1 ...

type ODataRawQueryOptions Uses

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

ODataRawQueryOptions ...

type OnDelete Uses

type OnDelete string

OnDelete enumerates the values for on delete.

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

func PossibleOnDeleteValues Uses

func PossibleOnDeleteValues() []OnDelete

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

type Operation Uses

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

Operation a REST API operation supported by the provider.

type OperationDisplay Uses

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

OperationDisplay displayable properties of the operation.

type OperationResultList Uses

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

OperationResultList list of API operations.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the migrate your workloads to Azure.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string, acceptLanguage string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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

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

func (OperationsClient) ListSender Uses

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

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

type Project Uses

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

Project migrate Project REST Resource.

type ProjectProperties Uses

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]*ProjectSummary `json:"summary"`
    // LastSummaryRefreshedTime - READ-ONLY; Gets the last time the project summary was refreshed.
    LastSummaryRefreshedTime *date.Time `json:"lastSummaryRefreshedTime,omitempty"`
    // RefreshSummaryState - READ-ONLY; Gets the refresh summary state. Possible values include: 'RefreshSummaryState1Started', 'RefreshSummaryState1InProgress', 'RefreshSummaryState1Completed', 'RefreshSummaryState1Failed'
    RefreshSummaryState RefreshSummaryState1 `json:"refreshSummaryState,omitempty"`
    // ProvisioningState - Provisioning state of the migrate project. Possible values include: 'ProvisioningStateAccepted', 'ProvisioningStateCreating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStateMoving', 'ProvisioningStateSucceeded'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ProjectProperties class for migrate project properties.

func (ProjectProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProjectProperties.

type ProjectSummary Uses

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

ProjectSummary the project summary class.

func (ProjectSummary) AsBasicProjectSummary Uses

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

AsBasicProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) AsDatabaseProjectSummary Uses

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

AsDatabaseProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) AsProjectSummary Uses

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

AsProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) AsServersProjectSummary Uses

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

AsServersProjectSummary is the BasicProjectSummary implementation for ProjectSummary.

func (ProjectSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProjectSummary.

type ProjectTags Uses

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

ProjectTags gets or sets the tags.

type ProjectsClient Uses

type ProjectsClient struct {
    BaseClient
}

ProjectsClient is the migrate your workloads to Azure.

func NewProjectsClient Uses

func NewProjectsClient(subscriptionID string, acceptLanguage string) ProjectsClient

NewProjectsClient creates an instance of the ProjectsClient client.

func NewProjectsClientWithBaseURI Uses

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

NewProjectsClientWithBaseURI creates an instance of the ProjectsClient client.

func (ProjectsClient) DeleteMigrateProject Uses

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

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

func (ProjectsClient) DeleteMigrateProjectPreparer Uses

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

DeleteMigrateProjectPreparer prepares the DeleteMigrateProject request.

func (ProjectsClient) DeleteMigrateProjectResponder Uses

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

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

func (ProjectsClient) DeleteMigrateProjectSender Uses

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

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

func (ProjectsClient) GetMigrateProject Uses

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

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

func (ProjectsClient) GetMigrateProjectPreparer Uses

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

GetMigrateProjectPreparer prepares the GetMigrateProject request.

func (ProjectsClient) GetMigrateProjectResponder Uses

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

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

func (ProjectsClient) GetMigrateProjectSender Uses

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

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

func (ProjectsClient) PatchMigrateProject Uses

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

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

func (ProjectsClient) PatchMigrateProjectPreparer Uses

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

PatchMigrateProjectPreparer prepares the PatchMigrateProject request.

func (ProjectsClient) PatchMigrateProjectResponder Uses

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

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

func (ProjectsClient) PatchMigrateProjectSender Uses

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

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

func (ProjectsClient) PutMigrateProject Uses

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

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

func (ProjectsClient) PutMigrateProjectPreparer Uses

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

PutMigrateProjectPreparer prepares the PutMigrateProject request.

func (ProjectsClient) PutMigrateProjectResponder Uses

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

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

func (ProjectsClient) PutMigrateProjectSender Uses

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

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

func (ProjectsClient) RefreshMigrateProjectSummary Uses

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

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

func (ProjectsClient) RefreshMigrateProjectSummaryPreparer Uses

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

RefreshMigrateProjectSummaryPreparer prepares the RefreshMigrateProjectSummary request.

func (ProjectsClient) RefreshMigrateProjectSummaryResponder Uses

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

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

func (ProjectsClient) RefreshMigrateProjectSummarySender Uses

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

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

func (ProjectsClient) RegisterTool Uses

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

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

func (ProjectsClient) RegisterToolPreparer Uses

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

RegisterToolPreparer prepares the RegisterTool request.

func (ProjectsClient) RegisterToolResponder Uses

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

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

func (ProjectsClient) RegisterToolSender Uses

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

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

type PropertyKind Uses

type PropertyKind string

PropertyKind enumerates the values for property kind.

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

func PossiblePropertyKindValues Uses

func PossiblePropertyKindValues() []PropertyKind

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

type PropertyKind1 Uses

type PropertyKind1 string

PropertyKind1 enumerates the values for property kind 1.

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

func PossiblePropertyKind1Values Uses

func PossiblePropertyKind1Values() []PropertyKind1

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

type PropertyKind2 Uses

type PropertyKind2 string

PropertyKind2 enumerates the values for property kind 2.

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

func PossiblePropertyKind2Values Uses

func PossiblePropertyKind2Values() []PropertyKind2

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

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

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

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type Purpose Uses

type Purpose string

Purpose enumerates the values for purpose.

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

func PossiblePurposeValues Uses

func PossiblePurposeValues() []Purpose

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

type RangeVariable Uses

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

RangeVariable ...

type RefreshSummaryInput Uses

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

RefreshSummaryInput class representing the refresh summary input.

type RefreshSummaryResult Uses

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

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

type RefreshSummaryState Uses

type RefreshSummaryState string

RefreshSummaryState enumerates the values for refresh summary state.

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

func PossibleRefreshSummaryStateValues Uses

func PossibleRefreshSummaryStateValues() []RefreshSummaryState

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

type RefreshSummaryState1 Uses

type RefreshSummaryState1 string

RefreshSummaryState1 enumerates the values for refresh summary state 1.

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

func PossibleRefreshSummaryState1Values Uses

func PossibleRefreshSummaryState1Values() []RefreshSummaryState1

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

type RegisterToolInput Uses

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

RegisterToolInput class representing the register tool input.

type RegistrationResult Uses

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

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

type SchemaElementKind Uses

type SchemaElementKind string

SchemaElementKind enumerates the values for schema element kind.

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

func PossibleSchemaElementKindValues Uses

func PossibleSchemaElementKindValues() []SchemaElementKind

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

type SchemaElementKind1 Uses

type SchemaElementKind1 string

SchemaElementKind1 enumerates the values for schema element kind 1.

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

func PossibleSchemaElementKind1Values Uses

func PossibleSchemaElementKind1Values() []SchemaElementKind1

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

type SchemaElementKind2 Uses

type SchemaElementKind2 string

SchemaElementKind2 enumerates the values for schema element kind 2.

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

func PossibleSchemaElementKind2Values Uses

func PossibleSchemaElementKind2Values() []SchemaElementKind2

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

type SelectExpandClause Uses

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

SelectExpandClause ...

type ServersProjectSummary Uses

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

ServersProjectSummary class representing the servers project summary.

func (ServersProjectSummary) AsBasicProjectSummary Uses

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

AsBasicProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) AsDatabaseProjectSummary Uses

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

AsDatabaseProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) AsProjectSummary Uses

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

AsProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) AsServersProjectSummary Uses

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

AsServersProjectSummary is the BasicProjectSummary implementation for ServersProjectSummary.

func (ServersProjectSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ServersProjectSummary.

type ServersSolutionSummary Uses

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

ServersSolutionSummary class representing the servers solution summary.

func (ServersSolutionSummary) AsBasicSolutionSummary Uses

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

AsBasicSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) AsDatabasesSolutionSummary Uses

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

AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) AsServersSolutionSummary Uses

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

AsServersSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) AsSolutionSummary Uses

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

AsSolutionSummary is the BasicSolutionSummary implementation for ServersSolutionSummary.

func (ServersSolutionSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ServersSolutionSummary.

type SingleValueNode Uses

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

SingleValueNode ...

type Solution Uses

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

Solution solution REST Resource.

type SolutionConfig Uses

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

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

type SolutionDetails Uses

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

SolutionDetails class representing the details of the solution.

func (SolutionDetails) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SolutionDetails.

type SolutionProperties Uses

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

SolutionProperties class for solution properties.

func (*SolutionProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SolutionProperties struct.

type SolutionSummary Uses

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

SolutionSummary the solution summary class.

func (SolutionSummary) AsBasicSolutionSummary Uses

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

AsBasicSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) AsDatabasesSolutionSummary Uses

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

AsDatabasesSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) AsServersSolutionSummary Uses

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

AsServersSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) AsSolutionSummary Uses

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

AsSolutionSummary is the BasicSolutionSummary implementation for SolutionSummary.

func (SolutionSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SolutionSummary.

type SolutionsClient Uses

type SolutionsClient struct {
    BaseClient
}

SolutionsClient is the migrate your workloads to Azure.

func NewSolutionsClient Uses

func NewSolutionsClient(subscriptionID string, acceptLanguage string) SolutionsClient

NewSolutionsClient creates an instance of the SolutionsClient client.

func NewSolutionsClientWithBaseURI Uses

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

NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient client.

func (SolutionsClient) CleanupSolutionData Uses

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

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

func (SolutionsClient) CleanupSolutionDataPreparer Uses

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

CleanupSolutionDataPreparer prepares the CleanupSolutionData request.

func (SolutionsClient) CleanupSolutionDataResponder Uses

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

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

func (SolutionsClient) CleanupSolutionDataSender Uses

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

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

func (SolutionsClient) DeleteSolution Uses

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

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

func (SolutionsClient) DeleteSolutionPreparer Uses

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

DeleteSolutionPreparer prepares the DeleteSolution request.

func (SolutionsClient) DeleteSolutionResponder Uses

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

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

func (SolutionsClient) DeleteSolutionSender Uses

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

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

func (SolutionsClient) EnumerateSolutions Uses

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

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

func (SolutionsClient) EnumerateSolutionsPreparer Uses

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

EnumerateSolutionsPreparer prepares the EnumerateSolutions request.

func (SolutionsClient) EnumerateSolutionsResponder Uses

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

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

func (SolutionsClient) EnumerateSolutionsSender Uses

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

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

func (SolutionsClient) GetConfig Uses

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

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

func (SolutionsClient) GetConfigPreparer Uses

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

GetConfigPreparer prepares the GetConfig request.

func (SolutionsClient) GetConfigResponder Uses

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

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

func (SolutionsClient) GetConfigSender Uses

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

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

func (SolutionsClient) GetSolution Uses

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

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

func (SolutionsClient) GetSolutionPreparer Uses

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

GetSolutionPreparer prepares the GetSolution request.

func (SolutionsClient) GetSolutionResponder Uses

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

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

func (SolutionsClient) GetSolutionSender Uses

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

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

func (SolutionsClient) PatchSolution Uses

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

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

func (SolutionsClient) PatchSolutionPreparer Uses

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

PatchSolutionPreparer prepares the PatchSolution request.

func (SolutionsClient) PatchSolutionResponder Uses

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

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

func (SolutionsClient) PatchSolutionSender Uses

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

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

func (SolutionsClient) PutSolution Uses

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

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

func (SolutionsClient) PutSolutionPreparer Uses

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

PutSolutionPreparer prepares the PutSolution request.

func (SolutionsClient) PutSolutionResponder Uses

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

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

func (SolutionsClient) PutSolutionSender Uses

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

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

type SolutionsCollection Uses

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

SolutionsCollection collection of solutions.

type Status Uses

type Status string

Status enumerates the values for status.

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

func PossibleStatusValues Uses

func PossibleStatusValues() []Status

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

type Tool Uses

type Tool string

Tool enumerates the values for tool.

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

func PossibleToolValues Uses

func PossibleToolValues() []Tool

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

type Tool1 Uses

type Tool1 string

Tool1 enumerates the values for tool 1.

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

func PossibleTool1Values Uses

func PossibleTool1Values() []Tool1

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

type TransformationNode Uses

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

TransformationNode ...

type TypeKind Uses

type TypeKind string

TypeKind enumerates the values for type kind.

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

func PossibleTypeKindValues Uses

func PossibleTypeKindValues() []TypeKind

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

type TypeKind1 Uses

type TypeKind1 string

TypeKind1 enumerates the values for type kind 1.

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

func PossibleTypeKind1Values Uses

func PossibleTypeKind1Values() []TypeKind1

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

Directories

PathSynopsis
migrateapi

Package migrate imports 8 packages (graph) and is imported by 3 packages. Updated 2019-08-01. Refresh now. Tools for package owners.