diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json index f45b57722c4f..b3b585547755 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreate.json @@ -7,7 +7,7 @@ "parameters": { "location": "westus", "properties": { - "administratorLoginPassword": "p@ssword1234", + "administratorLoginPassword": "password", "postgresqlVersion": "15", "citusVersion": "11.1", "enableHa": true, diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json new file mode 100644 index 000000000000..5198efc5f2cc --- /dev/null +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestResourceGroup", + "clusterName": "hsctestsg", + "configurationName": "array_nulls", + "api-version": "2022-11-08" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/coordinatorConfigurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2/coordinatorConfigurations", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "value": "on" + } + } + } + } +} diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json new file mode 100644 index 000000000000..7f9b1f095d42 --- /dev/null +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestResourceGroup", + "clusterName": "hsctestsg", + "configurationName": "array_nulls", + "api-version": "2022-11-08" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/nodeConfigurations/array_nulls", + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2/nodeConfigurations", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "value": "off" + } + } + } + } +} diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByCluster.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByCluster.json index 5a23e3a93f92..2eb94b5bbfb8 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByCluster.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByCluster.json @@ -38,7 +38,8 @@ "defaultValue": "on", "source": "user-override" } - ] + ], + "provisioningState": "Succeeded" } }, { @@ -70,7 +71,8 @@ "defaultValue": "safe_encoding", "source": "system-default" } - ] + ], + "provisioningState": "Succeeded" } }, { @@ -102,7 +104,8 @@ "defaultValue": "115712", "source": "system-default" } - ] + ], + "provisioningState": "Succeeded" } }, { @@ -134,7 +137,8 @@ "defaultValue": "sql_ascii", "source": "user-override" } - ] + ], + "provisioningState": "Succeeded" } } ] diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByServer.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByServer.json index 04262e9e1a76..d338f7238486 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByServer.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByServer.json @@ -28,7 +28,8 @@ "defaultValue": "", "dataType": "String", "allowedValues": "[A-Za-z0-9._-]*", - "source": "system-default" + "source": "system-default", + "provisioningState": "Succeeded" } }, { @@ -49,7 +50,8 @@ "defaultValue": "on", "dataType": "Boolean", "allowedValues": "on,off", - "source": "system-default" + "source": "system-default", + "provisioningState": "Succeeded" } }, { @@ -70,7 +72,8 @@ "defaultValue": "on", "dataType": "Boolean", "allowedValues": "on,off", - "source": "system-default" + "source": "system-default", + "provisioningState": "Succeeded" } } ] diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json index 6a61ac0ba0eb..075dd6bd9192 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json @@ -30,7 +30,7 @@ } } }, - "202": { + "201": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json index 0f5739497d9a..eaf081871787 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json @@ -30,7 +30,7 @@ } } }, - "202": { + "201": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json index ce9b77225c5e..43133f7698f0 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json @@ -32,7 +32,7 @@ } } }, - "202": { + "201": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json index baad985259ae..f144f64b7e12 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json @@ -22,7 +22,8 @@ }, "properties": { "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" + "endIpAddress": "255.255.255.255", + "provisioningState": "Succeeded" } } } diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleListByCluster.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleListByCluster.json index 0aaedac67e9d..f979e08c8e6f 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleListByCluster.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleListByCluster.json @@ -23,7 +23,8 @@ }, "properties": { "startIpAddress": "0.0.0.0", - "endIpAddress": "255.255.255.255" + "endIpAddress": "255.255.255.255", + "provisioningState": "Succeeded" } }, { @@ -40,7 +41,8 @@ }, "properties": { "startIpAddress": "1.0.0.0", - "endIpAddress": "255.0.0.0" + "endIpAddress": "255.0.0.0", + "provisioningState": "Succeeded" } } ] diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionCreateOrUpdate.json index 65783a2c081d..447d337421bf 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -33,7 +33,7 @@ } } }, - "202": { + "201": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json index a173ebc2cefc..9466324c2693 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json @@ -7,7 +7,7 @@ "api-version": "2022-11-08", "parameters": { "properties": { - "password": "p@ssword1234" + "password": "password" } } }, @@ -32,7 +32,7 @@ "properties": {} } }, - "202": { + "201": { "headers": { "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json new file mode 100644 index 000000000000..6df359ae34af --- /dev/null +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "resourceGroupName": "TestGroup", + "clusterName": "pgtestsvc4", + "roleName": "role1", + "api-version": "2022-11-08" + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2022-11-08" + }, + "body": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/pgtestsvc4/roles/role1", + "name": "role1", + "type": "Microsoft.DBforPostgreSQL/serverGroupsv2/roles", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleListByCluster.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleListByCluster.json index 27967abaf9c6..d76f6465d488 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleListByCluster.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleListByCluster.json @@ -21,7 +21,9 @@ "lastModifiedByType": "User", "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" }, - "properties": {} + "properties": { + "provisioningState": "Succeeded" + } }, { "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/pgtestsvc4/roles/role2", @@ -35,7 +37,9 @@ "lastModifiedByType": "User", "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" }, - "properties": {} + "properties": { + "provisioningState": "Succeeded" + } } ] } diff --git a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json index 7d106f1d7e30..b6cf75afd359 100644 --- a/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json +++ b/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/postgresqlhsc.json @@ -593,6 +593,49 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}": { + "get": { + "description": "Gets information of a configuration for coordinator.", + "tags": [ + "Configurations" + ], + "operationId": "Configurations_GetCoordinator", + "x-ms-examples": { + "Get configuration details for coordinator.": { + "$ref": "./examples/ConfigurationGetCoordinator.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + } + }, "put": { "description": "Updates configuration of coordinator in a cluster", "tags": [ @@ -641,7 +684,7 @@ "$ref": "#/definitions/ServerConfiguration" } }, - "202": { + "201": { "description": "Accepted", "schema": { "$ref": "#/definitions/ServerConfiguration" @@ -665,6 +708,49 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}": { + "get": { + "description": "Gets information of a configuration for node.", + "tags": [ + "Configurations" + ], + "operationId": "Configurations_GetNode", + "x-ms-examples": { + "Get configuration details for node.": { + "$ref": "./examples/ConfigurationGetNode.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServerConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + } + }, "put": { "description": "Updates configuration of nodes in a cluster", "tags": [ @@ -713,7 +799,7 @@ "$ref": "#/definitions/ServerConfiguration" } }, - "202": { + "201": { "description": "Accepted", "schema": { "$ref": "#/definitions/ServerConfiguration" @@ -785,7 +871,7 @@ "$ref": "#/definitions/FirewallRule" } }, - "202": { + "201": { "description": "Accepted", "schema": { "$ref": "#/definitions/FirewallRule" @@ -952,6 +1038,49 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}": { + "get": { + "description": "Gets information about a cluster role.", + "tags": [ + "Roles" + ], + "operationId": "Roles_Get", + "x-ms-examples": { + "Get the role of the cluster": { + "$ref": "./examples/RoleGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/RoleNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Role" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" + } + } + } + }, "put": { "tags": [ "Roles" @@ -1000,7 +1129,7 @@ "$ref": "#/definitions/Role" } }, - "202": { + "201": { "description": "Accepted", "schema": { "$ref": "#/definitions/Role" @@ -1551,7 +1680,7 @@ "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" } }, - "202": { + "201": { "description": "Accepted", "schema": { "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" @@ -2310,6 +2439,11 @@ }, "x-ms-identifiers": [], "uniqueItems": true + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the configuration", + "readOnly": true } }, "required": [ @@ -2423,7 +2557,13 @@ }, "requiresRestart": { "type": "boolean", - "description": "If configuration change requires restart." + "description": "If configuration change requires restart.", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the configuration", + "readOnly": true } }, "required": [ @@ -2435,17 +2575,8 @@ "type": "object", "properties": { "properties": { - "description": "Represents a configuration properties", - "type": "object", - "properties": { - "value": { - "description": "Represents the value of a configuration.", - "type": "string" - } - }, - "required": [ - "value" - ], + "$ref": "#/definitions/ServerConfigurationRequestProperties", + "description": "The properties of a configuration.", "x-ms-client-flatten": true } }, @@ -2453,6 +2584,19 @@ "properties" ] }, + "ServerConfigurationRequestProperties": { + "description": "The properties of a server configuration request.", + "type": "object", + "properties": { + "value": { + "description": "Represents the value of a configuration.", + "type": "string" + } + }, + "required": [ + "value" + ] + }, "ServerConfiguration": { "description": "Represents a configuration.", "type": "object", @@ -2500,6 +2644,11 @@ "type": "string", "description": "The end IP address of the cluster firewall rule. Must be IPv4 format.", "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the firewall rule", + "readOnly": true } }, "required": [ @@ -2550,6 +2699,11 @@ "update" ], "description": "The password of the cluster role." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the cluster role", + "readOnly": true } }, "required": [