- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
GET /azure/account
List all Azure accounts linked to your Cloudcraft account.
The response is an array of Azure accounts. Each entry includes the account ID and name, access control, and user information.
The provided account IDs are required to access the other Azure-related APIs.
OK
Unauthorized
curl --location 'https://api.cloudcraft.co/azure/account'
POST /azure/account
Register a new Azure account with Cloudcraft.
The body of the request should contain the account properties in JSON format. The response contains the created account object, including the newly assigned ID for use with other API endpoints.
OK
{
"CreatorId": "us46e9aa-5806-4cd6-8e78-c22d58602d09",
"applicationId": "azapp737-4763-4fc4-9d2b-c5f4d07d22df",
"createdAt": "2022-01-01T21:18:59.057Z",
"directoryId": "azdirc44-0230-4732-9e70-cc00736f0a97",
"id": "azfda35c-82fe-4edf-b9e9-ffd48f041c22",
"name": "Development",
"subscriptionId": "azsub827-5f07-45ce-8f2b-6c5001db5c6f",
"updatedAt": "2022-01-01T21:19:03.487Z"
}
Unauthorized
Forbidden, insufficient privileges
curl --location 'https://api.cloudcraft.co/azure/account' \
--header 'Content-Type: application/json' \
--data '{"applicationId": "azapp737-4763-4fc4-9d2b-c5f4d07d22df",
"clientSecret": "secret~AIaxaBYlVBkbBhJIqhP9iXgh4c1jpdyaa9",
"directoryId": "azdirc44-0230-4732-9e70-cc00736f0a97",
"name": "Development",
"subscriptionId": "azsub827-5f07-45ce-8f2b-6c5001db5c6f",
}'
DELETE /azure/account/{account_id}
Delete a registered Azure account.
No Content
Unauthorized
Forbidden, insufficient privileges
Azure account not found
curl --location --request DELETE 'https://api.cloudcraft.co/azure/account/{account_id}'
PUT /azure/account/{account_id}
Update an Azure account registered in Cloudcraft.
The body of the request should contain the account properties in JSON format. The response contains the updated account object.
OK
Unauthorized
Forbidden, insufficient privileges
curl --location --request PUT 'https://api.cloudcraft.co/azure/account/{account_id}' \
--data '{"applicationId": "azapp737-4763-4fc4-9d2b-c5f4d07d22df",
"clientSecret": "secret~AIaxaBYlVBkbBhJIqhP9iXgh4c1jpdyaa9",
"directoryId": "azdirc44-0230-4732-9e70-cc00736f0a97",
"name": "Development123",
"subscriptionId": "azsub827-5f07-45ce-8f2b-6c5001db5c6f",
}'
GET /azure/account/{account_id}/{region}/{format}
Scan and render one region of an Azure account into a blueprint in JSON, SVG, PNG, PDF, or MxGraph format.
The time required to generate the snapshot depends on the number of resources in the Azure region.
The API behaves as a long poll, with a wait time of up to 120 seconds for the result. For most
environments, the API call returns a blueprint. If
the wait time is exceeded, a 202 Accepted
response is returned with a{code: STILL_PROCESSING, retry: true ...}
JSON body. The snapshot will continue processing in the background, and a retry will either immediately return the result or continue waiting.
OK
Wait time exceeded
{
"code": "STILL_PROCESSING",
"message": "Result wait time exceeded. Processing continues in the background, retry to receive result.",
"retry": true
}
Unauthorized
Forbidden, insufficient privileges
Azure account not found
curl --location 'https://api.cloudcraft.co/azure/account/{account_id}/{region}/{format}'