diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/actionGroups_NetworkSecurityPerimeter_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/actionGroups_NetworkSecurityPerimeter_API.json new file mode 100644 index 000000000000..6fcd3b04874f --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/actionGroups_NetworkSecurityPerimeter_API.json @@ -0,0 +1,205 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Action Groups Network Security Perimeter APIs", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" + }, + "version": "2021-10-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets a list of NSP configurations for specified action group.", + "operationId": "ActionGroups_ListNSP", + "x-ms-examples": { + "Get an action group": { + "$ref": "./examples/NSPForActionGroups_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of configs.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets a specified NSP configuration for specified action group.", + "operationId": "ActionGroups_GetNSP", + "x-ms-examples": { + "Get NSP config by name for an action group": { + "$ref": "./examples/NSPForActionGroups_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterConfigurationNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the NSP config.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Reconciles a specified NSP configuration for specified action group.", + "operationId": "ActionGroups_ReconcileNSP", + "x-ms-examples": { + "Reconcile NSP config by name for an action group": { + "$ref": "./examples/NSPForActionGroups_Reconcile.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ActionGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterConfigurationNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Request to reconcile the association accepted.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": {}, + "parameters": { + "ActionGroupNameParameter": { + "name": "actionGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the action group.", + "x-ms-parameter-location": "method", + "pattern": "^.*$", + "maxLength": 43 + }, + "NetworkSecurityPerimeterConfigurationNameParameter": { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$", + "minLength": 1, + "maxLength": 512, + "x-ms-parameter-location": "method", + "description": "The name for a network security perimeter configuration" + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/dataCollectionEndpoints_NetworkSecurityPerimeter_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/dataCollectionEndpoints_NetworkSecurityPerimeter_API.json new file mode 100644 index 000000000000..d340651c7a16 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/dataCollectionEndpoints_NetworkSecurityPerimeter_API.json @@ -0,0 +1,215 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Monitor Data Collection Endpoints Network Security Perimeter APIs", + "description": "Provides NSP operations for working with Azure Monitor data collection endpoints", + "version": "2021-10-01", + "x-ms-code-generation-settings": { + "name": "MonitorManagementClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "summary": "Gets a list of NSP configurations for the specified data collection endpoint.", + "operationId": "DataCollectionEndpoints_ListNSP", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DataCollectionEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of configs.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List NSP configs by data collection endpoint": { + "$ref": "./examples/NSPForDataCollectionEndpoints_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "summary": "Gets the specified NSP configuration for the specified data collection endpoint.", + "operationId": "DataCollectionEndpoints_GetNSP", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DataCollectionEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the config.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get NSP configs by name for data collection endpoint": { + "$ref": "./examples/NSPForDataCollectionEndpoints_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "summary": "Reconciles the specified NSP configuration for the specified data collection endpoint.", + "operationId": "DataCollectionEndpoints_ReconcileNSP", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DataCollectionEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterConfigurationNameParameter" + } + ], + "responses": { + "202": { + "description": "Request to reconcile the association accepted.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Reconcile NSP config for data collection endpoint": { + "$ref": "./examples/NSPForDataCollectionEndpoints_Reconcile.json" + } + } + } + } + }, + "definitions": {}, + "parameters": { + "DataCollectionEndpointNameParameter": { + "in": "path", + "name": "dataCollectionEndpointName", + "description": "The name of the data collection endpoint. The name is case insensitive.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^.*$", + "maxLength": 43 + }, + "NetworkSecurityPerimeterConfigurationNameParameter": { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$", + "minLength": 1, + "maxLength": 512, + "x-ms-parameter-location": "method", + "description": "The name for a network security perimeter configuration" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_Get.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_Get.json new file mode 100644 index 000000000000..e650d12b3594 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "actionGroupName": "someActionGroup", + "networkSecurityPerimeterConfigurationName": "somePerimeterConfiguration", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exampleRG/providers/Microsoft.Insights/actionGroups/someActionGroup/networkSecurityPerimeterConfigurations/somePerimeterConfiguration", + "name": "somePerimeterConfiguration", + "type": "Microsoft.Insights/actionGroups/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "networkSecurityPerimeter": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/networkRG/providers/Microsoft.Network/networkSecurityPerimeters/perimeter1", + "location": "japaneast" + }, + "resourceAssociation": { + "name": "assoc1", + "accessMode": "Enforced" + }, + "profile": { + "name": "profile1", + "accessRulesVersion": 0, + "accessRules": [ + { + "name": "rule1", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ] + } + } + ] + } + } + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_List.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_List.json new file mode 100644 index 000000000000..9d5c917a6fd6 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "actionGroupName": "someActionGroup", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exampleRG/providers/Microsoft.Insights/actionGroups/someActionGroup/networkSecurityPerimeterConfigurations/somePerimeterConfiguration", + "name": "somePerimeterConfiguration", + "type": "Microsoft.Insights/actionGroups/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "networkSecurityPerimeter": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/networkRG/providers/Microsoft.Network/networkSecurityPerimeters/perimeter1", + "location": "japaneast" + }, + "resourceAssociation": { + "name": "assoc1", + "accessMode": "Enforced" + }, + "profile": { + "name": "profile1", + "accessRulesVersion": 0, + "accessRules": [ + { + "name": "rule1", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ] + } + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_Reconcile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_Reconcile.json new file mode 100644 index 000000000000..dbb18371e35c --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForActionGroups_Reconcile.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "actionGroupName": "someActionGroup", + "networkSecurityPerimeterConfigurationName": "somePerimeterConfiguration", + "api-version": "2021-10-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Insights/locations/{location}/asyncoperations&api-version=2021-10-01" + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_Get.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_Get.json new file mode 100644 index 000000000000..8b8db6f4a916 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "dataCollectionEndpointName": "someDataCollectionEndpoint", + "networkSecurityPerimeterConfigurationName": "somePerimeterConfiguration", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exampleRG/providers/Microsoft.Insights/dataCollectionEndpoints/someDataCollectionEndpoint/networkSecurityPerimeterConfigurations/somePerimeterConfiguration", + "name": "somePerimeterConfiguration", + "type": "Microsoft.Insights/dataCollectionEndpoints/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "networkSecurityPerimeter": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/networkRG/providers/Microsoft.Network/networkSecurityPerimeters/perimeter1", + "location": "japaneast" + }, + "resourceAssociation": { + "name": "assoc1", + "accessMode": "Enforced" + }, + "profile": { + "name": "profile1", + "accessRulesVersion": 0, + "accessRules": [ + { + "name": "rule1", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ] + } + } + ] + } + } + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_List.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_List.json new file mode 100644 index 000000000000..ec327fff41dc --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "dataCollectionEndpointName": "someDataCollectionEndpoint", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exampleRG/providers/Microsoft.Insights/dataCollectionEndpoints/someDataCollectionEndpoint/networkSecurityPerimeterConfigurations/somePerimeterConfiguration", + "name": "somePerimeterConfiguration", + "type": "Microsoft.Insights/dataCollectionEndpoints/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "networkSecurityPerimeter": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/networkRG/providers/Microsoft.Network/networkSecurityPerimeters/perimeter1", + "location": "japaneast" + }, + "resourceAssociation": { + "name": "assoc1", + "accessMode": "Enforced" + }, + "profile": { + "name": "profile1", + "accessRulesVersion": 0, + "accessRules": [ + { + "name": "rule1", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ] + } + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_Reconcile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_Reconcile.json new file mode 100644 index 000000000000..371292bf16e5 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForDataCollectionEndpoints_Reconcile.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "dataCollectionEndpointName": "someDataCollectionEndpoint", + "networkSecurityPerimeterConfigurationName": "somePerimeterConfiguration", + "api-version": "2021-10-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Insights/locations/{location}/asyncoperations&api-version=2021-10-01" + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_Get.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_Get.json new file mode 100644 index 000000000000..16b46e3ce975 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "ruleName": "someRule", + "networkSecurityPerimeterConfigurationName": "somePerimeterConfiguration", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exampleRG/providers/Microsoft.Insights/scheduledQueryRules/someRule/networkSecurityPerimeterConfigurations/somePerimeterConfiguration", + "name": "somePerimeterConfiguration", + "type": "Microsoft.Insights/scheduledQueryRules/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "networkSecurityPerimeter": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/networkRG/providers/Microsoft.Network/networkSecurityPerimeters/perimeter1", + "location": "japaneast" + }, + "resourceAssociation": { + "name": "assoc1", + "accessMode": "Enforced" + }, + "profile": { + "name": "profile1", + "accessRulesVersion": 0, + "accessRules": [ + { + "name": "rule1", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ] + } + } + ] + } + } + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_List.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_List.json new file mode 100644 index 000000000000..ff1f66f71eff --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_List.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "ruleName": "someRule", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/exampleRG/providers/Microsoft.Insights/scheduledQueryRules/someRule/networkSecurityPerimeterConfigurations/somePerimeterConfiguration", + "name": "somePerimeterConfiguration", + "type": "Microsoft.Insights/scheduledQueryRules/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "networkSecurityPerimeter": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/networkRG/providers/Microsoft.Network/networkSecurityPerimeters/perimeter1", + "location": "japaneast" + }, + "resourceAssociation": { + "name": "assoc1", + "accessMode": "Enforced" + }, + "profile": { + "name": "profile1", + "accessRulesVersion": 0, + "accessRules": [ + { + "name": "rule1", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ] + } + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_Reconcile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_Reconcile.json new file mode 100644 index 000000000000..0de5ccc7d947 --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/examples/NSPForScheduledQueryRule_Reconcile.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "exampleRG", + "ruleName": "someRule", + "networkSecurityPerimeterConfigurationName": "somePerimeterConfiguration", + "api-version": "2021-10-01" + }, + "responses": { + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Insights/locations/{location}/asyncoperations&api-version=2021-10-01" + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/scheduledQueryRule_NetworkSecurityPerimeter_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/scheduledQueryRule_NetworkSecurityPerimeter_API.json new file mode 100644 index 000000000000..f873f5f8c2ec --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-10-01/scheduledQueryRule_NetworkSecurityPerimeter_API.json @@ -0,0 +1,203 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-10-01", + "title": "Scheduled Query Rules API", + "description": "Provides NSP operations for working with Scheduled Query Rules." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets a list of NSP configurations for specified scheduled query rule.", + "operationId": "ScheduledQueryRule_ListNSP", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of configs.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List NSP configs by Scheduled Query Rule": { + "$ref": "./examples/NSPForScheduledQueryRule_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets a network security perimeter configuration.", + "operationId": "ScheduledQueryRule_GetNSP", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the config.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get NSP config by name for Scheduled Query Rule": { + "$ref": "./examples/NSPForScheduledQueryRule_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/scheduledQueryRules/{ruleName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Reconcile network security perimeter configuration for ScheduledQueryRule resource.", + "operationId": "ScheduledQueryRule_ReconcileNSP", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RuleNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterConfigurationNameParameter" + } + ], + "responses": { + "202": { + "description": "Request to reconcile the association accepted.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Reconcile NSP config for Scheduled Query Rule": { + "$ref": "./examples/NSPForScheduledQueryRule_Reconcile.json" + } + } + } + } + }, + "definitions": {}, + "parameters": { + "RuleNameParameter": { + "name": "ruleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the rule.", + "x-ms-parameter-location": "method", + "pattern": "^.*$", + "maxLength": 43 + }, + "NetworkSecurityPerimeterConfigurationNameParameter": { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$", + "minLength": 1, + "maxLength": 512, + "x-ms-parameter-location": "method", + "description": "The name for a network security perimeter configuration" + } + } +} diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 47d35d1b95b2..8b1dff6ec11e 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -24,18 +24,54 @@ To see additional help and options, run: These are the global settings for the MonitorClient API. -``` yaml !$(python) || !$(track2) +```yaml !$(python) || !$(track2) title: MonitorClient ``` -``` yaml +```yaml description: Monitor Management Client openapi-type: arm openapi-subtype: rpaas -tag: package-preview-2023-09 +tag: package-2024-04 directive: - suppress: Example Validations - reason: 'There are open issues (bugs) in the validator affecting some of the examples and since there is no way to selectively disable the validation for a particular example or paths, all of the example validation is being turned off.' + reason: "There are open issues (bugs) in the validator affecting some of the examples and since there is no way to selectively disable the validation for a particular example or paths, all of the example validation is being turned off." +``` +### Tag: package-2024-04 + +These settings apply only when `--tag=package-2024-04` is specified on the command line. + +```yaml $(tag) == 'package-2024-04' +input-file: + - Microsoft.Insights/stable/2021-10-01/actionGroups_NetworkSecurityPerimeter_API.json + - Microsoft.Insights/stable/2021-10-01/dataCollectionEndpoints_NetworkSecurityPerimeter_API.json + - Microsoft.Insights/stable/2021-10-01/scheduledQueryRule_NetworkSecurityPerimeter_API.json + - Microsoft.Insights/preview/2023-09-01-preview/actionGroups_API.json + - Microsoft.Insights/stable/2024-02-01/metricNamespaces_API.json + - Microsoft.Insights/stable/2024-02-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2024-02-01/metrics_API.json + - Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json + - Microsoft.Monitor/stable/2023-04-03/operations_API.json + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/preview/2023-05-01-preview/tenantActionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2023-12-01/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2023-03-11/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2023-03-11/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2023-03-11/dataCollectionRules_API.json ``` ### Tag: package-preview-2023-09 @@ -153,7 +189,7 @@ input-file: These settings apply only when `--tag=package-2023-10` is specified on the command line. -``` yaml $(tag) == 'package-2023-10' +```yaml $(tag) == 'package-2023-10' input-file: - Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json - Microsoft.Monitor/stable/2023-04-03/operations_API.json @@ -187,16 +223,16 @@ input-file: These settings apply only when `--tag=package-2023-05-01-preview-only` is specified on the command line -``` yaml $(tag) == 'package-2023-05-01-preview-only' +```yaml $(tag) == 'package-2023-05-01-preview-only' input-file: -- Microsoft.Insights/preview/2023-05-01-preview/tenantActionGroups_API.json + - Microsoft.Insights/preview/2023-05-01-preview/tenantActionGroups_API.json ``` ### Tag: package-2023-04 These settings apply only when `--tag=package-2023-04` is specified on the command line. -``` yaml $(tag) == 'package-2023-04' +```yaml $(tag) == 'package-2023-04' input-file: - Microsoft.Monitor/stable/2023-04-03/monitoringAccounts_API.json - Microsoft.Monitor/stable/2023-04-03/operations_API.json @@ -230,61 +266,61 @@ input-file: These settings apply only when `--tag=package-preview-2023-04` is specified on the command line. -``` yaml $(tag) == 'package-preview-2023-04' -input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2023-01-01/actionGroups_API.json -- Microsoft.Insights/preview/2023-03-01-preview/tenantActionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2021-05-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/preview/2023-03-15-preview/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json +```yaml $(tag) == 'package-preview-2023-04' +input-file: + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json + - Microsoft.Insights/preview/2023-03-01-preview/tenantActionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2021-05-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/preview/2023-03-15-preview/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json ``` ### Tag: package-datacollection-2022-06-01-only These settings apply only when `--tag=package-datacollection-2022-06-01-only` is specified on the command line -``` yaml $(tag) == 'package-datacollection-2022-06-01-only' +```yaml $(tag) == 'package-datacollection-2022-06-01-only' input-file: -- Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json ``` ### Tag: package-2023-03-01-preview-only These settings apply only when `--tag=package-2023-03-01-preview-only` is specified on the command line -``` yaml $(tag) == 'package-2023-03-01-preview-only' +```yaml $(tag) == 'package-2023-03-01-preview-only' input-file: -- Microsoft.Insights/preview/2023-03-01-preview/tenantActionGroups_API.json + - Microsoft.Insights/preview/2023-03-01-preview/tenantActionGroups_API.json ``` ### Tag: package-2023-01-only These settings apply only when `--tag=package-2023-01-only` is specified on the command line -``` yaml $(tag) == 'package-2023-01-only' +```yaml $(tag) == 'package-2023-01-only' input-file: - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json ``` @@ -293,7 +329,7 @@ input-file: These settings apply only when `--tag=package-preview-2023-01` is specified on the command line. -``` yaml $(tag) == 'package-preview-2023-01' +```yaml $(tag) == 'package-preview-2023-01' input-file: - Microsoft.Insights/preview/2023-01-01-preview/activityLogAlerts_API.json ``` @@ -302,376 +338,376 @@ input-file: These settings apply only when `--tag=package-2022-08-01-preview-only` is specified on the command line -``` yaml $(tag) == 'package-2022-08-01-preview-only' +```yaml $(tag) == 'package-2022-08-01-preview-only' input-file: -- Microsoft.Insights/preview/2022-08-01-preview/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2022-08-01-preview/scheduledQueryRule_API.json ``` ### Tag: package-preview-2023-03 These settings apply only when `--tag=package-preview-2023-03` is specified on the command line. -``` yaml $(tag) == 'package-preview-2023-03' -input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2023-01-01/actionGroups_API.json -- Microsoft.Insights/preview/2023-03-01-preview/tenantActionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2021-05-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/preview/2023-03-15-preview/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json +```yaml $(tag) == 'package-preview-2023-03' +input-file: + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json + - Microsoft.Insights/preview/2023-03-01-preview/tenantActionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2021-05-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/preview/2023-03-15-preview/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json ``` ### Tag: package-preview-2022-08 These settings apply only when `--tag=package-preview-2022-08` is specified on the command line. -``` yaml $(tag) == 'package-preview-2022-08' -input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2023-01-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2021-05-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/preview/2022-08-01-preview/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json +```yaml $(tag) == 'package-preview-2022-08' +input-file: + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2021-05-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/preview/2022-08-01-preview/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json ``` ### Tag: package-composite-v1 These settings apply only when `--tag=package-composite-v1` is specified on the command line. -``` yaml $(tag) == 'package-composite-v1' -input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2023-01-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2021-05-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json +```yaml $(tag) == 'package-composite-v1' +input-file: + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2021-05-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json ``` ### Tag: package-2023-01 These settings apply only when `--tag=package-2023-01` is specified on the command line -``` yaml $(tag) == 'package-2023-01' -input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2023-01-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json +```yaml $(tag) == 'package-2023-01' +input-file: + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2023-01-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json ``` ### Tag: package-2022-10 These settings apply only when `--tag=package-2022-10` is specified on the command line -``` yaml $(tag) == 'package-2022-10' -input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json +```yaml $(tag) == 'package-2022-10' +input-file: + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2022-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json ``` ### Tag: package-2022-10-01-only These settings apply only when `--tag=package-2022-10-01-only` is specified on the command line -``` yaml $(tag) == 'package-2022-10-01-only' +```yaml $(tag) == 'package-2022-10-01-only' input-file: -- Microsoft.Insights/stable/2022-10-01/autoscale_API.json + - Microsoft.Insights/stable/2022-10-01/autoscale_API.json ``` ### Tag: package-2022-06 These settings apply only when `--tag=package-2022-06` is specified on the command line -``` yaml $(tag) == 'package-2022-06' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json +```yaml $(tag) == 'package-2022-06' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2022-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2022-06-15/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json ``` ### Tag: package-2022-06-01-only These settings apply only when `--tag=package-2022-06-01-only` is specified on the command line -``` yaml $(tag) == 'package-2022-06-01-only' +```yaml $(tag) == 'package-2022-06-01-only' input-file: -- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json + - Microsoft.Insights/stable/2022-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json ``` ### Tag: package-2022-04-01-only These settings apply only when `--tag=package-2022-04-01-only` is specified on the command line -``` yaml $(tag) == 'package-2022-04-01-only' +```yaml $(tag) == 'package-2022-04-01-only' input-file: -- Microsoft.Insights/stable/2022-04-01/actionGroups_API.json + - Microsoft.Insights/stable/2022-04-01/actionGroups_API.json ``` ### Tag: package-2021-06-03-preview-only These settings apply only when `--tag=package-2021-06-03-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-06-03-preview-only' +```yaml $(tag) == 'package-2021-06-03-preview-only' input-file: -- Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json -- Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/monitoringAccounts_API.json + - Microsoft.Monitor/preview/2021-06-03-preview/operations_API.json ``` ### Tag: package-2016-03-preview-monitorlegacy These settings apply only when `--tag=package-2016-03-preview-monitorlegacy` is specified on the command line -``` yaml $(tag) == 'package-2016-03-preview-monitorlegacy' +```yaml $(tag) == 'package-2016-03-preview-monitorlegacy' input-file: -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json ``` ### Tag: package-2021-05-preview-diagnostics These settings apply only when `--tag=package-2021-05-preview-diagnostics` is specified on the command line -``` yaml $(tag) == 'package-2021-05-preview-diagnostics' +```yaml $(tag) == 'package-2021-05-preview-diagnostics' input-file: -- Microsoft.Insights/preview/2021-05-01-preview/autoscale_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/preview/2021-05-01-preview/managementGroupDiagnosticSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/subscriptionDiagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2021-09-01/actionGroups_API.json + - Microsoft.Insights/preview/2021-05-01-preview/autoscale_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/preview/2021-05-01-preview/managementGroupDiagnosticSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/subscriptionDiagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2021-09-01/actionGroups_API.json ``` ### Tag: package-2020-10-activityLogs These settings apply only when `--tag=package-2020-10-activityLogs` is specified on the command line -``` yaml $(tag) == 'package-2020-10-activityLogs' +```yaml $(tag) == 'package-2020-10-activityLogs' input-file: -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json directive: -- from: activityLogAlerts_API.json - where: $.definitions - transform: delete $["ErrorResponse"] - reason: Description doesn't match, the definition will be "inherit" from activityLogs_API.json + - from: activityLogAlerts_API.json + where: $.definitions + transform: delete $["ErrorResponse"] + reason: Description doesn't match, the definition will be "inherit" from activityLogs_API.json ``` ### Tag: package-2021-05-metrics These settings apply only when `--tag=package-2021-05-metrics` is specified on the command line -``` yaml $(tag) == 'package-2021-05-metrics' +```yaml $(tag) == 'package-2021-05-metrics' input-file: -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2021-05-01/metrics_API.json -- Microsoft.Insights/stable/2021-05-01/operations_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2021-05-01/metrics_API.json + - Microsoft.Insights/stable/2021-05-01/operations_API.json directive: -- from: metricBaselines_API.json - where: $.parameters - transform: delete $["MetricNamespaceParameter"] - reason: Description doesn't match, the definition will be "inherit" from metrics_API.json -- from: metricBaselines_API.json - where: $.parameters - transform: delete $["MetricNamesParameter"] - reason: Description doesn't match, the definition will be "inherit" from metrics_API.json + - from: metricBaselines_API.json + where: $.parameters + transform: delete $["MetricNamespaceParameter"] + reason: Description doesn't match, the definition will be "inherit" from metrics_API.json + - from: metricBaselines_API.json + where: $.parameters + transform: delete $["MetricNamesParameter"] + reason: Description doesn't match, the definition will be "inherit" from metrics_API.json ``` ### Tag: package-2021-08-scheduledqueryrules These settings apply only when `--tag=package-2021-08-scheduledqueryrules` is specified on the command line -``` yaml $(tag) == 'package-2021-08-scheduledqueryrules' +```yaml $(tag) == 'package-2021-08-scheduledqueryrules' input-file: -- Microsoft.Insights/stable/2021-08-01/scheduledQueryRule_API.json + - Microsoft.Insights/stable/2021-08-01/scheduledQueryRule_API.json ``` ### Tag: package-2022-02-01-preview-only These settings apply only when `--tag=package-2022-02-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2022-02-01-preview-only' +```yaml $(tag) == 'package-2022-02-01-preview-only' input-file: - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionEndpoints_API.json - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRuleAssociations_API.json - - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json + - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json ``` ### Tag: package-2021-09 These settings apply only when `--tag=package-2021-09` is specified on the command line -``` yaml $(tag) == 'package-2021-09' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2021-09-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionRules_API.json +```yaml $(tag) == 'package-2021-09' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2021-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionRules_API.json ``` ### Tag: package-2021-09-01-only These settings apply only when `--tag=package-2021-09-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-09-01-only' +```yaml $(tag) == 'package-2021-09-01-only' input-file: -- Microsoft.Insights/stable/2021-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2021-09-01/actionGroups_API.json ``` ### Tag: package-2021-08 These settings apply only when `--tag=package-2021-08` is specified on the command line. -``` yaml $(tag) == 'package-2021-08' +```yaml $(tag) == 'package-2021-08' input-file: - Microsoft.Insights/stable/2021-08-01/scheduledQueryRule_API.json ``` @@ -680,78 +716,78 @@ input-file: These settings apply only when `--tag=package-2021-07` is specified on the command line -``` yaml $(tag) == 'package-2021-07' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionRules_API.json +```yaml $(tag) == 'package-2021-07' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2019-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionRules_API.json ``` ### Tag: package-2021-07-01-preview-only These settings apply only when `--tag=package-2021-07-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-07-01-preview-only' +```yaml $(tag) == 'package-2021-07-01-preview-only' input-file: -- Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json + - Microsoft.Insights/preview/2021-07-01-preview/privateLinkScopes_API.json ``` ### Tag: package-2021-04 These settings apply only when `--tag=package-2021-04` is specified on the command line. -``` yaml $(tag) == 'package-2021-04' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json -- Microsoft.Insights/stable/2021-04-01/dataCollectionRules_API.json +```yaml $(tag) == 'package-2021-04' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2019-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json + - Microsoft.Insights/stable/2021-04-01/dataCollectionRules_API.json ``` ### Tag: package-2021-05-only These settings apply only when `--tag=package-2021-05-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-05-only' +```yaml $(tag) == 'package-2021-05-only' input-file: - Microsoft.Insights/stable/2021-05-01/metrics_API.json - Microsoft.Insights/stable/2021-05-01/metricDefinitions_API.json @@ -762,18 +798,18 @@ input-file: These settings apply only when `--tag=package-2021-05-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-05-01-preview-only' +```yaml $(tag) == 'package-2021-05-01-preview-only' input-file: -- Microsoft.Insights/preview/2021-05-01-preview/autoscale_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/preview/2021-05-01-preview/managementGroupDiagnosticSettings_API.json -- Microsoft.Insights/preview/2021-05-01-preview/subscriptionDiagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/autoscale_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/preview/2021-05-01-preview/managementGroupDiagnosticSettings_API.json + - Microsoft.Insights/preview/2021-05-01-preview/subscriptionDiagnosticsSettings_API.json ``` ### Tag: package-2021-04-only -``` yaml $(tag) == 'package-2021-04-only' +```yaml $(tag) == 'package-2021-04-only' input-file: - Microsoft.Insights/stable/2021-04-01/dataCollectionEndpoints_API.json - Microsoft.Insights/stable/2021-04-01/dataCollectionRuleAssociations_API.json @@ -784,109 +820,109 @@ input-file: These settings apply only when `--tag=package-2021-02-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-02-preview-only' +```yaml $(tag) == 'package-2021-02-preview-only' input-file: -- Microsoft.Insights/preview/2021-02-01-preview/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2021-02-01-preview/scheduledQueryRule_API.json ``` ### Tag: package-2020-10-only These settings apply only when `--tag=package-2020-10-only` is specified on the command line. -``` yaml $(tag) == 'package-2020-10-only' +```yaml $(tag) == 'package-2020-10-only' input-file: -- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json ``` ### Tag: package-2020-05-preview-only These settings apply only when `--tag=package-2020-05-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2020-05-preview-only' +```yaml $(tag) == 'package-2020-05-preview-only' input-file: -- Microsoft.Insights/preview/2020-05-01-preview/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2020-05-01-preview/scheduledQueryRule_API.json ``` ### Tag: package-2020-01-01-preview-only These settings apply only when `--tag=package-2020-01-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2020-01-01-preview-only' +```yaml $(tag) == 'package-2020-01-01-preview-only' input-file: -- Microsoft.Insights/preview/2020-01-01-preview/managementGroupDiagnosticSettings_API.json + - Microsoft.Insights/preview/2020-01-01-preview/managementGroupDiagnosticSettings_API.json ``` ### Tag: package-2020-03 These settings apply only when `--tag=package-2020-03` is specified on the command line. -``` yaml $(tag) == 'package-2020-03' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json +```yaml $(tag) == 'package-2020-03' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2019-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json ``` ### Tag: package-2019-11 These settings apply only when `--tag=package-2019-11` is specified on the command line. -``` yaml $(tag) == 'package-2019-11' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json +```yaml $(tag) == 'package-2019-11' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2019-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json ``` ### Tag: package-2019-10-17-preview-only These settings apply only when `--tag=package-2019-10-17-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2019-10-17-preview-only' +```yaml $(tag) == 'package-2019-10-17-preview-only' input-file: -- Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json + - Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json ``` ### Tag: package-2019-07-only These settings apply only when `--tag=package-2019-07-only` is specified on the command line. -``` yaml $(tag) == 'package-2019-07-only' +```yaml $(tag) == 'package-2019-07-only' input-file: - Microsoft.Insights/stable/2019-07-01/metrics_API.json - Microsoft.Insights/stable/2019-07-01/operations_API.json @@ -896,202 +932,202 @@ input-file: These settings apply only when `--tag=package-2019-06` is specified on the command line. -``` yaml $(tag) == 'package-2019-06' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json +```yaml $(tag) == 'package-2019-06' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2019-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json ``` ### Tag: package-2019-03 These settings apply only when `--tag=package-2019-03` is specified on the command line. -``` yaml $(tag) == 'package-2019-03' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2019-03-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json +```yaml $(tag) == 'package-2019-03' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2019-03-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json ``` ### Tag: package-2018-11-preview These settings apply only when `--tag=package-2018-11-preview` is specified on the command line. -``` yaml $(tag) == 'package-2018-11-preview' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json +```yaml $(tag) == 'package-2018-11-preview' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2018-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json ``` ### Tag: package-2018-09 These settings apply only when `--tag=package-2018-09` is specified on the command line. -``` yaml $(tag) == 'package-2018-09' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json -- Microsoft.Insights/stable/2018-09-01/metricBaselines_API.json +```yaml $(tag) == 'package-2018-09' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2018-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/stable/2018-09-01/metricBaselines_API.json ``` ### Tag: package-2018-03 These settings apply only when `--tag=package-2018-03` is specified on the command line. -``` yaml $(tag) == 'package-2018-03' -input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json +```yaml $(tag) == 'package-2018-03' +input-file: + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2018-03-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json ``` ### Tag: package-2018-02-preview These settings apply only when `--tag=package-2018-02-preview` is specified on the command line. -``` yaml $(tag) == 'package-2018-02-preview' +```yaml $(tag) == 'package-2018-02-preview' input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2017-04-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json ``` ### Tag: package-2017-12 These settings apply only when `--tag=package-2017-12` is specified on the command line. -``` yaml $(tag) == 'package-2017-12' +```yaml $(tag) == 'package-2017-12' input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json -- Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2017-04-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json + - Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json ``` ### Tag: package-2017-09 These settings apply only when `--tag=package-2017-09` is specified on the command line. -``` yaml $(tag) == 'package-2017-09' +```yaml $(tag) == 'package-2017-09' input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json -- Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2018-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json + - Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json ``` ### Tag: package-2017-09-preview-only These settings apply only when `--tag=package-2017-09-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-09-preview-only' +```yaml $(tag) == 'package-2017-09-preview-only' input-file: - Microsoft.Insights/preview/2017-09-01-preview/operations_API.json - Microsoft.Insights/preview/2017-09-01-preview/metricDefinitions_API.json @@ -1102,24 +1138,24 @@ input-file: These settings apply only when `--tag=package-2017-08` is specified on the command line. -``` yaml $(tag) == 'package-2017-08' +```yaml $(tag) == 'package-2017-08' input-file: -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2017-04-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json ``` ### Tag: package-2019-11-01-preview-only These settings apply only when `--tag=package-2019-11-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2019-11-01-preview-only' +```yaml $(tag) == 'package-2019-11-01-preview-only' input-file: - Microsoft.Insights/preview/2019-11-01-preview/dataCollectionRuleAssociations_API.json - Microsoft.Insights/preview/2019-11-01-preview/dataCollectionRules_API.json @@ -1129,144 +1165,144 @@ input-file: These settings apply only when `--tag=package-2019-06-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2019-06-01-only' +```yaml $(tag) == 'package-2019-06-01-only' input-file: -- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json + - Microsoft.Insights/stable/2019-06-01/actionGroups_API.json ``` ### Tag: package-2019-03-01-only These settings apply only when `--tag=package-2019-03-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2019-03-01-only' +```yaml $(tag) == 'package-2019-03-01-only' input-file: -- Microsoft.Insights/stable/2019-03-01/actionGroups_API.json -- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json + - Microsoft.Insights/stable/2019-03-01/actionGroups_API.json + - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json ``` ### Tag: package-2018-11-27-preview-only These settings apply only when `--tag=package-2018-11-27-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-11-27-preview-only' +```yaml $(tag) == 'package-2018-11-27-preview-only' input-file: -- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json + - Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json ``` ### Tag: package-2018-09-01-only These settings apply only when `--tag=package-2018-09-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-09-01-only' +```yaml $(tag) == 'package-2018-09-01-only' input-file: -- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2018-09-01/actionGroups_API.json ``` ### Tag: package-2018-09-01-python-only These settings apply only when `--tag=package-2018-09-01-python-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-09-01-python-only' +```yaml $(tag) == 'package-2018-09-01-python-only' input-file: -- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json -- Microsoft.Insights/stable/2018-09-01/metricBaselines_API.json + - Microsoft.Insights/stable/2018-09-01/actionGroups_API.json + - Microsoft.Insights/stable/2018-09-01/metricBaselines_API.json ``` ### Tag: package-2018-06-01-preview-only These settings apply only when `--tag=package-2018-06-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-06-01-preview-only' +```yaml $(tag) == 'package-2018-06-01-preview-only' input-file: -- Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json -- Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json + - Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json + - Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json ``` ### Tag: package-2018-04-16-only These settings apply only when `--tag=package-2018-04-16-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-04-16-only' +```yaml $(tag) == 'package-2018-04-16-only' input-file: -- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json + - Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json ``` ### Tag: package-2018-03-01-only These settings apply only when `--tag=package-2018-03-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-03-01-only' +```yaml $(tag) == 'package-2018-03-01-only' input-file: -- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json -- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/stable/2018-03-01/actionGroups_API.json + - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json ``` ### Tag: package-2018-01-01-only These settings apply only when `--tag=package-2018-01-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2018-01-01-only' +```yaml $(tag) == 'package-2018-01-01-only' input-file: -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json ``` ### Tag: package-2017-12-01-preview-only These settings apply only when `--tag=package-2017-12-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-12-01-preview-only' +```yaml $(tag) == 'package-2017-12-01-preview-only' input-file: -- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json + - Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json ``` ### Tag: package-2017-05-01-preview-only These settings apply only when `--tag=package-2017-05-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-05-01-preview-only' +```yaml $(tag) == 'package-2017-05-01-preview-only' input-file: -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json -- Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json -- Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json + - Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json + - Microsoft.Insights/preview/2017-05-01-preview/subscriptionDiagnosticsSettings_API.json ``` ### Tag: package-2017-04-01-only These settings apply only when `--tag=package-2017-04-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-04-01-only' +```yaml $(tag) == 'package-2017-04-01-only' input-file: -- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json -- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json + - Microsoft.Insights/stable/2017-04-01/actionGroups_API.json + - Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json ``` ### Tag: package-2017-03-01-preview-only These settings apply only when `--tag=package-2017-03-01-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2017-03-01-preview-only' +```yaml $(tag) == 'package-2017-03-01-preview-only' input-file: -- Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json + - Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json ``` ### Tag: package-2016-09-01-only These settings apply only when `--tag=package-2016-09-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2016-09-01-only' +```yaml $(tag) == 'package-2016-09-01-only' input-file: -- Microsoft.Insights/stable/2016-09-01/metrics_API.json -- Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json + - Microsoft.Insights/stable/2016-09-01/metrics_API.json + - Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json ``` ### Tag: package-2016-06-only These settings apply only when `--tag=package-2016-06-only` is specified on the command line. -``` yaml $(tag) == 'package-2016-06-only' +```yaml $(tag) == 'package-2016-06-only' input-file: - Microsoft.Insights/stable/2016-06-01/metrics_API.json - Microsoft.Insights/stable/2016-06-01/operations_API.json @@ -1276,72 +1312,72 @@ input-file: These settings apply only when `--tag=package-2016-03-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2016-03-01-only' +```yaml $(tag) == 'package-2016-03-01-only' input-file: -- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json -- Microsoft.Insights/stable/2016-03-01/alertRules_API.json -- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json -- Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json + - Microsoft.Insights/stable/2016-03-01/alertRules_API.json + - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json + - Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json ``` ### Tag: package-2015-07-01-only These settings apply only when `--tag=package-2015-07-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2015-07-01-only' +```yaml $(tag) == 'package-2015-07-01-only' input-file: -- Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json -- Microsoft.Insights/stable/2015-07-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2014-04-01/alertRules_API.json -- Microsoft.Insights/stable/2015-07-01/operations_API.json + - Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json + - Microsoft.Insights/stable/2015-07-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2014-04-01/alertRules_API.json + - Microsoft.Insights/stable/2015-07-01/operations_API.json ``` ### Tag: package-2015-07-01-python-only These settings apply only when `--tag=package-2015-07-01-python-only` is specified on the command line. -``` yaml $(tag) == 'package-2015-07-01-python-only' +```yaml $(tag) == 'package-2015-07-01-python-only' input-file: -- Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json -- Microsoft.Insights/stable/2015-07-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2015-07-01/operations_API.json + - Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json + - Microsoft.Insights/stable/2015-07-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2015-07-01/operations_API.json ``` ### Tag: package-2015-04-01-only These settings apply only when `--tag=package-2015-04-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2015-04-01-only' +```yaml $(tag) == 'package-2015-04-01-only' input-file: -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json -- Microsoft.Insights/stable/2014-04-01/alertRules_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2014-04-01/alertRules_API.json ``` ### Tag: package-2015-04-01-python-only These settings apply only when `--tag=package-2015-04-01-python-only` is specified on the command line. -``` yaml $(tag) == 'package-2015-04-01-python-only' +```yaml $(tag) == 'package-2015-04-01-python-only' input-file: -- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json -- Microsoft.Insights/stable/2015-04-01/autoscale_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json -- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/activityLogs_API.json + - Microsoft.Insights/stable/2015-04-01/autoscale_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json ``` ### Tag: package-2014-04-01-only These settings apply only when `--tag=package-2014-04-01-only` is specified on the command line. -``` yaml $(tag) == 'package-2014-04-01-only' +```yaml $(tag) == 'package-2014-04-01-only' input-file: -- Microsoft.Insights/stable/2014-04-01/alertRules_API.json -- Microsoft.Insights/stable/2014-04-01/autoscale_API.json + - Microsoft.Insights/stable/2014-04-01/alertRules_API.json + - Microsoft.Insights/stable/2014-04-01/autoscale_API.json ``` --- @@ -1353,7 +1389,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -``` yaml $(swagger-to-sdk) +```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net-track2 - repo: azure-sdk-for-python @@ -1384,138 +1420,138 @@ See configuration in [readme.java.md](./readme.java.md) ## Suppression -``` yaml +```yaml directive: - suppress: R4009 from: privateLinkScopes_API.json - reason: 'Contract is defined in the Network RP private endpoint spec, can be updated by internal calls from Network RP. ' + reason: "Contract is defined in the Network RP private endpoint spec, can be updated by internal calls from Network RP. " - suppress: R3018 from: privateLinkScopes_API.json where: $.definitions.PrivateEndpointConnectionProperties.properties.queryOnlyPrivateLinkResources - reason: 'This property indicates whether data coming through this private endpoint should restrict itself only to resources in the scope - it has only ''''true'''' or ''''false'''' options, so it fits boolean type.' + reason: "This property indicates whether data coming through this private endpoint should restrict itself only to resources in the scope - it has only ''true'' or ''false'' options, so it fits boolean type." - suppress: R3018 from: privateLinkScopes_API.json where: $.definitions.PrivateEndpointConnectionProperties.properties.ingestOnlyToPrivateLinkResources - reason: 'This property indicates whether data coming through this private endpoint should restrict itself only to resources in the scope - it has only ''''true'''' or ''''false'''' options, so it fits boolean type.' + reason: "This property indicates whether data coming through this private endpoint should restrict itself only to resources in the scope - it has only ''true'' or ''false'' options, so it fits boolean type." - suppress: OperationsAPIImplementation from: privateLinkScopes_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: R3016 reason: The feature (polymorphic types) is in the process of deprecation and fixing this will require changes in the backend. - suppress: OperationsAPIImplementation from: dataCollectionEndpoints_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: OperationsAPIImplementation from: dataCollectionRules_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: OperationsAPIImplementation from: dataCollectionRuleAssociations_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: MissingTypeObject from: metrics_API.json where: $.definitions.LocalizableString - reason: 'LocalizableString exists in other swaggers my team can not modify' + reason: "LocalizableString exists in other swaggers my team can not modify" - suppress: MissingTypeObject from: metricDefinitions_API.json where: $.definitions.LocalizableString - reason: 'LocalizableString exists in other swaggers my team can not modify' + reason: "LocalizableString exists in other swaggers my team can not modify" - suppress: OperationsAPIImplementation where: $.paths from: activityLogAlerts_API.json - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: OperationsAPIImplementation where: $.paths from: scheduledQueryRule_API.json - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: R4005 where: $.definitions.Dimension.properties.operator from: scheduledQueryRule_API.json - reason: 'The discrepancy in the enum values is with an enum which is defined for a different service of a different team' + reason: "The discrepancy in the enum values is with an enum which is defined for a different service of a different team" - suppress: R3016 where: $.definitions.Action.properties["odata.type"] - reason: 'This is an old field in a stable api version which is not camel cased' + reason: "This is an old field in a stable api version which is not camel cased" - suppress: EnumInsteadOfBoolean where: $.definitions.AlertRuleProperties.properties.enabled from: activityLogAlerts_API.json - reason: 'This property indicates whether the alert rule is enabled or not - it has only ''''true'''' or ''''false'''' options, so it fits boolean type.' + reason: "This property indicates whether the alert rule is enabled or not - it has only ''true'' or ''false'' options, so it fits boolean type." - suppress: EnumInsteadOfBoolean where: $.definitions.AlertRulePatchProperties.properties.enabled from: activityLogAlerts_API.json - reason: 'This property indicates whether the alert rule is enabled or not - it has only ''''true'''' or ''''false'''' options, so it fits boolean type.' + reason: "This property indicates whether the alert rule is enabled or not - it has only ''true'' or ''false'' options, so it fits boolean type." - suppress: DefaultErrorResponseSchema from: activityLogAlerts_API.json - reason: 'Updating the error response to the new format would be a breaking change.' + reason: "Updating the error response to the new format would be a breaking change." - suppress: DefaultErrorResponseSchema from: metricNamespaces_API.json - reason: 'Updating the error response to the new format would be a breaking change.' + reason: "Updating the error response to the new format would be a breaking change." - suppress: DefaultErrorResponseSchema from: metrics_API.json - reason: 'Updating the error response to the new format would be a breaking change.' + reason: "Updating the error response to the new format would be a breaking change." - suppress: DefaultErrorResponseSchema from: metricDefinitions_API.json - reason: 'Updating the error response to the new format would be a breaking change.' + reason: "Updating the error response to the new format would be a breaking change." - suppress: DefaultErrorResponseSchema from: actionGroups_API.json - reason: 'Updating the error response to the new format would be a breaking change.' + reason: "Updating the error response to the new format would be a breaking change." - suppress: OperationsAPIImplementation from: operations_API.json where: $.paths - reason: 'The operations API is implemented however the tool is still firing due to the casing being different' + reason: "The operations API is implemented however the tool is still firing due to the casing being different" - suppress: OperationsAPIImplementation from: serviceDiagnosticsSettings_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: OperationsAPIImplementation from: subscriptionDiagnosticsSettings_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: OperationsAPIImplementation from: autoscale_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: OperationsAPIImplementation from: actionGroups_API.json where: $.paths - reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)' + reason: "Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)" - suppress: GetCollectionOnlyHasValueAndNextLink from: metricDefinitions_API.json - reason: 'Breaking change to modify metricDefinitions now' + reason: "Breaking change to modify metricDefinitions now" - suppress: GetCollectionOnlyHasValueAndNextLink from: metrics_API.json - reason: 'Due to the ability to sort and order the list, this is incompatible with paging. It would also be a breaking change to modify this now' + reason: "Due to the ability to sort and order the list, this is incompatible with paging. It would also be a breaking change to modify this now" - suppress: ParametersInPost from: metrics_API.json - reason: 'metrics API is really a GET action that allows some parameters to be in the body due to length concerns. It would also be a breaking change to modify this now' + reason: "metrics API is really a GET action that allows some parameters to be in the body due to length concerns. It would also be a breaking change to modify this now" - suppress: AvoidAdditionalProperties from: scheduledQueryRule_API.json where: $.definitions.Actions.properties.actionProperties - reason: 'This is a key-value collection which we do not validate and just pass as-is to a service which is several hops down the pipe where they are interpreted. Unknown keys are ignored and there are no invalid values.' + reason: "This is a key-value collection which we do not validate and just pass as-is to a service which is several hops down the pipe where they are interpreted. Unknown keys are ignored and there are no invalid values." ``` This section is a temporary solution to resolve the failure in those pipeline that is still using modeler v1. -``` yaml ($(go) && !$(track2) && ($(tag) == 'package-2021-07' || $(tag) == 'package-2021-09') || $(csharp) || $(validation) +```yaml ($(go) && !$(track2) && ($(tag) == 'package-2021-07' || $(tag) == 'package-2021-09') || $(csharp) || $(validation) directive: -- from: activityLogAlerts_API.json - where: $.definitions - transform: delete $["Resource"] - reason: Missing kind, etag -- from: activityLogAlerts_API.json - where: $.definitions - transform: delete $["ErrorResponse"] - reason: Incompatible values (2020-10-01) -- from: activityLogAlerts_API.json - where: $.definitions - transform: delete $["AzureResource"] - reason: Incompatible values (2020-10-01) -- from: activityLogAlerts_API.json - where: $.definitions - transform: delete $["ActionGroup"] - reason: Incompatible values (2020-10-01) + - from: activityLogAlerts_API.json + where: $.definitions + transform: delete $["Resource"] + reason: Missing kind, etag + - from: activityLogAlerts_API.json + where: $.definitions + transform: delete $["ErrorResponse"] + reason: Incompatible values (2020-10-01) + - from: activityLogAlerts_API.json + where: $.definitions + transform: delete $["AzureResource"] + reason: Incompatible values (2020-10-01) + - from: activityLogAlerts_API.json + where: $.definitions + transform: delete $["ActionGroup"] + reason: Incompatible values (2020-10-01) ``` ### Tag: profile-hybrid-2019-03-01 @@ -1523,14 +1559,14 @@ directive: These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. Creating this tag to pick proper resources from the hybrid profile. -``` yaml $(tag) == 'profile-hybrid-2019-03-01' +```yaml $(tag) == 'profile-hybrid-2019-03-01' input-file: -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json ``` ### Tag: profile-hybrid-2020-09-01 @@ -1538,12 +1574,12 @@ input-file: These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line. Creating this tag to pick proper resources from the hybrid profile. -``` yaml $(tag) == 'profile-hybrid-2020-09-01' +```yaml $(tag) == 'profile-hybrid-2020-09-01' input-file: -- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json -- Microsoft.Insights/stable/2018-01-01/metrics_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json -- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json -- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json -- Microsoft.Insights/stable/2015-04-01/operations_API.json + - Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json + - Microsoft.Insights/stable/2018-01-01/metrics_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json + - Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json + - Microsoft.Insights/stable/2015-04-01/eventCategories_API.json + - Microsoft.Insights/stable/2015-04-01/operations_API.json ``` diff --git a/specification/monitor/resource-manager/sdk-suppressions.yaml b/specification/monitor/resource-manager/sdk-suppressions.yaml new file mode 100644 index 000000000000..81b7da868136 --- /dev/null +++ b/specification/monitor/resource-manager/sdk-suppressions.yaml @@ -0,0 +1,52 @@ +suppressions: + azure-sdk-for-js: + - package: '@azure/arm-monitor' + breaking-changes: + - Removed operation group Metrics + - Removed operation ActionGroups.beginPostTestNotifications + - Removed operation ActionGroups.beginPostTestNotificationsAndWait + - Removed operation ActionGroups.getTestNotifications + - Operation ActivityLogAlerts.update has a new signature + - Operation PrivateEndpointConnections.beginCreateOrUpdate has a new signature + - Operation PrivateEndpointConnections.beginCreateOrUpdateAndWait has a new signature + - Operation ScheduledQueryRules.createOrUpdate has a new signature + - Operation ScheduledQueryRules.update has a new signature + - Class MonitorClient has a new signature + - Interface ActivityLogsListNextOptionalParams no longer has parameter select + - Interface AzureResource no longer has parameter identity + - Interface AzureResource no longer has parameter kind + - Interface ErrorResponse no longer has parameter code + - Interface ErrorResponse no longer has parameter message + - Interface PrivateEndpointConnectionListResult no longer has parameter nextLink + - Interface PrivateLinkResourceListResult no longer has parameter nextLink + - Interface Resource no longer has parameter location + - Interface Resource no longer has parameter tags + - Interface ResourceAutoGenerated no longer has parameter etag + - Interface ResourceAutoGenerated no longer has parameter kind + - Interface ResourceAutoGenerated no longer has parameter location + - Interface ResourceAutoGenerated no longer has parameter tags + - Interface ScheduledQueryRulesListByResourceGroupOptionalParams no longer has parameter filter + - Interface ScheduledQueryRulesListBySubscriptionOptionalParams no longer has parameter filter + - Interface TenantActivityLogsListNextOptionalParams no longer has parameter filter + - Interface TenantActivityLogsListNextOptionalParams no longer has parameter select + - Type of parameter operator of interface Dimension is changed from Operator to DimensionOperator + - Type of parameter error of interface ErrorContract is changed from ErrorResponse to ErrorResponseAutoGenerated2 + - Type of parameter error of interface ErrorResponseCommonV2 is changed from ErrorDetail to ErrorDetailAutoGenerated2 + - Type of parameter value of interface EventCategoryCollection is changed from LocalizableString[] to LocalizableStringAutoGenerated[] + - Type of parameter category of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter eventName of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter operationName of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter resourceProviderName of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter resourceType of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter status of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter subStatus of interface EventData is changed from LocalizableString to LocalizableStringAutoGenerated + - Type of parameter error of interface OperationStatus is changed from ErrorResponseCommon to ErrorDetailAutoGenerated2 + - Type of parameter value of interface PrivateEndpointConnectionListResult is changed from PrivateEndpointConnection[] to PrivateEndpointConnectionAutoGenerated[] + - Class MonitorClient no longer has parameter metrics + - Removed Enum KnownConditionalOperator + - Removed Enum KnownEnabled + - Removed Enum KnownMetricTriggerType + - Removed Enum KnownQueryType + - Enum KnownOperator no longer has value Include + - Enum KnownProvisioningState no longer has value Deploying +