From ac65ec663a5e3617f4ecda14e65a80d99bfc4412 Mon Sep 17 00:00:00 2001 From: Apoorva Singh Date: Fri, 19 Jan 2024 18:07:31 +0530 Subject: [PATCH 1/4] Base API commit --- .../preview/2024-01-01-preview/NewRelic.json | 3424 +++++++++++++++++ .../Accounts_List_MaximumSet_Gen.json | 28 + .../Accounts_List_MinimumSet_Gen.json | 21 + .../examples/BillingInfo_Get.json | 25 + .../ConnectedPartnerResources_List.json | 24 + .../examples/LinkedResources_List.json | 19 + ...MonitoredSubscriptions_CreateorUpdate.json | 214 ++ .../MonitoredSubscriptions_Delete.json | 17 + .../examples/MonitoredSubscriptions_Get.json | 80 + .../examples/MonitoredSubscriptions_List.json | 84 + .../MonitoredSubscriptions_Update.json | 150 + ...onitors_CreateOrUpdate_MaximumSet_Gen.json | 203 + .../Monitors_Delete_MaximumSet_Gen.json | 20 + .../Monitors_Delete_MinimumSet_Gen.json | 20 + ...onitors_GetMetricRules_MaximumSet_Gen.json | 28 + ...onitors_GetMetricRules_MinimumSet_Gen.json | 22 + ...nitors_GetMetricStatus_MaximumSet_Gen.json | 25 + ...nitors_GetMetricStatus_MinimumSet_Gen.json | 23 + .../examples/Monitors_Get_MaximumSet_Gen.json | 81 + ...nitors_ListAppServices_MaximumSet_Gen.json | 30 + ...nitors_ListAppServices_MinimumSet_Gen.json | 24 + ...rs_ListByResourceGroup_MaximumSet_Gen.json | 85 + ...ors_ListBySubscription_MaximumSet_Gen.json | 84 + .../Monitors_ListHosts_MaximumSet_Gen.json | 30 + .../Monitors_ListHosts_MinimumSet_Gen.json | 24 + ...ListMonitoredResources_MaximumSet_Gen.json | 26 + ...ListMonitoredResources_MinimumSet_Gen.json | 18 + ...Monitors_SwitchBilling_MaximumSet_Gen.json | 98 + ...Monitors_SwitchBilling_MinimumSet_Gen.json | 90 + .../Monitors_Update_MaximumSet_Gen.json | 126 + ...Monitors_VmHostPayload_MaximumSet_Gen.json | 17 + ...Monitors_VmHostPayload_MinimumSet_Gen.json | 17 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + .../Organizations_List_MaximumSet_Gen.json | 27 + .../Organizations_List_MinimumSet_Gen.json | 17 + .../examples/Plans_List_MaximumSet_Gen.json | 32 + .../examples/Plans_List_MinimumSet_Gen.json | 23 + ...agRules_CreateOrUpdate_MaximumSet_Gen.json | 121 + ...agRules_CreateOrUpdate_MinimumSet_Gen.json | 31 + .../TagRules_Delete_MaximumSet_Gen.json | 20 + .../TagRules_Delete_MinimumSet_Gen.json | 20 + .../examples/TagRules_Get_MaximumSet_Gen.json | 53 + .../examples/TagRules_Get_MinimumSet_Gen.json | 19 + ...ewRelicMonitorResource_MaximumSet_Gen.json | 57 + ...ewRelicMonitorResource_MinimumSet_Gen.json | 22 + .../TagRules_Update_MaximumSet_Gen.json | 79 + .../TagRules_Update_MinimumSet_Gen.json | 20 + 48 files changed, 5758 insertions(+) create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json create mode 100644 specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json new file mode 100644 index 000000000000..cd20659352df --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json @@ -0,0 +1,3424 @@ +{ + "swagger": "2.0", + "info": { + "title": "NewRelic.Observability", + "version": "2023-11-01-preview", + "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": "Microsoft Entra ID 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": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/NewRelicMonitorResource" + } + }, + "202": { + "description": "Resource operation 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": "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}/getBillingInfo": { + "post": { + "tags": [ + "ConnectedResources" + ], + "summary": "Get marketplace info mapped to the given monitor.", + "operationId": "BillingInfo_Get", + "produces": [ + "application/json" + ], + "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", + "pattern": "^.*$", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BillingInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BillingInfo_Get": { + "$ref": "./examples/BillingInfo_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources": { + "post": { + "tags": [ + "ConnectedResources" + ], + "summary": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor.", + "operationId": "ConnectedPartnerResources_List", + "produces": [ + "application/json" + ], + "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", + "pattern": "^.*$", + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Email Id of the user", + "schema": { + "$ref": "#/definitions/email" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ConnectedPartnerResourcesListResponse" + } + }, + "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": { + "ConnectedPartnerResources_List": { + "$ref": "./examples/ConnectedPartnerResources_List.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}/monitoredSubscriptions": { + "get": { + "tags": [ + "monitoredSubscriptions" + ], + "summary": "List the subscriptions currently being monitored by the NewRelic monitor resource.", + "operationId": "MonitoredSubscriptions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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, + "pattern": "^.*$", + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionPropertiesList" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_GetMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}": { + "get": { + "tags": [ + "monitoredSubscriptions" + ], + "summary": "List the subscriptions currently being monitored by the NewRelic monitor resource.", + "operationId": "MonitoredSubscriptions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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, + "pattern": "^.*$", + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "description": "The configuration name. Only 'default' value is supported.", + "in": "path", + "name": "configurationName", + "pattern": "^.*$", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "configurationName", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_GetMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Get.json" + } + } + }, + "put": { + "tags": [ + "monitoredSubscriptions" + ], + "summary": "Add the subscriptions that should be monitored by the NewRelic monitor resource.", + "operationId": "MonitoredSubscriptions_CreateorUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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", + "pattern": "^.*$", + "type": "string" + }, + { + "description": "The configuration name. Only 'default' value is supported.", + "in": "path", + "name": "configurationName", + "pattern": "^.*$", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "configurationName", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Monitors_AddMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_CreateorUpdate.json" + } + } + }, + "patch": { + "tags": [ + "MonitoredSubscriptions" + ], + "summary": "Updates the subscriptions that are being monitored by the NewRelic monitor resource", + "operationId": "MonitoredSubscriptions_Update", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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", + "pattern": "^.*$", + "type": "string" + }, + { + "description": "The configuration name. Only 'default' value is supported.", + "in": "path", + "name": "configurationName", + "pattern": "^.*$", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "configurationName", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "202": { + "headers": { + "Location": { + "type": "string" + } + }, + "description": "Success" + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Monitors_UpdateMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Update.json" + } + } + }, + "delete": { + "tags": [ + "MonitoredSubscriptions" + ], + "summary": "Updates the subscriptions that are being monitored by the NewRelic monitor resource", + "operationId": "MonitoredSubscriptions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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", + "pattern": "^.*$", + "type": "string" + }, + { + "description": "The configuration name. Only 'default' value is supported.", + "in": "path", + "name": "configurationName", + "pattern": "^.*$", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "configurationName", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "headers": { + "Location": { + "type": "string" + } + }, + "description": "Success" + }, + "204": { + "description": "Success" + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Monitors_DeleteMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listLinkedResources": { + "post": { + "tags": [ + "LinkedResources" + ], + "summary": "List all Azure resources associated to the same NewRelic organization and account as the target resource.", + "operationId": "Monitors_ListLinkedResources", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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, + "pattern": "^.*$", + "description": "Name of the Monitors resource", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LinkedResourceListResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListLinkedResources": { + "$ref": "./examples/LinkedResources_List.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": "Region where New Relic account is present" + } + }, + "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 where New Relic account is present" + } + }, + "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" + ] + }, + "BillingInfoResponse": { + "description": "Marketplace Subscription and Organization details to which resource gets billed into.", + "type": "object", + "properties": { + "marketplaceSaasInfo": { + "description": "Marketplace Subscription details", + "$ref": "#/definitions/MarketplaceSaaSInfo" + }, + "partnerBillingEntity": { + "description": "Partner Billing Entity details: Organization Info", + "$ref": "#/definitions/PartnerBillingEntity" + } + } + }, + "MarketplaceSaaSInfo": { + "description": "Marketplace SAAS Info of the resource.", + "type": "object", + "properties": { + "marketplaceSubscriptionId": { + "description": "Marketplace Subscription Id. This is a GUID-formatted string.", + "type": "string" + }, + "marketplaceSubscriptionName": { + "description": "Marketplace Subscription Details: SAAS Name", + "type": "string" + }, + "marketplaceResourceId": { + "description": "Marketplace Subscription Details: Resource URI", + "type": "string" + }, + "marketplaceStatus": { + "description": "Marketplace Subscription Details: SaaS Subscription Status", + "type": "string" + }, + "billedAzureSubscriptionId": { + "description": "The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.", + "type": "string" + } + } + }, + "PartnerBillingEntity": { + "description": "Partner Billing details associated with the resource.", + "type": "object", + "properties": { + "organizationId": { + "description": "The New Relic Organization Id.", + "type": "string" + }, + "organizationName": { + "description": "The New Relic Organization Name.", + "type": "string" + } + } + }, + "ConnectedPartnerResourceProperties": { + "description": "Connected Partner Resource Properties", + "type": "object", + "properties": { + "accountName": { + "description": "NewRelic account name", + "type": "string" + }, + "accountId": { + "description": "NewRelic Account Id", + "type": "string" + }, + "azureResourceId": { + "description": "The azure resource Id of the deployment.", + "type": "string" + }, + "location": { + "description": "The location of the deployment.", + "type": "string" + } + } + }, + "ConnectedPartnerResourcesListFormat": { + "description": "Connected Partner Resources List Format", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedPartnerResourceProperties" + } + } + }, + "ConnectedPartnerResourcesListResponse": { + "description": " List of all active newrelic deployments.", + "type": "object", + "properties": { + "value": { + "description": "Results of a list operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedPartnerResourcesListFormat" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Link to the next set of results, if any.", + "type": "string" + } + } + }, + "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" + }, + "MonitoredSubscription": { + "description": "The list of subscriptions and it's monitoring status by current NewRelic monitor.", + "type": "object", + "properties": { + "subscriptionId": { + "description": "The subscriptionId to be monitored.", + "required": [ + "subscriptionId" + ], + "type": "string" + }, + "status": { + "description": "The state of monitoring.", + "enum": [ + "InProgress", + "Active", + "Failed", + "Deleting" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "Status" + }, + "type": "string" + }, + "error": { + "description": "The reason of not monitoring the subscription.", + "type": "string" + }, + "tagRules": { + "$ref": "#/definitions/MonitoringTagRulesProperties" + } + } + }, + "SubscriptionList": { + "description": "The request to update subscriptions needed to be monitored by the NewRelic monitor resource.", + "type": "object", + "properties": { + "patchOperation": { + "description": "The operation for the patch on the resource.", + "enum": [ + "AddBegin", + "AddComplete", + "DeleteBegin", + "DeleteComplete", + "Active" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "PatchOperation" + }, + "x-ms-mutability": [ + "create", + "update" + ] + }, + "monitoredSubscriptionList": { + "description": "List of subscriptions and the state of the monitoring.", + "type": "array", + "items": { + "$ref": "#/definitions/MonitoredSubscription" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true + } + } + }, + "MonitoredSubscriptionProperties": { + "description": "The request to update subscriptions needed to be monitored by the NewRelic monitor resource.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "name": { + "description": "Name of the monitored subscription resource.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "The id of the monitored subscription resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the monitored subscription resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/SubscriptionList" + } + } + }, + "MonitoredSubscriptionPropertiesList": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + } + }, + "LinkedResource": { + "description": "The definition of a linked resource.", + "type": "object", + "properties": { + "id": { + "description": "The ARM id of the linked resource.", + "type": "string" + } + } + }, + "LinkedResourceListResponse": { + "description": "Response of a list operation.", + "type": "object", + "properties": { + "value": { + "description": "Results of a list operation.", + "type": "array", + "items": { + "$ref": "#/definitions/LinkedResource" + } + }, + "nextLink": { + "description": "Link to the next set of results, if any.", + "type": "string" + } + } + }, + "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/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..cb85d5ce72db --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "operationId": "Accounts_List", + "title": "Accounts_List_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "properties": { + "organizationId": "wvdclwi", + "accountId": "igmdjq", + "accountName": "accname", + "region": "xnsylopqwcggudcln" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..57a7915d3cc3 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "operationId": "Accounts_List", + "title": "Accounts_List_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json new file mode 100644 index 000000000000..0ac9f0b8b58e --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "marketplaceSaasInfo": { + "marketplaceSubscriptionId": "12345678-1234-1234-1234-123456789012", + "marketplaceSubscriptionName": "AzNewRelic_b1190c8f", + "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzNewRelic_b1190c8f", + "marketplaceStatus": "Active", + "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "partnerBillingEntity": { + "organizationId": "1234567890", + "organizationName": "NROrganizationName" + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json new file mode 100644 index 000000000000..eb37a722d71a --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "accountName": "accountName", + "accountId": "1156243", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "location": "West US 2" + } + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json new file mode 100644 index 000000000000..c9a8cd712c53 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json new file mode 100644 index 000000000000..5e809fecb9b8 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json @@ -0,0 +1,214 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default", + "requestBody": { + "properties": { + "operation": "AddBegin", + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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": { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "type": "NewRelic.Observability/monitors/monitoredSubscriptions", + "properties": { + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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" + } + ] + } + } + } + ] + } + } + }, + "201": { + "body": { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "type": "NewRelic.Observability/monitors/monitoredSubscriptions", + "properties": { + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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" + } + ] + } + } + } + ] + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json new file mode 100644 index 000000000000..65005dfb9cb0 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2022-09-01" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json new file mode 100644 index 000000000000..a4b53cc05107 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "type": "NewRelic.Observability/monitors/monitoredSubscriptions", + "properties": { + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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" + } + ] + } + } + } + ] + } + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json new file mode 100644 index 000000000000..1b78db492649 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "type": "NewRelic.Observability/monitors/monitoredSubscriptions", + "properties": { + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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" + } + ] + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json new file mode 100644 index 000000000000..43a2f9e1acd7 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default", + "requestBody": { + "properties": { + "operation": "AddComplete", + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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": { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "type": "NewRelic.Observability/monitors/monitoredSubscriptions", + "properties": { + "monitoredSubscriptionList": [ + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "status": "Active", + "tagRules": { + "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" + } + ] + } + } + }, + { + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "status": "Failed", + "tagRules": { + "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" + } + ] + } + } + } + ] + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2022-09-01" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..c2a6c6406046 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,203 @@ +{ + "operationId": "Monitors_CreateOrUpdate", + "title": "Monitors_CreateOrUpdate_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..aba9358151e4 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..2835260d7a44 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json new file mode 100644 index 000000000000..9074c283c1ce --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "operationId": "Monitors_GetMetricRules", + "title": "Monitors_GetMetricRules_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json new file mode 100644 index 000000000000..f972ad63073b --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "Monitors_GetMetricRules", + "title": "Monitors_GetMetricRules_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "sendMetrics": "Disabled", + "filteringTags": [], + "userEmail": null + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..2b688ffcdbb0 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "title": "Monitors_GetMetricStatus_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json new file mode 100644 index 000000000000..a78966ef8fb0 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "title": "Monitors_GetMetricStatus_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "azureResourceIds": [] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..64dc339e3f3d --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "operationId": "Monitors_Get", + "title": "Monitors_Get_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json new file mode 100644 index 000000000000..7a7d17d215c0 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", + "agentVersion": "owxkssnbp", + "agentStatus": "vclwfecbppsfaygdccfu" + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json new file mode 100644 index 000000000000..9c0ed8bd898d --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [], + "nextLink": null + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..4e47347dac19 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..4fc2f4c35eab --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,84 @@ +{ + "operationId": "Monitors_ListBySubscription", + "title": "Monitors_ListBySubscription_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json new file mode 100644 index 000000000000..5d76edda4dbd --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json new file mode 100644 index 000000000000..0f65c1527f56 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "request": { + "vmIds": [ + "xzphvxvfmvjrnsgyns" + ], + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "responses": { + "200": { + "body": { + "value": [], + "nextLink": null + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json new file mode 100644 index 000000000000..d94881320c24 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "sendingMetrics": "Enabled", + "reasonForMetricsStatus": "k", + "sendingLogs": "Enabled", + "reasonForLogsStatus": "agzxviwuxgr" + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json new file mode 100644 index 000000000000..4a9a6f15509b --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [], + "nextLink": null + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json new file mode 100644 index 000000000000..7571cc153092 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -0,0 +1,98 @@ +{ + "operationId": "Monitors_SwitchBilling", + "title": "Monitors_SwitchBilling_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", + "organizationId": "k", + "planData": { + "usageType": "PAYG", + "billingCycle": "YEARLY", + "planDetails": "tbbiaga", + "effectiveDate": "2022-12-05T14:11:37.786Z" + } + } + }, + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json new file mode 100644 index 000000000000..f7c8666f136d --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "operationId": "Monitors_SwitchBilling", + "title": "Monitors_SwitchBilling_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgNewRelic", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "request": { + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" + } + }, + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..150f52dd87d3 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json @@ -0,0 +1,126 @@ +{ + "operationId": "Monitors_Update", + "title": "Monitors_Update_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json new file mode 100644 index 000000000000..dc1a51f16a66 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "operationId": "Monitors_VmHostPayload", + "title": "Monitors_VmHostPayload_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "ingestionKey": "ltqewhfexphvqgttoevaywrl" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json new file mode 100644 index 000000000000..531031a83a9b --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "operationId": "Monitors_VmHostPayload", + "title": "Monitors_VmHostPayload_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "ingestionKey": "ltqewhfexphvqgttoevaywrl" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..4d2df7c9ecac --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview" + }, + "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/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..1bdb0612b287 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "operationId": "Operations_List", + "title": "Operations_List_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..23413608c2c7 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "operationId": "Organizations_List", + "title": "Organizations_List_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "properties": { + "organizationId": "tjmcifofzirili", + "organizationName": "orgname", + "billingSource": "AZURE" + } + } + ], + "nextLink": "http://testlink.com" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..8711dbea3150 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "operationId": "Organizations_List", + "title": "Organizations_List_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", + "location": "egh" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..bb2bebbeed72 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "operationId": "Plans_List", + "title": "Plans_List_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "accountId": "pwuxgvrmkk", + "organizationId": "hilawwjz" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..6042052d6e68 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "operationId": "Plans_List", + "title": "Plans_List_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "organizationId": "hilawwjz" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "properties": { + "orgCreationSource": "NEWRELIC" + } + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..cbc416d81414 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,121 @@ +{ + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..b21b8c4611ce --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..a10623330882 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..0b5c3a8edab9 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..126b73638fe6 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json @@ -0,0 +1,53 @@ +{ + "operationId": "TagRules_Get", + "title": "TagRules_Get_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..2c5e7ceaa1d6 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "TagRules_Get", + "title": "TagRules_Get_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..bbc695c88095 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -0,0 +1,57 @@ +{ + "operationId": "TagRules_ListByNewRelicMonitorResource", + "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json new file mode 100644 index 000000000000..362cc9b1cc62 --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "operationId": "TagRules_ListByNewRelicMonitorResource", + "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + ] + } + } + } +} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..d3d42d776c2c --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "operationId": "TagRules_Update", + "title": "TagRules_Update_MaximumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "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": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor", + "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/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..fe607956b6fe --- /dev/null +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "TagRules_Update", + "title": "TagRules_Update_MinimumSet_Gen", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rgopenapi", + "monitorName": "ipxmlcbonyxtolzejcjshkmlron", + "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor" + } + } + } +} From 39ceb00ffe72bb4d4a0781fb09e8318155f1a4be Mon Sep 17 00:00:00 2001 From: Apoorva Singh Date: Fri, 19 Jan 2024 18:24:30 +0530 Subject: [PATCH 2/4] Changing version to new 2024-01-01-preview --- .../preview/2024-01-01-preview/NewRelic.json | 2 +- .../examples/Accounts_List_MaximumSet_Gen.json | 2 +- .../examples/Accounts_List_MinimumSet_Gen.json | 2 +- .../preview/2024-01-01-preview/examples/BillingInfo_Get.json | 2 +- .../examples/ConnectedPartnerResources_List.json | 2 +- .../2024-01-01-preview/examples/LinkedResources_List.json | 2 +- .../examples/MonitoredSubscriptions_CreateorUpdate.json | 2 +- .../examples/MonitoredSubscriptions_Delete.json | 4 ++-- .../examples/MonitoredSubscriptions_Get.json | 2 +- .../examples/MonitoredSubscriptions_List.json | 2 +- .../examples/MonitoredSubscriptions_Update.json | 4 ++-- .../examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MinimumSet_Gen.json | 2 +- .../examples/Monitors_GetMetricRules_MaximumSet_Gen.json | 2 +- .../examples/Monitors_GetMetricRules_MinimumSet_Gen.json | 2 +- .../examples/Monitors_GetMetricStatus_MaximumSet_Gen.json | 2 +- .../examples/Monitors_GetMetricStatus_MinimumSet_Gen.json | 2 +- .../examples/Monitors_Get_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListAppServices_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListAppServices_MinimumSet_Gen.json | 2 +- .../examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListBySubscription_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MinimumSet_Gen.json | 2 +- .../Monitors_ListMonitoredResources_MaximumSet_Gen.json | 2 +- .../Monitors_ListMonitoredResources_MinimumSet_Gen.json | 2 +- .../examples/Monitors_SwitchBilling_MaximumSet_Gen.json | 2 +- .../examples/Monitors_SwitchBilling_MinimumSet_Gen.json | 2 +- .../examples/Monitors_Update_MaximumSet_Gen.json | 2 +- .../examples/Monitors_VmHostPayload_MaximumSet_Gen.json | 2 +- .../examples/Monitors_VmHostPayload_MinimumSet_Gen.json | 2 +- .../examples/Operations_List_MaximumSet_Gen.json | 2 +- .../examples/Operations_List_MinimumSet_Gen.json | 2 +- .../examples/Organizations_List_MaximumSet_Gen.json | 2 +- .../examples/Organizations_List_MinimumSet_Gen.json | 2 +- .../examples/Plans_List_MaximumSet_Gen.json | 2 +- .../examples/Plans_List_MinimumSet_Gen.json | 2 +- .../examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Get_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Get_MinimumSet_Gen.json | 2 +- ...TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json | 2 +- ...TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Update_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Update_MinimumSet_Gen.json | 2 +- 48 files changed, 50 insertions(+), 50 deletions(-) diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json index cd20659352df..53a6ea0fc1c8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "NewRelic.Observability", - "version": "2023-11-01-preview", + "version": "2024-01-01-preview", "x-cadl-generated": [ { "emitter": "@azure-tools/cadl-autorest" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json index cb85d5ce72db..769429128c21 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Accounts_List", "title": "Accounts_List_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json index 57a7915d3cc3..0a63464c8d56 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Accounts_List_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Accounts_List", "title": "Accounts_List_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json index 0ac9f0b8b58e..83d4780853fc 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/BillingInfo_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json index eb37a722d71a..3700c09f9623 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/ConnectedPartnerResources_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json index c9a8cd712c53..da3d375b760e 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/LinkedResources_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json index 5e809fecb9b8..ad1eaa2d20a5 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json index 65005dfb9cb0..ae76e385ac52 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", @@ -9,7 +9,7 @@ "responses": { "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2022-09-01" + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2024-01-01-preview" } }, "204": {} diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json index a4b53cc05107..677c08748078 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json index 1b78db492649..321d1d42a398 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json index 43a2f9e1acd7..0984b41ff9d4 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/MonitoredSubscriptions_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", @@ -143,7 +143,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2022-09-01" + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2024-01-01-preview" } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json index c2a6c6406046..04279c70c3dd 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_CreateOrUpdate", "title": "Monitors_CreateOrUpdate_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json index aba9358151e4..a1ec3fc078fd 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_Delete", "title": "Monitors_Delete_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json index 2835260d7a44..ed7ee01ca7ea 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_Delete", "title": "Monitors_Delete_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json index 9074c283c1ce..da4a43951864 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_GetMetricRules", "title": "Monitors_GetMetricRules_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json index f972ad63073b..7edf53678e3b 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_GetMetricRules", "title": "Monitors_GetMetricRules_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json index 2b688ffcdbb0..ab968089972f 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_GetMetricStatus", "title": "Monitors_GetMetricStatus_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json index a78966ef8fb0..ae28916c6fc3 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_GetMetricStatus", "title": "Monitors_GetMetricStatus_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json index 64dc339e3f3d..d7e267317e73 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Get_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_Get", "title": "Monitors_Get_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json index 7a7d17d215c0..56464a085b01 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListAppServices", "title": "Monitors_ListAppServices_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json index 9c0ed8bd898d..bd6941e618be 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListAppServices", "title": "Monitors_ListAppServices_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json index 4e47347dac19..b08b37d466d4 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListByResourceGroup", "title": "Monitors_ListByResourceGroup_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json index 4fc2f4c35eab..cf5895153d2a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListBySubscription", "title": "Monitors_ListBySubscription_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json index 5d76edda4dbd..5e9c855e8991 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListHosts", "title": "Monitors_ListHosts_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json index 0f65c1527f56..1708445ab63c 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListHosts", "title": "Monitors_ListHosts_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json index d94881320c24..a44eadaac010 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListMonitoredResources", "title": "Monitors_ListMonitoredResources_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json index 4a9a6f15509b..23438f2506e8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_ListMonitoredResources", "title": "Monitors_ListMonitoredResources_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json index 7571cc153092..1864e1e2310b 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_SwitchBilling", "title": "Monitors_SwitchBilling_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json index f7c8666f136d..9472a791856b 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_SwitchBilling", "title": "Monitors_SwitchBilling_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json index 150f52dd87d3..4812d90d4348 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_Update_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_Update", "title": "Monitors_Update_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json index dc1a51f16a66..9849889c6753 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_VmHostPayload", "title": "Monitors_VmHostPayload_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json index 531031a83a9b..36765397dfda 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Monitors_VmHostPayload", "title": "Monitors_VmHostPayload_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json index 4d2df7c9ecac..8e6697fe72b8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Operations_List", "title": "Operations_List_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview" + "api-version": "2024-01-01-preview" }, "responses": { "200": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json index 1bdb0612b287..b25747c1d5ba 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Operations_List", "title": "Operations_List_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview" + "api-version": "2024-01-01-preview" }, "responses": { "200": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json index 23413608c2c7..187a85cec1cb 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Organizations_List", "title": "Organizations_List_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json index 8711dbea3150..a128a9455bd3 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Organizations_List_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Organizations_List", "title": "Organizations_List_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json index bb2bebbeed72..752af8e35e4a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Plans_List", "title": "Plans_List_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "accountId": "pwuxgvrmkk", "organizationId": "hilawwjz" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json index 6042052d6e68..dbf769d648c8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Plans_List_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "Plans_List", "title": "Plans_List_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "organizationId": "hilawwjz" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json index cbc416d81414..6fd8876d7985 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_CreateOrUpdate", "title": "TagRules_CreateOrUpdate_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json index b21b8c4611ce..652d1840741a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_CreateOrUpdate", "title": "TagRules_CreateOrUpdate_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json index a10623330882..6476f22c6f39 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_Delete", "title": "TagRules_Delete_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json index 0b5c3a8edab9..27c23640ad3e 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_Delete", "title": "TagRules_Delete_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json index 126b73638fe6..b5731fccc205 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_Get", "title": "TagRules_Get_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json index 2c5e7ceaa1d6..c515bb1cb53f 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Get_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_Get", "title": "TagRules_Get_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json index bbc695c88095..eec551e092ce 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_ListByNewRelicMonitorResource", "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json index 362cc9b1cc62..1fc42c6b11d4 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_ListByNewRelicMonitorResource", "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json index d3d42d776c2c..f174c1a09e4d 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MaximumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_Update", "title": "TagRules_Update_MaximumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json index fe607956b6fe..ccf699186fce 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/TagRules_Update_MinimumSet_Gen.json @@ -2,7 +2,7 @@ "operationId": "TagRules_Update", "title": "TagRules_Update_MinimumSet_Gen", "parameters": { - "api-version": "2023-11-01-preview", + "api-version": "2024-01-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", From 14ec0a7da3854573ce7532284ac59eb0bfb0682e Mon Sep 17 00:00:00 2001 From: Apoorva Singh Date: Fri, 19 Jan 2024 18:39:59 +0530 Subject: [PATCH 3/4] Adding additional parameters to MonitorProperties and updating example --- .../preview/2024-01-01-preview/NewRelic.json | 8 ++++++++ .../Monitors_CreateOrUpdate_MaximumSet_Gen.json | 12 +++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json index 53a6ea0fc1c8..bff3dd30842a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json @@ -2420,6 +2420,14 @@ "accountCreationSource": { "$ref": "#/definitions/AccountCreationSource", "description": "Source of account creation" + }, + "subscriptionState": { + "description": "State of the Azure Subscription containing the monitor resource", + "type": "string" + }, + "saaSAzureSubscriptionStatus": { + "description": "Status of Azure Subscription where Marketplace SaaS is located.", + "type": "string" } }, "description": "Properties specific to the NewRelic Monitor resource" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json index 04279c70c3dd..33b1e9e59d69 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -43,7 +43,9 @@ }, "liftrResourceCategory": "Unknown", "orgCreationSource": "LIFTR", - "accountCreationSource": "LIFTR" + "accountCreationSource": "LIFTR", + "subscriptionState": "Suspended", + "saaSAzureSubscriptionStatus": "Subscribed" }, "identity": { "type": "None", @@ -97,7 +99,9 @@ "liftrResourceCategory": "Unknown", "liftrResourcePreference": 12, "orgCreationSource": "LIFTR", - "accountCreationSource": "LIFTR" + "accountCreationSource": "LIFTR", + "subscriptionState": "Suspended", + "saaSAzureSubscriptionStatus": "Subscribed" }, "identity": { "principalId": "cac47a92-2856-11ed-a261-0242ac120002", @@ -169,7 +173,9 @@ "liftrResourceCategory": "Unknown", "liftrResourcePreference": 12, "orgCreationSource": "LIFTR", - "accountCreationSource": "LIFTR" + "accountCreationSource": "LIFTR", + "subscriptionState": "Suspended", + "saaSAzureSubscriptionStatus": "Subscribed" }, "identity": { "principalId": "cac47a92-2856-11ed-a261-0242ac120002", From 6d3e406d811fd45c43297b42172c9e05359c67cb Mon Sep 17 00:00:00 2001 From: Apoorva Singh Date: Fri, 19 Jan 2024 18:57:58 +0530 Subject: [PATCH 4/4] Updating readme.md --- specification/newrelic/resource-manager/readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/specification/newrelic/resource-manager/readme.md b/specification/newrelic/resource-manager/readme.md index 833caefd7f68..e0224dea79a2 100644 --- a/specification/newrelic/resource-manager/readme.md +++ b/specification/newrelic/resource-manager/readme.md @@ -27,7 +27,7 @@ These are the global settings for the newrelic. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2023-11-01-preview +tag: package-2024-01-01-preview ``` ### Tag: package-2022-07-01-preview @@ -66,6 +66,15 @@ input-file: - NewRelic.Observability/preview/2023-11-01-preview/NewRelic.json ``` +### Tag: package-2024-01-01-preview + +These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-01-01-preview' +input-file: + - NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json +``` + --- # Code Generation