Skip to content

Commit

Permalink
AMS v2 public preview (Azure#18820)
Browse files Browse the repository at this point in the history
* Adding monitors spec and examples

Adding monitors spec and examples

* All Monitors spec and examples

All Monitors spec and examples

* Delete commonTypes.json

* Added new providers

Added new providers

* Updating with recent monitors spec changes in private repo

Updating with recent monitors spec changes in private repo

* Changes for Go sdk

Changes for Go sdk

* Update readme.md
  • Loading branch information
suhanishri authored and FredericHeem committed May 16, 2022
1 parent cb92175 commit f3d0ecb
Show file tree
Hide file tree
Showing 31 changed files with 2,721 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Workloads/phpWorkloads/Write",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "phpWorkloads",
"operation": "Creates or updates the phpWorkloads",
"description": "Set phpWorkloads"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/Delete",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "phpWorkloads",
"operation": "Deletes the phpWorkloads",
"description": "Delete phpWorkloads"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/Read",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "phpWorkloads",
"operation": "Reads the phpWorkloads",
"description": "Read phpWorkloads"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Write",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "wordpressInstances",
"operation": "Creates or updates the wordpressInstances",
"description": "Set wordpressInstances"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Delete",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "wordpressInstances",
"operation": "Deletes the wordpressInstances",
"description": "Delete wordpressInstances"
}
},
{
"name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Read",
"isDataAction": false,
"display": {
"provider": "Microsoft.Workloads",
"resource": "wordpressInstances",
"operation": "Reads the wordpressInstances",
"description": "Read wordpressInstances"
}
},
{
"name": "Microsoft.Workloads/monitors/Read",
"display": {
"provider": "Microsoft.Workloads",
"resource": "Microsoft.Workloads/monitors",
"operation": "Read",
"description": "Reads the Monitor workload."
}
},
{
"name": "Microsoft.Workloads/monitors/Write",
"display": {
"provider": "Microsoft.Workloads",
"resource": "Microsoft.Workloads/monitors",
"operation": "Read",
"description": "Creates or updates a Monitor workload."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"parameters": {
"api-version": "2021-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
"providerInstanceName": "myProviderInstance",
"providerInstanceParameter": {
"properties": {
"providerSettings": {
"providerType": "Db2",
"sapSid": "SID",
"hostname": "hostname",
"dbUsername": "username",
"dbName": "dbName",
"dbPassword": "password",
"dbPasswordUri": "",
"dbPort": "dbPort"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "Db2",
"sapSid": "SID",
"hostname": "vmname.azure.com",
"dbUsername": "Db2OPA",
"dbName": "OPA",
"dbPort": "5912",
"dbPasswordUri": ""
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "Db2",
"sapSid": "SID",
"hostname": "vmname.azure.com",
"dbUsername": "Db2OPA",
"dbName": "OPA",
"dbPort": "5912",
"dbPasswordUri": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"api-version": "2021-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
"providerInstanceName": "myProviderInstance"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "Db2",
"sapSid": "SID",
"hostname": "vmname.azure.com",
"dbUsername": "Db2OPA",
"dbName": "OPA",
"dbPort": "5912",
"dbPasswordUri": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"api-version": "2021-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
"providerInstanceName": "myProviderInstance",
"providerInstanceParameter": {
"properties": {
"providerSettings": {
"providerType": "MsSqlServer",
"dbUsername": "user",
"dbPassword": "****",
"dbPasswordUri": "",
"dbPort": "5912",
"hostname": "hostname",
"sapSid": "sid"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "MsSqlServer",
"dbUsername": "user",
"dbPort": "5912",
"hostname": "hostname",
"sapSid": "sid"
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "MsSqlServer",
"dbUsername": "user",
"dbPort": "5912",
"hostname": "hostname",
"sapSid": "sid"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"api-version": "2021-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
"providerInstanceName": "myProviderInstance"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "MsSqlServer",
"dbUsername": "user",
"dbPort": "5912",
"hostname": "hostname",
"dbPasswordUri": "",
"sapSid": "sid"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parameters": {
"api-version": "2021-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
"providerInstanceName": "myProviderInstance",
"providerInstanceParameter": {
"properties": {
"providerSettings": {
"providerType": "SapNetWeaver",
"sapSid": "SID",
"sapHostname": "name",
"sapInstanceNr": "00",
"sapHostFileEntries": [
"127.0.0.1 name fqdn"
],
"sapUsername": "username",
"sapPassword": "****",
"sapPasswordUri": "",
"sapPortNumber": "1234",
"sapClientId": "111",
"sapSslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "SapNetWeaver",
"sapSid": "SID",
"sapHostname": "name",
"sapInstanceNr": "00",
"sapHostFileEntries": [
"127.0.0.1 name fqdn"
],
"sapUsername": "username",
"sapPasswordUri": "",
"sapPortNumber": "1234",
"sapClientId": "111",
"sapSslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
"name": "myProviderInstance",
"type": "Microsoft.Workloads/workloads/providerInstances",
"properties": {
"provisioningState": "Succeeded",
"providerSettings": {
"providerType": "SapNetWeaver",
"sapSid": "SID",
"sapHostname": "name",
"sapInstanceNr": "00",
"sapHostFileEntries": [
"127.0.0.1 name fqdn"
],
"sapUsername": "username",
"sapPasswordUri": "",
"sapPortNumber": "1234",
"sapClientId": "111",
"sapSslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
}
}
}
}
}
}
Loading

0 comments on commit f3d0ecb

Please sign in to comment.