forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving swagger to stable (Azure#14992)
* Base Swagger version as per guideline * Removing preview from directory version * changing version name in all files * updating readme and go read me * supressing ingestion keyin read me
- Loading branch information
Showing
19 changed files
with
2,197 additions
and
0 deletions.
There are no files selected for viewing
1,569 changes: 1,569 additions & 0 deletions
1,569
specification/elastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/elastic.json
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...ic/resource-manager/Microsoft.Elastic/stable/2020-07-01/examples/DeploymentInfo_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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"status": "Healthy", | ||
"version": "7.9.3", | ||
"memoryCapacity": "1024", | ||
"diskCapacity": "245760" | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...esource-manager/Microsoft.Elastic/stable/2020-07-01/examples/MonitoredResources_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,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault", | ||
"sendingLogs": "True", | ||
"reasonForLogsStatus": "CapturedByRules" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
104 changes: 104 additions & 0 deletions
104
...lastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/examples/Monitors_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,104 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"name": "myMonitor", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"userInfo": { | ||
"firstName": "Alice", | ||
"lastName": "Bob", | ||
"companyName": "Microsoft", | ||
"emailAddress": "alice@microsoft.com", | ||
"companyInfo": { | ||
"domain": "microsoft.com", | ||
"business": "Technology", | ||
"employeeNumber": "10000", | ||
"state": "WA", | ||
"country": "US" | ||
} | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Elastic/monitors", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"deploymentId": "deployment_id", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Elastic/monitors", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"monitoringStatus": "Enabled", | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"deploymentId": "deployment_id", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 0 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...lastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/examples/Monitors_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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...n/elastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/examples/Monitors_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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Elastic/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"deploymentId": "deployment_id", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 0 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
.../elastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/examples/Monitors_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,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Elastic/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"deploymentId": "deployment_id", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 0 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...ce-manager/Microsoft.Elastic/stable/2020-07-01/examples/Monitors_ListByResourceGroup.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,46 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Elastic/monitors", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"deploymentId": "deployment_id", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 0 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...lastic/resource-manager/Microsoft.Elastic/stable/2020-07-01/examples/Monitors_Update.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,86 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"name": "myMonitor", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
}, | ||
"userInfo": { | ||
"firstName": "Alice", | ||
"lastName": "Bob", | ||
"companyName": "Microsoft", | ||
"emailAddress": "alice@microsoft.com", | ||
"companyInfo": { | ||
"domain": "microsoft.com", | ||
"business": "Technology", | ||
"employeeNumber": "10000", | ||
"state": "WA", | ||
"country": "US" | ||
} | ||
} | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", | ||
"name": "myMonitor", | ||
"type": "Microsoft.Elastic/monitors", | ||
"sku": { | ||
"name": "free_Monthly" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"monitoringStatus": "Enabled", | ||
"elasticProperties": { | ||
"elasticCloudUser": { | ||
"emailAddress": "alice@microsoft.com", | ||
"id": "myid123", | ||
"elasticCloudSsoDefaultUrl": "https://examplessourl.com" | ||
}, | ||
"elasticCloudDeployment": { | ||
"name": "deploymentname", | ||
"deploymentId": "deployment_id", | ||
"azureSubscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"elasticsearchRegion": "azure-westus2", | ||
"elasticsearchServiceUrl": "https://elasticsearchendpoint.com", | ||
"kibanaServiceUrl": "https://kibanaserviceurl.com", | ||
"kibanaSsoUrl": "https://kibanssourl.com" | ||
} | ||
}, | ||
"liftrResourceCategory": "MonitorLogs", | ||
"liftrResourcePreference": 0 | ||
}, | ||
"tags": { | ||
"Environment": "Dev" | ||
}, | ||
"location": "West US 2" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.