зеркало из https://github.com/Azure/aaz.git
Release New-Relic CLI for stable version 2024-01-01
This commit is contained in:
Родитель
c93cd22123
Коммит
d297a300b0
|
@ -14,3 +14,14 @@ List all the existing accounts
|
|||
```bash
|
||||
new-relic account list --location eastus2euap --user-email UserEmail@123.com
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvYWNjb3VudHM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/providers/newrelic.observability/accounts 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List all the existing accounts.
|
||||
```bash
|
||||
new-relic account list --location eastus2euap --user-email UserEmail@123.com
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Create a NewRelicMonitorResource
|
|||
```bash
|
||||
new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create a NewRelicMonitorResource.
|
||||
```bash
|
||||
new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Delete a NewRelicMonitorResource
|
|||
```bash
|
||||
new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Delete a NewRelicMonitorResource.
|
||||
```bash
|
||||
new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com
|
||||
```
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor get-billing-info_
|
||||
|
||||
Get marketplace info mapped to the given monitor.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0YmlsbGluZ2luZm8=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get marketplace info mapped to the given monitor.
|
||||
```bash
|
||||
new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
|
||||
```
|
|
@ -14,3 +14,14 @@ Get metric rules
|
|||
```bash
|
||||
new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljcnVsZXM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get metric rules.
|
||||
```bash
|
||||
new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Get metric status
|
|||
```bash
|
||||
new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vZ2V0bWV0cmljc3RhdHVz/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get metric status.
|
||||
```bash
|
||||
new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ List the app service resources currently being monitored by the NewRelic resourc
|
|||
```bash
|
||||
new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGFwcHNlcnZpY2Vz/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the app service resources currently being monitored by the NewRelic resource.
|
||||
```bash
|
||||
new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds
|
||||
```
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor list-connected-partner-resource_
|
||||
|
||||
List of all active deployments that are associated with the marketplace subscription linked to the given monitor.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGNvbm5lY3RlZHBhcnRuZXJyZXNvdXJjZXM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List of all active deployments that are associated with the marketplace subscription linked to the given monitor.
|
||||
```bash
|
||||
new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --body UserEmail@123.com
|
||||
```
|
|
@ -14,3 +14,14 @@ List the compute vm resources currently being monitored by the NewRelic resource
|
|||
```bash
|
||||
new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGhvc3Rz/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the compute vm resources currently being monitored by the NewRelic resource.
|
||||
```bash
|
||||
new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds
|
||||
```
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor list-linked-resource_
|
||||
|
||||
List all Azure resources associated to the same NewRelic organization and account as the target resource.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbGlzdGxpbmtlZHJlc291cmNlcw==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List all Azure resources associated to the same NewRelic organization and account as the target resource.
|
||||
```bash
|
||||
new-relic monitor list-linked-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
|
||||
```
|
|
@ -15,3 +15,15 @@ List NewRelicMonitorResource resources
|
|||
```bash
|
||||
new-relic monitor list
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/providers/newrelic.observability/monitors 2024-01-01 -->
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List NewRelicMonitorResource resources by subscription ID
|
||||
```bash
|
||||
new-relic monitor list
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ List the resources currently being monitored by the NewRelic monitor resource.
|
|||
```bash
|
||||
new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkcmVzb3VyY2Vz/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the resources currently being monitored by the NewRelic monitor resource.
|
||||
```bash
|
||||
new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Get a NewRelicMonitorResource
|
|||
```bash
|
||||
new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get a NewRelicMonitorResource.
|
||||
```bash
|
||||
new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
|
||||
```
|
||||
|
|
|
@ -7,3 +7,14 @@ Switches the billing for NewRelic monitor resource.
|
|||
### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2022-07-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling 2022-07-01 -->
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vc3dpdGNoYmlsbGluZw==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Switches the billing for NewRelic monitor resource.
|
||||
```bash
|
||||
new-relic monitor switch-billing --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --azure-resource-id resourceId --organization-id organizationId --user-email="UserEmail@123.com" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG"
|
||||
```
|
||||
|
|
|
@ -7,3 +7,14 @@ Update a NewRelicMonitorResource
|
|||
### [2022-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2022-07-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2022-07-01 -->
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Update a NewRelicMonitorResource
|
||||
```bash
|
||||
new-relic monitor update --resource-group MyResourceGroup --name MyNewRelicMonitor --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Returns the payload that needs to be passed in the request body for installing N
|
|||
```bash
|
||||
monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdm1ob3N0cGF5bG9hZHM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get MonitorsVmHostPayload.
|
||||
```bash
|
||||
monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup
|
||||
```
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor monitored-subscription create_
|
||||
|
||||
Create the subscriptions that should be monitored by the NewRelic monitor resource.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create the subscriptions that should be monitored by the NewRelic monitor resource.
|
||||
```bash
|
||||
new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{"subscription-id":"subscription-id", "status":"Active","error":"error","tag-rules":"log-rules=[{"send-aad-logs"="Enabled","send-subscription-logs"="Enabled","send-activity-logs"="Enabled",filtering-tags=[]}]","metric-rules"=[{"user-email"="UserEmail@123.com",filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]}]
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor monitored-subscription delete_
|
||||
|
||||
Delete the subscriptions that are being monitored by the NewRelic monitor resource
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Delete the subscriptions that are being monitored by the NewRelic monitor resource
|
||||
```bash
|
||||
new-relic monitor monitored-subscription delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor monitored-subscription list_
|
||||
|
||||
List the subscriptions currently being monitored by the NewRelic monitor resource.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucw==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the subscriptions currently being monitored by the NewRelic monitor resource.
|
||||
```bash
|
||||
new-relic monitor monitored-subscription list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor monitored-subscription show_
|
||||
|
||||
Get the subscriptions currently being monitored by the NewRelic monitor resource.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the subscriptions currently being monitored by the NewRelic monitor resource.
|
||||
```bash
|
||||
new-relic monitor monitored-subscription show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _new-relic monitor monitored-subscription update_
|
||||
|
||||
Update the subscriptions that should be monitored by the NewRelic monitor resource.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vbW9uaXRvcmVkc3Vic2NyaXB0aW9ucy97fQ==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Update the subscriptions that should be monitored by the NewRelic monitor resource.
|
||||
```bash
|
||||
new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{"subscription-id":"subscription-id", "status":"Active","error":"error","tag-rules":"log-rules=[{"send-aad-logs"="Enabled","send-subscription-logs"="Enabled","send-activity-logs"="Enabled",filtering-tags=[]}]","metric-rules"=[{"user-email"="UserEmail@123.com",filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]}]
|
||||
```
|
|
@ -0,0 +1,20 @@
|
|||
# [Group] _new-relic monitor monitored-subscription_
|
||||
|
||||
Manage list of subscriptions and the state of the monitoring.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/new-relic/monitor/monitored-subscription/_create.md)
|
||||
: Create the subscriptions that should be monitored by the NewRelic monitor resource.
|
||||
|
||||
- [delete](/Commands/new-relic/monitor/monitored-subscription/_delete.md)
|
||||
: Delete the subscriptions that are being monitored by the NewRelic monitor resource
|
||||
|
||||
- [list](/Commands/new-relic/monitor/monitored-subscription/_list.md)
|
||||
: List the subscriptions currently being monitored by the NewRelic monitor resource.
|
||||
|
||||
- [show](/Commands/new-relic/monitor/monitored-subscription/_show.md)
|
||||
: Get the subscriptions currently being monitored by the NewRelic monitor resource.
|
||||
|
||||
- [update](/Commands/new-relic/monitor/monitored-subscription/_update.md)
|
||||
: Update the subscriptions that should be monitored by the NewRelic monitor resource.
|
|
@ -4,6 +4,9 @@ Manage NewRelic Monitor resource
|
|||
|
||||
## Subgroups
|
||||
|
||||
- [monitored-subscription](/Commands/new-relic/monitor/monitored-subscription/readme.md)
|
||||
: Manage list of subscriptions and the state of the monitoring.
|
||||
|
||||
- [tag-rule](/Commands/new-relic/monitor/tag-rule/readme.md)
|
||||
: Manage tag rule of a NewRelic Monitor resource
|
||||
|
||||
|
@ -15,6 +18,9 @@ Manage NewRelic Monitor resource
|
|||
- [delete](/Commands/new-relic/monitor/_delete.md)
|
||||
: Delete a NewRelicMonitorResource
|
||||
|
||||
- [get-billing-info](/Commands/new-relic/monitor/_get-billing-info.md)
|
||||
: Get marketplace info mapped to the given monitor.
|
||||
|
||||
- [get-metric-rule](/Commands/new-relic/monitor/_get-metric-rule.md)
|
||||
: Get metric rules
|
||||
|
||||
|
@ -27,9 +33,15 @@ Manage NewRelic Monitor resource
|
|||
- [list-app-service](/Commands/new-relic/monitor/_list-app-service.md)
|
||||
: List the app service resources currently being monitored by the NewRelic resource.
|
||||
|
||||
- [list-connected-partner-resource](/Commands/new-relic/monitor/_list-connected-partner-resource.md)
|
||||
: List of all active deployments that are associated with the marketplace subscription linked to the given monitor.
|
||||
|
||||
- [list-host](/Commands/new-relic/monitor/_list-host.md)
|
||||
: List the compute vm resources currently being monitored by the NewRelic resource.
|
||||
|
||||
- [list-linked-resource](/Commands/new-relic/monitor/_list-linked-resource.md)
|
||||
: List all Azure resources associated to the same NewRelic organization and account as the target resource.
|
||||
|
||||
- [monitored-resource](/Commands/new-relic/monitor/_monitored-resource.md)
|
||||
: List the resources currently being monitored by the NewRelic monitor resource.
|
||||
|
||||
|
|
|
@ -14,3 +14,14 @@ Create a TagRule
|
|||
```bash
|
||||
new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Enabled" filtering-tags=[] --metric-rules user-email="UserEmail@123.com" filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create a TagRule.
|
||||
```bash
|
||||
new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Enabled" filtering-tags=[] --metric-rules user-email="UserEmail@123.com" filtering-tags=[{"name":"Environment","value":"Prod","action":"Include"}]
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Delete a TagRule
|
|||
```bash
|
||||
new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Delete a TagRule.
|
||||
```bash
|
||||
new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ List TagRule resources by NewRelicMonitorResource
|
|||
```bash
|
||||
new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List TagRule resources by NewRelicMonitorResource.
|
||||
```bash
|
||||
new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Get a TagRule
|
|||
```bash
|
||||
new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get a TagRule.
|
||||
```bash
|
||||
new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ Update a TagRule
|
|||
```bash
|
||||
new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Disabled" filtering-tags=[]
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnMve30vdGFncnVsZXMve30=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{} 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Update a TagRule
|
||||
```bash
|
||||
new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs="Enabled" send-subscription-logs="Enabled" send-activity-logs="Disabled" filtering-tags=[]
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ List all the existing organizations
|
|||
```bash
|
||||
new-relic organization list --location eastus2euap --user-email UserEmail@123.com
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvb3JnYW5pemF0aW9ucw==/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/providers/newrelic.observability/organizations 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List all the existing organizations.
|
||||
```bash
|
||||
new-relic organization list --location eastus2euap --user-email UserEmail@123.com
|
||||
```
|
||||
|
|
|
@ -14,3 +14,14 @@ List plans data
|
|||
```bash
|
||||
new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId
|
||||
```
|
||||
|
||||
### [2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvcGxhbnM=/2024-01-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/providers/newrelic.observability/plans 2024-01-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List plans data.
|
||||
```bash
|
||||
new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId
|
||||
```
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# [Group] _security_
|
||||
|
||||
Manage your security posture with Microsoft Defender for Cloud.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [api-collection](/Commands/security/api-collection/readme.md)
|
||||
: Discover, manage, and view security insights for API collections.
|
||||
|
||||
- [contact](/Commands/security/contact/readme.md)
|
||||
: View your security contacts.
|
||||
|
||||
- [security-connector](/Commands/security/security-connector/readme.md)
|
||||
: Manage cloud security posture management (CSPM) and cloud workload protection (CWP) across multicloud resources.
|
||||
|
||||
- [setting](/Commands/security/setting/readme.md)
|
||||
: View your security settings.
|
||||
# [Group] _security_
|
||||
|
||||
Manage your security posture with Microsoft Defender for Cloud.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [api-collection](/Commands/security/api-collection/readme.md)
|
||||
: Discover, manage, and view security insights for API collections.
|
||||
|
||||
- [contact](/Commands/security/contact/readme.md)
|
||||
: View your security contacts.
|
||||
|
||||
- [security-connector](/Commands/security/security-connector/readme.md)
|
||||
: Manage cloud security posture management (CSPM) and cloud workload protection (CWP) across multicloud resources.
|
||||
|
||||
- [setting](/Commands/security/setting/readme.md)
|
||||
: View your security settings.
|
||||
|
|
|
@ -175016,6 +175016,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic account list --location eastus2euap --user-email UserEmail@123.com"
|
||||
],
|
||||
"name": "List all the existing accounts."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/providers/newrelic.observability/accounts",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -175030,6 +175048,173 @@
|
|||
},
|
||||
"monitor": {
|
||||
"commandGroups": {
|
||||
"monitored-subscription": {
|
||||
"commands": {
|
||||
"create": {
|
||||
"help": {
|
||||
"short": "Create the subscriptions that should be monitored by the NewRelic monitor resource."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"monitored-subscription",
|
||||
"create"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{\"subscription-id\":\"subscription-id\", \"status\":\"Active\",\"error\":\"error\",\"tag-rules\":\"log-rules=[{\"send-aad-logs\"=\"Enabled\",\"send-subscription-logs\"=\"Enabled\",\"send-activity-logs\"=\"Enabled\",filtering-tags=[]}]\",\"metric-rules\"=[{\"user-email\"=\"UserEmail@123.com\",filtering-tags=[{\"name\":\"Environment\",\"value\":\"Prod\",\"action\":\"Include\"}]}]"
|
||||
],
|
||||
"name": "Create the subscriptions that should be monitored by the NewRelic monitor resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"help": {
|
||||
"short": "Delete the subscriptions that are being monitored by the NewRelic monitor resource"
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"monitored-subscription",
|
||||
"delete"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor monitored-subscription delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default"
|
||||
],
|
||||
"name": "Delete the subscriptions that are being monitored by the NewRelic monitor resource"
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List the subscriptions currently being monitored by the NewRelic monitor resource."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"monitored-subscription",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor monitored-subscription list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor"
|
||||
],
|
||||
"name": "List the subscriptions currently being monitored by the NewRelic monitor resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"show": {
|
||||
"help": {
|
||||
"short": "Get the subscriptions currently being monitored by the NewRelic monitor resource."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"monitored-subscription",
|
||||
"show"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor monitored-subscription show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default"
|
||||
],
|
||||
"name": "List the subscriptions currently being monitored by the NewRelic monitor resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"help": {
|
||||
"short": "Update the subscriptions that should be monitored by the NewRelic monitor resource."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"monitored-subscription",
|
||||
"update"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation Active --monitored-subscription-list=[{\"subscription-id\":\"subscription-id\", \"status\":\"Active\",\"error\":\"error\",\"tag-rules\":\"log-rules=[{\"send-aad-logs\"=\"Enabled\",\"send-subscription-logs\"=\"Enabled\",\"send-activity-logs\"=\"Enabled\",filtering-tags=[]}]\",\"metric-rules\"=[{\"user-email\"=\"UserEmail@123.com\",filtering-tags=[{\"name\":\"Environment\",\"value\":\"Prod\",\"action\":\"Include\"}]}]"
|
||||
],
|
||||
"name": "Update the subscriptions that should be monitored by the NewRelic monitor resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage list of subscriptions and the state of the monitoring."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"monitored-subscription"
|
||||
]
|
||||
},
|
||||
"tag-rule": {
|
||||
"commands": {
|
||||
"create": {
|
||||
|
@ -175060,6 +175245,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs=\"Enabled\" send-subscription-logs=\"Enabled\" send-activity-logs=\"Enabled\" filtering-tags=[] --metric-rules user-email=\"UserEmail@123.com\" filtering-tags=[{\"name\":\"Environment\",\"value\":\"Prod\",\"action\":\"Include\"}]"
|
||||
],
|
||||
"name": "Create a TagRule."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175091,6 +175294,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor tag-rule delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default"
|
||||
],
|
||||
"name": "Delete a TagRule."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175122,6 +175343,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor tag-rule list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor"
|
||||
],
|
||||
"name": "List TagRule resources by NewRelicMonitorResource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175153,6 +175392,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor tag-rule show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default"
|
||||
],
|
||||
"name": "Get a TagRule."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175184,6 +175441,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules send-aad-logs=\"Enabled\" send-subscription-logs=\"Enabled\" send-activity-logs=\"Disabled\" filtering-tags=[]"
|
||||
],
|
||||
"name": "Update a TagRule"
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -175226,6 +175501,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name=\"vdftzcggiref\" last-name=\"bcsztgqovdlmzf\" email-address=\"UserEmail@123.com\" phone-number=\"123456\" --plan-data billing-cycle=\"MONTHLY\" effective-date='2022-10-25T15:14:33+02:00' plan-details=\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\" usage-type=\"PAYG\" --account-creation-source \"LIFTR\" --org-creation-source \"LIFTR\" --tags key6976=oaxfhf"
|
||||
],
|
||||
"name": "Create a NewRelicMonitorResource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175256,6 +175549,54 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor delete --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com"
|
||||
],
|
||||
"name": "Delete a NewRelicMonitorResource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"get-billing-info": {
|
||||
"help": {
|
||||
"short": "Get marketplace info mapped to the given monitor."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"get-billing-info"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor get-billing-info --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup"
|
||||
],
|
||||
"name": "Get marketplace info mapped to the given monitor."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175286,6 +175627,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor get-metric-rule --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --user-email UserEmail@123.com"
|
||||
],
|
||||
"name": "Get metric rules."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175316,6 +175675,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor get-metric-statu --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds"
|
||||
],
|
||||
"name": "Get metric status."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175351,6 +175728,29 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor list"
|
||||
],
|
||||
"name": "List NewRelicMonitorResource resources by subscription ID"
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/providers/newrelic.observability/monitors",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
},
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175381,6 +175781,54 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor list-app-service --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --azure-resource-ids MyAzureResourceIds"
|
||||
],
|
||||
"name": "List the app service resources currently being monitored by the NewRelic resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list-connected-partner-resource": {
|
||||
"help": {
|
||||
"short": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"list-connected-partner-resource"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --body UserEmail@123.com"
|
||||
],
|
||||
"name": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175411,6 +175859,54 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor list-host --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --user-email UserEmail@123.com --vm-ids MyVmIds"
|
||||
],
|
||||
"name": "List the compute vm resources currently being monitored by the NewRelic resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list-linked-resource": {
|
||||
"help": {
|
||||
"short": "List all Azure resources associated to the same NewRelic organization and account as the target resource."
|
||||
},
|
||||
"names": [
|
||||
"new-relic",
|
||||
"monitor",
|
||||
"list-linked-resource"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor list-linked-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup"
|
||||
],
|
||||
"name": "List all Azure resources associated to the same NewRelic organization and account as the target resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175441,6 +175937,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor monitored-resource --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup"
|
||||
],
|
||||
"name": "List the resources currently being monitored by the NewRelic monitor resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175471,6 +175985,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor show --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor"
|
||||
],
|
||||
"name": "Get a NewRelicMonitorResource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175493,6 +176025,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor switch-billing --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --azure-resource-id resourceId --organization-id organizationId --user-email=\"UserEmail@123.com\" --plan-data billing-cycle=\"MONTHLY\" effective-date='2022-10-25T15:14:33+02:00' plan-details=\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\" usage-type=\"PAYG\""
|
||||
],
|
||||
"name": "Switches the billing for NewRelic monitor resource."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175515,6 +176065,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic monitor update --resource-group MyResourceGroup --name MyNewRelicMonitor --user-info first-name=\"vdftzcggiref\" last-name=\"bcsztgqovdlmzf\" email-address=\"UserEmail@123.com\" phone-number=\"123456\" --plan-data billing-cycle=\"MONTHLY\" effective-date='2022-10-25T15:14:33+02:00' plan-details=\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\" usage-type=\"PAYG\" --account-creation-source \"LIFTR\" --org-creation-source \"LIFTR\" --tags key6976=oaxfhf"
|
||||
],
|
||||
"name": "Update a NewRelicMonitorResource"
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -175545,6 +176113,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"monitor vm-host-payload --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup"
|
||||
],
|
||||
"name": "Get MonitorsVmHostPayload."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -175586,6 +176172,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic organization list --location eastus2euap --user-email UserEmail@123.com"
|
||||
],
|
||||
"name": "List all the existing organizations."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/providers/newrelic.observability/organizations",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -175627,6 +176231,24 @@
|
|||
"version": "2022-07-01"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"examples": [
|
||||
{
|
||||
"commands": [
|
||||
"new-relic plan list --account-id MyAccountId --organization-id MyOrganizationId"
|
||||
],
|
||||
"name": "List plans data."
|
||||
}
|
||||
],
|
||||
"name": "2024-01-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/providers/newrelic.observability/plans",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2024-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/accounts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9hY2NvdW50cw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic account", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/accounts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9hY2NvdW50cw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"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.location", "options": ["location"], "required": true, "group": "", "help": {"short": "Location of NewRelic account."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"operationId": "Accounts_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "location", "arg": "$Query.location", "required": true}, {"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], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "accountId"}, {"type": "string", "name": "accountName"}, {"type": "string", "name": "organizationId"}, {"type": "string", "name": "region"}], "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"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,91 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/accounts" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9hY2NvdW50cw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic account">
|
||||
<command name="list" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/accounts" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9hY2NvdW50cw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Query.location" options="location" required="True" group="">
|
||||
<help short="Location of NewRelic account."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Query.userEmail" options="user-email" required="True">
|
||||
<help short="User Email."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Accounts_List">
|
||||
<http path="/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<param type="string" name="location" arg="$Query.location" required="True"/>
|
||||
<param type="string" name="userEmail" arg="$Query.userEmail" required="True"/>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="string" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="string" name="accountId"/>
|
||||
<prop type="string" name="accountName"/>
|
||||
<prop type="string" name="organizationId"/>
|
||||
<prop type="string" name="region"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/organizations", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9vcmdhbml6YXRpb25z/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic organization", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/organizations", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9vcmdhbml6YXRpb25z/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"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.location", "options": ["location"], "required": true, "group": "", "help": {"short": "Location of NewRelic organization."}}, {"type": "string", "var": "$Query.userEmail", "options": ["user-email"], "required": true, "help": {"short": "User Email."}}]}], "operations": [{"operationId": "Organizations_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "location", "arg": "$Query.location", "required": true}, {"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], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "billingSource", "enum": {"items": [{"value": "AZURE"}, {"value": "NEWRELIC"}]}}, {"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName"}], "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"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/organizations" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9vcmdhbml6YXRpb25z/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic organization">
|
||||
<command name="list" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/organizations" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9vcmdhbml6YXRpb25z/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Query.location" options="location" required="True" group="">
|
||||
<help short="Location of NewRelic organization."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Query.userEmail" options="user-email" required="True">
|
||||
<help short="User Email."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Organizations_List">
|
||||
<http path="/subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<param type="string" name="location" arg="$Query.location" required="True"/>
|
||||
<param type="string" name="userEmail" arg="$Query.userEmail" required="True"/>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="string" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="string" name="billingSource">
|
||||
<enum>
|
||||
<item value=""AZURE""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="organizationId"/>
|
||||
<prop type="string" name="organizationName"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,451 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/monitors" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9tb25pdG9ycw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3Jz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="list" version="2024-01-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/monitors" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9tb25pdG9ycw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3Jz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group" group="" idPart="resource_group">
|
||||
<help short="Name of resource group. You can configure the default group using az configure --defaults group=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<condition var="$Condition_Monitors_ListByResourceGroup">
|
||||
<operator type="and">
|
||||
<operator type="hasValue" arg="$Path.resourceGroupName"/>
|
||||
<operator type="hasValue" arg="$Path.subscriptionId"/>
|
||||
</operator>
|
||||
</condition>
|
||||
<condition var="$Condition_Monitors_ListBySubscription">
|
||||
<operator type="and">
|
||||
<operator type="hasValue" arg="$Path.subscriptionId"/>
|
||||
<operator type="not">
|
||||
<operator type="hasValue" arg="$Path.resourceGroupName"/>
|
||||
</operator>
|
||||
</operator>
|
||||
</condition>
|
||||
<operation when="$Condition_Monitors_ListByResourceGroup" operationId="Monitors_ListByResourceGroup">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"/>
|
||||
</prop>
|
||||
<prop type="IdentityObject" name="identity">
|
||||
<prop readOnly="True" type="uuid" name="principalId"/>
|
||||
<prop readOnly="True" type="uuid" name="tenantId"/>
|
||||
<prop type="string" name="type" required="True">
|
||||
<enum>
|
||||
<item value=""None""/>
|
||||
<item value=""SystemAssigned""/>
|
||||
<item value=""SystemAssigned, UserAssigned""/>
|
||||
<item value=""UserAssigned""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="userAssignedIdentities">
|
||||
<additionalProp>
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="uuid" name="clientId"/>
|
||||
<prop readOnly="True" type="uuid" name="principalId"/>
|
||||
</item>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="string" name="accountCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="liftrResourceCategory">
|
||||
<enum>
|
||||
<item value=""MonitorLogs""/>
|
||||
<item value=""Unknown""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="integer32" name="liftrResourcePreference"/>
|
||||
<prop readOnly="True" type="string" name="marketplaceSubscriptionId"/>
|
||||
<prop type="string" name="marketplaceSubscriptionStatus">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Suspended""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="monitoringStatus">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="newRelicAccountProperties">
|
||||
<prop type="object" name="accountInfo">
|
||||
<prop type="string" name="accountId"/>
|
||||
<prop type="password" name="ingestionKey" secret="True"/>
|
||||
<prop type="string" name="region"/>
|
||||
</prop>
|
||||
<prop type="object" name="organizationInfo">
|
||||
<prop type="string" name="organizationId"/>
|
||||
</prop>
|
||||
<prop type="object" name="singleSignOnProperties">
|
||||
<prop type="string" name="enterpriseAppId"/>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="singleSignOnState">
|
||||
<enum>
|
||||
<item value=""Disable""/>
|
||||
<item value=""Enable""/>
|
||||
<item value=""Existing""/>
|
||||
<item value=""Initial""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="singleSignOnUrl"/>
|
||||
</prop>
|
||||
<prop type="string" name="userId"/>
|
||||
</prop>
|
||||
<prop type="string" name="orgCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="planData">
|
||||
<prop type="string" name="billingCycle">
|
||||
<enum>
|
||||
<item value=""MONTHLY""/>
|
||||
<item value=""WEEKLY""/>
|
||||
<item value=""YEARLY""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="effectiveDate"/>
|
||||
<prop type="string" name="planDetails"/>
|
||||
<prop type="string" name="usageType">
|
||||
<enum>
|
||||
<item value=""COMMITTED""/>
|
||||
<item value=""PAYG""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="saaSAzureSubscriptionStatus"/>
|
||||
<prop type="string" name="subscriptionState"/>
|
||||
<prop type="object" name="userInfo">
|
||||
<prop type="string" name="country"/>
|
||||
<prop type="string" name="emailAddress">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
<prop type="string" name="firstName">
|
||||
<format maxLength="50"/>
|
||||
</prop>
|
||||
<prop type="string" name="lastName">
|
||||
<format maxLength="50"/>
|
||||
</prop>
|
||||
<prop type="string" name="phoneNumber">
|
||||
<format maxLength="40"/>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation when="$Condition_Monitors_ListBySubscription" operationId="Monitors_ListBySubscription">
|
||||
<http path="/subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"/>
|
||||
</prop>
|
||||
<prop type="IdentityObject" name="identity">
|
||||
<prop readOnly="True" type="uuid" name="principalId"/>
|
||||
<prop readOnly="True" type="uuid" name="tenantId"/>
|
||||
<prop type="string" name="type" required="True">
|
||||
<enum>
|
||||
<item value=""None""/>
|
||||
<item value=""SystemAssigned""/>
|
||||
<item value=""SystemAssigned, UserAssigned""/>
|
||||
<item value=""UserAssigned""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="userAssignedIdentities">
|
||||
<additionalProp>
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="uuid" name="clientId"/>
|
||||
<prop readOnly="True" type="uuid" name="principalId"/>
|
||||
</item>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="string" name="accountCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="liftrResourceCategory">
|
||||
<enum>
|
||||
<item value=""MonitorLogs""/>
|
||||
<item value=""Unknown""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="integer32" name="liftrResourcePreference"/>
|
||||
<prop readOnly="True" type="string" name="marketplaceSubscriptionId"/>
|
||||
<prop type="string" name="marketplaceSubscriptionStatus">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Suspended""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="monitoringStatus">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="newRelicAccountProperties">
|
||||
<prop type="object" name="accountInfo">
|
||||
<prop type="string" name="accountId"/>
|
||||
<prop type="password" name="ingestionKey" secret="True"/>
|
||||
<prop type="string" name="region"/>
|
||||
</prop>
|
||||
<prop type="object" name="organizationInfo">
|
||||
<prop type="string" name="organizationId"/>
|
||||
</prop>
|
||||
<prop type="object" name="singleSignOnProperties">
|
||||
<prop type="string" name="enterpriseAppId"/>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="singleSignOnState">
|
||||
<enum>
|
||||
<item value=""Disable""/>
|
||||
<item value=""Enable""/>
|
||||
<item value=""Existing""/>
|
||||
<item value=""Initial""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="singleSignOnUrl"/>
|
||||
</prop>
|
||||
<prop type="string" name="userId"/>
|
||||
</prop>
|
||||
<prop type="string" name="orgCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="planData">
|
||||
<prop type="string" name="billingCycle">
|
||||
<enum>
|
||||
<item value=""MONTHLY""/>
|
||||
<item value=""WEEKLY""/>
|
||||
<item value=""YEARLY""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="effectiveDate"/>
|
||||
<prop type="string" name="planDetails"/>
|
||||
<prop type="string" name="usageType">
|
||||
<enum>
|
||||
<item value=""COMMITTED""/>
|
||||
<item value=""PAYG""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="saaSAzureSubscriptionStatus"/>
|
||||
<prop type="string" name="subscriptionState"/>
|
||||
<prop type="object" name="userInfo">
|
||||
<prop type="string" name="country"/>
|
||||
<prop type="string" name="emailAddress">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
<prop type="string" name="firstName">
|
||||
<format maxLength="50"/>
|
||||
</prop>
|
||||
<prop type="string" name="lastName">
|
||||
<format maxLength="50"/>
|
||||
</prop>
|
||||
<prop type="string" name="phoneNumber">
|
||||
<format maxLength="40"/>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/plans", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9wbGFucw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic plan", "commands": [{"name": "list", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/providers/newrelic.observability/plans", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9wbGFucw==/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"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.accountId", "options": ["account-id"], "help": {"short": "Account Id."}}, {"type": "string", "var": "$Query.organizationId", "options": ["organization-id"], "help": {"short": "Organization Id."}}]}], "operations": [{"operationId": "Plans_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "accountId", "arg": "$Query.accountId"}, {"type": "string", "name": "organizationId", "arg": "$Query.organizationId"}], "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": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "accountCreationSource", "enum": {"items": [{"value": "LIFTR"}, {"value": "NEWRELIC"}]}}, {"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"}]}}]}], "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"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,116 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/plans" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9wbGFucw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic plan">
|
||||
<command name="list" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/providers/newrelic.observability/plans" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTmV3UmVsaWMuT2JzZXJ2YWJpbGl0eS9wbGFucw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Query.accountId" options="account-id">
|
||||
<help short="Account Id."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Query.organizationId" options="organization-id">
|
||||
<help short="Organization Id."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Plans_List">
|
||||
<http path="/subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<param type="string" name="accountId" arg="$Query.accountId"/>
|
||||
<param type="string" name="organizationId" arg="$Query.organizationId"/>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="string" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="string" name="accountCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="orgCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="planData">
|
||||
<prop type="string" name="billingCycle">
|
||||
<enum>
|
||||
<item value=""MONTHLY""/>
|
||||
<item value=""WEEKLY""/>
|
||||
<item value=""YEARLY""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="effectiveDate"/>
|
||||
<prop type="string" name="planDetails"/>
|
||||
<prop type="string" name="usageType">
|
||||
<enum>
|
||||
<item value=""COMMITTED""/>
|
||||
<item value=""PAYG""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
Reference [/subscriptions/{}/providers/newrelic.observability/monitors 2024-01-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL25ld3JlbGljLm9ic2VydmFiaWxpdHkvbW9uaXRvcnM=/2024-01-01.xml)
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0QmlsbGluZ0luZm8=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "get-billing-info", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0QmlsbGluZ0luZm8=/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"}, "format": {"pattern": "^.*$"}}, {"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=<name>."}}, {"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": "BillingInfo_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"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": [{"type": "object", "name": "marketplaceSaasInfo", "props": [{"type": "string", "name": "billedAzureSubscriptionId"}, {"type": "string", "name": "marketplaceResourceId"}, {"type": "string", "name": "marketplaceStatus"}, {"type": "string", "name": "marketplaceSubscriptionId"}, {"type": "string", "name": "marketplaceSubscriptionName"}]}, {"type": "object", "name": "partnerBillingEntity", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName"}]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
|
|
@ -0,0 +1,71 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0QmlsbGluZ0luZm8=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="get-billing-info" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0QmlsbGluZ0luZm8=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="BillingInfo_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="object" name="marketplaceSaasInfo">
|
||||
<prop type="string" name="billedAzureSubscriptionId"/>
|
||||
<prop type="string" name="marketplaceResourceId"/>
|
||||
<prop type="string" name="marketplaceStatus"/>
|
||||
<prop type="string" name="marketplaceSubscriptionId"/>
|
||||
<prop type="string" name="marketplaceSubscriptionName"/>
|
||||
</prop>
|
||||
<prop type="object" name="partnerBillingEntity">
|
||||
<prop type="string" name="organizationId"/>
|
||||
<prop type="string" name="organizationName"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljU3RhdHVz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "get-metric-statu", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljU3RhdHVz/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=<name>."}}, {"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": "Request", "args": [{"type": "array<string>", "var": "$request.azureResourceIds", "options": ["azure-resource-ids"], "group": "Request", "help": {"short": "Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "item": {"type": "string"}}, {"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_GetMetricStatus", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricStatus", "request": {"method": "post", "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": "request", "required": true, "props": [{"type": "array<string>", "name": "azureResourceIds", "arg": "$request.azureResourceIds", "item": {"type": "string"}}, {"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array<string>", "name": "azureResourceIds", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,82 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljU3RhdHVz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="get-metric-statu" version="2024-01-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljU3RhdHVz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Request">
|
||||
<arg type="array<string>" var="$request.azureResourceIds" options="azure-resource-ids" group="Request">
|
||||
<help short="Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try "??" to show more."/>
|
||||
<item type="string"/>
|
||||
</arg>
|
||||
<arg type="string" var="$request.userEmail" options="user-email" required="True" group="Request">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_GetMetricStatus">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricStatus">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="request" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="azureResourceIds" arg="$request.azureResourceIds">
|
||||
<item type="string"/>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail" arg="$request.userEmail" required="True">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="array<string>" name="azureResourceIds">
|
||||
<item type="string"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljUnVsZXM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "get-metric-rule", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljUnVsZXM=/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=<name>."}}, {"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": "Request", "args": [{"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_GetMetricRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricRules", "request": {"method": "post", "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": "request", "required": true, "props": [{"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "array<object>", "name": "filteringTags", "item": {"type": "object", "props": [{"type": "string", "name": "action", "enum": {"items": [{"value": "Exclude"}, {"value": "Include"}]}}, {"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}}, {"type": "string", "name": "sendMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "userEmail", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
|
|
@ -0,0 +1,93 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljUnVsZXM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="get-metric-rule" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vZ2V0TWV0cmljUnVsZXM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Request">
|
||||
<arg type="string" var="$request.userEmail" options="user-email" required="True" group="Request">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_GetMetricRules">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricRules">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="request" required="True" clientFlatten="True">
|
||||
<prop type="string" name="userEmail" arg="$request.userEmail" required="True">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEFwcFNlcnZpY2Vz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-app-service", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEFwcFNlcnZpY2Vz/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=<name>."}}, {"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": "Request", "args": [{"type": "array<string>", "var": "$request.azureResourceIds", "options": ["azure-resource-ids"], "group": "Request", "help": {"short": "Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "item": {"type": "string"}}, {"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "Monitors_ListAppServices", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listAppServices", "request": {"method": "post", "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": "request", "required": true, "props": [{"type": "array<string>", "name": "azureResourceIds", "arg": "$request.azureResourceIds", "item": {"type": "string"}}, {"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "agentStatus"}, {"type": "string", "name": "agentVersion"}, {"type": "string", "name": "azureResourceId"}]}, "identifiers": ["azureResourceId"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,87 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEFwcFNlcnZpY2Vz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="list-app-service" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEFwcFNlcnZpY2Vz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Request">
|
||||
<arg type="array<string>" var="$request.azureResourceIds" options="azure-resource-ids" group="Request">
|
||||
<help short="Azure resource IDs Support shorthand-syntax, json-file and yaml-file. Try "??" to show more."/>
|
||||
<item type="string"/>
|
||||
</arg>
|
||||
<arg type="string" var="$request.userEmail" options="user-email" required="True" group="Request">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_ListAppServices">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listAppServices">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="request" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="azureResourceIds" arg="$request.azureResourceIds">
|
||||
<item type="string"/>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail" arg="$request.userEmail" required="True">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True" identifiers="azureResourceId">
|
||||
<item type="object">
|
||||
<prop type="string" name="agentStatus"/>
|
||||
<prop type="string" name="agentVersion"/>
|
||||
<prop type="string" name="azureResourceId"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdENvbm5lY3RlZFBhcnRuZXJSZXNvdXJjZXM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-connected-partner-resource", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdENvbm5lY3RlZFBhcnRuZXJSZXNvdXJjZXM=/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"}, "format": {"pattern": "^.*$"}}, {"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=<name>."}}, {"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": "$body", "options": ["body"], "help": {"short": "Reusable representation of an email address"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}]}], "operations": [{"operationId": "ConnectedPartnerResources_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"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": "string", "name": "body", "arg": "$body", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "accountId"}, {"type": "string", "name": "accountName"}, {"type": "string", "name": "azureResourceId"}, {"type": "string", "name": "location"}]}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,82 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdENvbm5lY3RlZFBhcnRuZXJSZXNvdXJjZXM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="list-connected-partner-resource" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdENvbm5lY3RlZFBhcnRuZXJSZXNvdXJjZXM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
<arg type="string" var="$body" options="body">
|
||||
<help short="Reusable representation of an email address"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="ConnectedPartnerResources_List">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="string" name="body" arg="$body">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value">
|
||||
<item type="object">
|
||||
<prop type="object" name="properties">
|
||||
<prop type="string" name="accountId"/>
|
||||
<prop type="string" name="accountName"/>
|
||||
<prop type="string" name="azureResourceId"/>
|
||||
<prop type="string" name="location"/>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEhvc3Rz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-host", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEhvc3Rz/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=<name>."}}, {"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": "Request", "args": [{"type": "string", "var": "$request.userEmail", "options": ["user-email"], "required": true, "group": "Request", "help": {"short": "User Email"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "array<string>", "var": "$request.vmIds", "options": ["vm-ids"], "group": "Request", "help": {"short": "VM resource IDs Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more."}, "item": {"type": "string"}}]}], "operations": [{"operationId": "Monitors_ListHosts", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listHosts", "request": {"method": "post", "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": "request", "required": true, "props": [{"type": "string", "name": "userEmail", "arg": "$request.userEmail", "required": true, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "array<string>", "name": "vmIds", "arg": "$request.vmIds", "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "agentStatus"}, {"type": "string", "name": "agentVersion"}, {"type": "string", "name": "vmId"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,87 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEhvc3Rz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="list-host" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdEhvc3Rz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Request">
|
||||
<arg type="string" var="$request.userEmail" options="user-email" required="True" group="Request">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
<arg type="array<string>" var="$request.vmIds" options="vm-ids" group="Request">
|
||||
<help short="VM resource IDs Support shorthand-syntax, json-file and yaml-file. Try "??" to show more."/>
|
||||
<item type="string"/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_ListHosts">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listHosts">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="request" required="True" clientFlatten="True">
|
||||
<prop type="string" name="userEmail" arg="$request.userEmail" required="True">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
<prop type="array<string>" name="vmIds" arg="$request.vmIds">
|
||||
<item type="string"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop type="string" name="agentStatus"/>
|
||||
<prop type="string" name="agentVersion"/>
|
||||
<prop type="string" name="vmId"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdExpbmtlZFJlc291cmNlcw==/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "list-linked-resource", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdExpbmtlZFJlc291cmNlcw==/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"}, "format": {"pattern": "^.*$"}}, {"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=<name>."}}, {"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_ListLinkedResources", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listLinkedResources", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "monitorName", "arg": "$Path.monitorName", "required": true, "format": {"pattern": "^.*$"}}, {"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": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,66 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdExpbmtlZFJlc291cmNlcw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="list-linked-resource" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbGlzdExpbmtlZFJlc291cmNlcw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_ListLinkedResources">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listLinkedResources">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value">
|
||||
<item type="object">
|
||||
<prop type="string" name="id"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,160 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor monitored-subscription">
|
||||
<command name="list" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="MonitoredSubscriptions_List">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties">
|
||||
<prop type="array<object>" name="monitoredSubscriptionList">
|
||||
<item type="object">
|
||||
<prop type="string" name="error"/>
|
||||
<prop type="string" name="status">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""InProgress""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="subscriptionId"/>
|
||||
<prop type="object" name="tagRules">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,959 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor monitored-subscription">
|
||||
<command name="show" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.configurationName" options="configuration-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="The configuration name. Only 'default' value is supported."/>
|
||||
<default value=""default""/>
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item name="default" value=""default""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="MonitoredSubscriptions_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="configurationName" arg="$Path.configurationName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item value=""default""/>
|
||||
</enum>
|
||||
</param>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties">
|
||||
<prop type="array<object>" name="monitoredSubscriptionList">
|
||||
<item type="object">
|
||||
<prop type="string" name="error"/>
|
||||
<prop type="string" name="status">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""InProgress""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="subscriptionId"/>
|
||||
<prop type="object" name="tagRules">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2024-01-01" confirmation="Are you sure you want to perform this operation?">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.configurationName" options="configuration-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="The configuration name. Only 'default' value is supported."/>
|
||||
<default value=""default""/>
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item name="default" value=""default""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="MonitoredSubscriptions_Delete">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="configurationName" arg="$Path.configurationName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item value=""default""/>
|
||||
</enum>
|
||||
</param>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="202">
|
||||
<header>
|
||||
<item name="Location"/>
|
||||
</header>
|
||||
</response>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.configurationName" options="configuration-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="The configuration name. Only 'default' value is supported."/>
|
||||
<default value=""default""/>
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item name="default" value=""default""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Properties">
|
||||
<arg type="array<object>" var="$body.properties.monitoredSubscriptionList" options="monitored-subscription-list" group="Properties">
|
||||
<help short="List of subscriptions and the state of the monitoring."/>
|
||||
<item type="object">
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].error" options="error">
|
||||
<help short="The reason of not monitoring the subscription."/>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].status" options="status">
|
||||
<help short="The state of monitoring."/>
|
||||
<enum>
|
||||
<item name="Active" value=""Active""/>
|
||||
<item name="Deleting" value=""Deleting""/>
|
||||
<item name="Failed" value=""Failed""/>
|
||||
<item name="InProgress" value=""InProgress""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].subscriptionId" options="subscription-id">
|
||||
<help short="The subscriptionId to be monitored."/>
|
||||
</arg>
|
||||
<arg type="object" var="$body.properties.monitoredSubscriptionList[].tagRules" options="tag-rules">
|
||||
<help short="The resource-specific properties for this resource."/>
|
||||
<arg type="object" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules" options="log-rules">
|
||||
<help short="Set of rules for sending logs for the Monitor resource."/>
|
||||
<arg type="array<object>" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags" options="filtering-tags">
|
||||
<help short="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. If 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."/>
|
||||
<item type="object" cls="FilteringTag_create">
|
||||
<arg type="string" var="@FilteringTag_create.action" options="action">
|
||||
<help short="Valid actions for a filtering tag. Exclusion takes priority over inclusion."/>
|
||||
<enum>
|
||||
<item name="Exclude" value=""Exclude""/>
|
||||
<item name="Include" value=""Include""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="@FilteringTag_create.name" options="name">
|
||||
<help short="The name (also known as the key) of the tag."/>
|
||||
</arg>
|
||||
<arg type="string" var="@FilteringTag_create.value" options="value">
|
||||
<help short="The value of the tag."/>
|
||||
</arg>
|
||||
</item>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs" options="send-aad-logs">
|
||||
<help short="Flag specifying if AAD logs should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs" options="send-activity-logs">
|
||||
<help short="Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs" options="send-subscription-logs">
|
||||
<help short="Flag specifying if subscription logs should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</arg>
|
||||
<arg type="object" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules" options="metric-rules">
|
||||
<help short="Set of rules for sending metrics for the Monitor resource."/>
|
||||
<arg type="array<@FilteringTag_create>" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags" options="filtering-tags">
|
||||
<help short="List of filtering tags to be used for capturing metrics."/>
|
||||
<item type="@FilteringTag_create"/>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics" options="send-metrics">
|
||||
<help short="Flag specifying if metrics should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail" options="user-email">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</arg>
|
||||
</arg>
|
||||
</item>
|
||||
</arg>
|
||||
<arg type="string" var="$body.properties.patchOperation" options="patch-operation" group="Properties">
|
||||
<help short="The operation for the patch on the resource."/>
|
||||
<enum>
|
||||
<item name="Active" value=""Active""/>
|
||||
<item name="AddBegin" value=""AddBegin""/>
|
||||
<item name="AddComplete" value=""AddComplete""/>
|
||||
<item name="DeleteBegin" value=""DeleteBegin""/>
|
||||
<item name="DeleteComplete" value=""DeleteComplete""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="MonitoredSubscriptions_CreateorUpdate">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="configurationName" arg="$Path.configurationName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item value=""default""/>
|
||||
</enum>
|
||||
</param>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="body" clientFlatten="True">
|
||||
<prop type="object" name="properties">
|
||||
<prop type="array<object>" name="monitoredSubscriptionList" arg="$body.properties.monitoredSubscriptionList">
|
||||
<item type="object">
|
||||
<prop type="string" name="error" arg="$body.properties.monitoredSubscriptionList[].error"/>
|
||||
<prop type="string" name="status" arg="$body.properties.monitoredSubscriptionList[].status">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""InProgress""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="subscriptionId" arg="$body.properties.monitoredSubscriptionList[].subscriptionId"/>
|
||||
<prop type="object" name="tagRules" arg="$body.properties.monitoredSubscriptionList[].tagRules">
|
||||
<prop type="object" name="logRules" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules">
|
||||
<prop type="array<object>" name="filteringTags" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags">
|
||||
<item type="object" cls="FilteringTag_create">
|
||||
<prop type="string" name="action" arg="@FilteringTag_create.action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name" arg="@FilteringTag_create.name"/>
|
||||
<prop type="string" name="value" arg="@FilteringTag_create.value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules">
|
||||
<prop type="array<@FilteringTag_create>" name="filteringTags" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags">
|
||||
<item type="@FilteringTag_create"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="patchOperation" arg="$body.properties.patchOperation">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""AddBegin""/>
|
||||
<item value=""AddComplete""/>
|
||||
<item value=""DeleteBegin""/>
|
||||
<item value=""DeleteComplete""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200 201">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties">
|
||||
<prop type="array<object>" name="monitoredSubscriptionList">
|
||||
<item type="object">
|
||||
<prop type="string" name="error"/>
|
||||
<prop type="string" name="status">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""InProgress""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="subscriptionId"/>
|
||||
<prop type="object" name="tagRules">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkU3Vic2NyaXB0aW9ucy97Y29uZmlndXJhdGlvbk5hbWV9/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.configurationName" options="configuration-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="The configuration name. Only 'default' value is supported."/>
|
||||
<default value=""default""/>
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item name="default" value=""default""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
<format pattern="^.*$"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Properties">
|
||||
<arg nullable="True" type="array<object>" var="$body.properties.monitoredSubscriptionList" options="monitored-subscription-list" group="Properties">
|
||||
<help short="List of subscriptions and the state of the monitoring."/>
|
||||
<item nullable="True" type="object">
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].error" options="error">
|
||||
<help short="The reason of not monitoring the subscription."/>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].status" options="status">
|
||||
<help short="The state of monitoring."/>
|
||||
<enum>
|
||||
<item name="Active" value=""Active""/>
|
||||
<item name="Deleting" value=""Deleting""/>
|
||||
<item name="Failed" value=""Failed""/>
|
||||
<item name="InProgress" value=""InProgress""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].subscriptionId" options="subscription-id">
|
||||
<help short="The subscriptionId to be monitored."/>
|
||||
</arg>
|
||||
<arg nullable="True" type="object" var="$body.properties.monitoredSubscriptionList[].tagRules" options="tag-rules">
|
||||
<help short="The resource-specific properties for this resource."/>
|
||||
<arg nullable="True" type="object" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules" options="log-rules">
|
||||
<help short="Set of rules for sending logs for the Monitor resource."/>
|
||||
<arg nullable="True" type="array<object>" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags" options="filtering-tags">
|
||||
<help short="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. If 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."/>
|
||||
<item nullable="True" type="object" cls="FilteringTag_update">
|
||||
<arg nullable="True" type="string" var="@FilteringTag_update.action" options="action">
|
||||
<help short="Valid actions for a filtering tag. Exclusion takes priority over inclusion."/>
|
||||
<enum>
|
||||
<item name="Exclude" value=""Exclude""/>
|
||||
<item name="Include" value=""Include""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="@FilteringTag_update.name" options="name">
|
||||
<help short="The name (also known as the key) of the tag."/>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="@FilteringTag_update.value" options="value">
|
||||
<help short="The value of the tag."/>
|
||||
</arg>
|
||||
</item>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs" options="send-aad-logs">
|
||||
<help short="Flag specifying if AAD logs should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs" options="send-activity-logs">
|
||||
<help short="Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs" options="send-subscription-logs">
|
||||
<help short="Flag specifying if subscription logs should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</arg>
|
||||
<arg nullable="True" type="object" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules" options="metric-rules">
|
||||
<help short="Set of rules for sending metrics for the Monitor resource."/>
|
||||
<arg nullable="True" type="array<@FilteringTag_update>" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags" options="filtering-tags">
|
||||
<help short="List of filtering tags to be used for capturing metrics."/>
|
||||
<item nullable="True" type="@FilteringTag_update"/>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics" options="send-metrics">
|
||||
<help short="Flag specifying if metrics should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail" options="user-email">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</arg>
|
||||
</arg>
|
||||
</item>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$body.properties.patchOperation" options="patch-operation" group="Properties">
|
||||
<help short="The operation for the patch on the resource."/>
|
||||
<enum>
|
||||
<item name="Active" value=""Active""/>
|
||||
<item name="AddBegin" value=""AddBegin""/>
|
||||
<item name="AddComplete" value=""AddComplete""/>
|
||||
<item name="DeleteBegin" value=""DeleteBegin""/>
|
||||
<item name="DeleteComplete" value=""DeleteComplete""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="MonitoredSubscriptions_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="configurationName" arg="$Path.configurationName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item value=""default""/>
|
||||
</enum>
|
||||
</param>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="MonitoredSubscriptionProperties_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/monitoredSubscriptions/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties">
|
||||
<prop type="array<object>" name="monitoredSubscriptionList">
|
||||
<item type="object">
|
||||
<prop type="string" name="error"/>
|
||||
<prop type="string" name="status">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""InProgress""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="subscriptionId"/>
|
||||
<prop type="object" name="tagRules">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="body" clientFlatten="True">
|
||||
<prop type="object" name="properties">
|
||||
<prop type="array<object>" name="monitoredSubscriptionList" arg="$body.properties.monitoredSubscriptionList">
|
||||
<item type="object">
|
||||
<prop type="string" name="error" arg="$body.properties.monitoredSubscriptionList[].error"/>
|
||||
<prop type="string" name="status" arg="$body.properties.monitoredSubscriptionList[].status">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""InProgress""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="subscriptionId" arg="$body.properties.monitoredSubscriptionList[].subscriptionId"/>
|
||||
<prop type="object" name="tagRules" arg="$body.properties.monitoredSubscriptionList[].tagRules">
|
||||
<prop type="object" name="logRules" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules">
|
||||
<prop type="array<object>" name="filteringTags" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags">
|
||||
<item type="object" cls="FilteringTag_update">
|
||||
<prop type="string" name="action" arg="@FilteringTag_update.action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name" arg="@FilteringTag_update.name"/>
|
||||
<prop type="string" name="value" arg="@FilteringTag_update.value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs" arg="$body.properties.monitoredSubscriptionList[].tagRules.logRules.sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules">
|
||||
<prop type="array<@FilteringTag_update>" name="filteringTags" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags">
|
||||
<item type="@FilteringTag_update"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail" arg="$body.properties.monitoredSubscriptionList[].tagRules.metricRules.userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="patchOperation" arg="$body.properties.patchOperation">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""AddBegin""/>
|
||||
<item value=""AddComplete""/>
|
||||
<item value=""DeleteBegin""/>
|
||||
<item value=""DeleteComplete""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="MonitoredSubscriptions_CreateorUpdate">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="configurationName" arg="$Path.configurationName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
<enum>
|
||||
<item value=""default""/>
|
||||
</enum>
|
||||
</param>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True">
|
||||
<format pattern="^.*$"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200 201">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@MonitoredSubscriptionProperties_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkUmVzb3VyY2Vz/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "monitored-resource", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkUmVzb3VyY2Vz/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=<name>."}}, {"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_ListMonitoredResources", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredResources", "request": {"method": "post", "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": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id"}, {"type": "string", "name": "reasonForLogsStatus"}, {"type": "string", "name": "reasonForMetricsStatus"}, {"type": "string", "name": "sendingLogs", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "sendingMetrics", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
|
|
@ -0,0 +1,77 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkUmVzb3VyY2Vz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="monitored-resource" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vbW9uaXRvcmVkUmVzb3VyY2Vz/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_ListMonitoredResources">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredResources">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop type="string" name="id"/>
|
||||
<prop type="string" name="reasonForLogsStatus"/>
|
||||
<prop type="string" name="reasonForMetricsStatus"/>
|
||||
<prop type="string" name="sendingLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendingMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,297 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vc3dpdGNoQmlsbGluZw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="switch-billing" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vc3dpdGNoQmlsbGluZw==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Request">
|
||||
<arg type="string" var="$request.azureResourceId" options="azure-resource-id" group="Request">
|
||||
<help short="Azure resource Id"/>
|
||||
</arg>
|
||||
<arg type="string" var="$request.organizationId" options="organization-id" group="Request">
|
||||
<help short="Organization id"/>
|
||||
</arg>
|
||||
<arg type="object" var="$request.planData" options="plan-data" group="Request">
|
||||
<help short="Plan details Support shorthand-syntax, json-file and yaml-file. Try "??" to show more."/>
|
||||
<arg type="string" var="$request.planData.billingCycle" options="billing-cycle">
|
||||
<help short="Different billing cycles like MONTHLY/WEEKLY. this could be enum"/>
|
||||
<enum>
|
||||
<item name="MONTHLY" value=""MONTHLY""/>
|
||||
<item name="WEEKLY" value=""WEEKLY""/>
|
||||
<item name="YEARLY" value=""YEARLY""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="dateTime" var="$request.planData.effectiveDate" options="effective-date">
|
||||
<help short="date when plan was applied"/>
|
||||
</arg>
|
||||
<arg type="string" var="$request.planData.planDetails" options="plan-details">
|
||||
<help short="plan id as published by NewRelic"/>
|
||||
</arg>
|
||||
<arg type="string" var="$request.planData.usageType" options="usage-type">
|
||||
<help short="Different usage type like PAYG/COMMITTED. this could be enum"/>
|
||||
<enum>
|
||||
<item name="COMMITTED" value=""COMMITTED""/>
|
||||
<item name="PAYG" value=""PAYG""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</arg>
|
||||
<arg type="string" var="$request.userEmail" options="user-email" required="True" group="Request">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_SwitchBilling">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/switchBilling">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="request" required="True" clientFlatten="True">
|
||||
<prop type="string" name="azureResourceId" arg="$request.azureResourceId"/>
|
||||
<prop type="string" name="organizationId" arg="$request.organizationId"/>
|
||||
<prop type="object" name="planData" arg="$request.planData">
|
||||
<prop type="string" name="billingCycle" arg="$request.planData.billingCycle">
|
||||
<enum>
|
||||
<item value=""MONTHLY""/>
|
||||
<item value=""WEEKLY""/>
|
||||
<item value=""YEARLY""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="effectiveDate" arg="$request.planData.effectiveDate"/>
|
||||
<prop type="string" name="planDetails" arg="$request.planData.planDetails"/>
|
||||
<prop type="string" name="usageType" arg="$request.planData.usageType">
|
||||
<enum>
|
||||
<item value=""COMMITTED""/>
|
||||
<item value=""PAYG""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail" arg="$request.userEmail" required="True">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}"/>
|
||||
</prop>
|
||||
<prop type="IdentityObject" name="identity">
|
||||
<prop readOnly="True" type="uuid" name="principalId"/>
|
||||
<prop readOnly="True" type="uuid" name="tenantId"/>
|
||||
<prop type="string" name="type" required="True">
|
||||
<enum>
|
||||
<item value=""None""/>
|
||||
<item value=""SystemAssigned""/>
|
||||
<item value=""SystemAssigned, UserAssigned""/>
|
||||
<item value=""UserAssigned""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="userAssignedIdentities">
|
||||
<additionalProp>
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="uuid" name="clientId"/>
|
||||
<prop readOnly="True" type="uuid" name="principalId"/>
|
||||
</item>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="string" name="accountCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="liftrResourceCategory">
|
||||
<enum>
|
||||
<item value=""MonitorLogs""/>
|
||||
<item value=""Unknown""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="integer32" name="liftrResourcePreference"/>
|
||||
<prop readOnly="True" type="string" name="marketplaceSubscriptionId"/>
|
||||
<prop type="string" name="marketplaceSubscriptionStatus">
|
||||
<enum>
|
||||
<item value=""Active""/>
|
||||
<item value=""Suspended""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="monitoringStatus">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="newRelicAccountProperties">
|
||||
<prop type="object" name="accountInfo">
|
||||
<prop type="string" name="accountId"/>
|
||||
<prop type="password" name="ingestionKey" secret="True"/>
|
||||
<prop type="string" name="region"/>
|
||||
</prop>
|
||||
<prop type="object" name="organizationInfo">
|
||||
<prop type="string" name="organizationId"/>
|
||||
</prop>
|
||||
<prop type="object" name="singleSignOnProperties">
|
||||
<prop type="string" name="enterpriseAppId"/>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="singleSignOnState">
|
||||
<enum>
|
||||
<item value=""Disable""/>
|
||||
<item value=""Enable""/>
|
||||
<item value=""Existing""/>
|
||||
<item value=""Initial""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="singleSignOnUrl"/>
|
||||
</prop>
|
||||
<prop type="string" name="userId"/>
|
||||
</prop>
|
||||
<prop type="string" name="orgCreationSource">
|
||||
<enum>
|
||||
<item value=""LIFTR""/>
|
||||
<item value=""NEWRELIC""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="object" name="planData">
|
||||
<prop type="string" name="billingCycle">
|
||||
<enum>
|
||||
<item value=""MONTHLY""/>
|
||||
<item value=""WEEKLY""/>
|
||||
<item value=""YEARLY""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="effectiveDate"/>
|
||||
<prop type="string" name="planDetails"/>
|
||||
<prop type="string" name="usageType">
|
||||
<enum>
|
||||
<item value=""COMMITTED""/>
|
||||
<item value=""PAYG""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="saaSAzureSubscriptionStatus"/>
|
||||
<prop type="string" name="subscriptionState"/>
|
||||
<prop type="object" name="userInfo">
|
||||
<prop type="string" name="country"/>
|
||||
<prop type="string" name="emailAddress">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
<prop type="string" name="firstName">
|
||||
<format maxLength="50"/>
|
||||
</prop>
|
||||
<prop type="string" name="lastName">
|
||||
<format maxLength="50"/>
|
||||
</prop>
|
||||
<prop type="string" name="phoneNumber">
|
||||
<format maxLength="40"/>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response statusCode="202">
|
||||
<header>
|
||||
<item name="Retry-After"/>
|
||||
</header>
|
||||
</response>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,150 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor tag-rule">
|
||||
<command name="list" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="TagRules_ListByNewRelicMonitorResource">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="nextLink"/>
|
||||
<prop type="array<object>" name="value" required="True">
|
||||
<item type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,657 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor tag-rule">
|
||||
<command name="show" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.ruleSetName" options="name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of the TagRule"/>
|
||||
<default value=""default""/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="TagRules_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="ruleSetName" arg="$Path.ruleSetName" required="True"/>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2024-01-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.ruleSetName" options="name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of the TagRule"/>
|
||||
<default value=""default""/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="TagRules_Delete">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="ruleSetName" arg="$Path.ruleSetName" required="True"/>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="202">
|
||||
<header>
|
||||
<item name="Retry-After"/>
|
||||
</header>
|
||||
</response>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.ruleSetName" options="name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of the TagRule"/>
|
||||
<default value=""default""/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Properties">
|
||||
<arg type="object" var="$resource.properties.logRules" options="log-rules" group="Properties">
|
||||
<help short="Set of rules for sending logs for the Monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more."/>
|
||||
<arg type="array<object>" var="$resource.properties.logRules.filteringTags" options="filtering-tags">
|
||||
<help short="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. If 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."/>
|
||||
<item type="object" cls="FilteringTag_create">
|
||||
<arg type="string" var="@FilteringTag_create.action" options="action">
|
||||
<help short="Valid actions for a filtering tag. Exclusion takes priority over inclusion."/>
|
||||
<enum>
|
||||
<item name="Exclude" value=""Exclude""/>
|
||||
<item name="Include" value=""Include""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="@FilteringTag_create.name" options="name">
|
||||
<help short="The name (also known as the key) of the tag."/>
|
||||
</arg>
|
||||
<arg type="string" var="@FilteringTag_create.value" options="value">
|
||||
<help short="The value of the tag."/>
|
||||
</arg>
|
||||
</item>
|
||||
</arg>
|
||||
<arg type="string" var="$resource.properties.logRules.sendAadLogs" options="send-aad-logs">
|
||||
<help short="Flag specifying if AAD logs should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$resource.properties.logRules.sendActivityLogs" options="send-activity-logs">
|
||||
<help short="Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$resource.properties.logRules.sendSubscriptionLogs" options="send-subscription-logs">
|
||||
<help short="Flag specifying if subscription logs should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</arg>
|
||||
<arg type="object" var="$resource.properties.metricRules" options="metric-rules" group="Properties">
|
||||
<help short="Set of rules for sending metrics for the Monitor resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more."/>
|
||||
<arg type="array<@FilteringTag_create>" var="$resource.properties.metricRules.filteringTags" options="filtering-tags">
|
||||
<help short="List of filtering tags to be used for capturing metrics."/>
|
||||
<item type="@FilteringTag_create"/>
|
||||
</arg>
|
||||
<arg type="string" var="$resource.properties.metricRules.sendMetrics" options="send-metrics">
|
||||
<help short="Flag specifying if metrics should be sent for the Monitor resource."/>
|
||||
<enum>
|
||||
<item name="Disabled" value=""Disabled""/>
|
||||
<item name="Enabled" value=""Enabled""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$resource.properties.metricRules.userEmail" options="user-email">
|
||||
<help short="User Email"/>
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</arg>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="TagRules_CreateOrUpdate">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="ruleSetName" arg="$Path.ruleSetName" required="True"/>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="resource" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="object" name="logRules" arg="$resource.properties.logRules">
|
||||
<prop type="array<object>" name="filteringTags" arg="$resource.properties.logRules.filteringTags">
|
||||
<item type="object" cls="FilteringTag_create">
|
||||
<prop type="string" name="action" arg="@FilteringTag_create.action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name" arg="@FilteringTag_create.name"/>
|
||||
<prop type="string" name="value" arg="@FilteringTag_create.value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs" arg="$resource.properties.logRules.sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs" arg="$resource.properties.logRules.sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs" arg="$resource.properties.logRules.sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules" arg="$resource.properties.metricRules">
|
||||
<prop type="array<@FilteringTag_create>" name="filteringTags" arg="$resource.properties.metricRules.filteringTags">
|
||||
<item type="@FilteringTag_create"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics" arg="$resource.properties.metricRules.sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail" arg="$resource.properties.metricRules.userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200 201">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdGFnUnVsZXMve3J1bGVTZXROYW1lfQ==/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.ruleSetName" options="name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of the TagRule"/>
|
||||
<default value=""default""/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="TagRules_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="ruleSetName" arg="$Path.ruleSetName" required="True"/>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="TagRule_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/NewRelic.Observability/monitors/{}/tagRules/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="object" name="logRules">
|
||||
<prop type="array<object>" name="filteringTags">
|
||||
<item type="object" cls="FilteringTag_read">
|
||||
<prop type="string" name="action">
|
||||
<enum>
|
||||
<item value=""Exclude""/>
|
||||
<item value=""Include""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="name"/>
|
||||
<prop type="string" name="value"/>
|
||||
</item>
|
||||
</prop>
|
||||
<prop type="string" name="sendAadLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendActivityLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="sendSubscriptionLogs">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="metricRules">
|
||||
<prop type="array<@FilteringTag_read>" name="filteringTags">
|
||||
<item type="@FilteringTag_read"/>
|
||||
</prop>
|
||||
<prop type="string" name="sendMetrics">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="userEmail">
|
||||
<format pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$"/>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Accepted""/>
|
||||
<item value=""Canceled""/>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""NotSpecified""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="object" name="systemData">
|
||||
<prop type="dateTime" name="createdAt"/>
|
||||
<prop type="string" name="createdBy"/>
|
||||
<prop type="string" name="createdByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="dateTime" name="lastModifiedAt"/>
|
||||
<prop type="string" name="lastModifiedBy"/>
|
||||
<prop type="string" name="lastModifiedByType">
|
||||
<enum>
|
||||
<item value=""Application""/>
|
||||
<item value=""Key""/>
|
||||
<item value=""ManagedIdentity""/>
|
||||
<item value=""User""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="resource" required="True" clientFlatten="True"/>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="TagRules_CreateOrUpdate">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="ruleSetName" arg="$Path.ruleSetName" required="True"/>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200 201">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@TagRule_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdm1Ib3N0UGF5bG9hZHM=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "new-relic monitor", "commands": [{"name": "vm-host-payload", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", "version": "2024-01-01", "swagger": "mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdm1Ib3N0UGF5bG9hZHM=/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=<name>."}}, {"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_VmHostPayload", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/vmHostPayloads", "request": {"method": "post", "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": [{"type": "string", "name": "ingestionKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
|
|
@ -0,0 +1,58 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdm1Ib3N0UGF5bG9hZHM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<commandGroup name="new-relic monitor">
|
||||
<command name="vm-host-payload" version="2024-01-01">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads" version="2024-01-01" swagger="mgmt-plane/newrelic/ResourceProviders/NewRelic.Observability/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZXdSZWxpYy5PYnNlcnZhYmlsaXR5L21vbml0b3JzL3ttb25pdG9yTmFtZX0vdm1Ib3N0UGF5bG9hZHM=/V/MjAyNC0wMS0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.monitorName" options="monitor-name" required="True" group="" idPart="name">
|
||||
<help short="Name of the Monitoring resource"/>
|
||||
</arg>
|
||||
<arg 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=<name>."/>
|
||||
</arg>
|
||||
<arg 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."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Monitors_VmHostPayload">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/vmHostPayloads">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="monitorName" arg="$Path.monitorName" required="True"/>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format maxLength="90" minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
</path>
|
||||
<query>
|
||||
<const readOnly="True" const="True" type="string" name="api-version" required="True">
|
||||
<default value=""2024-01-01""/>
|
||||
<format minLength="1"/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="ingestionKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Загрузка…
Ссылка в новой задаче