Report - Get

Get the AppComplianceAutomation report and its properties.

GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/{reportName}?api-version=2022-11-16-preview

URI Parameters

Name In Required Type Description
reportName
path True

string

Report Name.

Regex pattern: ^[-a-zA-Z0-9_]+$

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

ReportResource

Success.

Other Status Codes

ErrorResponse

Error response.

Security

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 impersonate your user account

Examples

Report_Get

Sample request

GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/testReport?api-version=2022-11-16-preview

Sample response

{
  "id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
  "name": "testReportName",
  "type": "Microsfot.AppComplianceAutomation/reports",
  "properties": {
    "id": "00000000-0000-0000-0000-000000000000",
    "status": "Active",
    "tenantId": "00000000-0000-0000-0000-000000000000",
    "reportName": "testReportName",
    "offerGuid": "00000000-0000-0000-0000-000000000000",
    "timeZone": "GMT Standard Time",
    "triggerTime": "2022-03-02T05:17:23.922Z",
    "nextTriggerTime": "2022-03-02T05:17:23.922Z",
    "lastTriggerTime": "2022-03-02T05:17:23.922Z",
    "subscriptions": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "resources": [
      {
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
        "tags": {
          "key1": "value1"
        }
      }
    ],
    "complianceStatus": {
      "m365": {
        "passedCount": 0,
        "failedCount": 0,
        "manualCount": 0
      }
    },
    "provisioningState": "Succeeded"
  },
  "systemData": {
    "createdBy": "00000000-0000-0000-0000-000000000000",
    "createdByType": "User",
    "createdAt": "2021-05-14T22:34:55.4499903Z",
    "lastModifiedBy": "00000000-0000-0000-0000-000000000000",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
  }
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

OverviewStatus

The overview of the compliance result for one report.

provisioningState

Azure lifecycle management

ReportComplianceStatus

A list which includes all the compliance result for one report.

ReportProperties

Report's properties.

ReportResource

A class represent an AppComplianceAutomation report resource.

ReportStatus

Report status.

ResourceMetadata

Single resource Id's metadata.

systemData

Metadata pertaining to creation and last modification of the resource.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

OverviewStatus

The overview of the compliance result for one report.

Name Type Description
failedCount

integer

The count of all failed full automation control.

manualCount

integer

The count of all manual control.

passedCount

integer

The count of all passed full automation control.

provisioningState

Azure lifecycle management

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

ReportComplianceStatus

A list which includes all the compliance result for one report.

Name Type Description
m365

OverviewStatus

The Microsoft 365 certification name.

ReportProperties

Report's properties.

Name Type Description
complianceStatus

ReportComplianceStatus

Report compliance status.

id

string

Report id in database.

lastTriggerTime

string

Report last collection trigger time.

nextTriggerTime

string

Report next collection trigger time.

offerGuid

string

Report offer Guid.

provisioningState

provisioningState

Azure lifecycle management

reportName

string

Report name.

resources

ResourceMetadata[]

List of resource data.

status

ReportStatus

Report status.

subscriptions

string[]

List of subscription Ids.

tenantId

string

Report's tenant id.

timeZone

string

Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".

triggerTime

string

Report collection trigger time.

ReportResource

A class represent an AppComplianceAutomation report resource.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

The name of the resource

properties

ReportProperties

Report property.

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

ReportStatus

Report status.

Name Type Description
Active

string

Disabled

string

Failed

string

ResourceMetadata

Single resource Id's metadata.

Name Type Description
resourceId

string

Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".

resourceKind

string

Resource kind.

resourceName

string

Resource name.

resourceType

string

Resource type.

tags

object

Resource's tag type.

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.