assessed_sql_database_v2_operations
Creates, updates, deletes, gets or lists an assessed_sql_database_v2_operations resource.
Overview
| Name | assessed_sql_database_v2_operations |
| Type | Resource |
| Id | azure.migration_assessment.assessed_sql_database_v2_operations |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_sql_assessment_v2
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
assessedSqlInstanceArmId | string | Assessed SQL instance arm id. |
azureSqlDBSuitabilityDetails | object | Gets or sets the azure SQL DB suitability details. |
azureSqlMISuitabilityDetails | object | Gets or sets the azure SQL MI suitability details. |
bufferCacheSizeInMB | number | Gets or sets the aggregated cache size of this database. This is a performance data metric for this DB. |
compatibilityLevel | string | Database compatibility level. Known values are: "Unknown", "CompatLevel80", "CompatLevel90", "CompatLevel100", "CompatLevel110", "CompatLevel120", "CompatLevel130", "CompatLevel140", and "CompatLevel150". |
confidenceRatingInPercentage | number | Confidence Rating in Percentage. |
createdTimestamp | string (date-time) | When was assessed SQL database first created. |
databaseName | string | SQL database name. |
databaseSizeInMB | number | SQL database size in megabytes. |
instanceName | string | SQL instance name. |
isDatabaseHighlyAvailable | boolean | Gets a value indicating whether the assessed SQL database is highly available or not. |
linkedAvailabilityGroupOverview | object | Gets the linked availability group overview if the database being assessed is highly available. |
machineArmId | string | Machine arm id. |
machineName | string | Machine display name. |
megabytesPerSecondOfRead | number | The read throughput of the SQL database. |
megabytesPerSecondOfWrite | number | The write throughput of the SQL database. |
numberOfReadOperationsPerSecond | number | The read operations per second of the SQL database. |
numberOfWriteOperationsPerSecond | number | The write operations per second of the SQL database. |
percentageCoresUtilization | number | The percentage of the total number of cores being utilized by the SQL database. |
productSupportStatus | object | Gets the product support status related details. |
recommendedAzureSqlTargetType | string | Gets or sets the recommended azure SQL target type. Known values are: "Unknown", "Recommended", "AzureSqlDatabase", "AzureSqlManagedInstance", "AzureSqlVirtualMachine", and "AzureVirtualMachine". |
recommendedSuitability | string | Gets or sets the recommended azure SQL suitability. Known values are: "Unknown", "SuitableForSqlDB", "SuitableForSqlMI", "SuitableForVM", "PotentiallySuitableForVM", "ReadinessUnknown", "NotSuitable", "SuitableForSqlVM", "ConditionallySuitableForSqlDB", "ConditionallySuitableForSqlMI", "ConditionallySuitableForVM", and "ConditionallySuitableForSqlVM". |
sizingCriterion | string | Assessment sizing criterion. Known values are: "PerformanceBased" and "AsOnPremises". |
sqlDatabaseSdsArmId | string | SQL database SDS arm id. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatedTimestamp | string (date-time) | When was assessed SQL database last updated. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
assessedSqlInstanceArmId | string | Assessed SQL instance arm id. |
azureSqlDBSuitabilityDetails | object | Gets or sets the azure SQL DB suitability details. |
azureSqlMISuitabilityDetails | object | Gets or sets the azure SQL MI suitability details. |
bufferCacheSizeInMB | number | Gets or sets the aggregated cache size of this database. This is a performance data metric for this DB. |
compatibilityLevel | string | Database compatibility level. Known values are: "Unknown", "CompatLevel80", "CompatLevel90", "CompatLevel100", "CompatLevel110", "CompatLevel120", "CompatLevel130", "CompatLevel140", and "CompatLevel150". |
confidenceRatingInPercentage | number | Confidence Rating in Percentage. |
createdTimestamp | string (date-time) | When was assessed SQL database first created. |
databaseName | string | SQL database name. |
databaseSizeInMB | number | SQL database size in megabytes. |
instanceName | string | SQL instance name. |
isDatabaseHighlyAvailable | boolean | Gets a value indicating whether the assessed SQL database is highly available or not. |
linkedAvailabilityGroupOverview | object | Gets the linked availability group overview if the database being assessed is highly available. |
machineArmId | string | Machine arm id. |
machineName | string | Machine display name. |
megabytesPerSecondOfRead | number | The read throughput of the SQL database. |
megabytesPerSecondOfWrite | number | The write throughput of the SQL database. |
numberOfReadOperationsPerSecond | number | The read operations per second of the SQL database. |
numberOfWriteOperationsPerSecond | number | The write operations per second of the SQL database. |
percentageCoresUtilization | number | The percentage of the total number of cores being utilized by the SQL database. |
productSupportStatus | object | Gets the product support status related details. |
recommendedAzureSqlTargetType | string | Gets or sets the recommended azure SQL target type. Known values are: "Unknown", "Recommended", "AzureSqlDatabase", "AzureSqlManagedInstance", "AzureSqlVirtualMachine", and "AzureVirtualMachine". |
recommendedSuitability | string | Gets or sets the recommended azure SQL suitability. Known values are: "Unknown", "SuitableForSqlDB", "SuitableForSqlMI", "SuitableForVM", "PotentiallySuitableForVM", "ReadinessUnknown", "NotSuitable", "SuitableForSqlVM", "ConditionallySuitableForSqlDB", "ConditionallySuitableForSqlMI", "ConditionallySuitableForVM", and "ConditionallySuitableForSqlVM". |
sizingCriterion | string | Assessment sizing criterion. Known values are: "PerformanceBased" and "AsOnPremises". |
sqlDatabaseSdsArmId | string | SQL database SDS arm id. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatedTimestamp | string (date-time) | When was assessed SQL database last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, project_name, group_name, assessment_name, assessed_sql_database_name, subscription_id | Get a AssessedSqlDatabaseV2. | |
list_by_sql_assessment_v2 | select | resource_group_name, project_name, group_name, assessment_name, subscription_id | $filter, pageSize, continuationToken, totalRecordCount | List AssessedSqlDatabaseV2 resources by SqlAssessmentV2. |
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.
| Name | Datatype | Description |
|---|---|---|
assessed_sql_database_name | string | Sql assessment Assessed Databases ARM name. Required. |
assessment_name | string | SQL Assessment arm name. Required. |
group_name | string | Group ARM name. Required. |
project_name | string | Assessment Project Name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
$filter | string | Filter query. Default value is None. |
continuationToken | string | Optional parameter for continuation token. Default value is None. |
pageSize | integer | Optional parameter for page size. Default value is None. |
totalRecordCount | integer | Total record count. Default value is None. |
SELECT examples
- get
- list_by_sql_assessment_v2
Get a AssessedSqlDatabaseV2.
SELECT
id,
name,
assessedSqlInstanceArmId,
azureSqlDBSuitabilityDetails,
azureSqlMISuitabilityDetails,
bufferCacheSizeInMB,
compatibilityLevel,
confidenceRatingInPercentage,
createdTimestamp,
databaseName,
databaseSizeInMB,
instanceName,
isDatabaseHighlyAvailable,
linkedAvailabilityGroupOverview,
machineArmId,
machineName,
megabytesPerSecondOfRead,
megabytesPerSecondOfWrite,
numberOfReadOperationsPerSecond,
numberOfWriteOperationsPerSecond,
percentageCoresUtilization,
productSupportStatus,
recommendedAzureSqlTargetType,
recommendedSuitability,
sizingCriterion,
sqlDatabaseSdsArmId,
systemData,
type,
updatedTimestamp
FROM azure.migration_assessment.assessed_sql_database_v2_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND group_name = '{{ group_name }}' -- required
AND assessment_name = '{{ assessment_name }}' -- required
AND assessed_sql_database_name = '{{ assessed_sql_database_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List AssessedSqlDatabaseV2 resources by SqlAssessmentV2.
SELECT
id,
name,
assessedSqlInstanceArmId,
azureSqlDBSuitabilityDetails,
azureSqlMISuitabilityDetails,
bufferCacheSizeInMB,
compatibilityLevel,
confidenceRatingInPercentage,
createdTimestamp,
databaseName,
databaseSizeInMB,
instanceName,
isDatabaseHighlyAvailable,
linkedAvailabilityGroupOverview,
machineArmId,
machineName,
megabytesPerSecondOfRead,
megabytesPerSecondOfWrite,
numberOfReadOperationsPerSecond,
numberOfWriteOperationsPerSecond,
percentageCoresUtilization,
productSupportStatus,
recommendedAzureSqlTargetType,
recommendedSuitability,
sizingCriterion,
sqlDatabaseSdsArmId,
systemData,
type,
updatedTimestamp
FROM azure.migration_assessment.assessed_sql_database_v2_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND group_name = '{{ group_name }}' -- required
AND assessment_name = '{{ assessment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND pageSize = '{{ pageSize }}'
AND continuationToken = '{{ continuationToken }}'
AND totalRecordCount = '{{ totalRecordCount }}'
;