swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector SqlAssessmentV2SummaryOperations API schemes: - https tags: - name: SqlAssessmentV2SummaryOperations paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/sqlAssessments/{assessmentName}/summaries : get: operationId: microsoftAzureSqlassessmentv2summaryoperationsListbysqlassessmentv2 tags: - SqlAssessmentV2SummaryOperations description: List SqlAssessmentV2Summary resources by SqlAssessmentV2 parameters: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - name: projectName in: path description: Assessment Project Name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: groupName in: path description: Group ARM name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: assessmentName in: path description: SQL Assessment arm name. required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/SqlAssessmentV2SummaryListResult' default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: SqlAssessmentV2SummaryOperations_ListBySqlAssessmentV2_MaximumSet_Gen: $ref: ./examples/SqlAssessmentV2SummaryOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Assessmentprojects Projectname Groups Groupname Sqlassessments Assessmentname Summaries ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/sqlAssessments/{assessmentName}/summaries/{summaryName} : get: operationId: microsoftAzureSqlassessmentv2summaryoperationsGet tags: - SqlAssessmentV2SummaryOperations description: Get a SqlAssessmentV2Summary parameters: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - name: projectName in: path description: Assessment Project Name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: groupName in: path description: Group ARM name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: assessmentName in: path description: SQL Assessment arm name. required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: summaryName in: path description: Gets the Name of the SQL Summary. required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/SqlAssessmentV2Summary' default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: SqlAssessmentV2SummaryOperations_Get_MaximumSet_Gen: $ref: ./examples/SqlAssessmentV2SummaryOperations_Get_MaximumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Assessmentprojects Projectname Groups Groupname Sqlassessments Assessmentname Summaries Summaryname definitions: SqlAssessmentV2SummaryProperties: type: object description: SQL Assessment V2 summary properties. properties: assessmentSummary: type: object description: Gets or sets the Assessment summary. additionalProperties: $ref: '#/definitions/SqlAssessmentV2SummaryData' readOnly: true distributionBySupportStatus: type: object description: Gets the distribution of sqlInstances by support status. additionalProperties: format: int32 type: integer readOnly: true distributionByServicePackInsight: type: object description: Gets the distribution distribution of sqlInstances by service pack insight. additionalProperties: format: int32 type: integer readOnly: true distributionBySqlVersion: type: object description: Gets the distribution of sqlInstances by sql version. additionalProperties: format: int32 type: integer readOnly: true distributionBySqlEdition: type: object description: Gets the distribution of sqlInstances by sql edition. additionalProperties: format: int32 type: integer readOnly: true instanceDistributionBySizingCriterion: type: object description: Gets the instance distribution by sizing criterion. additionalProperties: format: int32 type: integer readOnly: true databaseDistributionBySizingCriterion: type: object description: Gets the database distribution by sizing criterion. additionalProperties: format: int32 type: integer readOnly: true numberOfMachines: type: integer format: int32 description: Number of machines part of the assessment. readOnly: true numberOfSqlInstances: type: integer format: int32 description: Number of sql instances part of the assessment. readOnly: true numberOfSuccessfullyDiscoveredSqlInstances: type: integer format: int32 description: Number of successfully discovered sql instances part of the assessment. readOnly: true numberOfSqlDatabases: type: integer format: int32 description: Number of sql databases part of the assessment. readOnly: true numberOfFciInstances: type: integer format: int32 description: Number of sql failover cluster instances part of the assessment. readOnly: true numberOfSqlAvailabilityGroups: type: integer format: int32 description: Number of sql availability groups part of the assessment. readOnly: true SqlAssessmentV2SummaryListResult: type: object description: The response of a SqlAssessmentV2Summary list operation. properties: value: type: array description: The SqlAssessmentV2Summary items on this page items: $ref: '#/definitions/SqlAssessmentV2Summary' nextLink: type: string format: uri description: The link to the next page of items required: - value SqlAssessmentV2Summary: type: object description: SQL Assessment REST resource. properties: properties: $ref: '#/definitions/SqlAssessmentV2SummaryProperties' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create allOf: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource SqlAssessmentV2SummaryData: type: object description: SQL Assessment V2 summary data. properties: suitabilitySummary: type: object description: Sql assessment summary data additionalProperties: format: int32 type: integer readOnly: true monthlyComputeCost: type: number format: float description: Monthly compute cost readOnly: true monthlyStorageCost: type: number format: float description: Monthly storage cost readOnly: true monthlyLicenseCost: type: number format: float description: Monthly license cost readOnly: true confidenceScore: type: number format: float description: Confidence Rating readOnly: true monthlySecurityCost: type: number format: float description: Monthly security cost readOnly: true x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'