Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions schemas/2019-08-01/tenantDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Aadiam.json#/tenant_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Aadiam.json#/tenant_resourceDefinitions/diagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments"
},
Expand Down
243 changes: 243 additions & 0 deletions schemas/2020-07-01-preview/Microsoft.Aadiam.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,255 @@
"type"
],
"description": "microsoft.aadiam/azureADMetrics"
},
"privateLinkForAzureAd": {
"type": "object",
"properties": {
"allTenants": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Flag indicating whether all tenants are allowed"
},
"apiVersion": {
"type": "string",
"enum": [
"2020-07-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the private link policy in Azure AD."
},
"ownerTenantId": {
"type": "string",
"description": "Guid of the owner tenant"
},
"resourceGroup": {
"type": "string",
"description": "Name of the resource group"
},
"resourceName": {
"type": "string",
"description": "Name of the private link policy resource"
},
"subscriptionId": {
"type": "string",
"description": "Subscription Identifier"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"tenants": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The list of tenantIds."
},
"type": {
"type": "string",
"enum": [
"microsoft.aadiam/privateLinkForAzureAd"
]
}
},
"required": [
"apiVersion",
"name",
"type"
],
"description": "microsoft.aadiam/privateLinkForAzureAd"
}
},
"tenant_resourceDefinitions": {
"diagnosticSettings": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-07-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the diagnostic setting."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DiagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The diagnostic settings."
},
"type": {
"type": "string",
"enum": [
"microsoft.aadiam/diagnosticSettings"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "microsoft.aadiam/diagnosticSettings"
}
},
"definitions": {
"AzureADMetricsPropertiesFormat": {
"type": "object",
"properties": {}
},
"DiagnosticSettings": {
"type": "object",
"properties": {
"eventHubAuthorizationRuleId": {
"type": "string",
"description": "The resource Id for the event hub authorization rule."
},
"eventHubName": {
"type": "string",
"description": "The name of the event hub. If none is specified, the default event hub will be selected."
},
"logs": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/LogSettings"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The list of logs settings."
},
"serviceBusRuleId": {
"type": "string",
"description": "The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility."
},
"storageAccountId": {
"type": "string",
"description": "The resource ID of the storage account to which you would like to send Diagnostic Logs."
},
"workspaceId": {
"type": "string",
"description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
}
},
"description": "The diagnostic settings."
},
"LogSettings": {
"type": "object",
"properties": {
"category": {
"oneOf": [
{
"type": "string",
"enum": [
"AuditLogs",
"SignInLogs"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
},
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A value indicating whether this log is enabled."
},
"retentionPolicy": {
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the retention policy for the log."
}
},
"required": [
"enabled"
],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"RetentionPolicy": {
"type": "object",
"properties": {
"days": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The number of days for the retention in days. A value of 0 will retain the events indefinitely."
},
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A value indicating whether the retention policy is enabled."
}
},
"required": [
"days",
"enabled"
],
"description": "Specifies the retention policy for the log."
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Aadiam.json#/resourceDefinitions/azureADMetrics"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-04-19/Microsoft.Advisor.json#/resourceDefinitions/configurations"
},
Expand Down