Skip to main content

sql_assessment_v2_summary_operations

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

Overview

Namesql_assessment_v2_summary_operations
TypeResource
Idazure.migration_assessment.sql_assessment_v2_summary_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
assessmentSummaryobjectGets or sets the Assessment summary.
databaseDistributionBySizingCriterionobjectGets the database distribution by sizing criterion.
distributionByServicePackInsightobjectGets the distribution distribution of sqlInstances by service pack insight.
distributionBySqlEditionobjectGets the distribution of sqlInstances by sql edition.
distributionBySqlVersionobjectGets the distribution of sqlInstances by sql version.
distributionBySupportStatusobjectGets the distribution of sqlInstances by support status.
instanceDistributionBySizingCriterionobjectGets the instance distribution by sizing criterion.
numberOfFciInstancesintegerNumber of sql failover cluster instances part of the assessment.
numberOfMachinesintegerNumber of machines part of the assessment.
numberOfSqlAvailabilityGroupsintegerNumber of sql availability groups part of the assessment.
numberOfSqlDatabasesintegerNumber of sql databases part of the assessment.
numberOfSqlInstancesintegerNumber of sql instances part of the assessment.
numberOfSuccessfullyDiscoveredSqlInstancesintegerNumber of successfully discovered sql instances part of the assessment.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, project_name, group_name, assessment_name, summary_name, subscription_idGet a SqlAssessmentV2Summary.
list_by_sql_assessment_v2selectresource_group_name, project_name, group_name, assessment_name, subscription_idList SqlAssessmentV2Summary 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.

NameDatatypeDescription
assessment_namestringSQL Assessment arm name. Required.
group_namestringGroup ARM name. Required.
project_namestringAssessment Project Name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
summary_namestringGets the Name of the SQL Summary. Required.

SELECT examples

Get a SqlAssessmentV2Summary.

SELECT
id,
name,
assessmentSummary,
databaseDistributionBySizingCriterion,
distributionByServicePackInsight,
distributionBySqlEdition,
distributionBySqlVersion,
distributionBySupportStatus,
instanceDistributionBySizingCriterion,
numberOfFciInstances,
numberOfMachines,
numberOfSqlAvailabilityGroups,
numberOfSqlDatabases,
numberOfSqlInstances,
numberOfSuccessfullyDiscoveredSqlInstances,
systemData,
type
FROM azure.migration_assessment.sql_assessment_v2_summary_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 summary_name = '{{ summary_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;