Skip to content

Commit

Permalink
Utkarshjain/elastic private repo sync 09 2022 (Azure#20791)
Browse files Browse the repository at this point in the history
* Base commit 1

* Added version 2022-05-05-preview

* base commit 2

* Added version 2022-07-01-preview

* Updating readme

* Updating default tag

* Fix CI isssues

* Revert "Fix CI isssues"

This reverts commit d417233.

* Update readme.md

* Update readme.python.md

* fixing version in examples

* Arm change request 1

Co-authored-by: Utkarsh Jain <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
  • Loading branch information
3 people authored and anandanthony committed Dec 16, 2022
1 parent 2bdaef6 commit 15691d9
Show file tree
Hide file tree
Showing 60 changed files with 6,292 additions and 6 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2022-05-05-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,13 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2022-05-05-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,18 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor"
},
"responses": {
"200": {
"body": {
"status": "Healthy",
"version": "7.9.3",
"memoryCapacity": "1024",
"diskCapacity": "245760"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
},
"responses": {
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2022-05-05-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
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd",
"ips": "192.168.131.0, 192.168.132.6/22"
},
"responses": {
"201": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"requestBody": {
"version": "7.15.1"
}
},
"responses": {
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2022-05-05-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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"parameters": {
"api-version": "2022-05-05-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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2022-05-05-preview",
"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": "[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"
}
}
}
}
Loading

0 comments on commit 15691d9

Please sign in to comment.