Skip to main content

sql_assessment_options_operations

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

Overview

Namesql_assessment_options_operations
TypeResource
Idazure.migration_assessment.sql_assessment_options_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.
premiumDiskVmFamiliesarrayGets the Premium disk VM Families list.
reservedInstanceSqlTargetsarrayGets or sets the Reserved Instance SQL target types.
reservedInstanceSupportedCurrenciesarrayGets or sets the list of currencies supported for Reserved Instances.
reservedInstanceSupportedLocationsarrayGets or sets the list of Azure locations supporting Reserved Instances.
reservedInstanceSupportedLocationsForIaasarrayGets or sets the list of Azure locations supporting Reserved Instances for IAAS.
reservedInstanceSupportedOffersarrayGets or sets the list of offers supported for Reserved Instances.
reservedInstanceVmFamiliesarrayGets the Reserved Instance VM Families list.
savingsPlanSupportedLocationsarrayGets or sets the list of Azure locations supporting Saving Plans for IAAS.
savingsPlanSupportedLocationsForPaasarrayGets or sets the list of Azure locations supporting Saving Plans for PAAS.
savingsPlanSupportedOffersarrayGets or sets the list of Azure Offers supporting Saving Plans.
savingsPlanVmFamiliesarrayGets or sets the Premium disk VM Families list.
sqlSkusarrayGets or sets the list of SQL target SKU properties for dropdowns.
supportedOffersarrayGets or sets the list of offers supported for SQL assessments.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vmFamiliesarrayGets the list of VM families.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, project_name, assessment_options_name, subscription_idGet a SqlAssessmentOptions.
list_by_assessment_projectselectresource_group_name, project_name, subscription_idList SqlAssessmentOptions resources by AssessmentProject.

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_options_namestringSql assessment options ARM name. Accepted values is 'default'. Required.
project_namestringAssessment Project Name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a SqlAssessmentOptions.

SELECT
id,
name,
premiumDiskVmFamilies,
reservedInstanceSqlTargets,
reservedInstanceSupportedCurrencies,
reservedInstanceSupportedLocations,
reservedInstanceSupportedLocationsForIaas,
reservedInstanceSupportedOffers,
reservedInstanceVmFamilies,
savingsPlanSupportedLocations,
savingsPlanSupportedLocationsForPaas,
savingsPlanSupportedOffers,
savingsPlanVmFamilies,
sqlSkus,
supportedOffers,
systemData,
type,
vmFamilies
FROM azure.migration_assessment.sql_assessment_options_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND assessment_options_name = '{{ assessment_options_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;