Megosztás a következőn keresztül:


Snapshot - Download

Töltse le a megfelelőségi igényeket a pillanatképből, például: megfelelőségi jelentés, erőforráslista.

POST https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/snapshots/{snapshotName}/download?api-version=2024-06-27

URI-paraméterek

Name In Kötelező Típus Description
reportName
path True

string

pattern: ^[-a-zA-Z0-9_]{1,50}$

Jelentés neve.

snapshotName
path True

string

pattern: ^[a-zA-Z0-9-_]{1,64}$

Pillanatkép neve.

api-version
query True

string

minLength: 1

A művelethez használni kívánt API-verzió.

Kérelem törzse

Name Kötelező Típus Description
downloadType True

DownloadType

A letöltés típusát jelzi.

offerGuid

string

minLength: 1

Az ajánlat, amely megfelelteti a jelentéseket.

reportCreatorTenantId

string

Bérlőazonosító.

Válaszok

Name Típus Description
200 OK

DownloadResponse

Az Azure-művelet sikeresen befejeződött.

202 Accepted

Az erőforrásművelet elfogadott.

Fejlécek

  • Location: string
  • Retry-After: integer
Other Status Codes

ErrorResponse

Váratlan hibaválasz.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow.

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

Snapshot_Download_ComplianceDetailedPdfReport
Snapshot_Download_CompliancePdfReport
Snapshot_Download_ComplianceReport
Snapshot_Download_ResourceList

Snapshot_Download_ComplianceDetailedPdfReport

Mintakérelem

POST https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/testReportName/snapshots/testSnapshotName/download?api-version=2024-06-27

{
  "downloadType": "ComplianceDetailedPdfReport",
  "offerGuid": "00000000-0000-0000-0000-000000000000",
  "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000"
}

Mintaválasz

{
  "complianceDetailedPdfReport": {
    "sasUri": "this is a uri"
  }
}
Azure-AsyncOperation: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}
Location: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}

Snapshot_Download_CompliancePdfReport

Mintakérelem

POST https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/testReportName/snapshots/testSnapshotName/download?api-version=2024-06-27

{
  "downloadType": "CompliancePdfReport",
  "offerGuid": "00000000-0000-0000-0000-000000000001",
  "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000"
}

Mintaválasz

{
  "compliancePdfReport": {
    "sasUri": "this is uri of report"
  }
}
Azure-AsyncOperation: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}
Location: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}

Snapshot_Download_ComplianceReport

Mintakérelem

POST https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/testReportName/snapshots/testSnapshotName/download?api-version=2024-06-27

{
  "downloadType": "ComplianceReport",
  "offerGuid": "00000000-0000-0000-0000-000000000001",
  "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000"
}

Mintaválasz

{
  "complianceReport": [
    {
      "categoryName": "Data Security & Privacy",
      "controlFamilyName": "Incident Response",
      "controlId": "Operational_Security_75",
      "controlName": "Provide demonstrable evidence that all member of the incident response team have completed annual training or a table top exercise",
      "controlStatus": "Passed",
      "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
      "resourceOrigin": "Azure",
      "resourceStatus": "Healthy",
      "resourceStatusChangeDate": "2023-01-12T16:17:20.150Z",
      "resourceType": "Microsoft.SignalRService/SignalR",
      "responsibilityDescription": "Restrict access to the Kubernetes Service Management API by granting API access only to IP addresses in specific ranges. It is recommended to limit access to authorized IP ranges to ensure that only applications from allowed networks can access the cluster.",
      "responsibilityTitle": "Authorized IP ranges should be defined on Kubernetes Services"
    }
  ]
}
Azure-AsyncOperation: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}
Location: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}

Snapshot_Download_ResourceList

Mintakérelem

POST https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/testReportName/snapshots/testSnapshotName/download?api-version=2024-06-27

{
  "downloadType": "ResourceList",
  "offerGuid": "00000000-0000-0000-0000-000000000001",
  "reportCreatorTenantId": "00000000-0000-0000-0000-000000000000"
}

Mintaválasz

{
  "resourceList": [
    {
      "resourceGroup": "myResourceGroup",
      "resourceId": "mySignalRService",
      "resourceType": "SignalR",
      "subscriptionId": "00000000-0000-0000-0000-000000000000"
    }
  ]
}
Azure-AsyncOperation: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationStatuses/{operationId}
Location: https://management.azure.com/providers/Microsoft.AppComplianceAutomation/operationResults/{operationId}

Definíciók

Name Description
ComplianceReportItem

Az egyetlen megfelelőségi eredmény összes tartalmát tartalmazó objektum.

ControlStatus

A vezérlő állapotát jelzi.

DownloadResponse

A letöltési művelet összes lehetséges válaszát tartalmazó objektum.

DownloadResponseComplianceDetailedPdfReport

A részletes megfelelőségi pdf-jelentés

DownloadResponseCompliancePdfReport

Megfelelőségi pdf-jelentés

DownloadType

A letöltés típusát jelzi.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

ResourceItem

Erőforrás-azonosító.

ResourceOrigin

Erőforrás eredete.

ResourceStatus

Az erőforrás állapotát jelzi.

SnapshotDownloadRequest

Pillanatkép letöltési kérése.

ComplianceReportItem

Az egyetlen megfelelőségi eredmény összes tartalmát tartalmazó objektum.

Name Típus Description
categoryName

string

A kategória neve.

controlFamilyName

string

A vezérlőcsalád neve.

controlId

string

A vezérlő azonosítója – pl. "1".

controlName

string

A vezérlő neve.

controlStatus

ControlStatus

Vezérlő állapota.

resourceId

string

Az erőforrás azonosítója.

resourceOrigin

ResourceOrigin

Erőforrás eredete.

resourceStatus

ResourceStatus

Erőforrás állapota.

resourceStatusChangeDate

string (date-time)

Az erőforrás állapotváltozási dátuma.

resourceType

string

Az erőforrás típusa. pl. "Microsoft.SignalRService/SignalR"

responsibilityDescription

string

Az ügyfél felelősségének leírása.

responsibilityTitle

string

Az ügyfél felelősségének címe.

ControlStatus

A vezérlő állapotát jelzi.

Érték Description
Failed

A vezérlő nem működik.

NotApplicable

A vezérlő nem alkalmazható.

Passed

A vezérlő átadása megtörtént.

PendingApproval

A vezérlő jóváhagyásra vár.

DownloadResponse

A letöltési művelet összes lehetséges válaszát tartalmazó objektum.

Name Típus Description
complianceDetailedPdfReport

DownloadResponseComplianceDetailedPdfReport

A részletes megfelelőségi pdf-jelentés

compliancePdfReport

DownloadResponseCompliancePdfReport

Megfelelőségi pdf-jelentés

complianceReport

ComplianceReportItem[]

A megfelelőségi eredmény listája

resourceList

ResourceItem[]

A jelentés erőforráslistája

DownloadResponseComplianceDetailedPdfReport

A részletes megfelelőségi pdf-jelentés

Name Típus Description
sasUri

string

A részletes megfelelőségi pdf-jelentés URI-ja

DownloadResponseCompliancePdfReport

Megfelelőségi pdf-jelentés

Name Típus Description
sasUri

string

A megfelelőségi pdf-jelentés URI-ja

DownloadType

A letöltés típusát jelzi.

Érték Description
ComplianceDetailedPdfReport

Töltse le a részletes megfelelőségi pdf-jelentést.

CompliancePdfReport

Töltse le a megfelelőségi pdf-jelentést.

ComplianceReport

Töltse le a megfelelőségi jelentést.

ResourceList

Töltse le a jelentés erőforráslistáját.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.

ResourceItem

Erőforrás-azonosító.

Name Típus Description
resourceGroup

string

Az erőforrás erőforráscsoportjának neve.

resourceId

string

Az erőforrás azonosítója – például "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".

resourceType

string

Az erőforrás erőforrástípusa. pl. "Microsoft.SignalRService/SignalR"

subscriptionId

string

Az erőforrás előfizetés-azonosítója.

ResourceOrigin

Erőforrás eredete.

Érték Description
AWS

Az erőforrás az AWS-ből származik.

Azure

Az erőforrás az Azure-ból származik.

GCP

Az erőforrás a GCP-ből származik.

ResourceStatus

Az erőforrás állapotát jelzi.

Érték Description
Healthy

Az erőforrás kifogástalan állapotú.

Unhealthy

Az erőforrás nem kifogástalan.

SnapshotDownloadRequest

Pillanatkép letöltési kérése.

Name Típus Description
downloadType

DownloadType

A letöltés típusát jelzi.

offerGuid

string

minLength: 1

Az ajánlat, amely megfelelteti a jelentéseket.

reportCreatorTenantId

string

Bérlőazonosító.