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.
Added spec for Db2 Provider (Azure#6657)
* Db2 Provider Properties * aletered example * minor * adressed comments
- Loading branch information
1 parent
4e3f3c3
commit eb6f174
Showing
3 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
...oads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_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,68 @@ | ||
{ | ||
"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", | ||
"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" | ||
} | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...rkloads/preview/2021-12-01-preview/examples/workloadmonitor/Db2ProviderInstances_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,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": "Db2", | ||
"sapSid": "SID", | ||
"hostname": "vmname.azure.com", | ||
"dbUsername": "Db2OPA", | ||
"dbName": "OPA", | ||
"dbPort": "5912" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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