Skip to content

Commit

Permalink
CodeGen from PR 21237 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 4c9715e56d2085f955542b5054ed91abb2189917 into 8723412b586149d26b64699aad98203d97d84b9e
  • Loading branch information
SDKAuto committed Oct 24, 2022
1 parent 69471df commit 885c44a
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemas/2019-08-01/tenantDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.Aadiam.json#/tenant_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2022-11-16-preview/Microsoft.AppComplianceAutomation.json#/tenant_resourceDefinitions/reports"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-07-01/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleAssignments"
},
Expand Down
129 changes: 129 additions & 0 deletions schemas/2022-11-16-preview/Microsoft.AppComplianceAutomation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"id": "https://schema.management.azure.com/schemas/2022-11-16-preview/Microsoft.AppComplianceAutomation.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.AppComplianceAutomation",
"description": "Microsoft AppComplianceAutomation Resource Types",
"resourceDefinitions": {},
"tenant_resourceDefinitions": {
"reports": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-11-16-preview"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Report Name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ReportProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Report's properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.AppComplianceAutomation/reports"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AppComplianceAutomation/reports"
}
},
"definitions": {
"ReportProperties": {
"type": "object",
"properties": {
"offerGuid": {
"type": "string",
"description": "Report offer Guid."
},
"resources": {
"type": "array",
"items": {
"$ref": "#/definitions/ResourceMetadata"
},
"description": "List of resource data."
},
"timeZone": {
"type": "string",
"description": "Report collection trigger time's time zone, the available list can be obtained by executing \"Get-TimeZone -ListAvailable\" in PowerShell.\r\nAn example of valid timezone id is \"Pacific Standard Time\"."
},
"triggerTime": {
"type": "string",
"format": "date-time",
"description": "Report collection trigger time."
}
},
"required": [
"resources",
"timeZone",
"triggerTime"
],
"description": "Report's properties."
},
"ResourceMetadata": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "Resource Id - e.g. \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1\"."
},
"resourceKind": {
"type": "string",
"description": "Resource kind."
},
"resourceName": {
"type": "string",
"description": "Resource name."
},
"resourceType": {
"type": "string",
"description": "Resource type."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource's tag type."
}
},
"required": [
"resourceId"
],
"description": "Single resource Id's metadata."
}
}
}

0 comments on commit 885c44a

Please sign in to comment.