다음을 통해 공유


Sql Collector Operations - List By Assessment Project

AssessmentProject로 SqlCollector 리소스 나열

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/sqlcollectors?api-version=2024-01-15

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
projectName
path True

string

pattern: ^[^<>&:\?/#]{1,260}$

평가 프로젝트 이름

resourceGroupName
path True

string

minLength: 1
maxLength: 90

리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

subscriptionId
path True

string (uuid)

대상 구독의 ID입니다. 값은 UUID여야 합니다.

api-version
query True

string

minLength: 1

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

SqlCollectorListResult

ARM 작업이 성공적으로 완료되었습니다.

Other Status Codes

ErrorResponse

예기치 않은 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 흐름.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

SqlCollectorOperations_ListByAssessmentProject_MaximumSet_Gen

샘플 요청

GET https://management.azure.com/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/rgmigrate/providers/Microsoft.Migrate/assessmentProjects/fci-test6904project/sqlcollectors?api-version=2024-01-15

샘플 응답

{
  "value": [
    {
      "id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/sqlcollectors/fci-ankit-test0c1esqlsitecollector",
      "name": "fci-ankit-test0c1esqlsitecollector",
      "systemData": {
        "createdAt": "0001-01-01T00:00:00",
        "createdBy": null,
        "createdByType": null,
        "lastModifiedAt": "0001-01-01T00:00:00",
        "lastModifiedBy": null,
        "lastModifiedByType": null
      },
      "type": "Microsoft.Migrate/assessmentprojects/sqlcollectors",
      "properties": {
        "agentProperties": {
          "id": "630da710-4d44-41f7-a189-72fe3db5502b-agent",
          "version": null,
          "lastHeartbeatUtc": null,
          "spnDetails": {
            "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
            "applicationId": "db9c4c3d-477c-4d5a-817b-318276713565",
            "audience": "db9c4c3d-477c-4d5a-817b-318276713565",
            "objectId": "e50236ad-ad07-47d4-af71-ed7b52d200d5",
            "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
          }
        },
        "discoverySiteId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/MasterSites/fci-ankit-test6065mastersite/SqlSites/fci-ankit-test6065sqlsites",
        "createdTimestamp": "2022-11-22T09:50:37.1061418Z",
        "updatedTimestamp": "2023-02-16T12:17:52.9185188Z"
      }
    }
  ],
  "nextLink": null
}

정의

Name Description
CollectorAgentPropertiesBase

Collector 에이전트 속성 클래스입니다.

CollectorAgentSpnPropertiesBase

수집기 에이전트 SPN 세부 정보 클래스입니다.

createdByType

리소스를 만든 ID의 형식입니다.

ErrorDetail

오류 세부 정보

ErrorResponse

오류 응답

ProvisioningState

현재 작업의 상태입니다.

SqlCollector

SQL 수집기 REST 개체입니다.

SqlCollectorListResult

SqlCollector 목록 작업의 응답입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

CollectorAgentPropertiesBase

Collector 에이전트 속성 클래스입니다.

Name 형식 Description
id

string

수집기 에이전트 ID를 가져옵니다.

lastHeartbeatUtc

string (date-time)

수집기 마지막 하트비트 시간을 가져옵니다.

spnDetails

CollectorAgentSpnPropertiesBase

SPN 세부 정보를 가져오거나 설정합니다.

version

string

수집기 에이전트 버전을 가져옵니다.

CollectorAgentSpnPropertiesBase

수집기 에이전트 SPN 세부 정보 클래스입니다.

Name 형식 Description
applicationId

string

AAD 애플리케이션 ID를 가져옵니다.

audience

string

AAD 대상 그룹 URL을 가져옵니다.

authority

string

AAD 기관 엔드포인트를 가져옵니다.

objectId

string

AAD 애플리케이션의 개체 ID를 가져옵니다.

tenantId

string

AAD 애플리케이션의 테넌트 ID를 가져옵니다.

createdByType

리소스를 만든 ID의 형식입니다.

Description
User
Application
ManagedIdentity
Key

ErrorDetail

오류 세부 정보

Name 형식 Description
code

string

오류 코드

message

string

발생한 오류에 대한 설명

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

오류 개체입니다.

ProvisioningState

현재 작업의 상태입니다.

Description
Succeeded

리소스가 만들어졌습니다.

Failed

리소스를 만들지 못했습니다.

Canceled

리소스 만들기가 취소되었습니다.

Provisioning

리소스가 프로비전되고 있습니다.

Updating

리소스가 업데이트되고 있습니다.

Deleting

리소스가 삭제되고 있습니다.

Accepted

리소스가 수락되고 있습니다.

SqlCollector

SQL 수집기 REST 개체입니다.

Name 형식 Description
id

string (arm-id)

리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

리소스의 이름

properties.agentProperties

CollectorAgentPropertiesBase

수집기 에이전트 속성을 가져오거나 설정합니다.

properties.createdTimestamp

string (date-time)

수집기를 만들 때 타임스탬프를 가져옵니다.

properties.discoverySiteId

string

검색 사이트 ID를 가져옵니다.

properties.provisioningState

ProvisioningState

마지막 작업의 상태입니다.

properties.updatedTimestamp

string (date-time)

수집기가 마지막으로 업데이트된 타임스탬프입니다.

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

SqlCollectorListResult

SqlCollector 목록 작업의 응답입니다.

Name 형식 Description
nextLink

string (uri)

항목의 다음 페이지에 대한 링크

value

SqlCollector[]

이 페이지의 SqlCollector 항목

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

리소스 만들기의 타임스탬프(UTC)입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string (date-time)

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID의 형식입니다.