|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", |
| 4 | + "resourceGroupName": "TestGroup", |
| 5 | + "clusterName": "hsctestsg", |
| 6 | + "api-version": "2022-11-08", |
| 7 | + "parameters": { |
| 8 | + "location": "westus", |
| 9 | + "properties": { |
| 10 | + "administratorLoginPassword": "password", |
| 11 | + "postgresqlVersion": "15", |
| 12 | + "citusVersion": "11.1", |
| 13 | + "enableHa": true, |
| 14 | + "enableShardsOnCoordinator": false, |
| 15 | + "coordinatorServerEdition": "GeneralPurpose", |
| 16 | + "coordinatorStorageQuotaInMb": 524288, |
| 17 | + "coordinatorVCores": 4, |
| 18 | + "coordinatorEnablePublicIpAccess": true, |
| 19 | + "nodeServerEdition": "MemoryOptimized", |
| 20 | + "nodeCount": 3, |
| 21 | + "nodeStorageQuotaInMb": 524288, |
| 22 | + "nodeVCores": 8, |
| 23 | + "nodeEnablePublicIpAccess": false, |
| 24 | + "preferredPrimaryZone": "1" |
| 25 | + }, |
| 26 | + "tags": {} |
| 27 | + } |
| 28 | + }, |
| 29 | + "responses": { |
| 30 | + "200": { |
| 31 | + "body": { |
| 32 | + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg", |
| 33 | + "name": "hsctestsg", |
| 34 | + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", |
| 35 | + "tags": {}, |
| 36 | + "location": "westus", |
| 37 | + "systemData": { |
| 38 | + "createdBy": "user1", |
| 39 | + "createdByType": "User", |
| 40 | + "createdAt": "2022-01-01T17:18:19.1234567Z", |
| 41 | + "lastModifiedBy": "user2", |
| 42 | + "lastModifiedByType": "User", |
| 43 | + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" |
| 44 | + }, |
| 45 | + "properties": { |
| 46 | + "provisioningState": "Provisioning", |
| 47 | + "state": "Provisioning", |
| 48 | + "postgresqlVersion": "15", |
| 49 | + "citusVersion": "11.1", |
| 50 | + "maintenanceWindow": { |
| 51 | + "customWindow": "Disabled", |
| 52 | + "dayOfWeek": 0, |
| 53 | + "startHour": 0, |
| 54 | + "startMinute": 0 |
| 55 | + }, |
| 56 | + "administratorLogin": "citus", |
| 57 | + "preferredPrimaryZone": "1", |
| 58 | + "nodeCount": 3, |
| 59 | + "enableShardsOnCoordinator": false, |
| 60 | + "coordinatorServerEdition": "GeneralPurpose", |
| 61 | + "coordinatorStorageQuotaInMb": 524288, |
| 62 | + "coordinatorVCores": 4, |
| 63 | + "coordinatorEnablePublicIpAccess": true, |
| 64 | + "nodeServerEdition": "MemoryOptimized", |
| 65 | + "nodeStorageQuotaInMb": 524288, |
| 66 | + "nodeVCores": 8, |
| 67 | + "nodeEnablePublicIpAccess": false, |
| 68 | + "serverNames": [ |
| 69 | + { |
| 70 | + "name": "hsctestsg-c", |
| 71 | + "fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com" |
| 72 | + }, |
| 73 | + { |
| 74 | + "name": "hsctestsg-w0", |
| 75 | + "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" |
| 76 | + }, |
| 77 | + { |
| 78 | + "name": "hsctestsg-w2", |
| 79 | + "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" |
| 80 | + }, |
| 81 | + { |
| 82 | + "name": "hsctestsg-w3", |
| 83 | + "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" |
| 84 | + } |
| 85 | + ], |
| 86 | + "sourceResourceId": null, |
| 87 | + "sourceLocation": null, |
| 88 | + "pointInTimeUTC": null, |
| 89 | + "enableHa": true, |
| 90 | + "readReplicas": [], |
| 91 | + "earliestRestoreTime": null, |
| 92 | + "privateEndpointConnections": [] |
| 93 | + } |
| 94 | + } |
| 95 | + }, |
| 96 | + "201": { |
| 97 | + "headers": { |
| 98 | + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", |
| 99 | + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westus/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" |
| 100 | + }, |
| 101 | + "body": { |
| 102 | + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg", |
| 103 | + "name": "hsctestsg", |
| 104 | + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2", |
| 105 | + "tags": {}, |
| 106 | + "location": "westus", |
| 107 | + "systemData": { |
| 108 | + "createdBy": "user1", |
| 109 | + "createdByType": "User", |
| 110 | + "createdAt": "2022-01-01T17:18:19.1234567Z", |
| 111 | + "lastModifiedBy": "user2", |
| 112 | + "lastModifiedByType": "User", |
| 113 | + "lastModifiedAt": "2022-01-02T17:18:19.1234567Z" |
| 114 | + }, |
| 115 | + "properties": { |
| 116 | + "provisioningState": "Provisioning", |
| 117 | + "state": "Provisioning", |
| 118 | + "postgresqlVersion": "15", |
| 119 | + "citusVersion": "11.1", |
| 120 | + "maintenanceWindow": { |
| 121 | + "customWindow": "Disabled", |
| 122 | + "dayOfWeek": 0, |
| 123 | + "startHour": 0, |
| 124 | + "startMinute": 0 |
| 125 | + }, |
| 126 | + "administratorLogin": "citus", |
| 127 | + "preferredPrimaryZone": "1", |
| 128 | + "nodeCount": 3, |
| 129 | + "enableShardsOnCoordinator": false, |
| 130 | + "coordinatorServerEdition": "GeneralPurpose", |
| 131 | + "coordinatorStorageQuotaInMb": 524288, |
| 132 | + "coordinatorVCores": 4, |
| 133 | + "coordinatorEnablePublicIpAccess": true, |
| 134 | + "nodeServerEdition": "MemoryOptimized", |
| 135 | + "nodeStorageQuotaInMb": 524288, |
| 136 | + "nodeVCores": 8, |
| 137 | + "nodeEnablePublicIpAccess": false, |
| 138 | + "serverNames": [ |
| 139 | + { |
| 140 | + "name": "hsctestsg-c", |
| 141 | + "fullyQualifiedDomainName": "c.hsctestsg.marlin-development.com" |
| 142 | + }, |
| 143 | + { |
| 144 | + "name": "hsctestsg-w0", |
| 145 | + "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" |
| 146 | + }, |
| 147 | + { |
| 148 | + "name": "hsctestsg-w2", |
| 149 | + "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" |
| 150 | + }, |
| 151 | + { |
| 152 | + "name": "hsctestsg-w3", |
| 153 | + "fullyQualifiedDomainName": "w0.hsctestsg.marlin-development.com" |
| 154 | + } |
| 155 | + ], |
| 156 | + "sourceResourceId": null, |
| 157 | + "sourceLocation": null, |
| 158 | + "enableHa": true, |
| 159 | + "readReplicas": [], |
| 160 | + "earliestRestoreTime": null, |
| 161 | + "privateEndpointConnections": [] |
| 162 | + } |
| 163 | + } |
| 164 | + } |
| 165 | + } |
| 166 | +} |
0 commit comments