diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/NewRelic.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/NewRelic.json new file mode 100644 index 000000000000..caab32423f1a --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/NewRelic.json @@ -0,0 +1,2656 @@ +{ + "swagger": "2.0", + "info": { + "title": "NewRelic.Observability", + "version": "2022-07-01", + "x-cadl-generated": [ + { + "emitter": "@azure-tools/cadl-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Monitors" + }, + { + "name": "Accounts" + }, + { + "name": "Organizations" + }, + { + "name": "Plan" + }, + { + "name": "TagRules" + } + ], + "paths": { + "/providers/NewRelic.Observability/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts": { + "get": { + "tags": [ + "Accounts" + ], + "operationId": "Accounts_List", + "description": "List all the existing accounts", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/UserEmailParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccountsListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Accounts_List_MaximumSet_Gen": { + "$ref": "./examples/Accounts_List_MaximumSet_Gen.json" + }, + "Accounts_List_MinimumSet_Gen": { + "$ref": "./examples/Accounts_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors": { + "get": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_ListBySubscription", + "description": "List NewRelicMonitorResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListBySubscription_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations": { + "get": { + "tags": [ + "Organizations" + ], + "operationId": "Organizations_List", + "description": "List all the existing organizations", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/UserEmailParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/OrganizationsListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Organizations_List_MaximumSet_Gen": { + "$ref": "./examples/Organizations_List_MaximumSet_Gen.json" + }, + "Organizations_List_MinimumSet_Gen": { + "$ref": "./examples/Organizations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans": { + "get": { + "tags": [ + "Plan" + ], + "operationId": "Plans_List", + "description": "List plans data", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/AccountIdParameter" + }, + { + "$ref": "#/parameters/OrganizationIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlanDataListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Plans_List_MaximumSet_Gen": { + "$ref": "./examples/Plans_List_MaximumSet_Gen.json" + }, + "Plans_List_MinimumSet_Gen": { + "$ref": "./examples/Plans_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors": { + "get": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_ListByResourceGroup", + "description": "List NewRelicMonitorResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}": { + "get": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_Get", + "description": "Get a NewRelicMonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_Get_MaximumSet_Gen": { + "$ref": "./examples/Monitors_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_CreateOrUpdate", + "description": "Create a NewRelicMonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/NewRelicMonitorResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_Update", + "description": "Update a NewRelicMonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_Update_MaximumSet_Gen": { + "$ref": "./examples/Monitors_Update_MaximumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_Delete", + "description": "Delete a NewRelicMonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/UserEmailParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_Delete_MaximumSet_Gen": { + "$ref": "./examples/Monitors_Delete_MaximumSet_Gen.json" + }, + "Monitors_Delete_MinimumSet_Gen": { + "$ref": "./examples/Monitors_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricRules": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_GetMetricRules", + "description": "Get metric rules", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "#/parameters/MetricsRequestParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MetricRules" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_GetMetricRules_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricRules_MaximumSet_Gen.json" + }, + "Monitors_GetMetricRules_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricRules_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricStatus": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_GetMetricStatus", + "description": "Get metric status", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "#/parameters/MetricsStatusRequestParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MetricsStatusResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_GetMetricStatus_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricStatus_MaximumSet_Gen.json" + }, + "Monitors_GetMetricStatus_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricStatus_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listAppServices": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_ListAppServices", + "description": "List the app service resources currently being monitored by the NewRelic resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "#/parameters/AppServicesGetParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServicesListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListAppServices_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListAppServices_MaximumSet_Gen.json" + }, + "Monitors_ListAppServices_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListAppServices_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/switchBilling": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_SwitchBilling", + "description": "Switches the billing for NewRelic monitor resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "#/parameters/SwitchBillingParameter" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_SwitchBilling_MaximumSet_Gen": { + "$ref": "./examples/Monitors_SwitchBilling_MaximumSet_Gen.json" + }, + "Monitors_SwitchBilling_MinimumSet_Gen": { + "$ref": "./examples/Monitors_SwitchBilling_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listHosts": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_ListHosts", + "description": "List the compute vm resources currently being monitored by the NewRelic resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "#/parameters/HostsGetParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/VMHostsListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListHosts_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListHosts_MaximumSet_Gen.json" + }, + "Monitors_ListHosts_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListHosts_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredResources": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_ListMonitoredResources", + "description": "List the resources currently being monitored by the NewRelic monitor resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitoredResourceListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListMonitoredResources_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json" + }, + "Monitors_ListMonitoredResources_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules": { + "get": { + "tags": [ + "TagRules" + ], + "operationId": "TagRules_ListByNewRelicMonitorResource", + "description": "List TagRule resources by NewRelicMonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen": { + "$ref": "./examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json" + }, + "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen": { + "$ref": "./examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": { + "get": { + "tags": [ + "TagRules" + ], + "operationId": "TagRules_Get", + "description": "Get a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "name": "ruleSetName", + "in": "path", + "required": true, + "description": "Name of the TagRule", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TagRules_Get_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Get_MaximumSet_Gen.json" + }, + "TagRules_Get_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "TagRules" + ], + "operationId": "TagRules_CreateOrUpdate", + "description": "Create a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "name": "ruleSetName", + "in": "path", + "required": true, + "description": "Name of the TagRule", + "type": "string" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/TagRule" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TagRules_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json" + }, + "TagRules_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "TagRules" + ], + "operationId": "TagRules_Delete", + "description": "Delete a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "name": "ruleSetName", + "in": "path", + "required": true, + "description": "Name of the TagRule", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TagRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Delete_MaximumSet_Gen.json" + }, + "TagRules_Delete_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "TagRules" + ], + "operationId": "TagRules_Update", + "description": "Update a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "name": "ruleSetName", + "in": "path", + "required": true, + "description": "Name of the TagRule", + "type": "string" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/TagRuleUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TagRules_Update_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Update_MaximumSet_Gen.json" + }, + "TagRules_Update_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Update_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/vmHostPayloads": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_VmHostPayload", + "description": "Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/VMExtensionPayload" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_VmHostPayload_MaximumSet_Gen": { + "$ref": "./examples/Monitors_VmHostPayload_MaximumSet_Gen.json" + }, + "Monitors_VmHostPayload_MinimumSet_Gen": { + "$ref": "./examples/Monitors_VmHostPayload_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "AccountCreationSource": { + "type": "string", + "description": "Source of Account creation", + "enum": [ + "LIFTR", + "NEWRELIC" + ], + "x-ms-enum": { + "name": "AccountCreationSource", + "modelAsString": true, + "values": [ + { + "name": "LIFTR", + "value": "LIFTR", + "description": "Account is created from LIFTR" + }, + { + "name": "NEWRELIC", + "value": "NEWRELIC", + "description": "Account is created from NEWRELIC" + } + ] + } + }, + "AccountIdParameter": { + "type": "object", + "properties": {}, + "description": "Account Id parameter" + }, + "AccountInfo": { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "Account id" + }, + "ingestionKey": { + "$ref": "#/definitions/SecureString", + "description": "ingestion key of account" + }, + "region": { + "type": "string", + "description": "NewRelic account region" + } + }, + "description": "Account Info of the NewRelic account" + }, + "AccountProperties": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "description": "organization id" + }, + "accountId": { + "type": "string", + "description": "account id" + }, + "accountName": { + "type": "string", + "description": "account name" + }, + "region": { + "type": "string", + "description": "region" + } + }, + "description": "List of all the New relic accounts for the given user" + }, + "AccountsListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountResource" + }, + "x-cadl-name": "AccountResource[]", + "description": "The AccountResource items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "Response of get all accounts Operation.", + "required": [ + "value" + ] + }, + "AccountResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/AccountProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "description": "The details of a account resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "AppServiceInfo": { + "type": "object", + "properties": { + "azureResourceId": { + "type": "string", + "description": "Azure App service resource ID" + }, + "agentVersion": { + "type": "string", + "description": "Version of the NewRelic agent installed on the App service." + }, + "agentStatus": { + "type": "string", + "description": "Status of the NewRelic agent installed on the App service." + } + }, + "description": "Details of VM Resource having NewRelic OneAgent installed" + }, + "AppServicesGetParameter": { + "type": "object", + "properties": { + "request": { + "$ref": "#/definitions/AppServicesGetRequest", + "description": "The details of the app services get request." + } + }, + "description": "App services Get Parameter specification.", + "required": [ + "request" + ] + }, + "SwitchBillingParameter": { + "type": "object", + "properties": { + "request": { + "$ref": "#/definitions/SwitchBillingRequest", + "description": "The details of the switch billing request." + } + }, + "description": "Switch Billing Parameter specification.", + "required": [ + "request" + ] + }, + "SwitchBillingRequest": { + "type": "object", + "properties": { + "azureResourceId": { + "type": "string", + "description": "Azure resource Id" + }, + "organizationId": { + "type": "string", + "description": "Organization id" + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Plan details" + }, + "userEmail": { + "$ref": "#/definitions/email", + "description": "User Email" + } + }, + "description": "Request of a switch billing Operation.", + "required": [ + "userEmail" + ] + }, + "AppServicesGetRequest": { + "type": "object", + "properties": { + "azureResourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Azure resource IDs" + }, + "userEmail": { + "$ref": "#/definitions/email", + "description": "User Email" + } + }, + "description": "Request of a app services get Operation.", + "required": [ + "userEmail" + ] + }, + "AppServicesListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AppServiceInfo" + }, + "x-ms-identifiers": [ + "azureResourceId" + ], + "x-cadl-name": "AppServiceInfo[]", + "description": "The AppServiceInfo items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "Response of a list app services Operation.", + "required": [ + "value" + ] + }, + "BillingCycle": { + "type": "string", + "description": "Different usage type like YEARLY/MONTHLY", + "enum": [ + "YEARLY", + "MONTHLY", + "WEEKLY" + ], + "x-ms-enum": { + "name": "BillingCycle", + "modelAsString": true, + "values": [ + { + "name": "YEARLY", + "value": "YEARLY", + "description": "Billing cycle is YEARLY" + }, + { + "name": "MONTHLY", + "value": "MONTHLY", + "description": "Billing cycle is MONTHLY" + }, + { + "name": "WEEKLY", + "value": "WEEKLY", + "description": "Billing cycle is WEEKLY" + } + ] + } + }, + "BillingSource": { + "type": "string", + "description": "Billing source", + "enum": [ + "AZURE", + "NEWRELIC" + ], + "x-ms-enum": { + "name": "BillingSource", + "modelAsString": true, + "values": [ + { + "name": "AZURE", + "value": "AZURE", + "description": "Billing source is Azure" + }, + { + "name": "NEWRELIC", + "value": "NEWRELIC" + } + ] + } + }, + "FilteringTag": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name (also known as the key) of the tag." + }, + "value": { + "type": "string", + "description": "The value of the tag." + }, + "action": { + "$ref": "#/definitions/TagAction", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion." + } + }, + "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored." + }, + "HostsGetParameter": { + "type": "object", + "properties": { + "request": { + "$ref": "#/definitions/HostsGetRequest", + "description": "The details of the Hosts get request." + } + }, + "description": "Host Get Parameter specification.", + "required": [ + "request" + ] + }, + "HostsGetRequest": { + "type": "object", + "properties": { + "vmIds": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "VM resource IDs" + }, + "userEmail": { + "$ref": "#/definitions/email", + "description": "User Email" + } + }, + "description": "Request of a Hosts get Operation.", + "required": [ + "userEmail" + ] + }, + "LiftrResourceCategories": { + "type": "string", + "description": "Liftr Resource category.", + "enum": [ + "Unknown", + "MonitorLogs" + ], + "x-ms-enum": { + "name": "LiftrResourceCategories", + "modelAsString": true + } + }, + "LocationParameter": { + "type": "object", + "properties": {}, + "description": "Location for NewRelic resource" + }, + "LogRules": { + "type": "object", + "properties": { + "sendAadLogs": { + "$ref": "#/definitions/SendAadLogsStatus", + "description": "Flag specifying if AAD logs should be sent for the Monitor resource." + }, + "sendSubscriptionLogs": { + "$ref": "#/definitions/SendSubscriptionLogsStatus", + "description": "Flag specifying if subscription logs should be sent for the Monitor resource." + }, + "sendActivityLogs": { + "$ref": "#/definitions/SendActivityLogsStatus", + "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource." + }, + "filteringTags": { + "type": "array", + "items": { + "$ref": "#/definitions/FilteringTag" + }, + "x-ms-identifiers": [], + "x-cadl-name": "FilteringTag[]", + "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\nIf only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags." + } + }, + "description": "Set of rules for sending logs for the Monitor resource." + }, + "MarketplaceSubscriptionStatus": { + "type": "string", + "description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.", + "enum": [ + "Active", + "Suspended" + ], + "x-ms-enum": { + "name": "MarketplaceSubscriptionStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "monitoring is enabled" + }, + { + "name": "Suspended", + "value": "Suspended", + "description": "monitoring is disabled" + } + ] + } + }, + "MetricRules": { + "type": "object", + "properties": { + "sendMetrics": { + "$ref": "#/definitions/SendMetricsStatus", + "description": "Flag specifying if metrics should be sent for the Monitor resource." + }, + "filteringTags": { + "type": "array", + "items": { + "$ref": "#/definitions/FilteringTag" + }, + "x-ms-identifiers": [], + "x-cadl-name": "FilteringTag[]", + "description": "List of filtering tags to be used for capturing metrics." + }, + "userEmail": { + "$ref": "#/definitions/email", + "description": "User Email" + } + }, + "description": "Set of rules for sending metrics for the Monitor resource." + }, + "MetricsRequest": { + "type": "object", + "properties": { + "userEmail": { + "$ref": "#/definitions/email", + "description": "User Email" + } + }, + "description": "Request of get metrics Operation.", + "required": [ + "userEmail" + ] + }, + "MetricsRequestParameter": { + "type": "object", + "properties": { + "request": { + "$ref": "#/definitions/MetricsRequest", + "description": "The details of the get metrics status request." + } + }, + "description": "Get Metrics Status Parameter specification.", + "required": [ + "request" + ] + }, + "MetricsStatusRequest": { + "type": "object", + "properties": { + "azureResourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Azure resource IDs" + }, + "userEmail": { + "$ref": "#/definitions/email", + "description": "User Email" + } + }, + "description": "Request of get metrics status Operation.", + "required": [ + "userEmail" + ] + }, + "MetricsStatusRequestParameter": { + "type": "object", + "properties": { + "request": { + "$ref": "#/definitions/MetricsStatusRequest", + "description": "The details of the get metrics status request." + } + }, + "description": "Get Metrics Status Parameter specification.", + "required": [ + "request" + ] + }, + "MetricsStatusResponse": { + "type": "object", + "properties": { + "azureResourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Azure resource IDs" + } + }, + "description": "Response of get metrics status Operation." + }, + "MonitorProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true + }, + "monitoringStatus": { + "$ref": "#/definitions/MonitoringStatus", + "description": "MonitoringStatus of the resource", + "readOnly": true + }, + "marketplaceSubscriptionStatus": { + "$ref": "#/definitions/MarketplaceSubscriptionStatus", + "description": "NewRelic Organization properties of the resource", + "readOnly": true + }, + "marketplaceSubscriptionId": { + "type": "string", + "description": "Marketplace Subscription Id", + "readOnly": true + }, + "newRelicAccountProperties": { + "$ref": "#/definitions/NewRelicAccountProperties", + "description": "MarketplaceSubscriptionStatus of the resource" + }, + "userInfo": { + "$ref": "#/definitions/UserInfo", + "description": "User Info" + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Plan details" + }, + "liftrResourceCategory": { + "$ref": "#/definitions/LiftrResourceCategories", + "description": "Liftr resource category", + "readOnly": true + }, + "liftrResourcePreference": { + "type": "integer", + "format": "int32", + "description": "Liftr resource preference. The priority of the resource.", + "readOnly": true + }, + "orgCreationSource": { + "$ref": "#/definitions/OrgCreationSource", + "description": "Source of org creation" + }, + "accountCreationSource": { + "$ref": "#/definitions/AccountCreationSource", + "description": "Source of account creation" + } + }, + "description": "Properties specific to the NewRelic Monitor resource" + }, + "MonitoredResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM id of the resource." + }, + "sendingMetrics": { + "$ref": "#/definitions/SendingMetricsStatus", + "description": "Flag indicating if resource is sending metrics to NewRelic." + }, + "reasonForMetricsStatus": { + "type": "string", + "description": "Reason for why the resource is sending metrics (or why it is not sending)." + }, + "sendingLogs": { + "$ref": "#/definitions/SendingLogsStatus", + "description": "Flag indicating if resource is sending logs to NewRelic." + }, + "reasonForLogsStatus": { + "type": "string", + "description": "Reason for why the resource is sending logs (or why it is not sending)." + } + }, + "description": "Details of resource being monitored by NewRelic monitor resource" + }, + "MonitoredResourceListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MonitoredResource" + }, + "x-cadl-name": "MonitoredResource[]", + "description": "The MonitoredResource items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "List of all the resources being monitored by NewRelic monitor resource", + "required": [ + "value" + ] + }, + "MonitoringStatus": { + "type": "string", + "description": "Flag specifying if the resource monitoring is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MonitoringStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "monitoring is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "monitoring is disabled" + } + ] + } + }, + "MonitoringTagRulesProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true + }, + "logRules": { + "$ref": "#/definitions/LogRules", + "description": "Set of rules for sending logs for the Monitor resource." + }, + "metricRules": { + "$ref": "#/definitions/MetricRules", + "description": "Set of rules for sending metrics for the Monitor resource." + } + }, + "description": "The resource-specific properties for this resource." + }, + "NewRelicAccountProperties": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User id" + }, + "accountInfo": { + "$ref": "#/definitions/AccountInfo", + "description": "NewRelic Account Information" + }, + "organizationInfo": { + "$ref": "#/definitions/OrganizationInfo", + "description": "NewRelic Organization Information" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/NewRelicSingleSignOnProperties", + "description": "date when plan was applied" + } + }, + "description": "Properties of the NewRelic account" + }, + "NewRelicMonitorResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MonitorProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "description": "A Monitor Resource by NewRelic", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "NewRelicMonitorResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NewRelicMonitorResource" + }, + "x-cadl-name": "NewRelicMonitorResource[]", + "description": "The NewRelicMonitorResource items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "The response of a NewRelicMonitorResource list operation.", + "required": [ + "value" + ] + }, + "NewRelicMonitorResourceUpdate": { + "type": "object", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-cadl-name": "Record", + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/NewRelicMonitorResourceUpdateProperties", + "x-ms-client-flatten": true + } + }, + "description": "The type used for update operations of the NewRelicMonitorResource." + }, + "NewRelicMonitorResourceUpdateProperties": { + "type": "object", + "properties": { + "newRelicAccountProperties": { + "$ref": "#/definitions/NewRelicAccountProperties", + "description": "MarketplaceSubscriptionStatus of the resource" + }, + "userInfo": { + "$ref": "#/definitions/UserInfo", + "description": "User Info" + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Plan details" + }, + "orgCreationSource": { + "$ref": "#/definitions/OrgCreationSource", + "description": "Source of org creation" + }, + "accountCreationSource": { + "$ref": "#/definitions/AccountCreationSource", + "description": "Source of account creation" + } + }, + "description": "The updatable properties of the NewRelicMonitorResource." + }, + "NewRelicSingleSignOnProperties": { + "type": "object", + "properties": { + "singleSignOnState": { + "$ref": "#/definitions/SingleSignOnStates", + "description": "Single sign-on state" + }, + "enterpriseAppId": { + "type": "string", + "description": "The Id of the Enterprise App used for Single sign-on." + }, + "singleSignOnUrl": { + "type": "string", + "description": "The login URL specific to this NewRelic Organization" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state" + } + }, + "description": "Single sign on Info of the NewRelic account" + }, + "OrgCreationSource": { + "type": "string", + "description": "Source of Org creation", + "enum": [ + "LIFTR", + "NEWRELIC" + ], + "x-ms-enum": { + "name": "OrgCreationSource", + "modelAsString": true, + "values": [ + { + "name": "LIFTR", + "value": "LIFTR", + "description": "Org is created from LIFTR" + }, + { + "name": "NEWRELIC", + "value": "NEWRELIC", + "description": "Org is created from NEWRELIC" + } + ] + } + }, + "OrganizationIdParameter": { + "type": "object", + "properties": {}, + "description": "Organization Id parameter" + }, + "OrganizationInfo": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "description": "Organization id" + } + }, + "description": "Organization Info of the NewRelic account" + }, + "OrganizationProperties": { + "type": "object", + "properties": { + "organizationId": { + "type": "string", + "description": "organization id" + }, + "organizationName": { + "type": "string", + "description": "organization name" + }, + "billingSource": { + "$ref": "#/definitions/BillingSource", + "description": "Billing source" + } + }, + "description": "Details of Organizations" + }, + "OrganizationsListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/OrganizationResource" + }, + "x-cadl-name": "OrganizationResource[]", + "description": "The OrganizationResource items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "Response of get all organizations Operation.", + "required": [ + "value" + ] + }, + "OrganizationResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/OrganizationProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "description": "The details of a Organization resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PlanData": { + "type": "object", + "properties": { + "usageType": { + "$ref": "#/definitions/UsageType", + "description": "Different usage type like PAYG/COMMITTED. this could be enum" + }, + "billingCycle": { + "$ref": "#/definitions/BillingCycle", + "description": "Different billing cycles like MONTHLY/WEEKLY. this could be enum" + }, + "planDetails": { + "type": "string", + "description": "plan id as published by NewRelic" + }, + "effectiveDate": { + "type": "string", + "format": "date-time", + "description": "date when plan was applied" + } + }, + "description": "Plan data of NewRelic Monitor resource" + }, + "PlanDataResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PlanDataProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "description": "The details of a PlanData resource.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PlanDataListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PlanDataResource" + }, + "x-cadl-name": "PlanDataResource[]", + "description": "The PlanDataResource items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "Response of get all plan data Operation.", + "required": [ + "value" + ] + }, + "PlanDataProperties": { + "type": "object", + "properties": { + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Plan details" + }, + "orgCreationSource": { + "$ref": "#/definitions/OrgCreationSource", + "description": "Source of org creation" + }, + "accountCreationSource": { + "$ref": "#/definitions/AccountCreationSource", + "description": "Source of account creation" + } + }, + "description": "Plan details" + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning State of the Monitor resource", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Monitor resource creation request accepted" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Monitor resource creation started" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Monitor resource is being updated" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Monitor resource deletion started" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Monitor resource creation successful" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Monitor resource creation failed" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Monitor resource creation canceled" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Monitor resource is deleted" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Monitor resource state is unknown" + } + ] + } + }, + "SecureString": { + "type": "string", + "description": "Credential string.", + "format": "password", + "x-ms-secret": true + }, + "SendAadLogsStatus": { + "type": "string", + "description": "Indicates whether AAD logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendAadLogsStatus", + "modelAsString": true + } + }, + "SendActivityLogsStatus": { + "type": "string", + "description": "Indicates whether activity logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendActivityLogsStatus", + "modelAsString": true + } + }, + "SendMetricsStatus": { + "type": "string", + "description": "Indicates whether metrics are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendMetricsStatus", + "modelAsString": true + } + }, + "SendSubscriptionLogsStatus": { + "type": "string", + "description": "Indicates whether subscription logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendSubscriptionLogsStatus", + "modelAsString": true + } + }, + "SendingLogsStatus": { + "type": "string", + "description": "Indicates whether logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendingLogsStatus", + "modelAsString": true + } + }, + "SendingMetricsStatus": { + "type": "string", + "description": "Indicates whether metrics are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendingMetricsStatus", + "modelAsString": true + } + }, + "SingleSignOnStates": { + "type": "string", + "description": "Various states of the SSO resource", + "enum": [ + "Initial", + "Enable", + "Disable", + "Existing" + ], + "x-ms-enum": { + "name": "SingleSignOnStates", + "modelAsString": true + } + }, + "TagAction": { + "type": "string", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", + "enum": [ + "Include", + "Exclude" + ], + "x-ms-enum": { + "name": "TagAction", + "modelAsString": true + } + }, + "TagRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MonitoringTagRulesProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "description": "A tag rule belonging to NewRelic account", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "TagRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TagRule" + }, + "x-cadl-name": "TagRule[]", + "description": "The TagRule items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "The response of a TagRule list operation.", + "required": [ + "value" + ] + }, + "TagRuleUpdate": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TagRuleUpdateProperties", + "x-ms-client-flatten": true + } + }, + "description": "The type used for update operations of the TagRule." + }, + "TagRuleUpdateProperties": { + "type": "object", + "properties": { + "logRules": { + "$ref": "#/definitions/LogRules", + "description": "Set of rules for sending logs for the Monitor resource." + }, + "metricRules": { + "$ref": "#/definitions/MetricRules", + "description": "Set of rules for sending metrics for the Monitor resource." + } + }, + "description": "The updatable properties of the TagRule." + }, + "UsageType": { + "type": "string", + "description": "Different usage type like PAYG/COMMITTED", + "enum": [ + "PAYG", + "COMMITTED" + ], + "x-ms-enum": { + "name": "UsageType", + "modelAsString": true, + "values": [ + { + "name": "PAYG", + "value": "PAYG", + "description": "Usage type is PAYG" + }, + { + "name": "COMMITTED", + "value": "COMMITTED", + "description": "Usage type is COMMITTED" + } + ] + } + }, + "UserEmailParameter": { + "type": "object", + "properties": {}, + "description": "User email specification." + }, + "UserInfo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "description": "First name", + "maxLength": 50 + }, + "lastName": { + "type": "string", + "description": "Last name", + "maxLength": 50 + }, + "emailAddress": { + "$ref": "#/definitions/email", + "description": "User Email" + }, + "phoneNumber": { + "type": "string", + "description": "Contact phone number", + "maxLength": 40 + }, + "country": { + "type": "string", + "description": "country if user" + } + }, + "description": "User Info of NewRelic Monitor resource" + }, + "VMExtensionPayload": { + "type": "object", + "properties": { + "ingestionKey": { + "type": "string", + "description": "Ingestion key of the account" + } + }, + "description": "Response of payload to be passed while installing VM agent." + }, + "VMHostsListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VMInfo" + }, + "x-ms-identifiers": [], + "x-cadl-name": "VMInfo[]", + "description": "The VMInfo items on this page" + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "x-cadl-name": "Rest.ResourceLocation" + } + }, + "description": "Response of a list VM Host Operation.", + "required": [ + "value" + ] + }, + "VMInfo": { + "type": "object", + "properties": { + "vmId": { + "type": "string", + "description": "Azure VM resource ID" + }, + "agentVersion": { + "type": "string", + "description": "Version of the NewRelic agent installed on the VM." + }, + "agentStatus": { + "type": "string", + "description": "Status of the NewRelic agent installed on the VM." + } + }, + "description": "Details of VM Resource having NewRelic OneAgent installed" + }, + "email": { + "type": "string", + "description": "Reusable representation of an email address", + "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$" + } + }, + "parameters": { + "AccountIdParameter": { + "name": "accountId", + "in": "query", + "required": false, + "description": "Account Id.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "AppServicesGetParameter": { + "name": "request", + "in": "body", + "required": true, + "description": "The details of the app services get request.", + "schema": { + "$ref": "#/definitions/AppServicesGetRequest" + }, + "x-ms-parameter-location": "method" + }, + "SwitchBillingParameter": { + "name": "request", + "in": "body", + "required": true, + "description": "The details of the switch billing request.", + "schema": { + "$ref": "#/definitions/SwitchBillingRequest" + }, + "x-ms-parameter-location": "method" + }, + "HostsGetParameter": { + "name": "request", + "in": "body", + "required": true, + "description": "The details of the Hosts get request.", + "schema": { + "$ref": "#/definitions/HostsGetRequest" + }, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "in": "query", + "required": true, + "description": "Location for NewRelic.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "MetricsRequestParameter": { + "name": "request", + "in": "body", + "required": true, + "description": "The details of the get metrics status request.", + "schema": { + "$ref": "#/definitions/MetricsRequest" + }, + "x-ms-parameter-location": "method" + }, + "MetricsStatusRequestParameter": { + "name": "request", + "in": "body", + "required": true, + "description": "The details of the get metrics status request.", + "schema": { + "$ref": "#/definitions/MetricsStatusRequest" + }, + "x-ms-parameter-location": "method" + }, + "OrganizationIdParameter": { + "name": "organizationId", + "in": "query", + "required": false, + "description": "Organization Id.", + "type": "string", + "x-ms-parameter-location": "method" + }, + "UserEmailParameter": { + "name": "userEmail", + "in": "query", + "required": true, + "description": "User Email.", + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..5456b731a6a7 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "operationId": "Accounts_List", + "title": "Accounts_List_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "ycdsgeiitvxcd", + "properties": { + "organizationId": "wvdclwi", + "accountId": "igmdjq", + "accountName": "accname", + "region": "xnsylopqwcggudcln" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..14019914a163 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "operationId": "Accounts_List", + "title": "Accounts_List_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "ycdsgeiitvxcd" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..d06419fbb8b1 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,203 @@ +{ + "operationId": "Monitors_CreateOrUpdate", + "title": "Monitors_CreateOrUpdate_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "hfmjmpyqgezxkp", + "resourceGroupName": "rgNewRelic", + "monitorName": "cdlymktqw", + "resource": { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "ingestionKey": "wltnimmhqt", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key8903": {} + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 12, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "tenantId": "cac47a92-2856-11ed-a261-0242ac120002", + "type": "None", + "userAssignedIdentities": { + "key8903": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "clientId": "cac47a92-2856-11ed-a261-0242ac120002" + } + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k", + "id": "ilrwkvbuwu", + "name": "fteaqmtwspcfgyopqzrepiqu", + "type": "hdj", + "systemData": { + "createdBy": "pcdjzdldbwsdlfi", + "createdByType": "User", + "createdAt": "2022-12-05T14:11:37.787Z", + "lastModifiedBy": "xbsjrxmwwlmpnpvcica", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-05T14:11:37.787Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 12, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "tenantId": "cac47a92-2856-11ed-a261-0242ac120002", + "type": "None", + "userAssignedIdentities": { + "key8903": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "clientId": "cac47a92-2856-11ed-a261-0242ac120002" + } + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k", + "id": "ilrwkvbuwu", + "name": "fteaqmtwspcfgyopqzrepiqu", + "type": "hdj", + "systemData": { + "createdBy": "pcdjzdldbwsdlfi", + "createdByType": "User", + "createdAt": "2022-12-05T14:11:37.787Z", + "lastModifiedBy": "xbsjrxmwwlmpnpvcica", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-05T14:11:37.787Z" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..83f021a06ba7 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..ec0bafb66ffe --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json new file mode 100644 index 000000000000..6e0686f3c7c9 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "operationId": "Monitors_GetMetricRules", + "title": "Monitors_GetMetricRules_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "sendMetrics": "Enabled", + "userEmail": "test@testing.com", + "filteringTags": [ + { + "name": "qnvixg", + "value": "ihyabcsjvhkfzckfjvgvtlhdyvmwge", + "action": "Include" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json new file mode 100644 index 000000000000..fbf39255faed --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "operationId": "Monitors_GetMetricRules", + "title": "Monitors_GetMetricRules_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..6406a9f9d1fe --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "title": "Monitors_GetMetricStatus_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "azureResourceIds": [ + "enfghpfw" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "azureResourceIds": [ + "enfghpfw" + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json new file mode 100644 index 000000000000..a836b416ef62 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "title": "Monitors_GetMetricStatus_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..21201967003a --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "operationId": "Monitors_Get", + "title": "Monitors_Get_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "hfmjmpyqgezxkp", + "resourceGroupName": "rgNewRelic", + "monitorName": "cdlymktqw" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 12, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "tenantId": "cac47a92-2856-11ed-a261-0242ac120002", + "type": "None", + "userAssignedIdentities": { + "key8903": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "clientId": "cac47a92-2856-11ed-a261-0242ac120002" + } + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k", + "id": "ilrwkvbuwu", + "name": "fteaqmtwspcfgyopqzrepiqu", + "type": "hdj", + "systemData": { + "createdBy": "pcdjzdldbwsdlfi", + "createdByType": "User", + "createdAt": "2022-12-05T14:11:37.787Z", + "lastModifiedBy": "xbsjrxmwwlmpnpvcica", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-05T14:11:37.787Z" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json new file mode 100644 index 000000000000..0feb2c9638ba --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "azureResourceIds": [ + "pvzrksrmzowobuhxpwiotnpcvjbu" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "azureResourceId": "kjvbkwuqmouugrrz", + "agentVersion": "owxkssnbp", + "agentStatus": "vclwfecbppsfaygdccfu" + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json new file mode 100644 index 000000000000..71391193a70d --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [ + {} + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..84ea49176268 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "hfmjmpyqgezxkp", + "resourceGroupName": "rgNewRelic" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 12, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "tenantId": "cac47a92-2856-11ed-a261-0242ac120002", + "type": "None", + "userAssignedIdentities": { + "key8903": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "clientId": "cac47a92-2856-11ed-a261-0242ac120002" + } + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k", + "id": "ilrwkvbuwu", + "name": "fteaqmtwspcfgyopqzrepiqu", + "type": "hdj", + "systemData": { + "createdBy": "pcdjzdldbwsdlfi", + "createdByType": "User", + "createdAt": "2022-12-05T14:11:37.787Z", + "lastModifiedBy": "xbsjrxmwwlmpnpvcica", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-05T14:11:37.787Z" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..dc52afe6a51e --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,84 @@ +{ + "operationId": "Monitors_ListBySubscription", + "title": "Monitors_ListBySubscription_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "hfmjmpyqgezxkp" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 12, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "tenantId": "cac47a92-2856-11ed-a261-0242ac120002", + "type": "None", + "userAssignedIdentities": { + "key8903": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "clientId": "cac47a92-2856-11ed-a261-0242ac120002" + } + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k", + "id": "ilrwkvbuwu", + "name": "fteaqmtwspcfgyopqzrepiqu", + "type": "hdj", + "systemData": { + "createdBy": "pcdjzdldbwsdlfi", + "createdByType": "User", + "createdAt": "2022-12-05T14:11:37.787Z", + "lastModifiedBy": "xbsjrxmwwlmpnpvcica", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-05T14:11:37.787Z" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json new file mode 100644 index 000000000000..d28a6c9b5cd1 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "request": { + "vmIds": [ + "xzphvxvfmvjrnsgyns" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "vmId": "gwyoa", + "agentVersion": "tbinulnoozxnbr", + "agentStatus": "psnjslxwuwtviwzzgqhyzynuxvz" + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json new file mode 100644 index 000000000000..ff4308ce1d79 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "request": { + "vmIds": [ + "xzphvxvfmvjrnsgyns" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [ + {} + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json new file mode 100644 index 000000000000..6d9c1bc6bf67 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "qmtrcoxuctyphc", + "sendingMetrics": "Enabled", + "reasonForMetricsStatus": "k", + "sendingLogs": "Enabled", + "reasonForLogsStatus": "agzxviwuxgr" + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json new file mode 100644 index 000000000000..83936b0949e5 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [ + {} + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json new file mode 100644 index 000000000000..cdfdeee60abe --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Monitors_SwitchBilling", + "title": "Monitors_SwitchBilling_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "azureResourceId": "enfghpfw", + "organizationId": "k", + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + } + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json new file mode 100644 index 000000000000..72bb99bfed17 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "operationId": "Monitors_SwitchBilling", + "title": "Monitors_SwitchBilling_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..09f603775cdc --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json @@ -0,0 +1,126 @@ +{ + "operationId": "Monitors_Update", + "title": "Monitors_Update_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "hfmjmpyqgezxkp", + "resourceGroupName": "rgNewRelic", + "monitorName": "cdlymktqw", + "properties": { + "identity": { + "type": "None", + "userAssignedIdentities": { + "key8903": {} + } + }, + "tags": { + "key164": "jqakdrrmmyzytqu" + }, + "properties": { + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "ingestionKey": "wltnimmhqt", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Accepted", + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra", + "newRelicAccountProperties": { + "userId": "vcscxlncofcuduadesd", + "accountInfo": { + "accountId": "xhqmg", + "region": "ljcf" + }, + "organizationInfo": { + "organizationId": "k" + }, + "singleSignOnProperties": { + "singleSignOnState": "Initial", + "enterpriseAppId": "kwiwfz", + "singleSignOnUrl": "kvseueuljsxmfwpqctz", + "provisioningState": "Accepted" + } + }, + "userInfo": { + "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf", + "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc", + "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso", + "phoneNumber": "krf", + "country": "hslqnwdanrconqyekwbnttaetv" + }, + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 12, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + }, + "identity": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "tenantId": "cac47a92-2856-11ed-a261-0242ac120002", + "type": "None", + "userAssignedIdentities": { + "key8903": { + "principalId": "cac47a92-2856-11ed-a261-0242ac120002", + "clientId": "cac47a92-2856-11ed-a261-0242ac120002" + } + } + }, + "tags": { + "key6976": "oaxfhf" + }, + "location": "k", + "id": "ilrwkvbuwu", + "name": "fteaqmtwspcfgyopqzrepiqu", + "type": "hdj", + "systemData": { + "createdBy": "pcdjzdldbwsdlfi", + "createdByType": "User", + "createdAt": "2022-12-05T14:11:37.787Z", + "lastModifiedBy": "xbsjrxmwwlmpnpvcica", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-05T14:11:37.787Z" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json new file mode 100644 index 000000000000..29639e46598f --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "operationId": "Monitors_VmHostPayload", + "title": "Monitors_VmHostPayload_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "ingestionKey": "ltqewhfexphvqgttoevaywrl" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json new file mode 100644 index 000000000000..8e8ec4ab8cef --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "operationId": "Monitors_VmHostPayload", + "title": "Monitors_VmHostPayload_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "ingestionKey": "ltqewhfexphvqgttoevaywrl" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Operations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..fd89931ba255 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "zhlrjcljiysnufaerhpzg", + "isDataAction": true, + "display": { + "provider": "v", + "resource": "w", + "operation": "ybyzweygkffbydgaowg", + "description": "sekhimcuecttketh" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Operations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..112355ab8ffd --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "operationId": "Operations_List", + "title": "Operations_List_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..82c28f30d8c0 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "operationId": "Organizations_List", + "title": "Organizations_List_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "ycdsgeiitvxcd", + "properties": { + "organizationId": "tjmcifofzirili", + "organizationName": "orgname", + "billingSource": "AZURE" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..6603b91cf7b8 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "operationId": "Organizations_List", + "title": "Organizations_List_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "ycdsgeiitvxcd" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..5bfafc5faa63 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "operationId": "Plans_List", + "title": "Plans_List_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "hfmjmpyqgezxkp", + "accountId": "pwuxgvrmkk", + "organizationId": "hilawwjz" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "ycdsgeiitvxcd", + "properties": { + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + }, + "orgCreationSource": "LIFTR", + "accountCreationSource": "LIFTR" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..a50f42bd4cb5 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "Plans_List", + "title": "Plans_List_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "nqmcgifgaqlf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "ycdsgeiitvxcd" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..51506555d40b --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,121 @@ +{ + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", + "resource": { + "properties": { + "provisioningState": "Accepted", + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "userEmail": "test@testing.com", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Accepted", + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + }, + "id": "ycdsgeiitvxcd", + "name": "ddoieozflu", + "type": "roafonrkfwwuv", + "systemData": { + "createdBy": "wqrkemruqrvclsoevdftfeof", + "createdByType": "User", + "createdAt": "2022-09-02T00:39:52.964Z", + "lastModifiedBy": "usdyoriebtakpdotcfp", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-02T00:39:52.964Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Accepted", + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + }, + "id": "ycdsgeiitvxcd", + "name": "ddoieozflu", + "type": "roafonrkfwwuv", + "systemData": { + "createdBy": "wqrkemruqrvclsoevdftfeof", + "createdByType": "User", + "createdAt": "2022-09-02T00:39:52.964Z", + "lastModifiedBy": "usdyoriebtakpdotcfp", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-02T00:39:52.964Z" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..cead6071efb2 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "id": "ycdsgeiitvxcd" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": {}, + "id": "ycdsgeiitvxcd" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..de3e48956577 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..efe94413cf48 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..d9ce13413146 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "operationId": "TagRules_Get", + "title": "TagRules_Get_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Accepted", + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "userEmail": "test@testing.com", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + }, + "id": "ycdsgeiitvxcd", + "name": "ddoieozflu", + "type": "roafonrkfwwuv", + "systemData": { + "createdBy": "wqrkemruqrvclsoevdftfeof", + "createdByType": "User", + "createdAt": "2022-09-02T00:39:52.964Z", + "lastModifiedBy": "usdyoriebtakpdotcfp", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-02T00:39:52.964Z" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..ecc6c114dcdf --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "TagRules_Get", + "title": "TagRules_Get_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "id": "ycdsgeiitvxcd" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..61145e009934 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "operationId": "TagRules_ListByNewRelicMonitorResource", + "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Accepted", + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "userEmail": "test@testing.com", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + }, + "id": "ycdsgeiitvxcd", + "name": "ddoieozflu", + "type": "roafonrkfwwuv", + "systemData": { + "createdBy": "wqrkemruqrvclsoevdftfeof", + "createdByType": "User", + "createdAt": "2022-09-02T00:39:52.964Z", + "lastModifiedBy": "usdyoriebtakpdotcfp", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-02T00:39:52.964Z" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json new file mode 100644 index 000000000000..f0c5ec5f0abc --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "TagRules_ListByNewRelicMonitorResource", + "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "id": "ycdsgeiitvxcd" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..3a9d1fdd5fd3 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "operationId": "TagRules_Update", + "title": "TagRules_Update_MaximumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", + "properties": { + "properties": { + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "userEmail": "test@testing.com", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Accepted", + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + }, + "metricRules": { + "userEmail": "test@testing.com", + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "value": "sarxrqsxouhdjwsrqqicbeirdb", + "action": "Include" + } + ] + } + }, + "id": "ycdsgeiitvxcd", + "name": "ddoieozflu", + "type": "roafonrkfwwuv", + "systemData": { + "createdBy": "wqrkemruqrvclsoevdftfeof", + "createdByType": "User", + "createdAt": "2022-09-02T00:39:52.964Z", + "lastModifiedBy": "usdyoriebtakpdotcfp", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-09-02T00:39:52.964Z" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..80a01dda2953 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "TagRules_Update", + "title": "TagRules_Update_MinimumSet_Gen", + "parameters": { + "api-version": "2022-07-01", + "subscriptionId": "ddqonpqwjr", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "id": "ycdsgeiitvxcd" + } + } + } +} diff --git a/specification/newrelic/resource-manager/readme.md b/specification/newrelic/resource-manager/readme.md index f0531bb069dc..21d693f5bf9c 100644 --- a/specification/newrelic/resource-manager/readme.md +++ b/specification/newrelic/resource-manager/readme.md @@ -39,6 +39,15 @@ input-file: - NewRelic.Observability/preview/2022-07-01-preview/NewRelic.json ``` +### Tag: package-2022-07-01 + +These settings apply only when `--tag=package-2022-07-01` is specified on the command line. + +```yaml $(tag) == 'package-2022-07-01' +input-file: + - NewRelic.Observability/stable/2022-07-01/NewRelic.json +``` + --- # Code Generation