Skip to main content

database_instances_database_instances

Creates, updates, deletes, gets or lists a database_instances_database_instances resource.

Overview

Namedatabase_instances_database_instances
TypeResource
Idazure.migrate_projects.database_instances_database_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets or sets the relative URL to get to this REST resource.
namestringGets or sets the name of this REST resource.
propertiesobjectGets or sets the properties of the machine.
typestringGets the type of this REST resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, migrateProjectName, databaseInstanceNameapi-version, Accept-Language

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
databaseInstanceNamestringUnique name of a database instance in Azure migration hub.
migrateProjectNamestringName of the Azure Migrate project.
resourceGroupNamestringName of the Azure Resource Group that migrate project is part of.
subscriptionIdstringAzure Subscription Id in which migrate project was created.
Accept-LanguagestringStandard request header. Used by service to respond to client in appropriate language.
api-versionstringStandard request header. Used by service to identify API version used by client.

SELECT examples

OK

SELECT
id,
name,
properties,
type
FROM azure.migrate_projects.database_instances_database_instances
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND migrateProjectName = '{{ migrateProjectName }}' -- required
AND databaseInstanceName = '{{ databaseInstanceName }}' -- required
AND api-version = '{{ api-version }}'
AND Accept-Language = '{{ Accept-Language }}'
;