From d20d002554c0458e3ed4adc9a989d3b88a43b7f0 Mon Sep 17 00:00:00 2001 From: Apoorva Singh Date: Tue, 17 Mar 2026 10:30:09 +0530 Subject: [PATCH] Add default value for identity argument in create command --- .../2024-01-01.json | 2 +- .../2024-01-01.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json index b38950226..ebaa62eeb 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "Monitors_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "userEmail", "arg": "$Query.userEmail", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.accountCreationSource", "options": ["account-creation-source"], "group": "Properties", "help": {"short": "Source of account creation"}, "enum": {"items": [{"name": "LIFTR", "value": "LIFTR"}, {"name": "NEWRELIC", "value": "NEWRELIC"}]}}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties", "options": ["new-relic-account"], "group": "Properties", "help": {"short": "MarketplaceSubscriptionStatus of the resource Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show"}, "args": [{"type": "object", "var": "$resource.properties.newRelicAccountProperties.accountInfo", "options": ["account-info"], "help": {"short": "NewRelic Account Information"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.accountInfo.accountId", "options": ["account-id"], "help": {"short": "Account id"}}, {"type": "password", "var": "$resource.properties.newRelicAccountProperties.accountInfo.ingestionKey", "options": ["ingestion-key"], "help": {"short": "ingestion key of account"}, "prompt": {"msg": "Password:"}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.accountInfo.region", "options": ["region"], "help": {"short": "NewRelic account region"}}]}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties.organizationInfo", "options": ["organization-info"], "help": {"short": "NewRelic Organization Information"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.organizationInfo.organizationId", "options": ["organization-id"], "help": {"short": "Organization id"}}]}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "date when plan was applied"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "The Id of the Enterprise App used for Single sign-on."}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.provisioningState", "options": ["provisioning-state"], "help": {"short": "Provisioning state"}, "enum": {"items": [{"name": "Accepted", "value": "Accepted"}, {"name": "Canceled", "value": "Canceled"}, {"name": "Creating", "value": "Creating"}, {"name": "Deleted", "value": "Deleted"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "NotSpecified", "value": "NotSpecified"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "Single sign-on state"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Existing", "value": "Existing"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "The login URL specific to this NewRelic Organization"}}]}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.userId", "options": ["user-id"], "help": {"short": "User id"}}]}, {"type": "string", "var": "$resource.properties.orgCreationSource", "options": ["org-creation-source"], "group": "Properties", "help": {"short": "Source of org creation"}, "enum": {"items": [{"name": "LIFTR", "value": "LIFTR"}, {"name": "NEWRELIC", "value": "NEWRELIC"}]}}, {"type": "object", "var": "$resource.properties.planData", "options": ["plan-data"], "group": "Properties", "help": {"short": "Plan details Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.properties.planData.billingCycle", "options": ["billing-cycle"], "help": {"short": "Different billing cycles like MONTHLY/WEEKLY. this could be enum"}, "enum": {"items": [{"name": "MONTHLY", "value": "MONTHLY"}, {"name": "WEEKLY", "value": "WEEKLY"}, {"name": "YEARLY", "value": "YEARLY"}]}}, {"type": "dateTime", "var": "$resource.properties.planData.effectiveDate", "options": ["effective-date"], "help": {"short": "date when plan was applied"}}, {"type": "string", "var": "$resource.properties.planData.planDetails", "options": ["plan-details"], "help": {"short": "plan id as published by NewRelic"}}, {"type": "string", "var": "$resource.properties.planData.usageType", "options": ["usage-type"], "help": {"short": "Different usage type like PAYG/COMMITTED. this could be enum"}, "enum": {"items": [{"name": "COMMITTED", "value": "COMMITTED"}, {"name": "PAYG", "value": "PAYG"}]}}]}, {"type": "string", "var": "$resource.properties.saaSAzureSubscriptionStatus", "options": ["saa-s-azure-subscription-status"], "hide": true, "group": "Properties", "help": {"short": "Status of Azure Subscription where Marketplace SaaS is located."}}, {"type": "string", "var": "$resource.properties.subscriptionState", "options": ["subscription-state"], "hide": true, "group": "Properties", "help": {"short": "State of the Azure Subscription containing the monitor resource"}}, {"type": "object", "var": "$resource.properties.userInfo", "options": ["user-info"], "group": "Properties", "help": {"short": "User Info Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.properties.userInfo.country", "options": ["country"], "help": {"short": "country if user"}}, {"type": "string", "var": "$resource.properties.userInfo.emailAddress", "options": ["email-address"], "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "var": "$resource.properties.userInfo.firstName", "options": ["first-name"], "help": {"short": "First name"}, "format": {"maxLength": 50}}, {"type": "string", "var": "$resource.properties.userInfo.lastName", "options": ["last-name"], "help": {"short": "Last name"}, "format": {"maxLength": 50}}, {"type": "string", "var": "$resource.properties.userInfo.phoneNumber", "options": ["phone-number"], "help": {"short": "Contact phone number"}, "format": {"maxLength": 40}}]}]}, {"name": "Resource", "args": [{"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives When not specified, the location of the resource group will be used."}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "arg": "$resource.properties.accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "newRelicAccountProperties", "arg": "$resource.properties.newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "arg": "$resource.properties.newRelicAccountProperties.accountInfo", "props": [{"type": "string", "name": "accountId", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.accountId"}, {"type": "password", "name": "ingestionKey", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.ingestionKey", "secret": true}, {"type": "string", "name": "region", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.region"}]}, {"type": "object", "name": "organizationInfo", "arg": "$resource.properties.newRelicAccountProperties.organizationInfo", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.newRelicAccountProperties.organizationInfo.organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "provisioningState", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnUrl"}]}, {"type": "string", "name": "userId", "arg": "$resource.properties.newRelicAccountProperties.userId"}]}, {"type": "string", "name": "orgCreationSource", "arg": "$resource.properties.orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "arg": "$resource.properties.planData", "props": [{"type": "string", "name": "billingCycle", "arg": "$resource.properties.planData.billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate", "arg": "$resource.properties.planData.effectiveDate"}, {"type": "string", "name": "planDetails", "arg": "$resource.properties.planData.planDetails"}, {"type": "string", "name": "usageType", "arg": "$resource.properties.planData.usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "saaSAzureSubscriptionStatus", "arg": "$resource.properties.saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState", "arg": "$resource.properties.subscriptionState"}, {"type": "object", "name": "userInfo", "arg": "$resource.properties.userInfo", "props": [{"type": "string", "name": "country", "arg": "$resource.properties.userInfo.country"}, {"type": "string", "name": "emailAddress", "arg": "$resource.properties.userInfo.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userInfo.firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userInfo.lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userInfo.phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Monitors_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NewRelicMonitorResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NewRelicMonitorResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}], "operations": [{"operationId": "Monitors_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "userEmail", "arg": "$Query.userEmail", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.accountCreationSource", "options": ["account-creation-source"], "group": "Properties", "help": {"short": "Source of account creation"}, "enum": {"items": [{"name": "LIFTR", "value": "LIFTR"}, {"name": "NEWRELIC", "value": "NEWRELIC"}]}}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties", "options": ["new-relic-account"], "group": "Properties", "help": {"short": "MarketplaceSubscriptionStatus of the resource Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show"}, "args": [{"type": "object", "var": "$resource.properties.newRelicAccountProperties.accountInfo", "options": ["account-info"], "help": {"short": "NewRelic Account Information"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.accountInfo.accountId", "options": ["account-id"], "help": {"short": "Account id"}}, {"type": "password", "var": "$resource.properties.newRelicAccountProperties.accountInfo.ingestionKey", "options": ["ingestion-key"], "help": {"short": "ingestion key of account"}, "prompt": {"msg": "Password:"}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.accountInfo.region", "options": ["region"], "help": {"short": "NewRelic account region"}}]}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties.organizationInfo", "options": ["organization-info"], "help": {"short": "NewRelic Organization Information"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.organizationInfo.organizationId", "options": ["organization-id"], "help": {"short": "Organization id"}}]}, {"type": "object", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "date when plan was applied"}, "args": [{"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "The Id of the Enterprise App used for Single sign-on."}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.provisioningState", "options": ["provisioning-state"], "help": {"short": "Provisioning state"}, "enum": {"items": [{"name": "Accepted", "value": "Accepted"}, {"name": "Canceled", "value": "Canceled"}, {"name": "Creating", "value": "Creating"}, {"name": "Deleted", "value": "Deleted"}, {"name": "Deleting", "value": "Deleting"}, {"name": "Failed", "value": "Failed"}, {"name": "NotSpecified", "value": "NotSpecified"}, {"name": "Succeeded", "value": "Succeeded"}, {"name": "Updating", "value": "Updating"}]}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "Single sign-on state"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Existing", "value": "Existing"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "The login URL specific to this NewRelic Organization"}}]}, {"type": "string", "var": "$resource.properties.newRelicAccountProperties.userId", "options": ["user-id"], "help": {"short": "User id"}}]}, {"type": "string", "var": "$resource.properties.orgCreationSource", "options": ["org-creation-source"], "group": "Properties", "help": {"short": "Source of org creation"}, "enum": {"items": [{"name": "LIFTR", "value": "LIFTR"}, {"name": "NEWRELIC", "value": "NEWRELIC"}]}}, {"type": "object", "var": "$resource.properties.planData", "options": ["plan-data"], "group": "Properties", "help": {"short": "Plan details Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.properties.planData.billingCycle", "options": ["billing-cycle"], "help": {"short": "Different billing cycles like MONTHLY/WEEKLY. this could be enum"}, "enum": {"items": [{"name": "MONTHLY", "value": "MONTHLY"}, {"name": "WEEKLY", "value": "WEEKLY"}, {"name": "YEARLY", "value": "YEARLY"}]}}, {"type": "dateTime", "var": "$resource.properties.planData.effectiveDate", "options": ["effective-date"], "help": {"short": "date when plan was applied"}}, {"type": "string", "var": "$resource.properties.planData.planDetails", "options": ["plan-details"], "help": {"short": "plan id as published by NewRelic"}}, {"type": "string", "var": "$resource.properties.planData.usageType", "options": ["usage-type"], "help": {"short": "Different usage type like PAYG/COMMITTED. this could be enum"}, "enum": {"items": [{"name": "COMMITTED", "value": "COMMITTED"}, {"name": "PAYG", "value": "PAYG"}]}}]}, {"type": "string", "var": "$resource.properties.saaSAzureSubscriptionStatus", "options": ["saa-s-azure-subscription-status"], "hide": true, "group": "Properties", "help": {"short": "Status of Azure Subscription where Marketplace SaaS is located."}}, {"type": "string", "var": "$resource.properties.subscriptionState", "options": ["subscription-state"], "hide": true, "group": "Properties", "help": {"short": "State of the Azure Subscription containing the monitor resource"}}, {"type": "object", "var": "$resource.properties.userInfo", "options": ["user-info"], "group": "Properties", "help": {"short": "User Info Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.properties.userInfo.country", "options": ["country"], "help": {"short": "country if user"}}, {"type": "string", "var": "$resource.properties.userInfo.emailAddress", "options": ["email-address"], "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "var": "$resource.properties.userInfo.firstName", "options": ["first-name"], "help": {"short": "First name"}, "format": {"maxLength": 50}}, {"type": "string", "var": "$resource.properties.userInfo.lastName", "options": ["last-name"], "help": {"short": "Last name"}, "format": {"maxLength": 50}}, {"type": "string", "var": "$resource.properties.userInfo.phoneNumber", "options": ["phone-number"], "help": {"short": "Contact phone number"}, "format": {"maxLength": 40}}]}]}, {"name": "Resource", "args": [{"type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "default": {"value": {"type": "SystemAssigned"}}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$resource.location", "options": ["location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives When not specified, the location of the resource group will be used."}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "arg": "$resource.properties.accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "newRelicAccountProperties", "arg": "$resource.properties.newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "arg": "$resource.properties.newRelicAccountProperties.accountInfo", "props": [{"type": "string", "name": "accountId", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.accountId"}, {"type": "password", "name": "ingestionKey", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.ingestionKey", "secret": true}, {"type": "string", "name": "region", "arg": "$resource.properties.newRelicAccountProperties.accountInfo.region"}]}, {"type": "object", "name": "organizationInfo", "arg": "$resource.properties.newRelicAccountProperties.organizationInfo", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.newRelicAccountProperties.organizationInfo.organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "provisioningState", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.newRelicAccountProperties.singleSignOnProperties.singleSignOnUrl"}]}, {"type": "string", "name": "userId", "arg": "$resource.properties.newRelicAccountProperties.userId"}]}, {"type": "string", "name": "orgCreationSource", "arg": "$resource.properties.orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "arg": "$resource.properties.planData", "props": [{"type": "string", "name": "billingCycle", "arg": "$resource.properties.planData.billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate", "arg": "$resource.properties.planData.effectiveDate"}, {"type": "string", "name": "planDetails", "arg": "$resource.properties.planData.planDetails"}, {"type": "string", "name": "usageType", "arg": "$resource.properties.planData.usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "saaSAzureSubscriptionStatus", "arg": "$resource.properties.saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState", "arg": "$resource.properties.subscriptionState"}, {"type": "object", "name": "userInfo", "arg": "$resource.properties.userInfo", "props": [{"type": "string", "name": "country", "arg": "$resource.properties.userInfo.country"}, {"type": "string", "name": "emailAddress", "arg": "$resource.properties.userInfo.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userInfo.firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userInfo.lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userInfo.phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.monitorName", "options": ["monitor-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Monitoring resource"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of resource group. You can configure the default group using az configure --defaults group=."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID."}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.identity", "options": ["identity"], "group": "Resource", "help": {"short": "The managed service identities assigned to this resource. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags. Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Monitors_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "liftrResourceCategory", "enum": {"items": [{"value": "MonitorLogs"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "integer32", "name": "liftrResourcePreference"}, {"readOnly": true, "type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionStatus", "enum": {"items": [{"value": "Active"}, {"value": "Suspended"}]}}, {"type": "string", "name": "monitoringStatus", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "newRelicAccountProperties", "props": [{"type": "object", "name": "accountInfo", "props": [{"type": "string", "name": "accountId"}, {"type": "password", "name": "ingestionKey", "secret": true}, {"type": "string", "name": "region"}]}, {"type": "object", "name": "organizationInfo", "props": [{"type": "string", "name": "organizationId"}]}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Existing"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}, {"type": "string", "name": "userId"}]}, {"type": "string", "name": "orgCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"type": "object", "name": "planData", "props": [{"type": "string", "name": "billingCycle", "enum": {"items": [{"value": "MONTHLY"}, {"value": "WEEKLY"}, {"value": "YEARLY"}]}}, {"type": "dateTime", "name": "effectiveDate"}, {"type": "string", "name": "planDetails"}, {"type": "string", "name": "usageType", "enum": {"items": [{"value": "COMMITTED"}, {"value": "PAYG"}]}}]}, {"type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "saaSAzureSubscriptionStatus"}, {"type": "string", "name": "subscriptionState"}, {"type": "object", "name": "userInfo", "props": [{"type": "string", "name": "country"}, {"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "format": {"maxLength": 50}}, {"type": "string", "name": "lastName", "format": {"maxLength": 50}}, {"type": "string", "name": "phoneNumber", "format": {"maxLength": 40}}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "NewRelicMonitorResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$resource.identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Monitors_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@NewRelicMonitorResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml index 9b2d0d251..4ffddf5af 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml @@ -418,6 +418,7 @@ +