Skip to content

Commit

Permalink
Adding new API version 2024-10-01-preview for Microsoft.Elastic (#30791)
Browse files Browse the repository at this point in the history
* Adding the new API version 2024-10-01-preview

* Changed the version to the new API version: 2024-10-01-preview

* Revising max length limit of user and company info properities

* Making changes in readme.md file

* Revising max length limit of user and company info properities

* Revising max length limit of user and company info properities
  • Loading branch information
jkore1911 authored Oct 8, 2024
1 parent 7b0afdb commit c4f4021
Show file tree
Hide file tree
Showing 45 changed files with 5,271 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2024-10-01-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"
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2024-10-01-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=2024-10-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2024-10-01-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"
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor"
},
"responses": {
"200": {
"body": {
"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",
"billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000",
"subscribed": true
},
"partnerBillingEntity": {
"id": "1234567890",
"name": "elasticOrganizationName",
"partnerEntityUri": "https://example.com"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"partnerDeploymentName": "deploymentname",
"partnerDeploymentUri": "https://examplessourl.com",
"azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
"location": "West US 2"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor"
},
"responses": {
"200": {
"body": {
"status": "Healthy",
"version": "7.9.3",
"memoryCapacity": "1024",
"diskCapacity": "245760",
"elasticsearchEndPoint": "alias.es.eastus2.staging.azure.foundit.no",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2024-10-01-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=2024-10-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"api-version": "2024-10-01-preview",
"region": "myregion",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"version": "version1"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2024-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"requestBody": {
"UserName": "newuser",
"FullName": "fullname",
"Password": "Password",
"EmailId": "myemail@outlook.com",
"Roles": [
"admin",
"other_role1"
]
}
},
"responses": {
"200": {
"body": {
"created": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2024-10-01-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=2024-10-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2024-10-01-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=2024-10-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2024-10-01-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"
}
]
}
}
}
}
Loading

0 comments on commit c4f4021

Please sign in to comment.