diff --git a/Commands/grafana/_list-available-plugin.md b/Commands/grafana/_list-available-plugin.md new file mode 100644 index 000000000..c04b1a61e --- /dev/null +++ b/Commands/grafana/_list-available-plugin.md @@ -0,0 +1,9 @@ +# [Command] _grafana list-available-plugin_ + +list all the available plugins + +## Versions + +### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.xml) **Stable** + + diff --git a/Commands/grafana/readme.md b/Commands/grafana/readme.md index 2e4dc46a4..8e07f48a6 100644 --- a/Commands/grafana/readme.md +++ b/Commands/grafana/readme.md @@ -21,6 +21,9 @@ Commands to manage Azure Managed Grafana resources. - [list](/Commands/grafana/_list.md) : List all resources of workspaces for Grafana under the specified subscription. +- [list-available-plugin](/Commands/grafana/_list-available-plugin.md) +: list all the available plugins + - [show](/Commands/grafana/_show.md) : Get the properties of a specific workspace for Grafana resource. diff --git a/Commands/tree.json b/Commands/tree.json index 27641391e..de54d7ed6 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -49350,6 +49350,27 @@ } ] }, + "list-available-plugin": { + "help": { + "short": "list all the available plugins" + }, + "names": [ + "grafana", + "list-available-plugin" + ], + "versions": [ + { + "name": "2023-09-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins", + "plane": "mgmt-plane", + "version": "2023-09-01" + } + ] + } + ] + }, "show": { "help": { "short": "Get the properties of a specific workspace for Grafana resource." diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.json index 1500a3816..d69f0c5ae 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhc2hib2FyZC9ncmFmYW5h/V/MjAyMy0wOS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmE=/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana", "commands": [{"name": "list", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhc2hib2FyZC9ncmFmYW5h/V/MjAyMy0wOS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmE=/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": ""}}]}], "conditions": [{"var": "$Condition_Grafana_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Grafana_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Grafana_ListByResourceGroup"], "operationId": "Grafana_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana", "request": {"method": "get", "path": {"params": [{"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": "2023-09-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", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Grafana_List"], "operationId": "Grafana_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-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", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhc2hib2FyZC9ncmFmYW5h/V/MjAyMy0wOS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmE=/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana", "commands": [{"name": "list", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhc2hib2FyZC9ncmFmYW5h/V/MjAyMy0wOS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmE=/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Grafana_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Grafana_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Grafana_ListByResourceGroup"], "operationId": "Grafana_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana", "request": {"method": "get", "path": {"params": [{"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": "2023-09-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", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Grafana_List"], "operationId": "Grafana_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-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", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.xml index a6c05b1a5..342778fb7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.xml @@ -8,9 +8,7 @@ - - - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.json index 7c49ea9fc..e9f5834d7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana", "commands": [{"name": "show", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": ""}}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"operationId": "Grafana_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "get", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": ""}}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Grafana_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "delete", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": ""}}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}, {"type": "object", "var": "$requestBodyParameters.identity", "options": ["identity"], "group": "", "help": {"short": "The managed identity of the grafana resource."}, "args": [{"type": "string", "var": "$requestBodyParameters.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$requestBodyParameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$requestBodyParameters.location", "options": ["l", "location"], "group": "", "help": {"short": "The geo-location where the grafana resource lives"}}, {"type": "object", "var": "$requestBodyParameters.tags", "options": ["tags"], "group": "", "help": {"short": "The tags for grafana resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$requestBodyParameters.properties.apiKey", "options": ["api-key", "service-account"], "group": "Properties", "help": {"short": "The api key setting of the Grafana instance."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.autoGeneratedDomainNameLabelScope", "options": ["auto-generated-domain-name-label-scope"], "hide": true, "group": "Properties", "help": {"short": "Scope for dns deterministic name hash calculation."}, "enum": {"items": [{"name": "TenantReuse", "value": "TenantReuse"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.deterministicOutboundIP", "options": ["i", "deterministic-outbound-ip"], "group": "Properties", "help": {"short": "Whether a Grafana instance uses deterministic outbound IPs."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$requestBodyParameters.properties.enterpriseConfigurations", "options": ["enterprise-configurations"], "hide": true, "group": "Properties", "help": {"short": "Enterprise settings of a Grafana instance"}, "args": [{"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "options": ["marketplace-auto-renew"], "help": {"short": "The AutoRenew setting of the Enterprise subscription"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId", "options": ["marketplace-plan-id"], "help": {"short": "The Plan Id of the Azure Marketplace subscription for the Enterprise plugins"}}]}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaConfigurations", "options": ["grafana-configurations"], "hide": true, "group": "Properties", "help": {"short": "Server configurations of a Grafana instance"}, "args": [{"type": "object", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp", "options": ["smtp"], "help": {"short": "Email server settings.\r https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp"}, "args": [{"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled", "options": ["enabled"], "help": {"short": "Enable this to allow Grafana to send email. Default is false"}, "default": {"value": false}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress", "options": ["from-address"], "help": {"short": "Address used when sending out emails\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName", "options": ["from-name"], "help": {"short": "Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host", "options": ["host"], "help": {"short": "SMTP server hostname with port, e.g. test.email.net:587"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "options": ["password"], "help": {"short": "Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes"}}, {"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify", "options": ["skip-verify"], "help": {"short": "Verify SSL for SMTP server. Default is false\r https://pkg.go.dev/crypto/tls#Config"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "options": ["start-tls-policy"], "help": {"short": "The StartTLSPolicy setting of the SMTP configuration\r https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy"}, "enum": {"items": [{"name": "MandatoryStartTLS", "value": "MandatoryStartTLS"}, {"name": "NoStartTLS", "value": "NoStartTLS"}, {"name": "OpportunisticStartTLS", "value": "OpportunisticStartTLS"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user", "options": ["user"], "help": {"short": "User of SMTP auth"}}]}]}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaIntegrations", "options": ["grafana-integrations"], "hide": true, "group": "Properties", "help": {"short": "GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios."}, "args": [{"type": "array", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "options": ["azure-monitor-workspace-integrations"], "item": {"type": "object", "args": [{"type": "string", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "help": {"short": "The resource Id of the connected Azure Monitor Workspace."}}]}}]}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaMajorVersion", "options": ["v", "grafana-major-version"], "group": "Properties", "help": {"short": "The major Grafana software version to target."}}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaPlugins", "options": ["grafana-plugins"], "hide": true, "group": "Properties", "help": {"short": "Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}, {"type": "string", "var": "$requestBodyParameters.properties.publicNetworkAccess", "options": ["p", "public-network-access"], "group": "Properties", "help": {"short": "Indicate the state for enable or disable traffic over the public interface."}, "default": {"value": "Enabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.zoneRedundancy", "options": ["zone-redundancy"], "group": "Properties", "help": {"short": "The zone redundancy setting of the Grafana instance."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.sku.name", "options": ["sku-tier"], "group": "Properties", "help": {"short": "The Sku of the grafana resource."}, "default": {"value": "Standard"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Grafana_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "put", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "requestBodyParameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$requestBodyParameters.identity", "props": [{"type": "string", "name": "type", "arg": "$requestBodyParameters.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$requestBodyParameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$requestBodyParameters.location"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "arg": "$requestBodyParameters.properties.apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "arg": "$requestBodyParameters.properties.autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "arg": "$requestBodyParameters.properties.deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "enterpriseConfigurations", "arg": "$requestBodyParameters.properties.enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "arg": "$requestBodyParameters.properties.grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled"}, {"type": "string", "name": "fromAddress", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress"}, {"type": "string", "name": "fromName", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName"}, {"type": "string", "name": "host", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host"}, {"type": "string", "name": "password", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "secret": true}, {"type": "boolean", "name": "skipVerify", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify"}, {"type": "string", "name": "startTLSPolicy", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion", "arg": "$requestBodyParameters.properties.grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "arg": "$requestBodyParameters.properties.grafanaPlugins", "additionalProps": {"item": {"type": "object"}}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "arg": "$requestBodyParameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "arg": "$requestBodyParameters.properties.zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$requestBodyParameters.sku.name", "required": true}]}, {"type": "object", "name": "tags", "arg": "$requestBodyParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}, {"type": "object", "var": "$requestBodyParameters.identity", "options": ["identity"], "hide": true, "group": "", "help": {"short": "The managed identity of the grafana resource."}, "args": [{"type": "string", "var": "$requestBodyParameters.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$requestBodyParameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "string", "var": "$requestBodyParameters.sku.name", "options": ["sku-tier"], "group": "", "help": {"short": "The Sku of the grafana resource."}}, {"type": "object", "var": "$requestBodyParameters.tags", "options": ["tags"], "group": "", "help": {"short": "The tags for grafana resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$requestBodyParameters.properties.apiKey", "options": ["api-key", "service-account"], "group": "Properties", "help": {"short": "The api key setting of the Grafana instance."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.deterministicOutboundIP", "options": ["i", "deterministic-outbound-ip"], "group": "Properties", "help": {"short": "Whether a Grafana instance uses deterministic outbound IPs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$requestBodyParameters.properties.enterpriseConfigurations", "options": ["enterprise-configurations"], "hide": true, "group": "Properties", "help": {"short": "Enterprise settings of a Grafana instance"}, "args": [{"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "options": ["marketplace-auto-renew"], "help": {"short": "The AutoRenew setting of the Enterprise subscription"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId", "options": ["marketplace-plan-id"], "help": {"short": "The Plan Id of the Azure Marketplace subscription for the Enterprise plugins"}}]}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaIntegrations", "options": ["grafana-integrations"], "hide": true, "group": "Properties", "help": {"short": "GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios."}, "args": [{"type": "array", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "options": ["azure-monitor-workspace-integrations"], "item": {"type": "object", "args": [{"type": "string", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "help": {"short": "The resource Id of the connected Azure Monitor Workspace."}}]}}]}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaMajorVersion", "options": ["v", "major-version", "grafana-major-version"], "group": "Properties", "help": {"short": "The major Grafana software version to target."}}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaPlugins", "options": ["grafana-plugins"], "hide": true, "group": "Properties", "help": {"short": "Update of Grafana plugin. Key is plugin id, value is plugin definition. If plugin definition is null, plugin with given plugin id will be removed. Otherwise, given plugin will be installed."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}, {"type": "string", "var": "$requestBodyParameters.properties.publicNetworkAccess", "options": ["p", "public-network-access"], "group": "Properties", "help": {"short": "Indicate the state for enable or disable traffic over the public interface."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.zoneRedundancy", "options": ["zone-redundancy"], "group": "Properties", "help": {"short": "The zone redundancy setting of the Grafana instance."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Smtp", "args": [{"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled", "options": ["smtp", "smtp-enabled"], "group": "Smtp", "help": {"short": "Enable this to allow Grafana to send email. Default is false"}, "default": {"value": false}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress", "options": ["from-address"], "group": "Smtp", "help": {"short": "Address used when sending out emails\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName", "options": ["from-name"], "group": "Smtp", "help": {"short": "Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host", "options": ["host"], "group": "Smtp", "help": {"short": "SMTP server hostname with port, e.g. test.email.net:587"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "options": ["password"], "group": "Smtp", "help": {"short": "Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes"}}, {"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify", "options": ["skip-verify"], "group": "Smtp", "help": {"short": "Verify SSL for SMTP server. Default is false\r https://pkg.go.dev/crypto/tls#Config"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "options": ["start-tls-policy"], "group": "Smtp", "help": {"short": "The StartTLSPolicy setting of the SMTP configuration\r https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy"}, "enum": {"items": [{"name": "MandatoryStartTLS", "value": "MandatoryStartTLS"}, {"name": "NoStartTLS", "value": "NoStartTLS"}, {"name": "OpportunisticStartTLS", "value": "OpportunisticStartTLS"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user", "options": ["user"], "group": "Smtp", "help": {"short": "User of SMTP auth"}}]}], "operations": [{"operationId": "Grafana_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "patch", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "requestBodyParameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$requestBodyParameters.identity", "props": [{"type": "string", "name": "type", "arg": "$requestBodyParameters.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$requestBodyParameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "arg": "$requestBodyParameters.properties.apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "arg": "$requestBodyParameters.properties.deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "enterpriseConfigurations", "arg": "$requestBodyParameters.properties.enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled"}, {"type": "string", "name": "fromAddress", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress"}, {"type": "string", "name": "fromName", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName"}, {"type": "string", "name": "host", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host"}, {"type": "string", "name": "password", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "secret": true}, {"type": "boolean", "name": "skipVerify", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify"}, {"type": "string", "name": "startTLSPolicy", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion", "arg": "$requestBodyParameters.properties.grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "arg": "$requestBodyParameters.properties.grafanaPlugins", "additionalProps": {"item": {"type": "object"}}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "arg": "$requestBodyParameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "arg": "$requestBodyParameters.properties.zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$requestBodyParameters.sku.name", "required": true}]}, {"type": "object", "name": "tags", "arg": "$requestBodyParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ManagedGrafana_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ManagedGrafana_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana", "commands": [{"name": "show", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"operationId": "Grafana_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "get", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Grafana_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "delete", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}, {"type": "object", "var": "$requestBodyParameters.identity", "options": ["identity"], "group": "", "help": {"short": "The managed identity of the grafana resource."}, "args": [{"type": "string", "var": "$requestBodyParameters.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$requestBodyParameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "ResourceLocation", "var": "$requestBodyParameters.location", "options": ["l", "location"], "group": "", "help": {"short": "The geo-location where the grafana resource lives"}}, {"type": "object", "var": "$requestBodyParameters.tags", "options": ["tags"], "group": "", "help": {"short": "The tags for grafana resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$requestBodyParameters.properties.apiKey", "options": ["api-key", "service-account"], "group": "Properties", "help": {"short": "The api key setting of the Grafana instance."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.autoGeneratedDomainNameLabelScope", "options": ["auto-generated-domain-name-label-scope"], "hide": true, "group": "Properties", "help": {"short": "Scope for dns deterministic name hash calculation."}, "enum": {"items": [{"name": "TenantReuse", "value": "TenantReuse"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.deterministicOutboundIP", "options": ["i", "deterministic-outbound-ip"], "group": "Properties", "help": {"short": "Whether a Grafana instance uses deterministic outbound IPs."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$requestBodyParameters.properties.enterpriseConfigurations", "options": ["enterprise-configurations"], "hide": true, "group": "Properties", "help": {"short": "Enterprise settings of a Grafana instance"}, "args": [{"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "options": ["marketplace-auto-renew"], "help": {"short": "The AutoRenew setting of the Enterprise subscription"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId", "options": ["marketplace-plan-id"], "help": {"short": "The Plan Id of the Azure Marketplace subscription for the Enterprise plugins"}}]}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaConfigurations", "options": ["grafana-configurations"], "hide": true, "group": "Properties", "help": {"short": "Server configurations of a Grafana instance"}, "args": [{"type": "object", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp", "options": ["smtp"], "help": {"short": "Email server settings.\r https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp"}, "args": [{"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled", "options": ["enabled"], "help": {"short": "Enable this to allow Grafana to send email. Default is false"}, "default": {"value": false}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress", "options": ["from-address"], "help": {"short": "Address used when sending out emails\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName", "options": ["from-name"], "help": {"short": "Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host", "options": ["host"], "help": {"short": "SMTP server hostname with port, e.g. test.email.net:587"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "options": ["password"], "help": {"short": "Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes"}}, {"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify", "options": ["skip-verify"], "help": {"short": "Verify SSL for SMTP server. Default is false\r https://pkg.go.dev/crypto/tls#Config"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "options": ["start-tls-policy"], "help": {"short": "The StartTLSPolicy setting of the SMTP configuration\r https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy"}, "enum": {"items": [{"name": "MandatoryStartTLS", "value": "MandatoryStartTLS"}, {"name": "NoStartTLS", "value": "NoStartTLS"}, {"name": "OpportunisticStartTLS", "value": "OpportunisticStartTLS"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user", "options": ["user"], "help": {"short": "User of SMTP auth"}}]}]}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaIntegrations", "options": ["grafana-integrations"], "hide": true, "group": "Properties", "help": {"short": "GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios."}, "args": [{"type": "array", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "options": ["azure-monitor-workspace-integrations"], "item": {"type": "object", "args": [{"type": "string", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "help": {"short": "The resource Id of the connected Azure Monitor Workspace."}}]}}]}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaMajorVersion", "options": ["v", "grafana-major-version"], "group": "Properties", "help": {"short": "The major Grafana software version to target."}}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaPlugins", "options": ["grafana-plugins"], "hide": true, "group": "Properties", "help": {"short": "Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}, {"type": "string", "var": "$requestBodyParameters.properties.publicNetworkAccess", "options": ["p", "public-network-access"], "group": "Properties", "help": {"short": "Indicate the state for enable or disable traffic over the public interface."}, "default": {"value": "Enabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.zoneRedundancy", "options": ["zone-redundancy"], "group": "Properties", "help": {"short": "The zone redundancy setting of the Grafana instance."}, "default": {"value": "Disabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.sku.name", "options": ["sku-tier"], "group": "Properties", "help": {"short": "The Sku of the grafana resource."}, "default": {"value": "Standard"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Grafana_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "put", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "requestBodyParameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$requestBodyParameters.identity", "props": [{"type": "string", "name": "type", "arg": "$requestBodyParameters.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$requestBodyParameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$requestBodyParameters.location"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "arg": "$requestBodyParameters.properties.apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "arg": "$requestBodyParameters.properties.autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "arg": "$requestBodyParameters.properties.deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "enterpriseConfigurations", "arg": "$requestBodyParameters.properties.enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "arg": "$requestBodyParameters.properties.grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled"}, {"type": "string", "name": "fromAddress", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress"}, {"type": "string", "name": "fromName", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName"}, {"type": "string", "name": "host", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host"}, {"type": "string", "name": "password", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "secret": true}, {"type": "boolean", "name": "skipVerify", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify"}, {"type": "string", "name": "startTLSPolicy", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion", "arg": "$requestBodyParameters.properties.grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "arg": "$requestBodyParameters.properties.grafanaPlugins", "additionalProps": {"item": {"type": "object"}}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "arg": "$requestBodyParameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "arg": "$requestBodyParameters.properties.zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$requestBodyParameters.sku.name", "required": true}]}, {"type": "object", "name": "tags", "arg": "$requestBodyParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}, {"type": "object", "var": "$requestBodyParameters.identity", "options": ["identity"], "hide": true, "group": "", "help": {"short": "The managed identity of the grafana resource."}, "args": [{"type": "string", "var": "$requestBodyParameters.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$requestBodyParameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"type": "string", "var": "$requestBodyParameters.sku.name", "options": ["sku-tier"], "group": "", "help": {"short": "The Sku of the grafana resource."}}, {"type": "object", "var": "$requestBodyParameters.tags", "options": ["tags"], "group": "", "help": {"short": "The tags for grafana resource."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$requestBodyParameters.properties.apiKey", "options": ["api-key", "service-account"], "group": "Properties", "help": {"short": "The api key setting of the Grafana instance."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.deterministicOutboundIP", "options": ["i", "deterministic-outbound-ip"], "group": "Properties", "help": {"short": "Whether a Grafana instance uses deterministic outbound IPs."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$requestBodyParameters.properties.enterpriseConfigurations", "options": ["enterprise-configurations"], "hide": true, "group": "Properties", "help": {"short": "Enterprise settings of a Grafana instance"}, "args": [{"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "options": ["marketplace-auto-renew"], "help": {"short": "The AutoRenew setting of the Enterprise subscription"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId", "options": ["marketplace-plan-id"], "help": {"short": "The Plan Id of the Azure Marketplace subscription for the Enterprise plugins"}}]}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaIntegrations", "options": ["grafana-integrations"], "hide": true, "group": "Properties", "help": {"short": "GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios."}, "args": [{"type": "array", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "options": ["azure-monitor-workspace-integrations"], "item": {"type": "object", "args": [{"type": "string", "var": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "help": {"short": "The resource Id of the connected Azure Monitor Workspace."}}]}}]}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaMajorVersion", "options": ["v", "major-version", "grafana-major-version"], "group": "Properties", "help": {"short": "The major Grafana software version to target."}}, {"type": "object", "var": "$requestBodyParameters.properties.grafanaPlugins", "options": ["grafana-plugins"], "hide": true, "group": "Properties", "help": {"short": "Update of Grafana plugin. Key is plugin id, value is plugin definition. If plugin definition is null, plugin with given plugin id will be removed. Otherwise, given plugin will be installed."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}, {"type": "string", "var": "$requestBodyParameters.properties.publicNetworkAccess", "options": ["p", "public-network-access"], "group": "Properties", "help": {"short": "Indicate the state for enable or disable traffic over the public interface."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.zoneRedundancy", "options": ["zone-redundancy"], "group": "Properties", "help": {"short": "The zone redundancy setting of the Grafana instance."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "Smtp", "args": [{"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled", "options": ["smtp", "smtp-enabled"], "group": "Smtp", "help": {"short": "Enable this to allow Grafana to send email."}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress", "options": ["from-address"], "group": "Smtp", "help": {"short": "Address used when sending out emails\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName", "options": ["from-name"], "group": "Smtp", "help": {"short": "Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\r https://pkg.go.dev/net/mail#Address"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host", "options": ["host"], "group": "Smtp", "help": {"short": "SMTP server hostname with port, e.g. test.email.net:587"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "options": ["password"], "group": "Smtp", "help": {"short": "Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes"}}, {"type": "boolean", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify", "options": ["skip-verify"], "group": "Smtp", "help": {"short": "Verify SSL for SMTP server. Default is false\r https://pkg.go.dev/crypto/tls#Config"}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "options": ["start-tls-policy"], "group": "Smtp", "help": {"short": "The StartTLSPolicy setting of the SMTP configuration\r https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy"}, "enum": {"items": [{"name": "MandatoryStartTLS", "value": "MandatoryStartTLS"}, {"name": "NoStartTLS", "value": "NoStartTLS"}, {"name": "OpportunisticStartTLS", "value": "OpportunisticStartTLS"}]}}, {"type": "string", "var": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user", "options": ["user"], "group": "Smtp", "help": {"short": "User of SMTP auth"}}]}], "operations": [{"operationId": "Grafana_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}", "request": {"method": "patch", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "requestBodyParameters", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "arg": "$requestBodyParameters.identity", "props": [{"type": "string", "name": "type", "arg": "$requestBodyParameters.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$requestBodyParameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "arg": "$requestBodyParameters.properties.apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "arg": "$requestBodyParameters.properties.deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "enterpriseConfigurations", "arg": "$requestBodyParameters.properties.enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId", "arg": "$requestBodyParameters.properties.enterpriseConfigurations.marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.enabled"}, {"type": "string", "name": "fromAddress", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromAddress"}, {"type": "string", "name": "fromName", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.fromName"}, {"type": "string", "name": "host", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.host"}, {"type": "string", "name": "password", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.password", "secret": true}, {"type": "boolean", "name": "skipVerify", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.skipVerify"}, {"type": "string", "name": "startTLSPolicy", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user", "arg": "$requestBodyParameters.properties.grafanaConfigurations.smtp.user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId", "arg": "$requestBodyParameters.properties.grafanaIntegrations.azureMonitorWorkspaceIntegrations[].azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion", "arg": "$requestBodyParameters.properties.grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "arg": "$requestBodyParameters.properties.grafanaPlugins", "additionalProps": {"item": {"type": "object"}}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "arg": "$requestBodyParameters.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "arg": "$requestBodyParameters.properties.zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$requestBodyParameters.sku.name", "required": true}]}, {"type": "object", "name": "tags", "arg": "$requestBodyParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": "Disabled"}, "type": "string", "name": "apiKey", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "autoGeneratedDomainNameLabelScope", "enum": {"items": [{"value": "TenantReuse"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "deterministicOutboundIP", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "object", "name": "enterpriseConfigurations", "props": [{"type": "string", "name": "marketplaceAutoRenew", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "marketplacePlanId"}]}, {"type": "object", "name": "grafanaConfigurations", "props": [{"type": "object", "name": "smtp", "props": [{"default": {"value": false}, "type": "boolean", "name": "enabled"}, {"type": "string", "name": "fromAddress"}, {"type": "string", "name": "fromName"}, {"type": "string", "name": "host"}, {"type": "string", "name": "password", "secret": true}, {"type": "boolean", "name": "skipVerify"}, {"type": "string", "name": "startTLSPolicy", "enum": {"items": [{"value": "MandatoryStartTLS"}, {"value": "NoStartTLS"}, {"value": "OpportunisticStartTLS"}]}}, {"type": "string", "name": "user"}]}]}, {"type": "object", "name": "grafanaIntegrations", "props": [{"type": "array", "name": "azureMonitorWorkspaceIntegrations", "item": {"type": "object", "props": [{"type": "string", "name": "azureMonitorWorkspaceResourceId"}]}}]}, {"type": "string", "name": "grafanaMajorVersion"}, {"type": "object", "name": "grafanaPlugins", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "pluginId"}]}}}, {"readOnly": true, "type": "string", "name": "grafanaVersion"}, {"readOnly": true, "type": "array", "name": "outboundIPs", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/privateEndpointConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "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"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"default": {"value": "Disabled"}, "type": "string", "name": "zoneRedundancy", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "required": true}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "ManagedGrafana_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ManagedGrafana_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml index 57c457d03..b893966a1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.xml @@ -6,9 +6,7 @@ - - - + @@ -245,9 +243,7 @@ - - - + @@ -293,9 +289,7 @@ - - - + @@ -883,8 +877,7 @@ - - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.json new file mode 100644 index 000000000..570d82c73 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L2ZldGNoQXZhaWxhYmxlUGx1Z2lucw==/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana", "commands": [{"name": "list-available-plugin", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L2ZldGNoQXZhaWxhYmxlUGx1Z2lucw==/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"operationId": "Grafana_FetchAvailablePlugins", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/fetchAvailablePlugins", "request": {"method": "post", "path": {"params": [{"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}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-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", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "pluginId"}]}, "identifiers": ["pluginId"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.xml new file mode 100644 index 000000000..4a705a480 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +