avs_assessments_operations
Creates, updates, deletes, gets or lists an avs_assessments_operations resource.
Overview
| Name | avs_assessments_operations |
| Type | Resource |
| Id | azure.migration_assessment.avs_assessments_operations |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_group
| 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. |
assessmentErrorSummary | object | Gets the assessment error summary. This is the number of machines affected by each type of error in this assessment. |
assessmentType | string | Assessment type of the assessment. Known values are: "Unknown", "MachineAssessment", "AvsAssessment", "SqlAssessment", and "WebAppAssessment". |
azureLocation | string | Azure Location or Azure region where to which the machines will be migrated. Known values are: "Unknown", "EastAsia", "SoutheastAsia", "AustraliaEast", "AustraliaSoutheast", "BrazilSouth", "CanadaCentral", "CanadaEast", "WestEurope", "NorthEurope", "CentralIndia", "SouthIndia", "WestIndia", "JapanEast", "JapanWest", "KoreaCentral", "KoreaSouth", "UkWest", "UkSouth", "NorthCentralUs", "EastUs", "WestUs2", "SouthCentralUs", "CentralUs", "EastUs2", "WestUs", "WestCentralUs", "GermanyCentral", "GermanyNortheast", "ChinaNorth", "ChinaEast", "USGovArizona", "USGovTexas", "USGovIowa", "USGovVirginia", "USDoDCentral", "USDoDEast", "FranceCentral", "AustraliaCentral", "SouthAfricaNorth", "FranceSouth", "AustraliaCentral2", "SouthAfricaWest", "GermanyNorth", "GermanyWestCentral", "NorwayEast", "NorwayWest", "ChinaEast2", "ChinaNorth2", "SwitzerlandNorth", "SwitzerlandWest", "UAENorth", "UAECentral", "UsNatEast", "UsNatWest", "UsSecEast", "UsSecCentral", "UsSecWest", "SwedenCentral", and "QatarCentral". |
azureOfferCode | string | Azure Offer code according to which cost estimation is done. Known values are: "Unknown", "MSAZR0003P", "MSAZR0044P", "MSAZR0059P", "MSAZR0060P", "MSAZR0062P", "MSAZR0063P", "MSAZR0064P", "MSAZR0029P", "MSAZR0022P", "MSAZR0023P", "MSAZR0148P", "MSAZR0025P", "MSAZR0036P", "MSAZR0120P", "MSAZR0121P", "MSAZR0122P", "MSAZR0123P", "MSAZR0124P", "MSAZR0125P", "MSAZR0126P", "MSAZR0127P", "MSAZR0128P", "MSAZR0129P", "MSAZR0130P", "MSAZR0111P", "MSAZR0144P", "MSAZR0149P", "MSMCAZR0044P", "MSMCAZR0059P", "MSMCAZR0060P", "MSMCAZR0063P", "MSMCAZR0120P", "MSMCAZR0121P", "MSMCAZR0125P", "MSMCAZR0128P", "MSAZRDE0003P", "MSAZRDE0044P", "MSAZRUSGOV0003P", "EA", "MSAZR0243P", "SavingsPlan1Year", and "SavingsPlan3Year". |
confidenceRatingInPercentage | number | Confidence Rating in Percentage. |
cpuUtilization | number | Predicted CPU utilization. |
createdTimestamp | string (date-time) | Date and Time when assessment was created. |
currency | string | Currency in which prices should be reported. Known values are: "Unknown", "USD", "DKK", "CAD", "IDR", "JPY", "KRW", "NZD", "NOK", "RUB", "SAR", "ZAR", "SEK", "TRY", "GBP", "MXN", "MYR", "INR", "HKD", "BRL", "TWD", "EUR", "CHF", "ARS", "AUD", "CNY", and "TRY". |
dedupeCompression | number | De-duplication compression. |
discountPercentage | number | Custom discount percentage. |
failuresToTolerateAndRaidLevel | string | Failures to tolerate and RAID level in a common property. Known values are: "Unknown", "Ftt1Raid1", "Ftt1Raid5", "Ftt2Raid1", "Ftt2Raid6", and "Ftt3Raid1". |
groupType | string | Gets the group type for the assessment. Known values are: "Default", "Import", and "Import". |
isStretchClusterEnabled | boolean | Is Stretch Cluster Enabled. |
limitingFactor | string | Limiting factor. |
memOvercommit | number | Memory overcommit. |
nodeType | string | AVS node type. Known values are: "Unknown" and "AV36". |
numberOfMachines | integer | Number of machines part of the assessment. |
numberOfNodes | integer | Recommended number of nodes. |
percentile | string | Percentile of the utilization data values to be considered while assessing machines. Known values are: "Percentile50", "Percentile90", "Percentile95", and "Percentile99". |
perfDataEndTime | string (date-time) | Gets or sets the end time to consider performance data for assessment. |
perfDataStartTime | string (date-time) | Gets or sets the start time to consider performance data for assessment. |
pricesTimestamp | string (date-time) | Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format. |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". |
ramUtilization | number | Predicted RAM utilization. |
reservedInstance | string | Reserved instance. Known values are: "None", "RI1Year", and "RI3Year". |
scalingFactor | number | Percentage of buffer that user wants on performance metrics when recommending Azure sizes. |
schemaVersion | string | Schema version. |
sizingCriterion | string | Assessment sizing criterion. Known values are: "PerformanceBased" and "AsOnPremises". |
stage | string | User configurable setting to display the Stage of Assessment. Known values are: "InProgress", "UnderReview", and "Approved". |
status | string | Whether assessment is in valid state and all machines have been assessed. Known values are: "Created", "Updated", "Running", "Completed", "Invalid", "OutOfSync", "OutDated", and "Deleted". |
storageUtilization | number | Predicted storage utilization. |
suitability | string | Gets or sets the Assessment cloud suitability. Known values are: "Unknown", "NotSuitable", "Suitable", "ConditionallySuitable", and "ReadinessUnknown". |
suitabilityExplanation | string | Gets or sets the Assessment suitability explanation. Known values are: "Unknown", "NotApplicable", and "UnsupportedLocationForSelectedNode". |
suitabilitySummary | object | Cloud suitability summary for all the machines in the assessment. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
timeRange | string | Time Range for which the historic utilization data should be considered for assessment. Known values are: "Day", "Week", "Month", and "Custom". |
totalCpuCores | number | Predicted total CPU cores used. |
totalMonthlyCost | number | Total monthly cost. |
totalRamInGB | number | Predicted total RAM used in GB. |
totalStorageInGB | number | Predicted total Storage used in GB. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatedTimestamp | string (date-time) | Date and Time when assessment was last updated. |
vcpuOversubscription | number | VCPU over subscription. |
| 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. |
assessmentErrorSummary | object | Gets the assessment error summary. This is the number of machines affected by each type of error in this assessment. |
assessmentType | string | Assessment type of the assessment. Known values are: "Unknown", "MachineAssessment", "AvsAssessment", "SqlAssessment", and "WebAppAssessment". |
azureLocation | string | Azure Location or Azure region where to which the machines will be migrated. Known values are: "Unknown", "EastAsia", "SoutheastAsia", "AustraliaEast", "AustraliaSoutheast", "BrazilSouth", "CanadaCentral", "CanadaEast", "WestEurope", "NorthEurope", "CentralIndia", "SouthIndia", "WestIndia", "JapanEast", "JapanWest", "KoreaCentral", "KoreaSouth", "UkWest", "UkSouth", "NorthCentralUs", "EastUs", "WestUs2", "SouthCentralUs", "CentralUs", "EastUs2", "WestUs", "WestCentralUs", "GermanyCentral", "GermanyNortheast", "ChinaNorth", "ChinaEast", "USGovArizona", "USGovTexas", "USGovIowa", "USGovVirginia", "USDoDCentral", "USDoDEast", "FranceCentral", "AustraliaCentral", "SouthAfricaNorth", "FranceSouth", "AustraliaCentral2", "SouthAfricaWest", "GermanyNorth", "GermanyWestCentral", "NorwayEast", "NorwayWest", "ChinaEast2", "ChinaNorth2", "SwitzerlandNorth", "SwitzerlandWest", "UAENorth", "UAECentral", "UsNatEast", "UsNatWest", "UsSecEast", "UsSecCentral", "UsSecWest", "SwedenCentral", and "QatarCentral". |
azureOfferCode | string | Azure Offer code according to which cost estimation is done. Known values are: "Unknown", "MSAZR0003P", "MSAZR0044P", "MSAZR0059P", "MSAZR0060P", "MSAZR0062P", "MSAZR0063P", "MSAZR0064P", "MSAZR0029P", "MSAZR0022P", "MSAZR0023P", "MSAZR0148P", "MSAZR0025P", "MSAZR0036P", "MSAZR0120P", "MSAZR0121P", "MSAZR0122P", "MSAZR0123P", "MSAZR0124P", "MSAZR0125P", "MSAZR0126P", "MSAZR0127P", "MSAZR0128P", "MSAZR0129P", "MSAZR0130P", "MSAZR0111P", "MSAZR0144P", "MSAZR0149P", "MSMCAZR0044P", "MSMCAZR0059P", "MSMCAZR0060P", "MSMCAZR0063P", "MSMCAZR0120P", "MSMCAZR0121P", "MSMCAZR0125P", "MSMCAZR0128P", "MSAZRDE0003P", "MSAZRDE0044P", "MSAZRUSGOV0003P", "EA", "MSAZR0243P", "SavingsPlan1Year", and "SavingsPlan3Year". |
confidenceRatingInPercentage | number | Confidence Rating in Percentage. |
cpuUtilization | number | Predicted CPU utilization. |
createdTimestamp | string (date-time) | Date and Time when assessment was created. |
currency | string | Currency in which prices should be reported. Known values are: "Unknown", "USD", "DKK", "CAD", "IDR", "JPY", "KRW", "NZD", "NOK", "RUB", "SAR", "ZAR", "SEK", "TRY", "GBP", "MXN", "MYR", "INR", "HKD", "BRL", "TWD", "EUR", "CHF", "ARS", "AUD", "CNY", and "TRY". |
dedupeCompression | number | De-duplication compression. |
discountPercentage | number | Custom discount percentage. |
failuresToTolerateAndRaidLevel | string | Failures to tolerate and RAID level in a common property. Known values are: "Unknown", "Ftt1Raid1", "Ftt1Raid5", "Ftt2Raid1", "Ftt2Raid6", and "Ftt3Raid1". |
groupType | string | Gets the group type for the assessment. Known values are: "Default", "Import", and "Import". |
isStretchClusterEnabled | boolean | Is Stretch Cluster Enabled. |
limitingFactor | string | Limiting factor. |
memOvercommit | number | Memory overcommit. |
nodeType | string | AVS node type. Known values are: "Unknown" and "AV36". |
numberOfMachines | integer | Number of machines part of the assessment. |
numberOfNodes | integer | Recommended number of nodes. |
percentile | string | Percentile of the utilization data values to be considered while assessing machines. Known values are: "Percentile50", "Percentile90", "Percentile95", and "Percentile99". |
perfDataEndTime | string (date-time) | Gets or sets the end time to consider performance data for assessment. |
perfDataStartTime | string (date-time) | Gets or sets the start time to consider performance data for assessment. |
pricesTimestamp | string (date-time) | Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format. |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". |
ramUtilization | number | Predicted RAM utilization. |
reservedInstance | string | Reserved instance. Known values are: "None", "RI1Year", and "RI3Year". |
scalingFactor | number | Percentage of buffer that user wants on performance metrics when recommending Azure sizes. |
schemaVersion | string | Schema version. |
sizingCriterion | string | Assessment sizing criterion. Known values are: "PerformanceBased" and "AsOnPremises". |
stage | string | User configurable setting to display the Stage of Assessment. Known values are: "InProgress", "UnderReview", and "Approved". |
status | string | Whether assessment is in valid state and all machines have been assessed. Known values are: "Created", "Updated", "Running", "Completed", "Invalid", "OutOfSync", "OutDated", and "Deleted". |
storageUtilization | number | Predicted storage utilization. |
suitability | string | Gets or sets the Assessment cloud suitability. Known values are: "Unknown", "NotSuitable", "Suitable", "ConditionallySuitable", and "ReadinessUnknown". |
suitabilityExplanation | string | Gets or sets the Assessment suitability explanation. Known values are: "Unknown", "NotApplicable", and "UnsupportedLocationForSelectedNode". |
suitabilitySummary | object | Cloud suitability summary for all the machines in the assessment. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
timeRange | string | Time Range for which the historic utilization data should be considered for assessment. Known values are: "Day", "Week", "Month", and "Custom". |
totalCpuCores | number | Predicted total CPU cores used. |
totalMonthlyCost | number | Total monthly cost. |
totalRamInGB | number | Predicted total RAM used in GB. |
totalStorageInGB | number | Predicted total Storage used in GB. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatedTimestamp | string (date-time) | Date and Time when assessment was last updated. |
vcpuOversubscription | number | VCPU over subscription. |
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, subscription_id | Get a AvsAssessment. | |
list_by_group | select | resource_group_name, project_name, group_name, subscription_id | List AvsAssessment resources by Group. | |
create | insert | resource_group_name, project_name, group_name, assessment_name, subscription_id | Create a AvsAssessment. | |
delete | delete | resource_group_name, project_name, group_name, assessment_name, subscription_id | Delete a AvsAssessment. | |
download_url | exec | resource_group_name, project_name, group_name, assessment_name, subscription_id | Get download URL for the assessment report. Get the URL for downloading the assessment in a report format. |
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 |
|---|---|---|
assessment_name | string | AVS 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 |
SELECT examples
- get
- list_by_group
Get a AvsAssessment.
SELECT
id,
name,
assessmentErrorSummary,
assessmentType,
azureLocation,
azureOfferCode,
confidenceRatingInPercentage,
cpuUtilization,
createdTimestamp,
currency,
dedupeCompression,
discountPercentage,
failuresToTolerateAndRaidLevel,
groupType,
isStretchClusterEnabled,
limitingFactor,
memOvercommit,
nodeType,
numberOfMachines,
numberOfNodes,
percentile,
perfDataEndTime,
perfDataStartTime,
pricesTimestamp,
provisioningState,
ramUtilization,
reservedInstance,
scalingFactor,
schemaVersion,
sizingCriterion,
stage,
status,
storageUtilization,
suitability,
suitabilityExplanation,
suitabilitySummary,
systemData,
timeRange,
totalCpuCores,
totalMonthlyCost,
totalRamInGB,
totalStorageInGB,
type,
updatedTimestamp,
vcpuOversubscription
FROM azure.migration_assessment.avs_assessments_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
;
List AvsAssessment resources by Group.
SELECT
id,
name,
assessmentErrorSummary,
assessmentType,
azureLocation,
azureOfferCode,
confidenceRatingInPercentage,
cpuUtilization,
createdTimestamp,
currency,
dedupeCompression,
discountPercentage,
failuresToTolerateAndRaidLevel,
groupType,
isStretchClusterEnabled,
limitingFactor,
memOvercommit,
nodeType,
numberOfMachines,
numberOfNodes,
percentile,
perfDataEndTime,
perfDataStartTime,
pricesTimestamp,
provisioningState,
ramUtilization,
reservedInstance,
scalingFactor,
schemaVersion,
sizingCriterion,
stage,
status,
storageUtilization,
suitability,
suitabilityExplanation,
suitabilitySummary,
systemData,
timeRange,
totalCpuCores,
totalMonthlyCost,
totalRamInGB,
totalStorageInGB,
type,
updatedTimestamp,
vcpuOversubscription
FROM azure.migration_assessment.avs_assessments_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND group_name = '{{ group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create
- Manifest
Create a AvsAssessment.
INSERT INTO azure.migration_assessment.avs_assessments_operations (
properties,
resource_group_name,
project_name,
group_name,
assessment_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ project_name }}',
'{{ group_name }}',
'{{ assessment_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: avs_assessments_operations
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the avs_assessments_operations resource.
- name: project_name
value: "{{ project_name }}"
description: Required parameter for the avs_assessments_operations resource.
- name: group_name
value: "{{ group_name }}"
description: Required parameter for the avs_assessments_operations resource.
- name: assessment_name
value: "{{ assessment_name }}"
description: Required parameter for the avs_assessments_operations resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the avs_assessments_operations resource.
- name: properties
description: |
The resource-specific properties for this resource.
value:
provisioningState: "{{ provisioningState }}"
assessmentErrorSummary: "{{ assessmentErrorSummary }}"
failuresToTolerateAndRaidLevel: "{{ failuresToTolerateAndRaidLevel }}"
vcpuOversubscription: {{ vcpuOversubscription }}
nodeType: "{{ nodeType }}"
reservedInstance: "{{ reservedInstance }}"
totalMonthlyCost: {{ totalMonthlyCost }}
suitability: "{{ suitability }}"
suitabilityExplanation: "{{ suitabilityExplanation }}"
numberOfNodes: {{ numberOfNodes }}
cpuUtilization: {{ cpuUtilization }}
ramUtilization: {{ ramUtilization }}
storageUtilization: {{ storageUtilization }}
totalCpuCores: {{ totalCpuCores }}
totalRamInGB: {{ totalRamInGB }}
totalStorageInGB: {{ totalStorageInGB }}
numberOfMachines: {{ numberOfMachines }}
suitabilitySummary: "{{ suitabilitySummary }}"
memOvercommit: {{ memOvercommit }}
dedupeCompression: {{ dedupeCompression }}
limitingFactor: "{{ limitingFactor }}"
isStretchClusterEnabled: {{ isStretchClusterEnabled }}
groupType: "{{ groupType }}"
assessmentType: "{{ assessmentType }}"
azureLocation: "{{ azureLocation }}"
azureOfferCode: "{{ azureOfferCode }}"
currency: "{{ currency }}"
scalingFactor: {{ scalingFactor }}
percentile: "{{ percentile }}"
timeRange: "{{ timeRange }}"
perfDataStartTime: "{{ perfDataStartTime }}"
perfDataEndTime: "{{ perfDataEndTime }}"
stage: "{{ stage }}"
discountPercentage: {{ discountPercentage }}
sizingCriterion: "{{ sizingCriterion }}"
confidenceRatingInPercentage: {{ confidenceRatingInPercentage }}
pricesTimestamp: "{{ pricesTimestamp }}"
createdTimestamp: "{{ createdTimestamp }}"
updatedTimestamp: "{{ updatedTimestamp }}"
status: "{{ status }}"
schemaVersion: "{{ schemaVersion }}"
DELETE examples
- delete
Delete a AvsAssessment.
DELETE FROM azure.migration_assessment.avs_assessments_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
;
Lifecycle Methods
- download_url
Get download URL for the assessment report. Get the URL for downloading the assessment in a report format.
EXEC azure.migration_assessment.avs_assessments_operations.download_url
@resource_group_name='{{ resource_group_name }}' --required,
@project_name='{{ project_name }}' --required,
@group_name='{{ group_name }}' --required,
@assessment_name='{{ assessment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;