swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector DatabasesController API schemes: - https tags: - name: DatabasesController paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases : get: tags: - DatabasesController summary: Microsoft Azure Gets A List Of Databases In The Migrate Project operationId: microsoftAzureDatabasescontrollerListdatabases parameters: - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/migrateProjectName' - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: '#/parameters/continuationToken' - $ref: '#/parameters/pageSize' responses: '200': description: OK schema: $ref: '#/definitions/DatabaseCollection' default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse deprecated: false x-ms-pageable: nextLinkName: nextLink x-ms-examples: DatabasesController_ListDatabases_MaximumSet_Gen: $ref: ./examples/DatabasesController_ListDatabases_MaximumSet_Gen.json DatabasesController_ListDatabases_MinimumSet_Gen: $ref: ./examples/DatabasesController_ListDatabases_MinimumSet_Gen.json description: Needs a more full description created. ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName} : get: tags: - DatabasesController summary: Microsoft Azure Gets A Database In The Migrate Project operationId: microsoftAzureDatabasescontrollerGetdatabase parameters: - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/migrateProjectName' - $ref: '#/parameters/databaseName' - $ref: ../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter responses: '200': description: OK schema: $ref: '#/definitions/Database' default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse deprecated: false x-ms-examples: DatabasesController_GetDatabase_MaximumSet_Gen: $ref: ./examples/DatabasesController_GetDatabase_MaximumSet_Gen.json DatabasesController_GetDatabase_MinimumSet_Gen: $ref: ./examples/DatabasesController_GetDatabase_MinimumSet_Gen.json description: Needs a more full description created. definitions: DatabaseAssessmentDetails: description: Assessment properties that can be shared by various publishers. type: object properties: assessmentId: description: Gets or sets the database assessment scope/Id. type: string id: description: Gets the relative URL to get to this DatabaseAssessmentDetails resource. type: string migrationBlockersCount: format: int32 description: Gets or sets the number of blocking changes found. type: integer breakingChangesCount: format: int32 description: Gets or sets the number of breaking changes found. type: integer isReadyForMigration: description: Gets or sets a value indicating whether the database is ready for migration. type: boolean assessmentTargetType: description: Gets or sets the assessed target database type. type: string lastAssessedTime: format: date-time description: Gets or sets the time when the database was last assessed. type: string compatibilityLevel: description: Gets or sets the compatibility level of the database. type: string databaseSizeInMB: description: Gets or sets the database size. type: string lastUpdatedTime: format: date-time description: Gets or sets the time of the last modification of the database details. type: string enqueueTime: description: Gets or sets the time the message was enqueued. type: string solutionName: description: Gets or sets the name of the solution that sent the data. type: string instanceId: description: Gets or sets the database server instance Id. type: string databaseName: description: Gets or sets the database name. type: string extendedInfo: description: Gets or sets the extended properties of the database. type: object additionalProperties: type: string Database: description: Database REST resource. type: object properties: id: description: Gets or sets the relative URL to get to this REST resource. type: string name: description: Gets or sets the name of this REST resource. type: string type: description: Gets the type of this REST resource. type: string readOnly: true properties: $ref: '#/definitions/DatabaseProperties' description: Gets or sets the properties of the database. DatabaseCollection: description: Collection of databases. type: object properties: value: description: Gets or sets the databases. type: array items: $ref: '#/definitions/Database' nextLink: description: Gets or sets the value of nextLink. type: string DatabaseProperties: description: Properties of the database resource. type: object properties: assessmentData: description: Gets or sets the assessment details of the database published by various sources. type: array items: $ref: '#/definitions/DatabaseAssessmentDetails' x-ms-identifiers: - assessmentId lastUpdatedTime: format: date-time description: Gets or sets the time of the last modification of the database. type: string parameters: migrateProjectName: name: migrateProjectName description: Name of the Azure Migrate project. type: string in: path x-ms-parameter-location: method required: true pattern: ^[a-zA-Z0-9-]{3,24}$ pageSize: name: pageSize description: The number of items to be returned in a single page. This value is honored only if it is less than the 100. type: integer format: int32 in: query required: false x-ms-parameter-location: method continuationToken: name: continuationToken description: The continuation token. type: string in: query required: false x-ms-parameter-location: method databaseName: name: databaseName description: Unique name of a database in Azure migration hub. type: string in: path x-ms-parameter-location: method required: true pattern: ^[a-zA-Z0-9-]{3,24}$ x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'