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.
Adding elasticOrganizationToAzureSubscriptionMapping API in new versi…
…on 2023-06-15-preview for Microsoft.Elastic (Azure#24314)
- Loading branch information
Showing
32 changed files
with
3,500 additions
and
1 deletion.
There are no files selected for viewing
2,582 changes: 2,582 additions & 0 deletions
2,582
...cation/elastic/resource-manager/Microsoft.Elastic/preview/2023-06-15-preview/elastic.json
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...manager/Microsoft.Elastic/preview/2023-06-15-preview/examples/AllTrafficFilters_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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"rulesets": [ | ||
{ | ||
"id": "31d91b5afb6f4c2eaaf104c97b1991dd", | ||
"name": "IPFromApi", | ||
"description": "created from azure", | ||
"type": "ip", | ||
"includeByDefault": false, | ||
"region": "azure-eastus", | ||
"rules": [ | ||
{ | ||
"id": "f0297dad72af4a5e964cddf817f35e65", | ||
"description": "Allow inbound traffic from IP address 192.168.131.0", | ||
"source": "192.168.131.0" | ||
}, | ||
{ | ||
"id": "f9c00169f0e54931ae72aabde326b589", | ||
"description": "Allow inbound traffic from IP address block 192.168.132.6/22", | ||
"source": "192.168.132.6/22" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
.../Microsoft.Elastic/preview/2023-06-15-preview/examples/AssociateTrafficFilter_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,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/associateTrafficFilter?api-version=2023-06-15-preview" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...soft.Elastic/preview/2023-06-15-preview/examples/AssociatedFiltersForDeployment_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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"rulesets": [ | ||
{ | ||
"id": "31d91b5afb6f4c2eaaf104c97b1991dd", | ||
"name": "IPFromApi", | ||
"description": "created from azure", | ||
"type": "ip", | ||
"includeByDefault": false, | ||
"region": "azure-eastus", | ||
"rules": [ | ||
{ | ||
"id": "f0297dad72af4a5e964cddf817f35e65", | ||
"description": "Allow inbound traffic from IP address 192.168.131.0", | ||
"source": "192.168.131.0" | ||
}, | ||
{ | ||
"id": "f9c00169f0e54931ae72aabde326b589", | ||
"description": "Allow inbound traffic from IP address block 192.168.132.6/22", | ||
"source": "192.168.132.6/22" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ce-manager/Microsoft.Elastic/preview/2023-06-15-preview/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,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"status": "Healthy", | ||
"version": "7.9.3", | ||
"memoryCapacity": "1024", | ||
"diskCapacity": "245760", | ||
"deploymentUrl": "https://endpoint.eastus.kb.azure.elastic-cloud.com:9243", | ||
"marketplaceSaasInfo": { | ||
"marketplaceSubscription": { | ||
"id": "12345678-1234-1234-1234-123456789012" | ||
}, | ||
"marketplaceName": "MP_RESOURCE", | ||
"marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", | ||
"marketplaceStatus": "Status" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...soft.Elastic/preview/2023-06-15-preview/examples/DetachAndDeleteTrafficFilter_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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...er/Microsoft.Elastic/preview/2023-06-15-preview/examples/DetachTrafficFilters_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,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/detachTrafficFilter?api-version=2023-06-15-preview" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...e-manager/Microsoft.Elastic/preview/2023-06-15-preview/examples/ElasticVersions_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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"region": "myregion", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"version": "version1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ource-manager/Microsoft.Elastic/preview/2023-06-15-preview/examples/ExternalUserInfo.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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"UserName": "newuser", | ||
"FullName": "fullname", | ||
"Password": "Password", | ||
"EmailId": "[email protected]", | ||
"Roles": [ | ||
"admin", | ||
"other_role1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"created": true | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...manager/Microsoft.Elastic/preview/2023-06-15-preview/examples/IPTrafficFilter_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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", | ||
"ips": "192.168.131.0, 192.168.132.6/22" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociateIPFilter?api-version=2023-06-15-preview" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...source-manager/Microsoft.Elastic/preview/2023-06-15-preview/examples/Monitor_Upgrade.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": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor", | ||
"requestBody": { | ||
"version": "7.15.1" | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2023-06-15-preview" | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...anager/Microsoft.Elastic/preview/2023-06-15-preview/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": "2023-06-15-preview", | ||
"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
...source-manager/Microsoft.Elastic/preview/2023-06-15-preview/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": "2023-06-15-preview", | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"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": "[email protected]", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...source-manager/Microsoft.Elastic/preview/2023-06-15-preview/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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-06-15-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"monitorName": "myMonitor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2022-07-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.