다음을 통해 공유


Assessment Projects Operations - Update

AssessmentProject 업데이트

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}?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
properties.assessmentSolutionId

string

Microsoft.Migrate/migrateProjects에서 추적하는 평가 솔루션 ARM ID입니다.

properties.customerStorageAccountArmId

string

공용 액세스를 사용하지 않도록 설정된 경우 상호 작용에 사용되는 스토리지 계정의 ARM ID입니다.

properties.customerWorkspaceId

string

고객이 만든 서비스 맵 작업 영역의 ARM ID입니다.

properties.customerWorkspaceLocation

string

고객이 만든 서비스 맵 작업 영역의 위치입니다.

properties.projectStatus

ProjectStatus

프로젝트 상태 평가

properties.provisioningState

ProvisioningState

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

properties.publicNetworkAccess

string

이 값은 기존 고객 리소스 및 템플릿의 호환성이 손상되는 변경을 방지하기 위해 '사용'으로 설정할 수 있습니다. 'disabled'로 설정하면 공용 인터페이스를 통해 트래픽이 허용되지 않으며 프라이빗 엔드포인트 연결은 배타적인 액세스 방법이 됩니다.

tags

object

리소스 태그.

응답

Name 형식 Description
200 OK

AssessmentProject

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

202 Accepted

리소스 업데이트 요청이 수락되었습니다.

헤더

  • Retry-After: integer
  • Location: string
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 사용자 계정 가장

예제

AssessmentProjectsOperations_Update_MaximumSet_Gen

샘플 요청

PATCH https://management.azure.com/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentProjects/sakanwar1204project?api-version=2024-01-15

{
  "tags": {
    "Migrate Project": "sakanwar-PE-SEA"
  },
  "properties": {
    "assessmentSolutionId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
    "projectStatus": "Active",
    "customerWorkspaceId": null,
    "customerWorkspaceLocation": null,
    "publicNetworkAccess": "Disabled",
    "customerStorageAccountArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
    "provisioningState": "Succeeded"
  }
}

샘플 응답

{
  "properties": {
    "createdTimestamp": "2023-09-15T07:22:18.588Z",
    "updatedTimestamp": "2023-09-15T07:22:18.588Z",
    "serviceEndpoint": "https://asmsrv.sea.test.migration.windowsazure.com/",
    "assessmentSolutionId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
    "projectStatus": "Active",
    "customerWorkspaceId": null,
    "customerWorkspaceLocation": null,
    "publicNetworkAccess": "Disabled",
    "privateEndpointConnections": [
      {
        "properties": {
          "privateEndpoint": {
            "id": "/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"
          },
          "privateLinkServiceConnectionState": {
            "status": "Approved",
            "description": null,
            "actionsRequired": ""
          },
          "provisioningState": "Succeeded"
        },
        "id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7",
        "name": "sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7",
        "type": "Microsoft.Migrate/assessmentprojects/privateEndpointConnections",
        "systemData": {
          "createdBy": "sakanwar",
          "createdByType": "User",
          "createdAt": "2023-09-15T07:22:18.589Z",
          "lastModifiedBy": "sakanwar",
          "lastModifiedByType": "User",
          "lastModifiedAt": "2023-09-15T07:22:18.589Z"
        }
      }
    ],
    "customerStorageAccountArmId": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa",
    "provisioningState": "Succeeded"
  },
  "tags": {
    "Migrate Project": "sakanwar-PE-SEA"
  },
  "location": "southeastasia",
  "id": "/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project",
  "name": "sakanwar1204project",
  "type": "Microsoft.Migrate/assessmentprojects",
  "systemData": {
    "createdBy": "sakanwar",
    "createdByType": "User",
    "createdAt": "2023-09-15T07:22:18.589Z",
    "lastModifiedBy": "sakanwar",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-09-15T07:22:18.589Z"
  }
}
location: https://contoso.com/operationstatus

정의

Name Description
AssessmentProject

평가 프로젝트 사이트 리소스입니다.

AssessmentProjectUpdate

AssessmentProject의 업데이트 작업에 사용되는 형식입니다.

createdByType

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

ErrorDetail

오류 세부 정보

ErrorResponse

오류 응답

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

PrivateEndpointConnection

프라이빗 엔드포인트 연결 리소스입니다.

PrivateEndpointConnectionProvisioningState

현재 프로비저닝 상태입니다.

PrivateEndpointServiceConnectionStatus

프라이빗 엔드포인트 연결 상태입니다.

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

ProjectStatus

프로젝트 상태입니다.

ProvisioningState

현재 작업의 상태입니다.

systemData

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

AssessmentProject

평가 프로젝트 사이트 리소스입니다.

Name 형식 Description
id

string (arm-id)

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

location

string

리소스가 있는 지리적 위치

name

string

리소스의 이름

properties.assessmentSolutionId

string

Microsoft.Migrate/migrateProjects에서 추적하는 평가 솔루션 ARM ID입니다.

properties.createdTimestamp

string (date-time)

이 프로젝트를 만든 시간입니다. Date-Time ISO-8601 형식으로 표시됩니다.

properties.customerStorageAccountArmId

string

공용 액세스를 사용하지 않도록 설정된 경우 상호 작용에 사용되는 스토리지 계정의 ARM ID입니다.

properties.customerWorkspaceId

string

고객이 만든 서비스 맵 작업 영역의 ARM ID입니다.

properties.customerWorkspaceLocation

string

고객이 만든 서비스 맵 작업 영역의 위치입니다.

properties.privateEndpointConnections

PrivateEndpointConnection[]

프로젝트에 대한 프라이빗 엔드포인트 연결 목록입니다.

properties.projectStatus

ProjectStatus

프로젝트 상태 평가

properties.provisioningState

ProvisioningState

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

properties.publicNetworkAccess

string

이 값은 기존 고객 리소스 및 템플릿의 호환성이 손상되는 변경을 방지하기 위해 '사용'으로 설정할 수 있습니다. 'disabled'로 설정하면 공용 인터페이스를 통해 트래픽이 허용되지 않으며 프라이빗 엔드포인트 연결은 배타적인 액세스 방법이 됩니다.

properties.serviceEndpoint

string

수집기 에이전트가 에이전트 REST API를 호출할 수 있는 엔드포인트입니다.

properties.updatedTimestamp

string (date-time)

이 프로젝트가 마지막으로 업데이트된 시간입니다. Date-Time ISO-8601 형식으로 표시됩니다.

systemData

systemData

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

tags

object

리소스 태그.

type

string

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

AssessmentProjectUpdate

AssessmentProject의 업데이트 작업에 사용되는 형식입니다.

Name 형식 Description
properties.assessmentSolutionId

string

Microsoft.Migrate/migrateProjects에서 추적하는 평가 솔루션 ARM ID입니다.

properties.customerStorageAccountArmId

string

공용 액세스를 사용하지 않도록 설정된 경우 상호 작용에 사용되는 스토리지 계정의 ARM ID입니다.

properties.customerWorkspaceId

string

고객이 만든 서비스 맵 작업 영역의 ARM ID입니다.

properties.customerWorkspaceLocation

string

고객이 만든 서비스 맵 작업 영역의 위치입니다.

properties.projectStatus

ProjectStatus

프로젝트 상태 평가

properties.provisioningState

ProvisioningState

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

properties.publicNetworkAccess

string

이 값은 기존 고객 리소스 및 템플릿의 호환성이 손상되는 변경을 방지하기 위해 '사용'으로 설정할 수 있습니다. 'disabled'로 설정하면 공용 인터페이스를 통해 트래픽이 허용되지 않으며 프라이빗 엔드포인트 연결은 배타적인 액세스 방법이 됩니다.

tags

object

리소스 태그.

createdByType

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

Description
User
Application
ManagedIdentity
Key

ErrorDetail

오류 세부 정보

Name 형식 Description
code

string

오류 코드

message

string

발생한 오류에 대한 설명

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

오류 개체입니다.

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

Name 형식 Description
id

string

프라이빗 엔드포인트에 대한 ARM 식별자입니다.

PrivateEndpointConnection

프라이빗 엔드포인트 연결 리소스입니다.

Name 형식 Description
id

string (arm-id)

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

name

string

리소스의 이름

properties.groupIds

string[]

프라이빗 엔드포인트 리소스의 그룹 ID입니다.

properties.privateEndpoint

PrivateEndpoint

프라이빗 엔드포인트 리소스입니다.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

프라이빗 엔드포인트 연결 리소스의 프로비전 상태입니다.

systemData

systemData

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

type

string

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

PrivateEndpointConnectionProvisioningState

현재 프로비저닝 상태입니다.

Description
Succeeded
Creating
Deleting
Failed

PrivateEndpointServiceConnectionStatus

프라이빗 엔드포인트 연결 상태입니다.

Description
Pending
Approved
Rejected

PrivateLinkServiceConnectionState

서비스 소비자와 공급자 간의 연결 상태에 대한 정보 컬렉션입니다.

Name 형식 Description
actionsRequired

string

서비스 공급자의 변경 내용에 소비자에 대한 업데이트가 필요한지 여부를 나타내는 메시지입니다.

description

string

연결의 승인/거부 이유입니다.

status

PrivateEndpointServiceConnectionStatus

서비스 소유자가 연결을 승인/거부/제거했는지 여부를 나타냅니다.

ProjectStatus

프로젝트 상태입니다.

Description
Active

활성 상태입니다.

Inactive

비활성 상태입니다.

ProvisioningState

현재 작업의 상태입니다.

Description
Succeeded

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

Failed

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

Canceled

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

Provisioning

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

Updating

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

Deleting

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

Accepted

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

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의 형식입니다.