-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new 2022-10-01-preview version to Microsoft.Dashboard (#25864)
* base version of 2022-10-01-preview copied from 2022-08-01 * new changes in 2022-10-01-preview version * requsted changes --------- Co-authored-by: Younjin Song <[email protected]>
- Loading branch information
Showing
23 changed files
with
3,140 additions
and
1 deletion.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...nager/Microsoft.Dashboard/preview/2022-10-01-preview/examples/EnterpriseDetails_Post.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"saasSubscriptionDetails": { | ||
"planId": "amg_globalplan", | ||
"offerId": "amg_test", | ||
"publisherId": "isvtestuklegacy", | ||
"term": { | ||
"termUnit": "P1M", | ||
"startDate": "2022-10-04T00:00:00Z", | ||
"endDate": "2022-11-03T00:00:00Z" | ||
} | ||
}, | ||
"marketplaceTrialQuota": { | ||
"availablePromotion": "None", | ||
"grafanaResourceId": "/subscriptions/e1e3b30d-e7ec-4e25-8587-db037bcb9a4d/resourcegroups/amg-local-script-test-rg/providers/microsoft.dashboard/grafana/eus2-enterprise-1001-07", | ||
"trialStartAt": "2022-10-04T01:06:00.447Z", | ||
"trialEndAt": "2022-11-03T01:06:00.447Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
176 changes: 176 additions & 0 deletions
176
...ource-manager/Microsoft.Dashboard/preview/2022-10-01-preview/examples/Grafana_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace", | ||
"requestBodyParameters": { | ||
"sku": { | ||
"name": "Standard" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"zoneRedundancy": "Enabled", | ||
"apiKey": "Enabled", | ||
"deterministicOutboundIP": "Enabled", | ||
"grafanaConfigurations": { | ||
"smtp": { | ||
"enabled": true, | ||
"host": "smtp.sendemail.com:587", | ||
"user": "username", | ||
"password": "<password>", | ||
"fromAddress": "[email protected]", | ||
"fromName": "emailsender", | ||
"startTLSPolicy": "OpportunisticStartTLS", | ||
"skipVerify": true | ||
} | ||
}, | ||
"grafanaIntegrations": { | ||
"azureMonitorWorkspaceIntegrations": [ | ||
{ | ||
"azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" | ||
} | ||
] | ||
}, | ||
"enterpriseConfigurations": { | ||
"marketplacePlanId": "myPlanId", | ||
"marketplaceAutoRenew": "Enabled" | ||
}, | ||
"grafanaPlugins": { | ||
"sample-plugin-id": {} | ||
}, | ||
"grafanaMajorVersion": "9" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", | ||
"name": "myWorkspace", | ||
"type": "Microsoft.Dashboard/grafana", | ||
"sku": { | ||
"name": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"grafanaVersion": "9.4.5", | ||
"endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", | ||
"zoneRedundancy": "Enabled", | ||
"apiKey": "Enabled", | ||
"deterministicOutboundIP": "Enabled", | ||
"outboundIPs": [ | ||
"192.168.0.1", | ||
"192.168.0.2" | ||
], | ||
"publicNetworkAccess": "Enabled", | ||
"autoGeneratedDomainNameLabelScope": "TenantReuse", | ||
"grafanaConfigurations": { | ||
"smtp": { | ||
"enabled": true, | ||
"host": "smtp.sendemail.com:587", | ||
"user": "username", | ||
"fromAddress": "[email protected]", | ||
"fromName": "emailsender", | ||
"startTLSPolicy": "OpportunisticStartTLS", | ||
"skipVerify": true | ||
} | ||
}, | ||
"grafanaIntegrations": { | ||
"azureMonitorWorkspaceIntegrations": [ | ||
{ | ||
"azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" | ||
} | ||
] | ||
}, | ||
"enterpriseConfigurations": { | ||
"marketplacePlanId": "myPlanId", | ||
"marketplaceAutoRenew": "Enabled" | ||
}, | ||
"grafanaPlugins": { | ||
"sample-plugin-id": { | ||
"pluginId": "sample-plugin-id" | ||
} | ||
}, | ||
"grafanaMajorVersion": "9" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", | ||
"name": "myWorkspace", | ||
"type": "Microsoft.Dashboard/grafana", | ||
"sku": { | ||
"name": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"grafanaVersion": "9.4.5", | ||
"endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", | ||
"zoneRedundancy": "Enabled", | ||
"apiKey": "Enabled", | ||
"deterministicOutboundIP": "Enabled", | ||
"publicNetworkAccess": "Enabled", | ||
"autoGeneratedDomainNameLabelScope": "TenantReuse", | ||
"grafanaConfigurations": { | ||
"smtp": { | ||
"enabled": true, | ||
"host": "smtp.sendemail.com:587", | ||
"user": "username", | ||
"fromAddress": "[email protected]", | ||
"fromName": "emailsender", | ||
"startTLSPolicy": "OpportunisticStartTLS", | ||
"skipVerify": true | ||
} | ||
}, | ||
"grafanaIntegrations": { | ||
"azureMonitorWorkspaceIntegrations": [ | ||
{ | ||
"azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" | ||
} | ||
] | ||
}, | ||
"grafanaMajorVersion": "9" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ource-manager/Microsoft.Dashboard/preview/2022-10-01-preview/examples/Grafana_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...icrosoft.Dashboard/preview/2022-10-01-preview/examples/Grafana_FetchAvailablePlugins.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Plugin A", | ||
"pluginId": "plugin-a" | ||
}, | ||
{ | ||
"name": "Plugin B", | ||
"pluginId": "plugin-b" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
...resource-manager/Microsoft.Dashboard/preview/2022-10-01-preview/examples/Grafana_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", | ||
"name": "myWorkspace", | ||
"type": "Microsoft.Dashboard/grafana", | ||
"sku": { | ||
"name": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"grafanaVersion": "9.4.5", | ||
"endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", | ||
"zoneRedundancy": "Enabled", | ||
"apiKey": "Enabled", | ||
"deterministicOutboundIP": "Enabled", | ||
"outboundIPs": [ | ||
"192.168.0.1", | ||
"192.168.0.2" | ||
], | ||
"publicNetworkAccess": "Enabled", | ||
"autoGeneratedDomainNameLabelScope": "TenantReuse", | ||
"grafanaConfigurations": { | ||
"smtp": { | ||
"enabled": true, | ||
"host": "smtp.sendemail.com:587", | ||
"user": "username", | ||
"fromAddress": "[email protected]", | ||
"fromName": "emailsender", | ||
"startTLSPolicy": "OpportunisticStartTLS", | ||
"skipVerify": true | ||
} | ||
}, | ||
"grafanaIntegrations": { | ||
"azureMonitorWorkspaceIntegrations": [ | ||
{ | ||
"azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" | ||
} | ||
] | ||
}, | ||
"enterpriseConfigurations": { | ||
"marketplacePlanId": "myPlanId", | ||
"marketplaceAutoRenew": "Enabled" | ||
}, | ||
"grafanaPlugins": { | ||
"sample-plugin-id": { | ||
"pluginId": "sample-plugin-id" | ||
} | ||
}, | ||
"grafanaMajorVersion": "9" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
...esource-manager/Microsoft.Dashboard/preview/2022-10-01-preview/examples/Grafana_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", | ||
"name": "myWorkspace", | ||
"type": "Microsoft.Dashboard/grafana", | ||
"sku": { | ||
"name": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"grafanaVersion": "9.4.5", | ||
"endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", | ||
"zoneRedundancy": "Enabled", | ||
"apiKey": "Enabled", | ||
"deterministicOutboundIP": "Enabled", | ||
"outboundIPs": [ | ||
"192.168.0.1", | ||
"192.168.0.2" | ||
], | ||
"publicNetworkAccess": "Enabled", | ||
"autoGeneratedDomainNameLabelScope": "TenantReuse", | ||
"grafanaConfigurations": { | ||
"smtp": { | ||
"enabled": true, | ||
"host": "smtp.sendemail.com:587", | ||
"user": "username", | ||
"fromAddress": "[email protected]", | ||
"fromName": "emailsender", | ||
"startTLSPolicy": "OpportunisticStartTLS", | ||
"skipVerify": true | ||
} | ||
}, | ||
"grafanaIntegrations": { | ||
"azureMonitorWorkspaceIntegrations": [ | ||
{ | ||
"azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" | ||
} | ||
] | ||
}, | ||
"enterpriseConfigurations": { | ||
"marketplacePlanId": "myPlanId", | ||
"marketplaceAutoRenew": "Enabled" | ||
}, | ||
"grafanaPlugins": { | ||
"sample-plugin-id": { | ||
"pluginId": "sample-plugin-id" | ||
} | ||
}, | ||
"grafanaMajorVersion": "9" | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.