зеркало из https://github.com/Azure/aaz.git
Merge remote-tracking branch 'upstream/main' into feature-amgpe
This commit is contained in:
Коммит
13175fe263
|
@ -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 -->
|
|
@ -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=""2023-09-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/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=""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"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties">
|
||||
<prop type="string" name="apiKey">
|
||||
<default value=""Disabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="autoGeneratedDomainNameLabelScope">
|
||||
<enum>
|
||||
<item value=""TenantReuse""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="deterministicOutboundIP">
|
||||
<default value=""Disabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="endpoint"/>
|
||||
<prop type="object" name="enterpriseConfigurations">
|
||||
<prop type="string" name="marketplaceAutoRenew">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</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=""MandatoryStartTLS""/>
|
||||
<item value=""NoStartTLS""/>
|
||||
<item value=""OpportunisticStartTLS""/>
|
||||
</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=""Approved""/>
|
||||
<item value=""Pending""/>
|
||||
<item value=""Rejected""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
</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=""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>
|
||||
<prop readOnly="True" 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="publicNetworkAccess">
|
||||
<default value=""Enabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="zoneRedundancy">
|
||||
<default value=""Disabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</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=""2023-09-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/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=""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"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties">
|
||||
<prop type="string" name="apiKey">
|
||||
<default value=""Disabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="autoGeneratedDomainNameLabelScope">
|
||||
<enum>
|
||||
<item value=""TenantReuse""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="deterministicOutboundIP">
|
||||
<default value=""Disabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="endpoint"/>
|
||||
<prop type="object" name="enterpriseConfigurations">
|
||||
<prop type="string" name="marketplaceAutoRenew">
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</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=""MandatoryStartTLS""/>
|
||||
<item value=""NoStartTLS""/>
|
||||
<item value=""OpportunisticStartTLS""/>
|
||||
</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=""Approved""/>
|
||||
<item value=""Pending""/>
|
||||
<item value=""Rejected""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Creating""/>
|
||||
<item value=""Deleting""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
</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=""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="publicNetworkAccess">
|
||||
<default value=""Enabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="zoneRedundancy">
|
||||
<default value=""Disabled""/>
|
||||
<enum>
|
||||
<item value=""Disabled""/>
|
||||
<item value=""Enabled""/>
|
||||
</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)
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче