Merge remote-tracking branch 'upstream/main' into feature-amgpe

This commit is contained in:
Jeremy Angel 2024-08-14 16:58:56 -04:00
Родитель 2180f90731 ae05baa2c5
Коммит 13175fe263
14 изменённых файлов: 1953 добавлений и 17 удалений

Просмотреть файл

@ -0,0 +1,16 @@
# [Command] _grafana create_
Create a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.
## Versions
### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{} 2023-09-01 -->
#### examples
- create Azure Managed Grafana resource with Standard Sku and public network access enabled
```bash
grafana create --resource-group myResourceGroup --workspace-name myWorkspace --sku-tier Standard --public-network-access Enabled
```

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _grafana delete_
Delete a workspace for Grafana resource.
## Versions
### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{} 2023-09-01 -->

10
Commands/grafana/_list.md Normal file
Просмотреть файл

@ -0,0 +1,10 @@
# [Command] _grafana list_
List all resources of workspaces for Grafana under the specified subscription.
## Versions
### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.dashboard/grafana 2023-09-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana 2023-09-01 -->

Просмотреть файл

@ -0,0 +1,9 @@
# [Command] _grafana show_
Get the properties of a specific workspace for Grafana resource.
## Versions
### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{} 2023-09-01 -->

Просмотреть файл

@ -0,0 +1,21 @@
# [Command] _grafana update_
Update a workspace for Grafana resource.
## Versions
### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml) **Stable**
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{} 2023-09-01 -->
#### examples
- disable the public network access
```bash
grafana update -g MyResourceGroup -n MyGrafana --public-network-access disabled
```
- enable mail notification through SMTP relay sevice of mailgun
```bash
grafana update -g MyResourceGroup -n MyGrafana --smtp enabled --from-address johndoe@outlook.com --from-name john --host "smtp.mailgun.org:587" --user "postmaster@sandbox12345.mailgun.org" --password "password" --start-tls-policy OpportunisticStartTLS --skip-verify true
```

Просмотреть файл

@ -1,8 +1,6 @@
# [Group] _grafana_
Commands to manage Azure Grafana instances
For optimized experience, not all data plane APIs, documented at https://grafana.com/docs/grafana/latest/http_api/, are exposed. On coverage gap, please reach out to ad4g@microsoft.com
Commands to manage Azure Managed Grafana resources.
## Subgroups
@ -10,4 +8,20 @@ For optimized experience, not all data plane APIs, documented at https://grafana
: Commands to manage managed private endpoints.
- [private-endpoint-connection](/Commands/grafana/private-endpoint-connection/readme.md)
: Commands to manage private endpoint connections.
## Commands
- [create](/Commands/grafana/_create.md)
: Create a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.
- [delete](/Commands/grafana/_delete.md)
: Delete a workspace for Grafana resource.
- [list](/Commands/grafana/_list.md)
: List all resources of workspaces for Grafana under the specified subscription.
- [show](/Commands/grafana/_show.md)
: Get the properties of a specific workspace for Grafana resource.
- [update](/Commands/grafana/_update.md)
: Update a workspace for Grafana resource.

Просмотреть файл

@ -17,7 +17,7 @@ Update a load balancing rule.
- Update a load balancing rule to support HA ports.
```bash
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \ --protocol All --frontend-port 0 --backend-port 0
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0
```
### [2017-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2017-10-01.xml) **Stable**
@ -33,7 +33,7 @@ Update a load balancing rule.
- Update a load balancing rule to support HA ports.
```bash
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \ --protocol All --frontend-port 0 --backend-port 0
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0
```
### [2018-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2018-11-01.xml) **Stable**
@ -49,7 +49,7 @@ Update a load balancing rule.
- Update a load balancing rule to support HA ports.
```bash
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \ --protocol All --frontend-port 0 --backend-port 0
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0
```
### [2022-05-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2022-05-01.xml) **Stable**
@ -65,7 +65,7 @@ Update a load balancing rule.
- Update a load balancing rule to support HA ports.
```bash
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \ --protocol All --frontend-port 0 --backend-port 0
network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0
```
### [2023-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2023-04-01.xml) **Stable**

Просмотреть файл

@ -147,7 +147,7 @@
: Manage Fluid Relay
- [grafana](/Commands/grafana/readme.md)
: Commands to manage Azure Grafana instances
: Commands to manage Azure Managed Grafana resources.
- [graph-services](/Commands/graph-services/readme.md)
: Make operations on Microsoft.GraphServices resource types

Просмотреть файл

@ -47189,13 +47189,143 @@
"grafana",
"private-endpoint-connection"
]
},
"commands": {
"create": {
"help": {
"short": "Create a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana."
},
"names": [
"grafana",
"create"
],
"versions": [
{
"examples": [
{
"commands": [
"grafana create --resource-group myResourceGroup --workspace-name myWorkspace --sku-tier Standard --public-network-access Enabled"
],
"name": "create Azure Managed Grafana resource with Standard Sku and public network access enabled"
}
],
"name": "2023-09-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}",
"plane": "mgmt-plane",
"version": "2023-09-01"
}
]
}
]
},
"delete": {
"help": {
"short": "Delete a workspace for Grafana resource."
},
"names": [
"grafana",
"delete"
],
"versions": [
{
"name": "2023-09-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}",
"plane": "mgmt-plane",
"version": "2023-09-01"
}
]
}
]
},
"list": {
"help": {
"short": "List all resources of workspaces for Grafana under the specified subscription."
},
"names": [
"grafana",
"list"
],
"versions": [
{
"name": "2023-09-01",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.dashboard/grafana",
"plane": "mgmt-plane",
"version": "2023-09-01"
},
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana",
"plane": "mgmt-plane",
"version": "2023-09-01"
}
]
}
]
},
"show": {
"help": {
"short": "Get the properties of a specific workspace for Grafana resource."
},
"names": [
"grafana",
"show"
],
"versions": [
{
"name": "2023-09-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}",
"plane": "mgmt-plane",
"version": "2023-09-01"
}
]
}
]
},
"update": {
"help": {
"short": "Update a workspace for Grafana resource."
},
"names": [
"grafana",
"update"
],
"versions": [
{
"examples": [
{
"commands": [
"grafana update -g MyResourceGroup -n MyGrafana --public-network-access disabled"
],
"name": "disable the public network access"
},
{
"commands": [
"grafana update -g MyResourceGroup -n MyGrafana --smtp enabled --from-address johndoe@outlook.com --from-name john --host \"smtp.mailgun.org:587\" --user \"postmaster@sandbox12345.mailgun.org\" --password \"password\" --start-tls-policy OpportunisticStartTLS --skip-verify true"
],
"name": "enable mail notification through SMTP relay sevice of mailgun"
}
],
"name": "2023-09-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}",
"plane": "mgmt-plane",
"version": "2023-09-01"
}
]
}
]
}
},
"help": {
"lines": [
"For optimized experience, not all data plane APIs, documented at https://grafana.com/docs/grafana/latest/http_api/, are exposed. On coverage gap, please reach out to ad4g@microsoft.com"
],
"short": "Commands to manage Azure Grafana instances"
"short": "Commands to manage Azure Managed Grafana resources."
},
"names": [
"grafana"
@ -97393,7 +97523,7 @@
},
{
"commands": [
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \\ --protocol All --frontend-port 0 --backend-port 0"
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0"
],
"name": "Update a load balancing rule to support HA ports."
}
@ -97418,7 +97548,7 @@
},
{
"commands": [
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \\ --protocol All --frontend-port 0 --backend-port 0"
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0"
],
"name": "Update a load balancing rule to support HA ports."
}
@ -97443,7 +97573,7 @@
},
{
"commands": [
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \\ --protocol All --frontend-port 0 --backend-port 0"
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0"
],
"name": "Update a load balancing rule to support HA ports."
}
@ -97468,7 +97598,7 @@
},
{
"commands": [
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule \\ --protocol All --frontend-port 0 --backend-port 0"
"network lb rule update -g MyResourceGroup --lb-name MyLb -n MyLbRule --protocol All --frontend-port 0 --backend-port 0"
],
"name": "Update a load balancing rule to support HA ports."
}

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,468 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.dashboard/grafana" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhc2hib2FyZC9ncmFmYW5h/V/MjAyMy0wOS0wMQ=="/>
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmE=/V/MjAyMy0wOS0wMQ=="/>
<commandGroup name="grafana">
<command name="list" version="2023-09-01">
<resource id="/subscriptions/{}/providers/microsoft.dashboard/grafana" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhc2hib2FyZC9ncmFmYW5h/V/MjAyMy0wOS0wMQ=="/>
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmE=/V/MjAyMy0wOS0wMQ=="/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription s" required="True" group="" idPart="subscription">
<help short=""/>
</arg>
</argGroup>
<condition var="$Condition_Grafana_ListByResourceGroup">
<operator type="and">
<operator type="hasValue" arg="$Path.resourceGroupName"/>
<operator type="hasValue" arg="$Path.subscriptionId"/>
</operator>
</condition>
<condition var="$Condition_Grafana_List">
<operator type="and">
<operator type="hasValue" arg="$Path.subscriptionId"/>
<operator type="not">
<operator type="hasValue" arg="$Path.resourceGroupName"/>
</operator>
</operator>
</condition>
<operation when="$Condition_Grafana_ListByResourceGroup" operationId="Grafana_ListByResourceGroup">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana">
<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="&quot;2023-09-01&quot;"/>
<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/Microsoft.Dashboard/grafana/{}"/>
</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="&quot;None&quot;"/>
<item value="&quot;SystemAssigned&quot;"/>
<item value="&quot;SystemAssigned,UserAssigned&quot;"/>
<item value="&quot;UserAssigned&quot;"/>
</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"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="string" name="apiKey">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop type="string" name="autoGeneratedDomainNameLabelScope">
<enum>
<item value="&quot;TenantReuse&quot;"/>
</enum>
</prop>
<prop type="string" name="deterministicOutboundIP">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="endpoint"/>
<prop type="object" name="enterpriseConfigurations">
<prop type="string" name="marketplaceAutoRenew">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop type="string" name="marketplacePlanId"/>
</prop>
<prop type="object" name="grafanaConfigurations">
<prop type="object" name="smtp">
<prop type="boolean" name="enabled">
<default value="false"/>
</prop>
<prop type="string" name="fromAddress"/>
<prop type="string" name="fromName"/>
<prop type="string" name="host"/>
<prop type="string" name="password" secret="True"/>
<prop type="boolean" name="skipVerify"/>
<prop type="string" name="startTLSPolicy">
<enum>
<item value="&quot;MandatoryStartTLS&quot;"/>
<item value="&quot;NoStartTLS&quot;"/>
<item value="&quot;OpportunisticStartTLS&quot;"/>
</enum>
</prop>
<prop type="string" name="user"/>
</prop>
</prop>
<prop type="object" name="grafanaIntegrations">
<prop type="array<object>" name="azureMonitorWorkspaceIntegrations">
<item type="object">
<prop type="string" name="azureMonitorWorkspaceResourceId"/>
</item>
</prop>
</prop>
<prop type="string" name="grafanaMajorVersion"/>
<prop type="object" name="grafanaPlugins">
<additionalProp>
<item type="object">
<prop readOnly="True" type="string" name="pluginId"/>
</item>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="grafanaVersion"/>
<prop readOnly="True" type="array<string>" name="outboundIPs">
<item type="string"/>
</prop>
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop readOnly="True" type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState" required="True">
<prop type="string" name="actionsRequired"/>
<prop type="string" name="description"/>
<prop type="string" name="status">
<enum>
<item value="&quot;Approved&quot;"/>
<item value="&quot;Pending&quot;"/>
<item value="&quot;Rejected&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData" cls="SystemData_read">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;NotSpecified&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Enabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop type="string" name="zoneRedundancy">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="sku">
<prop type="string" name="name" required="True"/>
</prop>
<prop readOnly="True" type="@SystemData_read" name="systemData"/>
<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_Grafana_List" operationId="Grafana_List">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana">
<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="&quot;2023-09-01&quot;"/>
<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/Microsoft.Dashboard/grafana/{}"/>
</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="&quot;None&quot;"/>
<item value="&quot;SystemAssigned&quot;"/>
<item value="&quot;SystemAssigned,UserAssigned&quot;"/>
<item value="&quot;UserAssigned&quot;"/>
</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"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties">
<prop type="string" name="apiKey">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop type="string" name="autoGeneratedDomainNameLabelScope">
<enum>
<item value="&quot;TenantReuse&quot;"/>
</enum>
</prop>
<prop type="string" name="deterministicOutboundIP">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop readOnly="True" type="string" name="endpoint"/>
<prop type="object" name="enterpriseConfigurations">
<prop type="string" name="marketplaceAutoRenew">
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop type="string" name="marketplacePlanId"/>
</prop>
<prop type="object" name="grafanaConfigurations">
<prop type="object" name="smtp">
<prop type="boolean" name="enabled">
<default value="false"/>
</prop>
<prop type="string" name="fromAddress"/>
<prop type="string" name="fromName"/>
<prop type="string" name="host"/>
<prop type="string" name="password" secret="True"/>
<prop type="boolean" name="skipVerify"/>
<prop type="string" name="startTLSPolicy">
<enum>
<item value="&quot;MandatoryStartTLS&quot;"/>
<item value="&quot;NoStartTLS&quot;"/>
<item value="&quot;OpportunisticStartTLS&quot;"/>
</enum>
</prop>
<prop type="string" name="user"/>
</prop>
</prop>
<prop type="object" name="grafanaIntegrations">
<prop type="array<object>" name="azureMonitorWorkspaceIntegrations">
<item type="object">
<prop type="string" name="azureMonitorWorkspaceResourceId"/>
</item>
</prop>
</prop>
<prop type="string" name="grafanaMajorVersion"/>
<prop type="object" name="grafanaPlugins">
<additionalProp>
<item type="object">
<prop readOnly="True" type="string" name="pluginId"/>
</item>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="grafanaVersion"/>
<prop readOnly="True" type="array<string>" name="outboundIPs">
<item type="string"/>
</prop>
<prop readOnly="True" type="array<object>" name="privateEndpointConnections">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="array<string>" name="groupIds">
<item type="string"/>
</prop>
<prop type="object" name="privateEndpoint">
<prop readOnly="True" type="string" name="id"/>
</prop>
<prop type="object" name="privateLinkServiceConnectionState" required="True">
<prop type="string" name="actionsRequired"/>
<prop type="string" name="description"/>
<prop type="string" name="status">
<enum>
<item value="&quot;Approved&quot;"/>
<item value="&quot;Pending&quot;"/>
<item value="&quot;Rejected&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;Succeeded&quot;"/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="@SystemData_read" name="systemData"/>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value="&quot;Accepted&quot;"/>
<item value="&quot;Canceled&quot;"/>
<item value="&quot;Creating&quot;"/>
<item value="&quot;Deleted&quot;"/>
<item value="&quot;Deleting&quot;"/>
<item value="&quot;Failed&quot;"/>
<item value="&quot;NotSpecified&quot;"/>
<item value="&quot;Succeeded&quot;"/>
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="string" name="publicNetworkAccess">
<default value="&quot;Enabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
<prop type="string" name="zoneRedundancy">
<default value="&quot;Disabled&quot;"/>
<enum>
<item value="&quot;Disabled&quot;"/>
<item value="&quot;Enabled&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="sku">
<prop type="string" name="name" required="True"/>
</prop>
<prop readOnly="True" type="@SystemData_read" name="systemData"/>
<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 @@
Reference [/subscriptions/{}/providers/microsoft.dashboard/grafana 2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.xml)

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Разница между файлами не показана из-за своего большого размера Загрузить разницу