Resource Change Details - Resource Change Details
리소스 변경 세부 정보를 가져옵니다.
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resourceChangeDetails?api-version=2020-09-01-preview
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
API 버전입니다. |
요청 본문
Name | 필수 | 형식 | Description |
---|---|---|---|
changeIds | True |
string[] |
변경 세부 정보 요청에 대한 변경 ID 목록을 지정합니다. |
resourceIds | True |
string[] |
변경 세부 정보 요청에 대한 리소스 목록을 지정합니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
리소스 변경 세부 정보입니다. |
|
Other Status Codes |
오류를 나타내는 응답입니다. |
보안
azure_auth
Azure Active Directory OAuth2 Flow
형식:
oauth2
Flow:
implicit
권한 부여 URL:
https://login.microsoftonline.com/common/oauth2/authorize
범위
Name | Description |
---|---|
user_impersonation | 사용자 계정 가장 |
예제
Basic query
샘플 요청
POST https://management.azure.com/providers/Microsoft.ResourceGraph/resourceChangeDetails?api-version=2020-09-01-preview
{
"resourceIds": [
"/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
],
"changeIds": [
"53dc0515-b86b-4bc2-979b-e4694ab4a556"
]
}
샘플 응답
[
{
"resourceId": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"changeId": "53dc0515-b86b-4bc2-979b-e4694ab4a556",
"beforeSnapshot": {
"timestamp": "2018-10-31T01:32:05.993Z",
"content": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"id": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"name": "mystorageaccount",
"type": "Microsoft.Storage/storageAccounts",
"location": "westus",
"tags": {},
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": false,
"encryption": {
"services": {
"file": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
},
"blob": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
}
},
"keySource": "Microsoft.Storage"
},
"provisioningState": "Succeeded",
"creationTime": "2018-07-27T18:37:21.7708872Z",
"primaryEndpoints": {
"blob": "https://mystorageaccount.blob.core.windows.net/",
"queue": "https://mystorageaccount.queue.core.windows.net/",
"table": "https://mystorageaccount.table.core.windows.net/",
"file": "https://mystorageaccount.file.core.windows.net/"
},
"primaryLocation": "westus",
"statusOfPrimary": "available"
}
}
},
"afterSnapshot": {
"timestamp": "2018-10-31T01:54:24.42Z",
"content": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
},
"kind": "Storage",
"id": "/subscriptions/4d962866-1e3f-47f2-bd18-450c08f914c1/resourceGroups/MyResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount",
"name": "mystorageaccount",
"type": "Microsoft.Storage/storageAccounts",
"location": "westus",
"tags": {},
"properties": {
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": true,
"encryption": {
"services": {
"file": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
},
"blob": {
"enabled": true,
"lastEnabledTime": "2018-07-27T18:37:21.8333895Z"
}
},
"keySource": "Microsoft.Storage"
},
"provisioningState": "Succeeded",
"creationTime": "2018-07-27T18:37:21.7708872Z",
"primaryEndpoints": {
"blob": "https://mystorageaccount.blob.core.windows.net/",
"queue": "https://mystorageaccount.queue.core.windows.net/",
"table": "https://mystorageaccount.table.core.windows.net/",
"file": "https://mystorageaccount.file.core.windows.net/"
},
"primaryLocation": "westus",
"statusOfPrimary": "available"
}
}
}
}
]
정의
Name | Description |
---|---|
After |
변경 후의 스냅샷입니다. |
Before |
변경 전의 스냅샷입니다. |
Change |
변경 범주입니다. |
Change |
스냅샷의 변경 유형입니다. 업데이트 변경 형식의 경우 PropertyChanges가 제공됩니다. |
Error |
오류 정보입니다. |
Error |
오류 세부 정보입니다. |
Error |
오류 응답입니다. |
Property |
속성 변경 형식 |
Resource |
리소스 스냅샷 전후 쌍으로 표시되는 특정 변경 내용에 대한 데이터입니다. |
Resource |
특정 변경 세부 정보 요청에 대한 매개 변수입니다. |
Resource |
리소스 속성 변경 |
AfterSnapshot
변경 후의 스냅샷입니다.
Name | 형식 | Description |
---|---|---|
content |
object |
리소스 스냅샷 콘텐츠(resourceChangeDetails 응답에만 해당)입니다. |
snapshotId |
string |
스냅샷의 ID입니다. |
timestamp |
string (date-time) |
스냅샷을 만든 시간입니다. 스냅샷 타임스탬프는 리소스 수정이 감지된 시기에 대한 근사치를 제공합니다. 실제 수정 시간과 검색 시간 사이에 차이가 있을 수 있습니다. 이는 리소스를 수정하는 작업이 처리되는 방식과 리소스 스냅샷을 기록하는 작업이 처리되는 방식의 차이 때문입니다. |
BeforeSnapshot
변경 전의 스냅샷입니다.
Name | 형식 | Description |
---|---|---|
content |
object |
리소스 스냅샷 콘텐츠(resourceChangeDetails 응답에만 해당)입니다. |
snapshotId |
string |
스냅샷의 ID입니다. |
timestamp |
string (date-time) |
스냅샷을 만든 시간입니다. 스냅샷 타임스탬프는 리소스 수정이 감지된 시기에 대한 근사치를 제공합니다. 실제 수정 시간과 검색 시간 사이에 차이가 있을 수 있습니다. 이는 리소스를 수정하는 작업이 처리되는 방식과 리소스 스냅샷을 기록하는 작업이 처리되는 방식의 차이 때문입니다. |
ChangeCategory
변경 범주입니다.
값 | Description |
---|---|
System | |
User |
ChangeType
스냅샷의 변경 유형입니다. 업데이트 변경 형식의 경우 PropertyChanges가 제공됩니다.
값 | Description |
---|---|
Create | |
Delete | |
Update |
Error
오류 정보입니다.
Name | 형식 | Description |
---|---|---|
code |
string |
특정 오류를 식별하는 오류 코드입니다. |
details |
오류 세부 정보 |
|
message |
string |
사람이 읽을 수 있는 오류 메시지입니다. |
ErrorDetails
오류 세부 정보입니다.
Name | 형식 | Description |
---|---|---|
code |
string |
특정 오류를 식별하는 오류 코드입니다. |
message |
string |
사람이 읽을 수 있는 오류 메시지입니다. |
ErrorResponse
오류 응답입니다.
Name | 형식 | Description |
---|---|---|
error |
오류 정보입니다. |
PropertyChangeType
속성 변경 형식
값 | Description |
---|---|
Insert | |
Remove | |
Update |
ResourceChangeData
리소스 스냅샷 전후 쌍으로 표시되는 특정 변경 내용에 대한 데이터입니다.
Name | 형식 | Description |
---|---|---|
afterSnapshot |
변경 후의 스냅샷입니다. |
|
beforeSnapshot |
변경 전의 스냅샷입니다. |
|
changeId |
string |
변경 ID입니다. 지정된 리소스 내에서만 유효하고 고유합니다. |
changeType |
스냅샷의 변경 유형입니다. 업데이트 변경 형식의 경우 PropertyChanges가 제공됩니다. |
|
propertyChanges |
리소스 속성 변경의 배열 |
|
resourceId |
string |
변경에 대한 리소스입니다. |
ResourceChangeDetailsRequestParameters
특정 변경 세부 정보 요청에 대한 매개 변수입니다.
Name | 형식 | Description |
---|---|---|
changeIds |
string[] |
변경 세부 정보 요청에 대한 변경 ID 목록을 지정합니다. |
resourceIds |
string[] |
변경 세부 정보 요청에 대한 리소스 목록을 지정합니다. |
ResourcePropertyChange
리소스 속성 변경
Name | 형식 | Description |
---|---|---|
afterValue |
string |
스냅샷 이후의 속성 값 |
beforeValue |
string |
스냅샷 이전의 속성 값 |
changeCategory |
변경 범주입니다. |
|
propertyChangeType |
속성 변경 형식 |
|
propertyName |
string |
속성 이름 |