forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 21237 in Azure/azure-rest-api-specs
Merge 4c9715e56d2085f955542b5054ed91abb2189917 into 8723412b586149d26b64699aad98203d97d84b9e
- Loading branch information
SDKAuto
committed
Oct 24, 2022
1 parent
69471df
commit 885c44a
Showing
2 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 129 additions & 0 deletions
129
schemas/2022-11-16-preview/Microsoft.AppComplianceAutomation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
} |