Disk Accesses - Update

디스크 액세스 리소스를 업데이트(패치)

PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}?api-version=2023-10-02

URI 매개 변수

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

string

생성되는 디스크 액세스 리소스의 이름입니다. 디스크 암호화 집합을 만든 후에는 이름을 변경할 수 없습니다. 이름에 지원되는 문자는 a-z, A-Z, 0-9, _ 및 -입니다. 최대 이름 길이는 80자입니다.

resourceGroupName
path True

string

리소스 그룹의 이름.

subscriptionId
path True

string

Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명 구독 ID는 모든 서비스 호출에 대한 URI의 파트를 형성합니다.

api-version
query True

string

클라이언트 API 버전.

요청 본문

Name 형식 Description
tags

object

리소스 태그

응답

Name 형식 Description
200 OK

DiskAccess

정상

202 Accepted

DiskAccess

수락됨

Other Status Codes

CloudError

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

Update a disk access resource.

Sample Request

PATCH https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess?api-version=2023-10-02

{
  "tags": {
    "department": "Development",
    "project": "PrivateEndpoints"
  }
}

Sample Response

Location: https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess?api-version=2021-04-01
{
  "name": "myDiskAccess",
  "id": "/subscriptions/{subscription-id}/resourceGroups/myResourcegroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess",
  "type": "Microsoft.Compute/diskAccesses",
  "location": "West US",
  "tags": {
    "department": "Development",
    "project": "PrivateEndpoints"
  }
}
{
  "name": "myDiskAccess",
  "id": "/subscriptions/{subscription-id}/resourceGroups/myResourcegroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess",
  "type": "Microsoft.Compute/diskAccesses",
  "location": "West US",
  "tags": {
    "department": "Development",
    "project": "PrivateEndpoints"
  }
}

정의

Name Description
ApiError

API 오류입니다.

ApiErrorBase

API 오류 기준입니다.

CloudError

Compute 서비스의 오류 응답입니다.

DiskAccess

디스크 액세스 리소스.

DiskAccessUpdate

디스크 액세스 리소스를 업데이트하는 데 사용됩니다.

ExtendedLocation

확장된 위치의 복합 형식입니다.

ExtendedLocationTypes

확장된 위치의 형식입니다.

InnerError

내부 오류 세부 정보입니다.

PrivateEndpoint

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

PrivateEndpointConnection

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

PrivateEndpointConnectionProvisioningState

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

PrivateEndpointServiceConnectionStatus

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

PrivateLinkServiceConnectionState

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

ApiError

API 오류입니다.

Name 형식 Description
code

string

오류 코드입니다.

details

ApiErrorBase[]

API 오류 세부 정보

innererror

InnerError

API 내부 오류

message

string

오류 메시지입니다.

target

string

특정 오류의 대상입니다.

ApiErrorBase

API 오류 기준입니다.

Name 형식 Description
code

string

오류 코드입니다.

message

string

오류 메시지입니다.

target

string

특정 오류의 대상입니다.

CloudError

Compute 서비스의 오류 응답입니다.

Name 형식 Description
error

ApiError

API 오류입니다.

DiskAccess

디스크 액세스 리소스.

Name 형식 Description
extendedLocation

ExtendedLocation

디스크 액세스를 만들 확장된 위치입니다. 확장된 위치는 변경할 수 없습니다.

id

string

리소스 ID

location

string

리소스 위치

name

string

리소스 이름

properties.privateEndpointConnections

PrivateEndpointConnection[]

디스크에서 만든 프라이빗 엔드포인트 연결의 읽기 전용 컬렉션입니다. 현재 하나의 엔드포인트 연결만 지원됩니다.

properties.provisioningState

string

디스크 액세스 리소스 프로비저닝 상태입니다.

properties.timeCreated

string

디스크 액세스가 만들어진 시간입니다.

tags

object

리소스 태그

type

string

리소스 유형

DiskAccessUpdate

디스크 액세스 리소스를 업데이트하는 데 사용됩니다.

Name 형식 Description
tags

object

리소스 태그

ExtendedLocation

확장된 위치의 복합 형식입니다.

Name 형식 Description
name

string

확장된 위치의 이름입니다.

type

ExtendedLocationTypes

확장된 위치의 형식입니다.

ExtendedLocationTypes

확장된 위치의 형식입니다.

Name 형식 Description
EdgeZone

string

InnerError

내부 오류 세부 정보입니다.

Name 형식 Description
errordetail

string

내부 오류 메시지 또는 예외 덤프입니다.

exceptiontype

string

예외 형식입니다.

PrivateEndpoint

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

Name 형식 Description
id

string

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

PrivateEndpointConnection

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

Name 형식 Description
id

string

프라이빗 엔드포인트 연결 ID

name

string

프라이빗 엔드포인트 연결 이름

properties.privateEndpoint

PrivateEndpoint

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

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

DiskAccess와 Virtual Network 간의 연결 상태에 대한 정보 컬렉션입니다.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

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

type

string

프라이빗 엔드포인트 연결 유형

PrivateEndpointConnectionProvisioningState

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

Name 형식 Description
Creating

string

Deleting

string

Failed

string

Succeeded

string

PrivateEndpointServiceConnectionStatus

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

Name 형식 Description
Approved

string

Pending

string

Rejected

string

PrivateLinkServiceConnectionState

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

Name 형식 Description
actionsRequired

string

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

description

string

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

status

PrivateEndpointServiceConnectionStatus

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