diff --git a/specification/postgresql/DBforPostgreSQL.Management/AdministratorMicrosoftEntra.tsp b/specification/postgresql/DBforPostgreSQL.Management/AdministratorMicrosoftEntra.tsp new file mode 100644 index 000000000000..f75033affa92 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/AdministratorMicrosoftEntra.tsp @@ -0,0 +1,77 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Server administrator associated to a Microsoft Entra principal. + */ +@parentResource(Server) +model AdministratorMicrosoftEntra + is Azure.ResourceManager.ProxyResource< + AdministratorMicrosoftEntraProperties, + false + > { + ...ResourceNameParameter< + Resource = AdministratorMicrosoftEntra, + KeyName = "objectId", + SegmentName = "administrators", + NamePattern = "" + >; +} + +@armResourceOperations +interface AdministratorMicrosoftEntras { + /** + * Gets information about a server administrator associated to a Microsoft Entra principal. + */ + get is ArmResourceRead; + + /** + * Creates a new server administrator associated to a Microsoft Entra principal. + */ + @Azure.Core.useFinalStateVia("azure-async-operation") + @put + createOrUpdate is Azure.ResourceManager.Foundations.ArmCreateOperation< + ResourceInstanceParameters< + AdministratorMicrosoftEntra, + Azure.ResourceManager.Foundations.DefaultBaseParameters + >, + AdministratorMicrosoftEntraAdd, + Response = ArmAcceptedLroResponse, + ErrorResponse = ErrorResponse + >; + + /** + * Deletes an existing server administrator associated to a Microsoft Entra principal. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List all server administrators associated to a Microsoft Entra principal. + */ + listByServer is ArmResourceListByParent< + AdministratorMicrosoftEntra, + Response = ArmResponse + >; +} + +@@doc(AdministratorMicrosoftEntra.name, + "Object identifier of the Microsoft Entra principal." +); +@@doc(AdministratorMicrosoftEntra.properties, + "Properties of a server administrator associated to a Microsoft Entra principal." +); +@@doc(AdministratorMicrosoftEntras.createOrUpdate::parameters.resource, + "Required parameters for adding a server administrator associated to a Microsoft Entra principal." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/AdvancedThreatProtectionSettingsModel.tsp b/specification/postgresql/DBforPostgreSQL.Management/AdvancedThreatProtectionSettingsModel.tsp new file mode 100644 index 000000000000..14fa505c2a93 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/AdvancedThreatProtectionSettingsModel.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Advanced threat protection settings of the server. + */ +@parentResource(Server) +model AdvancedThreatProtectionSettingsModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = AdvancedThreatProtectionSettingsModel, + KeyName = "threatProtectionName", + SegmentName = "advancedThreatProtectionSettings", + NamePattern = "", + Type = ThreatProtectionName + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface AdvancedThreatProtectionSettingsModels { + /** + * Gets state of advanced threat protection settings for a server. + */ + get is ArmResourceRead; + + /** + * Creates or updates a server's Advanced Threat Protection settings. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + AdvancedThreatProtectionSettingsModel, + Response = ArmAcceptedLroResponse + >; + + /** + * Lists state of advanced threat protection settings for a server. + */ + listByServer is ArmResourceListByParent< + AdvancedThreatProtectionSettingsModel, + Response = ArmResponse + >; +} + +@@doc(AdvancedThreatProtectionSettingsModel.name, + "Name of the advanced threat protection settings." +); +@@doc(AdvancedThreatProtectionSettingsModel.properties, + "Advanced threat protection properties." +); +@@doc(AdvancedThreatProtectionSettingsModels.createOrUpdate::parameters.resource, + "The Advanced Threat Protection state for the server." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/BackupAutomaticAndOnDemand.tsp b/specification/postgresql/DBforPostgreSQL.Management/BackupAutomaticAndOnDemand.tsp new file mode 100644 index 000000000000..1f6796f96da4 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/BackupAutomaticAndOnDemand.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; +import "./legacy.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Properties of a backup. + */ +@parentResource(Server) +model BackupAutomaticAndOnDemand + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BackupAutomaticAndOnDemand, + KeyName = "backupName", + SegmentName = "backups", + NamePattern = "^[-\\w\\._]+$" + >; +} + +@armResourceOperations +interface BackupAutomaticAndOnDemands { + /** + * Gets information of an on demand backup, given its name. + */ + get is ArmResourceRead; + + // FIXME: (ArmResourceCreateOrReplace): ArmResourceCreateOrReplaceAsync/ArmResourceCreateOrReplaceSync should have a body parameter. + /** + * Creates an on demand backup of a server. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") + create is CustomArmResourceCreateOrReplaceAsync< + BackupAutomaticAndOnDemand, + Response = ArmAcceptedLroResponse + >; + + /** + * Deletes a specific backup, given its name. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all available backups of a server. + */ + listByServer is ArmResourceListByParent< + BackupAutomaticAndOnDemand, + Response = ArmResponse + >; +} + +@@maxLength(BackupAutomaticAndOnDemand.name, 128); +@@minLength(BackupAutomaticAndOnDemand.name, 1); +@@doc(BackupAutomaticAndOnDemand.name, "Name of the backup."); +@@doc(BackupAutomaticAndOnDemand.properties, "Properties of a backup."); diff --git a/specification/postgresql/DBforPostgreSQL.Management/BackupsLongTermRetentionOperation.tsp b/specification/postgresql/DBforPostgreSQL.Management/BackupsLongTermRetentionOperation.tsp new file mode 100644 index 000000000000..3fe33c156208 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/BackupsLongTermRetentionOperation.tsp @@ -0,0 +1,49 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Response for the LTR backup Operation API call + */ +@parentResource(Server) +model BackupsLongTermRetentionOperation + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BackupsLongTermRetentionOperation, + KeyName = "backupName", + SegmentName = "ltrBackupOperations", + NamePattern = "^[-\\w\\._]+$" + >; +} + +@armResourceOperations +interface BackupsLongTermRetentionOperations { + /** + * Gets the results of a long retention backup operation for a server. + */ + get is ArmResourceRead; + + /** + * Lists the results of the long term retention backup operations for a server. + */ + listByServer is ArmResourceListByParent< + BackupsLongTermRetentionOperation, + Response = ArmResponse + >; +} + +@@doc(BackupsLongTermRetentionOperation.name, "The name of the backup."); +@@doc(BackupsLongTermRetentionOperation.properties, + "Long Term Retention Backup Operation Resource Properties" +); +@@minLength(BackupsLongTermRetentionOperation.name, 1); +@@maxLength(BackupsLongTermRetentionOperation.name, 128); diff --git a/specification/postgresql/DBforPostgreSQL.Management/Configuration.tsp b/specification/postgresql/DBforPostgreSQL.Management/Configuration.tsp new file mode 100644 index 000000000000..148e5fd377bb --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/Configuration.tsp @@ -0,0 +1,89 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using Azure.Core; + +namespace Microsoft.DBforPostgreSQL; +/** + * Configuration (also known as server parameter). + */ +@parentResource(Server) +model Configuration + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Configuration, + KeyName = "configurationName", + SegmentName = "configurations", + NamePattern = "^[-\\w\\._]+$" + >; +} + +@armResourceOperations +interface Configurations { + /** + * Gets information about a specific configuration (also known as server parameter) of a server. + */ + get is ArmResourceRead; + + /** + * Updates, using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @useFinalStateVia("azure-async-operation") + @put + put is Azure.ResourceManager.Foundations.ArmCreateOperation< + ResourceInstanceParameters< + Configuration, + Azure.ResourceManager.Foundations.DefaultBaseParameters + >, + ConfigurationForUpdate, + Response = ArmAcceptedLroResponse, + ErrorResponse = ErrorResponse + >; + + /** + * Updates the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + */ + @patch(#{ implicitOptionality: false }) + @useFinalStateVia("azure-async-operation") + update is ArmCustomPatchAsync< + Configuration, + PatchModel = ConfigurationForUpdate, + Response = ArmAcceptedLroResponse + >; + + /** + * Lists all configurations (also known as server parameters) of a server. + */ + listByServer is ArmResourceListByParent< + Configuration, + Response = ArmResponse + >; +} + +@@maxLength(Configuration.name, 256); +@@minLength(Configuration.name, 1); +@@doc(Configuration.name, + "Name of the configuration (also known as server parameter)." +); +@@doc(Configuration.properties, + "Properties of a configuration (also known as server parameter)." +); +@@doc(Configurations.put::parameters.resource, + "Parameters required to update the value of a specific modifiable configuration (also known as server parameter)." +); +@@doc(Configurations.update::parameters.properties, + "Parameters required to update the value of a specific modifiable configuration (also known as server parameter)." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/Database.tsp b/specification/postgresql/DBforPostgreSQL.Management/Database.tsp new file mode 100644 index 000000000000..af2a8f7fcfab --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/Database.tsp @@ -0,0 +1,69 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using Azure.Core; + +namespace Microsoft.DBforPostgreSQL; +/** + * Represents a database. + */ +@parentResource(Server) +model Database is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Database, + KeyName = "databaseName", + SegmentName = "databases", + NamePattern = "^[a-zA-Z_][\\w\\-]{0,62}$" + >; +} + +@armResourceOperations +interface Databases { + /** + * Gets information about an existing database. + */ + get is ArmResourceRead; + + /** + * Creates a new database. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @useFinalStateVia("azure-async-operation") + create is ArmResourceCreateOrReplaceAsync< + Database, + Response = ArmAcceptedLroResponse + >; + + /** + * Deletes an existing database. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all databases in a server. + */ + listByServer is ArmResourceListByParent< + Database, + Response = ArmResponse + >; +} + +@@maxLength(Database.name, 63); +@@minLength(Database.name, 1); +@@doc(Database.name, + "Name of the database (case-sensitive). Exact database names can be retrieved by getting the list of all existing databases in a server." +); +@@doc(Database.properties, "Properties of a database."); +@@doc(Databases.create::parameters.resource, + "Parameters required to create a new database." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/FirewallRule.tsp b/specification/postgresql/DBforPostgreSQL.Management/FirewallRule.tsp new file mode 100644 index 000000000000..a85f6dd9f801 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/FirewallRule.tsp @@ -0,0 +1,67 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Firewall rule. + */ +@parentResource(Server) +model FirewallRule + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FirewallRule, + KeyName = "firewallRuleName", + SegmentName = "firewallRules", + NamePattern = "^[a-zA-Z0-9][-_a-zA-Z0-9]{0,79}(?; +} + +@armResourceOperations +interface FirewallRules { + /** + * Gets information about a firewall rule in a server. + */ + get is ArmResourceRead; + + /** + * Creates a new firewall rule or updates an existing firewall rule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + FirewallRule, + Response = ArmAcceptedLroResponse + >; + + /** + * Deletes an existing firewall rule. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists information about all firewall rules in a server. + */ + listByServer is ArmResourceListByParent< + FirewallRule, + Response = ArmResponse + >; +} + +@@maxLength(FirewallRule.name, 80); +@@minLength(FirewallRule.name, 1); +@@doc(FirewallRule.name, "Name of the firewall rule."); +@@doc(FirewallRule.properties, "Properties of a firewall rule."); +@@doc(FirewallRules.createOrUpdate::parameters.resource, + "Parameters required for creating or updating a firewall rule." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/Migration.tsp b/specification/postgresql/DBforPostgreSQL.Management/Migration.tsp new file mode 100644 index 000000000000..8b2053d0c6a0 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/Migration.tsp @@ -0,0 +1,79 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Properties of a migration. + */ +@parentResource(Server) +model Migration is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Migration, + KeyName = "migrationName", + SegmentName = "migrations", + NamePattern = "^[a-z][a-z0-9]*$" + >; +} + +@armResourceOperations +interface Migrations { + /** + * Gets information about a migration. + */ + get is ArmResourceRead; + + /** + * Creates a new migration. + */ + create is ArmResourceCreateOrReplaceSync; + + /** + * Updates an existing migration. The request body can contain one to many of the mutable properties present in the migration definition. Certain property updates initiate migration state transitions. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + Migration, + PatchModel = MigrationResourceForPatch + >; + + /** + * Cancels an active migration. + */ + cancel is ArmResourceDeleteSync< + Migration, + Response = ArmResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all migrations of a target flexible server. + */ + listByTargetServer is ArmResourceListByParent< + Migration, + Parameters = { + /** + * Migration list filter. Indicates if the request should retrieve only active migrations or all migrations. Defaults to Active. + */ + @query("migrationListFilter") + migrationListFilter?: MigrationListFilter; + }, + Response = ArmResponse + >; +} + +@@doc(Migration.name, "Name of migration."); +@@doc(Migration.properties, "Migration properties."); +@@doc(Migrations.create::parameters.resource, + "Parameters required for creating a migration." +); +@@doc(Migrations.update::parameters.properties, + "Parameters required to update an existing migration." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/PrivateEndpointConnection.tsp b/specification/postgresql/DBforPostgreSQL.Management/PrivateEndpointConnection.tsp new file mode 100644 index 000000000000..7dd794ab27eb --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/PrivateEndpointConnection.tsp @@ -0,0 +1,62 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using Azure.ResourceManager.Legacy; + +namespace Microsoft.DBforPostgreSQL; +/** + * The private endpoint connection resource. + */ +model PrivateEndpointConnection is PrivateEndpointConnectionResource; +alias PrivateEndpointOperations = Azure.ResourceManager.PrivateEndpoints; + +@armResourceOperations +interface PrivateEndpointConnections { + /** + * Gets a private endpoint connection. + */ + get is PrivateEndpointOperations.Read; + + /** + * Approves or rejects a private endpoint connection. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + update is PrivateEndpointOperations.CreateOrUpdateAsync< + Server, + Response = ArmAcceptedLroResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Deletes a private endpoint connection. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is PrivateEndpointOperations.DeleteAsync< + Server, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Lists all private endpoint connections on a server. + */ + @list + listByServer is Azure.ResourceManager.Legacy.PrivateEndpoints.ListSinglePageByParent< + Server, + PrivateEndpointConnection, + Response = ArmResponse + >; +} + +@@doc(PrivateEndpointConnection.properties, "Resource properties."); +@@doc(PrivateEndpointConnections.update::parameters.resource, + "Parameters required to update a private endpoint connection." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/PrivateLinkResource.tsp b/specification/postgresql/DBforPostgreSQL.Management/PrivateLinkResource.tsp new file mode 100644 index 000000000000..f5a4d17203e9 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/PrivateLinkResource.tsp @@ -0,0 +1,45 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * A private link resource. + */ +@parentResource(Server) +model PrivateLinkResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateLinkResource, + KeyName = "groupName", + SegmentName = "privateLinkResources", + NamePattern = "^.*$" + >; +} + +@armResourceOperations +interface PrivateLinkResources { + /** + * Gets a private link resource for PostgreSQL server. + */ + get is ArmResourceRead; + + /** + * Gets the private link resources for PostgreSQL server. + */ + listByServer is ArmResourceListByParent< + PrivateLinkResource, + Response = ArmResponse + >; +} + +@@doc(PrivateLinkResource.name, "The name of the private link resource."); +@@doc(PrivateLinkResource.properties, "Resource properties."); diff --git a/specification/postgresql/DBforPostgreSQL.Management/Server.tsp b/specification/postgresql/DBforPostgreSQL.Management/Server.tsp new file mode 100644 index 000000000000..62d7a7b8c321 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/Server.tsp @@ -0,0 +1,220 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Properties of a server. + */ +model Server is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Server, + KeyName = "serverName", + SegmentName = "flexibleServers", + NamePattern = "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*" + >; + + /** + * Compute tier and size of a server. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: Sku; + + /** + * User assigned managed identities assigned to the server. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: UserAssignedIdentity; +} + +@armResourceOperations +interface Servers { + /** + * Gets information about an existing server. + */ + get is ArmResourceRead; + + /** + * Creates a new server. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Server, + Response = ArmAcceptedLroResponse + >; + + /** + * Updates an existing server. The request body can contain one or multiple of the properties present in the normal server definition. + */ + @Azure.Core.useFinalStateVia("azure-async-operation") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + Server, + PatchModel = ServerForPatch, + Response = ArmAcceptedLroResponse + >; + + /** + * Deletes or drops an existing server. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all servers in a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + Server, + Response = ArmResponse + >; + + /** + * Lists all servers in a subscription. + */ + listBySubscription is ArmListBySubscription< + Server, + Response = ArmResponse + >; + + /** + * Lists the capabilities available for a given server. + */ + @list + @get + @action("capabilities") + list is ArmResourceActionSync>; + + /** + * Lists all captured logs for download in a server. + */ + @get + @list + @action("logFiles") + listByServer is ArmResourceActionSync< + Server, + void, + ArmResponse + >; + + /** + * Performs all checks required for a long term retention backup operation to succeed. + */ + @action("ltrPreBackup") + checkPrerequisites is ArmResourceActionAsyncBase< + Server, + LtrPreBackupRequest, + Response = LtrPreBackupResponse & { + @header("x-ms-request-id") + @doc("A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.") + requestId?: string; + }, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = CustomErrorResponse + >; + + /** + * Initiates a long term retention backup. + */ + @action("startLtrBackup") + start is ArmResourceActionAsyncBase< + Server, + BackupsLongTermRetentionRequest, + (BackupsLongTermRetentionResponse & { + @header("x-ms-request-id") + @doc("A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.") + requestId?: string; + }) | (ArmAcceptedLroResponse & + ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader> & { + @header("x-ms-request-id") + @doc("A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.") + requestId?: string; + }), + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = CustomErrorResponse + >; + + /** + * Checks if a proposed migration name is valid and available. + */ + @action("checkMigrationNameAvailability") + checkNameAvailability is ArmResourceActionSync< + Server, + MigrationNameAvailability, + ArmResponse + >; + + /** + * Lists all read replicas of a server. + */ + @get + @list + @action("replicas") + replicasListByServer is ArmResourceActionSync< + Server, + void, + ArmResponse + >; + + /** + * Restarts PostgreSQL database engine in a server. + */ + restart is ArmResourceActionAsyncBase< + Server, + RestartParameter, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + OptionalRequestBody = true + >; + + /** + * Starts a stopped server. + */ + @action("start") + serversStart is ArmResourceActionAsyncBase< + Server, + void, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters + >; + + /** + * Stops a server. + */ + stop is ArmResourceActionAsyncBase< + Server, + void, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters + >; +} + +@@maxLength(Server.name, 63); +@@minLength(Server.name, 3); +@@doc(Server.name, "The name of the server."); +@@doc(Server.properties, "Properties of a server."); +@@doc(Servers.createOrUpdate::parameters.resource, + "Parameters required to create a new server or to update an existing server." +); +@@doc(Servers.update::parameters.properties, + "Parameters required to update a server." +); +@@doc(Servers.checkPrerequisites::parameters.body, + "Request body for operation" +); +@@doc(Servers.start::parameters.body, "Request body for operation"); +@@doc(Servers.checkNameAvailability::parameters.body, + "Parameters required to check if a migration name is valid and available." +); +@@doc(Servers.restart::parameters.body, "Parameters to restart a server."); diff --git a/specification/postgresql/DBforPostgreSQL.Management/TuningOptions.tsp b/specification/postgresql/DBforPostgreSQL.Management/TuningOptions.tsp new file mode 100644 index 000000000000..0eff518bbae5 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/TuningOptions.tsp @@ -0,0 +1,68 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; +/** + * Impact on some metric if this recommended action is applied. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(Server) +@Http.Private.includeInapplicableMetadataInPayload(false) +model TuningOptions extends Foundations.ProxyResource { + ...ResourceNameParameter< + Resource = TuningOptions, + KeyName = "tuningOption", + SegmentName = "tuningOptions", + NamePattern = "", + Type = TuningOption + >; +} + +@armResourceOperations +interface TuningOptionsOperationGroup { + /** + * Gets the tuning options of a server. + */ + get is ArmResourceRead; + + /** + * Lists the tuning options of a server. + */ + listByServer is ArmResourceListByParent< + TuningOptions, + Response = ArmResponse + >; + + /** + * Lists available object recommendations. + */ + @get + @list + @action("recommendations") + listRecommendations is ArmResourceActionSync< + TuningOptions, + void, + ArmResponse, + Parameters = { + /** + * Recommendations list filter. Retrieves recommendations based on type. + */ + @query("recommendationType") + recommendationType?: RecommendationType; + } + >; +} + +@@doc(TuningOptions.name, "The name of the tuning option."); diff --git a/specification/postgresql/DBforPostgreSQL.Management/VirtualEndpoint.tsp b/specification/postgresql/DBforPostgreSQL.Management/VirtualEndpoint.tsp new file mode 100644 index 000000000000..791e8c94c04d --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/VirtualEndpoint.tsp @@ -0,0 +1,86 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Server.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using Azure.Core; + +namespace Microsoft.DBforPostgreSQL; +// FIXME: VirtualEndpoint has no properties property +/** + * Pair of virtual endpoints for a server. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(Server) +model VirtualEndpoint + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = VirtualEndpoint, + KeyName = "virtualEndpointName", + SegmentName = "virtualendpoints", + NamePattern = "^[A-Za-z0-9][A-Za-z0-9-]{0,62}(?; +} + +@armResourceOperations +interface VirtualEndpoints { + /** + * Gets information about a pair of virtual endpoints. + */ + get is ArmResourceRead; + + /** + * Creates a pair of virtual endpoints for a server. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @useFinalStateVia("azure-async-operation") + create is ArmResourceCreateOrReplaceAsync< + VirtualEndpoint, + Response = ArmAcceptedLroResponse + >; + + /** + * Updates a pair of virtual endpoints for a server. + */ + @patch(#{ implicitOptionality: false }) + @useFinalStateVia("azure-async-operation") + update is ArmCustomPatchAsync< + VirtualEndpoint, + PatchModel = VirtualEndpointResourceForPatch, + Response = ArmAcceptedLroResponse + >; + + /** + * Deletes a pair of virtual endpoints. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists pair of virtual endpoints associated to a server. + */ + listByServer is ArmResourceListByParent< + VirtualEndpoint, + Response = ArmResponse + >; +} + +@@maxLength(VirtualEndpoint.name, 63); +@@minLength(VirtualEndpoint.name, 3); +@@doc(VirtualEndpoint.name, "Base name of the virtual endpoints."); +@@doc(VirtualEndpoints.create::parameters.resource, + "Parameters required to create or update a pair of virtual endpoints." +); +@@doc(VirtualEndpoints.update::parameters.properties, + "Parameters required to update a pair of virtual endpoints." +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/back-compatible.tsp b/specification/postgresql/DBforPostgreSQL.Management/back-compatible.tsp new file mode 100644 index 000000000000..fd4feca05349 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/back-compatible.tsp @@ -0,0 +1,171 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.DBforPostgreSQL; + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AdministratorMicrosoftEntraAdd.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(CapturedLog.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ConfigurationForUpdate.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(LtrPreBackupResponse.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BackupsLongTermRetentionResponse.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(MigrationResourceForPatch.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ServerForPatch.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ObjectRecommendation.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(VirtualEndpointResourceForPatch.properties); + +@@clientLocation(AdministratorMicrosoftEntras.get, + "AdministratorsMicrosoftEntra" +); +@@clientLocation(AdministratorMicrosoftEntras.createOrUpdate, + "AdministratorsMicrosoftEntra" +); +@@clientName(AdministratorMicrosoftEntras.createOrUpdate::parameters.resource, + "parameters" +); +@@clientLocation(AdministratorMicrosoftEntras.delete, + "AdministratorsMicrosoftEntra" +); +@@clientLocation(AdministratorMicrosoftEntras.listByServer, + "AdministratorsMicrosoftEntra" +); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AdministratorMicrosoftEntra.properties); + +@@clientLocation(AdvancedThreatProtectionSettingsModels.get, + "AdvancedThreatProtectionSettings" +); +@@clientLocation(AdvancedThreatProtectionSettingsModels.createOrUpdate, + "ServerThreatProtectionSettings" +); +@@clientName(AdvancedThreatProtectionSettingsModels.createOrUpdate::parameters.resource, + "parameters" +); +@@clientLocation(AdvancedThreatProtectionSettingsModels.listByServer, + "AdvancedThreatProtectionSettings" +); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(AdvancedThreatProtectionSettingsModel.properties); + +@@clientLocation(BackupAutomaticAndOnDemands.get, + "BackupsAutomaticAndOnDemand" +); +@@clientLocation(BackupAutomaticAndOnDemands.create, + "BackupsAutomaticAndOnDemand" +); +@@clientLocation(BackupAutomaticAndOnDemands.delete, + "BackupsAutomaticAndOnDemand" +); +@@clientLocation(BackupAutomaticAndOnDemands.listByServer, + "BackupsAutomaticAndOnDemand" +); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BackupAutomaticAndOnDemand.properties); + +@@clientName(Configurations.put::parameters.resource, "parameters"); +@@clientName(Configurations.update::parameters.properties, "parameters"); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Configuration.properties); + +@@clientName(Databases.create::parameters.resource, "parameters"); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Database.properties); + +@@clientName(FirewallRules.createOrUpdate::parameters.resource, "parameters"); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(FirewallRule.properties); + +@@clientLocation(BackupsLongTermRetentionOperations.get, + "BackupsLongTermRetention" +); +@@clientLocation(BackupsLongTermRetentionOperations.listByServer, + "BackupsLongTermRetention" +); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BackupsLongTermRetentionOperation.properties); + +@@clientName(Migrations.create::parameters.resource, "parameters"); +@@clientName(Migrations.update::parameters.properties, "parameters"); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Migration.properties); + +@@clientName(PrivateEndpointConnections.update::parameters.resource, + "parameters" +); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PrivateEndpointConnection.properties); + +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PrivateLinkResource.properties); + +@@clientName(Servers.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Servers.update::parameters.properties, "parameters"); +@@clientLocation(Servers.list, "CapabilitiesByServer"); +@@clientLocation(Servers.listByServer, "CapturedLogs"); +@@clientLocation(Servers.checkPrerequisites, "BackupsLongTermRetention"); +@@clientName(Servers.checkPrerequisites::parameters.body, "parameters"); +@@clientLocation(Servers.start, "BackupsLongTermRetention"); +@@clientName(Servers.start::parameters.body, "parameters"); +@@clientLocation(Servers.checkNameAvailability, Migrations); +@@clientName(Servers.checkNameAvailability::parameters.body, "parameters"); +@@clientLocation(Servers.replicasListByServer, "Replicas"); +@@clientName(Servers.replicasListByServer, "ListByServer"); +@@clientName(Servers.restart::parameters.body, "parameters"); +@@clientName(Servers.serversStart, "Start"); +#suppress "deprecated" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Server.properties); + +@@clientLocation(TuningOptionsOperationGroup.get, "TuningOptions"); +@@clientLocation(TuningOptionsOperationGroup.listByServer, "TuningOptions"); +@@clientLocation(TuningOptionsOperationGroup.listRecommendations, + "TuningOptions" +); + +@@clientName(VirtualEndpoints.create::parameters.resource, "parameters"); +@@clientName(VirtualEndpoints.update::parameters.properties, "parameters"); + +@@clientLocation(CapabilitiesByLocationOperationGroup.list, + "CapabilitiesByLocation" +); + +@@clientLocation(NameAvailabilityOperationGroup.checkGlobally, + "NameAvailability" +); +@@clientLocation(NameAvailabilityOperationGroup.checkWithLocation, + "NameAvailability" +); + +@@clientLocation(PrivateDnsZoneSuffixOperationGroup.get, + "PrivateDnsZoneSuffix" +); + +@@clientLocation(QuotaUsagesOperationGroup.list, "QuotaUsages"); + +@@clientLocation(VirtualNetworkSubnetUsageOperationGroup.list, + "VirtualNetworkSubnetUsage" +); +@@clientName(NameAvailabilityOperationGroup.checkGlobally::parameters.body, + "parameters" +); +@@clientName(NameAvailabilityOperationGroup.checkWithLocation::parameters.body, + "parameters" +); +@@clientName(VirtualNetworkSubnetUsageOperationGroup.list::parameters.body, + "parameters" +); diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraAdd.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraAdd.json new file mode 100644 index 000000000000..a6b40eb15fb9 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraAdd.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "objectId": "oooooooo-oooo-oooo-oooo-oooooooooooo", + "parameters": { + "properties": { + "principalName": "exampleuser@contoso.com", + "principalType": "User", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "AdministratorsMicrosoftEntra_CreateOrUpdate", + "title": "Add a server administrator associated to a Microsoft Entra principal." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraDelete.json new file mode 100644 index 000000000000..4237d19fc71a --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "objectId": "oooooooo-oooo-oooo-oooo-oooooooooooo", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "AdministratorsMicrosoftEntra_Delete", + "title": "Delete a server administrator associated to a Microsoft Entra principal." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraGet.json new file mode 100644 index 000000000000..704e029b6334 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "objectId": "oooooooo-oooo-oooo-oooo-oooooooooooo", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleuser@contoso.com", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/administrators", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/administrators/oooooooo-oooo-oooo-oooo-oooooooooooo", + "properties": { + "objectId": "oooooooo-oooo-oooo-oooo-oooooooooooo", + "principalName": "exampleuser@contoso.com", + "principalType": "User", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + } + } + }, + "operationId": "AdministratorsMicrosoftEntra_Get", + "title": "Get information about a server administrator associated to a Microsoft Entra principal." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraListByServer.json new file mode 100644 index 000000000000..ea0f51df12ed --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdministratorsMicrosoftEntraListByServer.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.DBforPostgreSQL/flexibleServers/administrators", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/administrators/oooooooo-oooo-oooo-oooo-oooooooooooo", + "properties": { + "objectId": "oooooooo-oooo-oooo-oooo-oooooooooooo", + "principalName": "exampleuser@contoso.com", + "principalType": "User", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + }, + { + "type": "Microsoft.DBforPostgreSQL/flexibleServers/administrators", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/administrators/gggggggg-gggg-gggg-gggg-gggggggggggg", + "properties": { + "objectId": "gggggggg-gggg-gggg-gggg-gggggggggggg", + "principalName": "examplegroup@contoso.com", + "principalType": "Group", + "tenantId": "tttttttt-tttt-tttt-tttt-tttttttttttt" + } + } + ] + } + } + }, + "operationId": "AdministratorsMicrosoftEntra_ListByServer", + "title": "List information about all server administrators associated to Microsoft Entra principals." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsCreateOrUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsCreateOrUpdate.json new file mode 100644 index 000000000000..d72ca1f63cde --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsCreateOrUpdate.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "state": "Enabled" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "threatProtectionName": "Default" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "ServerThreatProtectionSettings_CreateOrUpdate", + "title": "Update the advanced threat protection settings of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsGet.json new file mode 100644 index 000000000000..17af2453a9ed --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "threatProtectionName": "Default" + }, + "responses": { + "200": { + "body": { + "name": "Default", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/advancedThreatProtectionSettings/Default", + "properties": { + "creationTime": "2025-06-01T18:30:22.123456Z", + "state": "Enabled" + } + } + } + }, + "operationId": "AdvancedThreatProtectionSettings_Get", + "title": "Get state of advanced threat protection settings for a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsListByServer.json new file mode 100644 index 000000000000..9f640b3ff795 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/AdvancedThreatProtectionSettingsListByServer.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Default", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/advancedThreatProtectionSettings/Default", + "properties": { + "creationTime": "2025-06-01T18:30:22.123456Z", + "state": "Enabled" + } + } + ] + } + } + }, + "operationId": "AdvancedThreatProtectionSettings_ListByServer", + "title": "List state of advanced threat protection settings for a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandCreate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandCreate.json new file mode 100644 index 000000000000..63f24b3e77a6 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandCreate.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "backupName": "ondemandbackup-20250601T183022", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "BackupsAutomaticAndOnDemand_Create", + "title": "Create an on demand backup of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandDelete.json new file mode 100644 index 000000000000..987444a48b15 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "backupName": "ondemandbackup-20250601T183022", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "BackupsAutomaticAndOnDemand_Delete", + "title": "Delete an on demand backup, given its name." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandGet.json new file mode 100644 index 000000000000..d4c36d368c5f --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "backupName": "backup_638830782181266873", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "backup_20250601T183022", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/backups", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/backups/backup_638830782181266873", + "properties": { + "backupType": "Full", + "completedTime": "2025-06-01T14:30:22.123456+00:00", + "source": "Automatic" + } + } + } + }, + "operationId": "BackupsAutomaticAndOnDemand_Get", + "title": "Get an on demand backup, given its name." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandListByServer.json new file mode 100644 index 000000000000..b8605698c66b --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsAutomaticAndOnDemandListByServer.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "backup_638830782181266873", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/backups", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/backups/backup_638830782181266873", + "properties": { + "backupType": "Full", + "completedTime": "2025-06-01T14:30:22.123456+00:00", + "source": "Automatic" + } + }, + { + "name": "ondemandbackup-20250601T183022", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/backups", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/backups/ondemandbackup-20250601T183022", + "properties": { + "backupType": "Customer On-Demand", + "completedTime": "2025-06-01T18:30:22.123456+00:00", + "source": "Customer Initiated" + } + } + ] + } + } + }, + "operationId": "BackupsAutomaticAndOnDemand_ListByServer", + "title": "List all available backups of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionCheckPrerequisites.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionCheckPrerequisites.json new file mode 100644 index 000000000000..65989a4112d5 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionCheckPrerequisites.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "backupSettings": { + "backupName": "exampleltrbackup" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "properties": { + "numberOfContainers": 1 + } + } + } + }, + "operationId": "BackupsLongTermRetention_CheckPrerequisites", + "title": "Perform all checks required for a long term retention backup operation to succeed." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionGet.json new file mode 100644 index 000000000000..992ed2c5cb27 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "backupName": "exampleltrbackup", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleltrbackup", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/ltrbackupOperations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver", + "properties": { + "backupMetadata": "backupMetadata", + "backupName": "exampleltrbackup", + "dataTransferredInBytes": 9, + "datasourceSizeInBytes": 21, + "endTime": "2025-06-01T18:35:22.123Z", + "percentComplete": 4, + "startTime": "2025-06-01T18:30:22.123Z", + "status": "Running" + } + } + } + }, + "operationId": "BackupsLongTermRetention_Get", + "title": "Get the results of a long retention backup operation for a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionListByServer.json new file mode 100644 index 000000000000..1cc534b544b3 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionListByServer.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "exampleltrbackup", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/ltrbackupOperations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver", + "properties": { + "backupMetadata": "backupMetadata", + "backupName": "exampleltrbackup", + "dataTransferredInBytes": 9, + "datasourceSizeInBytes": 21, + "endTime": "2025-06-01T18:35:22.123Z", + "percentComplete": 4, + "startTime": "2025-06-01T18:30:22.123Z", + "status": "Running" + } + } + ] + } + } + }, + "operationId": "BackupsLongTermRetention_ListByServer", + "title": "List the results of the long term retention backup operations for a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionStart.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionStart.json new file mode 100644 index 000000000000..daead4cf94ae --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/BackupsLongTermRetentionStart.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "backupSettings": { + "backupName": "exampleltrbackup" + }, + "targetDetails": { + "sasUriList": [ + "sasuri" + ] + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "properties": { + "backupMetadata": "backupmetadata", + "dataTransferredInBytes": 23, + "datasourceSizeInBytes": 23, + "endTime": "2025-06-01T18:35:22.123Z", + "percentComplete": 100, + "startTime": "2025-06-01T18:30:22.123Z", + "status": "Running" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westcentralus/azureAsyncOperation/ffc80e91-03db-4534-b5de-bacb77aa6a81?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/westcentralus/operationResults/ffc80e91-03db-4534-b5de-bacb77aa6a81?api-version=2025-06-01-preview" + } + } + }, + "operationId": "BackupsLongTermRetention_Start", + "title": "Initiate a long term retention backup." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapabilitiesByLocationList.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapabilitiesByLocationList.json new file mode 100644 index 000000000000..de521edfaf94 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapabilitiesByLocationList.json @@ -0,0 +1,2362 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "locationName": "eastus", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "FlexibleServerCapabilities", + "fastProvisioningSupported": "Enabled", + "geoBackupSupported": "Enabled", + "onlineResizeSupported": "Enabled", + "storageAutoGrowthSupported": "Enabled", + "supportedFastProvisioningEditions": [ + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + } + ], + "supportedFeatures": [ + { + "name": "FastProvisioning", + "status": "Enabled" + }, + { + "name": "ZoneRedundantHa", + "status": "Enabled" + }, + { + "name": "GeoBackup", + "status": "Enabled" + }, + { + "name": "ZoneRedundantHaAndGeoBackup", + "status": "Enabled" + }, + { + "name": "StorageAutoGrowth", + "status": "Enabled" + }, + { + "name": "OnlineResize", + "status": "Enabled" + }, + { + "name": "OfferRestricted", + "status": "Disabled" + }, + { + "name": "IndexTuning", + "status": "Enabled" + }, + { + "name": "Clusters", + "status": "Enabled" + }, + { + "name": "ConfigTuning", + "status": "Disabled" + } + ], + "supportedServerEditions": [ + { + "name": "Burstable", + "defaultSkuName": "Standard_B1ms", + "supportedServerSkus": [ + { + "name": "Standard_B1ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 640, + "supportedMemoryPerVcoreMb": 2048, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 1 + }, + { + "name": "Standard_B2s", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 1280, + "supportedMemoryPerVcoreMb": 2048, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_B2ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 1920, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_B4ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 2880, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_B8ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_B12ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 12 + }, + { + "name": "Standard_B16ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_B20ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + } + ], + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "defaultStorageSizeMb": 32768, + "supportedStorageMb": [ + { + "defaultIopsTier": "P4", + "storageSizeMb": 32768, + "supportedIops": 120, + "supportedIopsTiers": [ + { + "name": "P4", + "iops": 120 + }, + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P6", + "storageSizeMb": 65536, + "supportedIops": 240, + "supportedIopsTiers": [ + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P10", + "storageSizeMb": 131072, + "supportedIops": 500, + "supportedIopsTiers": [ + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P15", + "storageSizeMb": 262144, + "supportedIops": 1100, + "supportedIopsTiers": [ + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P20", + "storageSizeMb": 524288, + "supportedIops": 2300, + "supportedIopsTiers": [ + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P30", + "storageSizeMb": 1048576, + "supportedIops": 5000, + "supportedIopsTiers": [ + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P40", + "storageSizeMb": 2097152, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4193280, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4194304, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P60", + "storageSizeMb": 8388608, + "supportedIops": 16000, + "supportedIopsTiers": [ + { + "name": "P60", + "iops": 16000 + }, + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P70", + "storageSizeMb": 16777216, + "supportedIops": 18000, + "supportedIopsTiers": [ + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P80", + "storageSizeMb": 33553408, + "supportedIops": 20000, + "supportedIopsTiers": [ + { + "name": "P80", + "iops": 20000 + } + ] + } + ] + }, + { + "name": "ManagedDiskV2", + "defaultStorageSizeMb": 32768, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 3000, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 80000, + "supportedMaximumThroughput": 1200, + "supportedThroughput": 125 + } + ] + } + ] + }, + { + "name": "GeneralPurpose", + "defaultSkuName": "Standard_D4ds_v5", + "supportedServerSkus": [ + { + "name": "Standard_D2s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D2ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D2ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D96ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 96 + }, + { + "name": "Standard_D2ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3750, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D96ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 96 + } + ], + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "defaultStorageSizeMb": 65536, + "supportedStorageMb": [ + { + "defaultIopsTier": "P4", + "storageSizeMb": 32768, + "supportedIops": 120, + "supportedIopsTiers": [ + { + "name": "P4", + "iops": 120 + }, + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P6", + "storageSizeMb": 65536, + "supportedIops": 240, + "supportedIopsTiers": [ + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P10", + "storageSizeMb": 131072, + "supportedIops": 500, + "supportedIopsTiers": [ + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P15", + "storageSizeMb": 262144, + "supportedIops": 1100, + "supportedIopsTiers": [ + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P20", + "storageSizeMb": 524288, + "supportedIops": 2300, + "supportedIopsTiers": [ + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P30", + "storageSizeMb": 1048576, + "supportedIops": 5000, + "supportedIopsTiers": [ + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P40", + "storageSizeMb": 2097152, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4193280, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4194304, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P60", + "storageSizeMb": 8388608, + "supportedIops": 16000, + "supportedIopsTiers": [ + { + "name": "P60", + "iops": 16000 + }, + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P70", + "storageSizeMb": 16777216, + "supportedIops": 18000, + "supportedIopsTiers": [ + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P80", + "storageSizeMb": 33553408, + "supportedIops": 20000, + "supportedIopsTiers": [ + { + "name": "P80", + "iops": 20000 + } + ] + } + ] + }, + { + "name": "ManagedDiskV2", + "defaultStorageSizeMb": 65536, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 3000, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 80000, + "supportedMaximumThroughput": 1200, + "supportedThroughput": 125 + } + ] + }, + { + "name": "UltraDisk", + "defaultStorageSizeMb": 65536, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 4800, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 400000, + "supportedMaximumThroughput": 10000, + "supportedThroughput": 1200 + } + ] + } + ] + }, + { + "name": "MemoryOptimized", + "defaultSkuName": "Standard_E4ds_v5", + "supportedServerSkus": [ + { + "name": "Standard_E2s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E32s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 6912, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_E2ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E20ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + }, + { + "name": "Standard_E32ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 6912, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_E2ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3750, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E20ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + }, + { + "name": "Standard_E32ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_E96ads_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 7168, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 96 + }, + { + "name": "Standard_E2ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3750, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E20ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + }, + { + "name": "Standard_E32ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_E96ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 7168, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 96 + } + ], + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "defaultStorageSizeMb": 131072, + "supportedStorageMb": [ + { + "defaultIopsTier": "P4", + "storageSizeMb": 32768, + "supportedIops": 120, + "supportedIopsTiers": [ + { + "name": "P4", + "iops": 120 + }, + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P6", + "storageSizeMb": 65536, + "supportedIops": 240, + "supportedIopsTiers": [ + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P10", + "storageSizeMb": 131072, + "supportedIops": 500, + "supportedIopsTiers": [ + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P15", + "storageSizeMb": 262144, + "supportedIops": 1100, + "supportedIopsTiers": [ + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P20", + "storageSizeMb": 524288, + "supportedIops": 2300, + "supportedIopsTiers": [ + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P30", + "storageSizeMb": 1048576, + "supportedIops": 5000, + "supportedIopsTiers": [ + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P40", + "storageSizeMb": 2097152, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4193280, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4194304, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P60", + "storageSizeMb": 8388608, + "supportedIops": 16000, + "supportedIopsTiers": [ + { + "name": "P60", + "iops": 16000 + }, + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P70", + "storageSizeMb": 16777216, + "supportedIops": 18000, + "supportedIopsTiers": [ + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P80", + "storageSizeMb": 33553408, + "supportedIops": 20000, + "supportedIopsTiers": [ + { + "name": "P80", + "iops": 20000 + } + ] + } + ] + }, + { + "name": "ManagedDiskV2", + "defaultStorageSizeMb": 131072, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 3000, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 80000, + "supportedMaximumThroughput": 1200, + "supportedThroughput": 125 + } + ] + }, + { + "name": "UltraDisk", + "defaultStorageSizeMb": 131072, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 4800, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 400000, + "supportedMaximumThroughput": 10000, + "supportedThroughput": 1200 + } + ] + } + ] + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "12", + "13", + "14", + "15", + "16", + "17" + ] + }, + { + "name": "12", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "13", + "14", + "15", + "16", + "17" + ] + }, + { + "name": "13", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "14", + "15", + "16", + "17" + ] + }, + { + "name": "14", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "15", + "16", + "17" + ] + }, + { + "name": "15", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "16", + "17" + ] + }, + { + "name": "16", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "17" + ] + }, + { + "name": "17", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [] + } + ], + "zoneRedundantHaAndGeoBackupSupported": "Enabled", + "zoneRedundantHaSupported": "Enabled" + } + ] + } + } + }, + "operationId": "CapabilitiesByLocation_List", + "title": "List the capabilities available in a given location for a specific subscription." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapabilitiesByServerList.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapabilitiesByServerList.json new file mode 100644 index 000000000000..2a7a4c1b5d87 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapabilitiesByServerList.json @@ -0,0 +1,2120 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "FlexibleServerCapabilities", + "fastProvisioningSupported": "Enabled", + "geoBackupSupported": "Enabled", + "onlineResizeSupported": "Enabled", + "restricted": "Disabled", + "storageAutoGrowthSupported": "Enabled", + "supportedFastProvisioningEditions": [ + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "12", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "13", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "14", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "15", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_b1ms", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_b2s", + "supportedStorageGb": 32, + "supportedTier": "Burstable" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_d2s_v3", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_d2ds_v4", + "supportedStorageGb": 128, + "supportedTier": "GeneralPurpose" + }, + { + "serverCount": 0, + "supportedServerVersions": "16", + "supportedSku": "standard_e2ds_v4", + "supportedStorageGb": 512, + "supportedTier": "MemoryOptimized" + } + ], + "supportedFeatures": [ + { + "name": "FastProvisioning", + "status": "Enabled" + }, + { + "name": "ZoneRedundantHa", + "status": "Enabled" + }, + { + "name": "GeoBackup", + "status": "Enabled" + }, + { + "name": "ZoneRedundantHaAndGeoBackup", + "status": "Enabled" + }, + { + "name": "StorageAutoGrowth", + "status": "Enabled" + }, + { + "name": "OnlineResize", + "status": "Enabled" + }, + { + "name": "OfferRestricted", + "status": "Disabled" + }, + { + "name": "IndexTuning", + "status": "Enabled" + }, + { + "name": "Clusters", + "status": "Enabled" + } + ], + "supportedServerEditions": [ + { + "name": "Burstable", + "defaultSkuName": "Standard_B1ms", + "supportedServerSkus": [ + { + "name": "Standard_B1ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 640, + "supportedMemoryPerVcoreMb": 2048, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 1 + }, + { + "name": "Standard_B2s", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 1280, + "supportedMemoryPerVcoreMb": 2048, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_B2ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 1920, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_B4ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 2880, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_B8ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_B12ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 12 + }, + { + "name": "Standard_B16ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_B20ms", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 4320, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + } + ], + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "defaultStorageSizeMb": 32768, + "supportedStorageMb": [ + { + "defaultIopsTier": "P4", + "storageSizeMb": 32768, + "supportedIops": 120, + "supportedIopsTiers": [ + { + "name": "P4", + "iops": 120 + }, + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P6", + "storageSizeMb": 65536, + "supportedIops": 240, + "supportedIopsTiers": [ + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P10", + "storageSizeMb": 131072, + "supportedIops": 500, + "supportedIopsTiers": [ + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P15", + "storageSizeMb": 262144, + "supportedIops": 1100, + "supportedIopsTiers": [ + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P20", + "storageSizeMb": 524288, + "supportedIops": 2300, + "supportedIopsTiers": [ + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P30", + "storageSizeMb": 1048576, + "supportedIops": 5000, + "supportedIopsTiers": [ + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P40", + "storageSizeMb": 2097152, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4193280, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4194304, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P60", + "storageSizeMb": 8388608, + "supportedIops": 16000, + "supportedIopsTiers": [ + { + "name": "P60", + "iops": 16000 + }, + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P70", + "storageSizeMb": 16777216, + "supportedIops": 18000, + "supportedIopsTiers": [ + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P80", + "storageSizeMb": 33553408, + "supportedIops": 20000, + "supportedIopsTiers": [ + { + "name": "P80", + "iops": 20000 + } + ] + } + ] + }, + { + "name": "ManagedDiskV2", + "defaultStorageSizeMb": 32768, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 3000, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 80000, + "supportedMaximumThroughput": 1200, + "supportedThroughput": 125 + } + ] + } + ] + }, + { + "name": "GeneralPurpose", + "defaultSkuName": "Standard_D4ds_v5", + "supportedServerSkus": [ + { + "name": "Standard_D2s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D2ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D2ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3750, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_D4ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_D8ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_D16ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_D32ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_D48ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_D64ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_D96ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 4096, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 96 + } + ], + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "defaultStorageSizeMb": 65536, + "supportedStorageMb": [ + { + "defaultIopsTier": "P4", + "storageSizeMb": 32768, + "supportedIops": 120, + "supportedIopsTiers": [ + { + "name": "P4", + "iops": 120 + }, + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P6", + "storageSizeMb": 65536, + "supportedIops": 240, + "supportedIopsTiers": [ + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P10", + "storageSizeMb": 131072, + "supportedIops": 500, + "supportedIopsTiers": [ + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P15", + "storageSizeMb": 262144, + "supportedIops": 1100, + "supportedIopsTiers": [ + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P20", + "storageSizeMb": 524288, + "supportedIops": 2300, + "supportedIopsTiers": [ + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P30", + "storageSizeMb": 1048576, + "supportedIops": 5000, + "supportedIopsTiers": [ + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P40", + "storageSizeMb": 2097152, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4193280, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4194304, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P60", + "storageSizeMb": 8388608, + "supportedIops": 16000, + "supportedIopsTiers": [ + { + "name": "P60", + "iops": 16000 + }, + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P70", + "storageSizeMb": 16777216, + "supportedIops": 18000, + "supportedIopsTiers": [ + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P80", + "storageSizeMb": 33553408, + "supportedIops": 20000, + "supportedIopsTiers": [ + { + "name": "P80", + "iops": 20000 + } + ] + } + ] + }, + { + "name": "ManagedDiskV2", + "defaultStorageSizeMb": 65536, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 3000, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 80000, + "supportedMaximumThroughput": 1200, + "supportedThroughput": 125 + } + ] + }, + { + "name": "UltraDisk", + "defaultStorageSizeMb": 65536, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 4800, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 400000, + "supportedMaximumThroughput": 10000, + "supportedThroughput": 1200 + } + ] + } + ] + }, + { + "name": "MemoryOptimized", + "defaultSkuName": "Standard_E4ds_v5", + "supportedServerSkus": [ + { + "name": "Standard_E2s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E32s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64s_v3", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 6912, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_E2ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E20ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + }, + { + "name": "Standard_E32ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64ds_v4", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 6912, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_M64", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 40000, + "supportedMemoryPerVcoreMb": 16384, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_M128", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 16384, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 128 + }, + { + "name": "Standard_E2ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 3750, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 2 + }, + { + "name": "Standard_E4ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 6400, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 4 + }, + { + "name": "Standard_E8ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 12800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 8 + }, + { + "name": "Standard_E16ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 25600, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 16 + }, + { + "name": "Standard_E20ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 32000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 20 + }, + { + "name": "Standard_E32ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 51200, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 32 + }, + { + "name": "Standard_E48ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 76800, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 48 + }, + { + "name": "Standard_E64ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 8192, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 64 + }, + { + "name": "Standard_E96ds_v5", + "supportedFeatures": [], + "supportedHaMode": [ + "SameZone", + "ZoneRedundant" + ], + "supportedIops": 80000, + "supportedMemoryPerVcoreMb": 7168, + "supportedZones": [ + "1", + "2", + "3" + ], + "vCores": 96 + } + ], + "supportedStorageEditions": [ + { + "name": "ManagedDisk", + "defaultStorageSizeMb": 131072, + "supportedStorageMb": [ + { + "defaultIopsTier": "P4", + "storageSizeMb": 32768, + "supportedIops": 120, + "supportedIopsTiers": [ + { + "name": "P4", + "iops": 120 + }, + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P6", + "storageSizeMb": 65536, + "supportedIops": 240, + "supportedIopsTiers": [ + { + "name": "P6", + "iops": 240 + }, + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P10", + "storageSizeMb": 131072, + "supportedIops": 500, + "supportedIopsTiers": [ + { + "name": "P10", + "iops": 500 + }, + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P15", + "storageSizeMb": 262144, + "supportedIops": 1100, + "supportedIopsTiers": [ + { + "name": "P15", + "iops": 1100 + }, + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P20", + "storageSizeMb": 524288, + "supportedIops": 2300, + "supportedIopsTiers": [ + { + "name": "P20", + "iops": 2300 + }, + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P30", + "storageSizeMb": 1048576, + "supportedIops": 5000, + "supportedIopsTiers": [ + { + "name": "P30", + "iops": 5000 + }, + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P40", + "storageSizeMb": 2097152, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P40", + "iops": 7500 + }, + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4193280, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P50", + "storageSizeMb": 4194304, + "supportedIops": 7500, + "supportedIopsTiers": [ + { + "name": "P50", + "iops": 7500 + } + ] + }, + { + "defaultIopsTier": "P60", + "storageSizeMb": 8388608, + "supportedIops": 16000, + "supportedIopsTiers": [ + { + "name": "P60", + "iops": 16000 + }, + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P70", + "storageSizeMb": 16777216, + "supportedIops": 18000, + "supportedIopsTiers": [ + { + "name": "P70", + "iops": 18000 + }, + { + "name": "P80", + "iops": 20000 + } + ] + }, + { + "defaultIopsTier": "P80", + "storageSizeMb": 33553408, + "supportedIops": 20000, + "supportedIopsTiers": [ + { + "name": "P80", + "iops": 20000 + } + ] + } + ] + }, + { + "name": "ManagedDiskV2", + "defaultStorageSizeMb": 131072, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 3000, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 80000, + "supportedMaximumThroughput": 1200, + "supportedThroughput": 125 + } + ] + }, + { + "name": "UltraDisk", + "defaultStorageSizeMb": 131072, + "supportedStorageMb": [ + { + "defaultIopsTier": "None", + "maximumStorageSizeMb": 67108864, + "storageSizeMb": 32768, + "supportedIops": 4800, + "supportedIopsTiers": [ + { + "name": "None", + "iops": 0 + } + ], + "supportedMaximumIops": 400000, + "supportedMaximumThroughput": 10000, + "supportedThroughput": 1200 + } + ] + } + ] + } + ], + "supportedServerVersions": [ + { + "name": "11", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "12", + "13", + "14", + "15", + "16", + "17" + ] + }, + { + "name": "12", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "13", + "14", + "15", + "16", + "17" + ] + }, + { + "name": "13", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "14", + "15", + "16", + "17" + ] + }, + { + "name": "14", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "15", + "16", + "17" + ] + }, + { + "name": "15", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "16", + "17" + ] + }, + { + "name": "16", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [ + "17" + ] + }, + { + "name": "17", + "supportedFeatures": [], + "supportedVersionsToUpgrade": [] + } + ], + "zoneRedundantHaAndGeoBackupSupported": "Enabled", + "zoneRedundantHaSupported": "Enabled" + } + ] + } + } + }, + "operationId": "CapabilitiesByServer_List", + "title": "List the capabilities available for a given server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapturedLogsListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapturedLogsListByServer.json new file mode 100644 index 000000000000..e90937d3ee37 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/CapturedLogsListByServer.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "postgresql-20250601.log", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/logFiles", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/logFiles/postgresql-20250601.log", + "properties": { + "type": "slowlog", + "createdTime": "0001-01-01T00:00:00+00:00", + "lastModifiedTime": "2025-06-01T18:30:00+00:00", + "sizeInKb": 1, + "url": "https://exampleaccount.file.core.windows.net/833c99b2f36c47349e5554b903fe0440/serverlogs/postgresql-20250601.log?sv=2025-09-01&sr=f&se=2025-06-01T07%3A12%3A13Z&sp=r" + } + } + ] + } + } + }, + "operationId": "CapturedLogs_ListByServer", + "title": "List all captured logs for download in a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsGet.json new file mode 100644 index 000000000000..621849cb4721 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "configurationName": "array_nulls", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/array_nulls", + "properties": { + "description": "Enables input of NULL (case insensitive) to be considered as NULL value rather than the literal String 'NULL'.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-ARRAY-NULLS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + } + } + }, + "operationId": "Configurations_Get", + "title": "Get information about a specific configuration (also known as server parameter) of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsListByServer.json new file mode 100644 index 000000000000..71944534b96d --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsListByServer.json @@ -0,0 +1,7127 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations?api-version=2025-06-01-preview&$skiptoken=skiptoken", + "value": [ + { + "name": "allow_in_place_tablespaces", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/allow_in_place_tablespaces", + "properties": { + "description": "Allows tablespaces directly inside pg_tblspc, for testing.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-ALLOW-IN-PLACE-TABLESPACES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "allow_system_table_mods", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/allow_system_table_mods", + "properties": { + "description": "Allows modifications of the structure of system tables.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-ALLOW-SYSTEM-TABLE-MODS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "application_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/application_name", + "properties": { + "description": "Sets the application name to be reported in statistics and logs.", + "allowedValues": "[A-Za-z0-9._-]*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-CONNECT-APPLICATION-NAME", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "archive_cleanup_command", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/archive_cleanup_command", + "properties": { + "description": "Sets the shell command that will be executed at every restart point.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-ARCHIVE-CLEANUP-COMMAND", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "archive_command", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/archive_command", + "properties": { + "description": "Sets the shell command that will be called to archive a WAL file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-ARCHIVE-COMMAND", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "BlobLogUpload.sh %f %p" + } + }, + { + "name": "archive_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/archive_mode", + "properties": { + "description": "Allows archiving of WAL files using archive_command.", + "allowedValues": "always,on,off", + "dataType": "Enumeration", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-ARCHIVE-MODE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "always" + } + }, + { + "name": "archive_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/archive_timeout", + "properties": { + "description": "Forces a switch to the next WAL file if a new file has not been started within N seconds.", + "allowedValues": "0-1073741823", + "dataType": "Integer", + "defaultValue": "300", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-ARCHIVE-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "seconds", + "value": "300" + } + }, + { + "name": "array_nulls", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/array_nulls", + "properties": { + "description": "Enables input of NULL (case insensitive) to be considered as NULL value rather than the literal String 'NULL'.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-ARRAY-NULLS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "authentication_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/authentication_timeout", + "properties": { + "description": "Sets the maximum allowed time to complete client authentication.", + "allowedValues": "1-600", + "dataType": "Integer", + "defaultValue": "60", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-AUTHENTICATION-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "unit": "seconds", + "value": "30" + } + }, + { + "name": "auto_explain.log_analyze", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_analyze", + "properties": { + "description": "Use EXPLAIN ANALYZE for plan logging.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.2.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.log_buffers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_buffers", + "properties": { + "description": "Log buffers usage.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.3.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.log_format", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_format", + "properties": { + "description": "EXPLAIN format to be used for plan logging.", + "allowedValues": "text,xml,json,yaml", + "dataType": "Enumeration", + "defaultValue": "text", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.9.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "text" + } + }, + { + "name": "auto_explain.log_level", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_level", + "properties": { + "description": "Log level for the plan.", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log", + "dataType": "Enumeration", + "defaultValue": "log", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.10.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "log" + } + }, + { + "name": "auto_explain.log_min_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_min_duration", + "properties": { + "description": "Sets the minimum execution time above which plans will be logged. Zero prints all plans. -1 turns this feature off.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.1.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "-1" + } + }, + { + "name": "auto_explain.log_nested_statements", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_nested_statements", + "properties": { + "description": "Log nested statements.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.11.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.log_settings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_settings", + "properties": { + "description": "Log modified configuration parameters affecting query planning.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.8.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.log_timing", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_timing", + "properties": { + "description": "Collect timing data, not just row counts.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.5.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "auto_explain.log_triggers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_triggers", + "properties": { + "description": "Include trigger statistics in plans. This has no effect unless log_analyze is also set.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.6.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.log_verbose", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_verbose", + "properties": { + "description": "Use EXPLAIN VERBOSE for plan logging.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.7.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.log_wal", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.log_wal", + "properties": { + "description": "Log WAL usage.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.4.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "auto_explain.sample_rate", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/auto_explain.sample_rate", + "properties": { + "description": "Fraction of queries to process.", + "allowedValues": "0.0-1.0", + "dataType": "Numeric", + "defaultValue": "1.0", + "documentationLink": "https://www.postgresql.org/docs/13/auto-explain.html#id-1.11.7.13.5.3.12.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1.0" + } + }, + { + "name": "autovacuum", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum", + "properties": { + "description": "Controls whether the server should run the autovacuum subprocess.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "autovacuum_analyze_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_analyze_scale_factor", + "properties": { + "description": "Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.", + "allowedValues": "0-100", + "dataType": "Numeric", + "defaultValue": "0.1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-ANALYZE-SCALE-FACTOR", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.1" + } + }, + { + "name": "autovacuum_analyze_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_analyze_threshold", + "properties": { + "description": "Sets the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "50", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-ANALYZE-THRESHOLD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "50" + } + }, + { + "name": "autovacuum_freeze_max_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_freeze_max_age", + "properties": { + "description": "Maximum age (in transactions) before triggering autovacuum on a table to prevent transaction ID wraparound.", + "allowedValues": "100000-2000000000", + "dataType": "Integer", + "defaultValue": "200000000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-FREEZE-MAX-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "200000000" + } + }, + { + "name": "autovacuum_max_workers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_max_workers", + "properties": { + "description": "Sets the maximum number of simultaneously running autovacuum worker processes.", + "allowedValues": "1-262143", + "dataType": "Integer", + "defaultValue": "3", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-MAX-WORKERS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "3" + } + }, + { + "name": "autovacuum_multixact_freeze_max_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_multixact_freeze_max_age", + "properties": { + "description": "Maximum age (in multixact) before triggering autovacuum on a table to prevent multixact wraparound.", + "allowedValues": "10000-2000000000", + "dataType": "Integer", + "defaultValue": "400000000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-MULTIXACT-FREEZE-MAX-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "400000000" + } + }, + { + "name": "autovacuum_naptime", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_naptime", + "properties": { + "description": "Sets minimum delay between autovacuum runs on any given database.", + "allowedValues": "1-2147483", + "dataType": "Integer", + "defaultValue": "60", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-NAPTIME", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "60" + } + }, + { + "name": "autovacuum_vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_vacuum_cost_delay", + "properties": { + "description": "Sets cost delay value (milliseconds) that will be used in automatic VACUUM operations.", + "allowedValues": "-1-100", + "dataType": "Integer", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-COST-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "2" + } + }, + { + "name": "autovacuum_vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_vacuum_cost_limit", + "properties": { + "description": "Sets cost limit value that will be used in automatic VACUUM operations.", + "allowedValues": "-1-10000", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-COST-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "-1" + } + }, + { + "name": "autovacuum_vacuum_insert_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_vacuum_insert_scale_factor", + "properties": { + "description": "Specifies a fraction of the table size to add to autovacuum_vacuum_insert_threshold when deciding whether to trigger a VACUUM.", + "allowedValues": "0-100", + "dataType": "Numeric", + "defaultValue": "0.2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-INSERT-SCALE-FACTOR", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.2" + } + }, + { + "name": "autovacuum_vacuum_insert_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_vacuum_insert_threshold", + "properties": { + "description": "Specifies the number of inserted tuples needed to trigger a VACUUM in any one table.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "1000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-INSERT-THRESHOLD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1000" + } + }, + { + "name": "autovacuum_vacuum_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_vacuum_scale_factor", + "properties": { + "description": "Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.", + "allowedValues": "0-100", + "dataType": "Numeric", + "defaultValue": "0.2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-SCALE-FACTOR", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.2" + } + }, + { + "name": "autovacuum_vacuum_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_vacuum_threshold", + "properties": { + "description": "Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "50", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-THRESHOLD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "50" + } + }, + { + "name": "autovacuum_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/autovacuum_work_mem", + "properties": { + "description": "Sets the maximum memory to be used by each autovacuum worker process.", + "allowedValues": "-1-2097151", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-AUTOVACUUM-WORK-MEM", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "-1" + } + }, + { + "name": "azure.accepted_password_auth_method", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure.accepted_password_auth_method", + "properties": { + "description": "Accepted password authentication method.", + "allowedValues": "md5,scram-sha-256", + "dataType": "Set", + "defaultValue": "md5", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274147", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "md5" + } + }, + { + "name": "azure.enable_temp_tablespaces_on_local_ssd", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure.enable_temp_tablespaces_on_local_ssd", + "properties": { + "description": "Create temp tablespace on ephemeral disk.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "azure.extensions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure.extensions", + "properties": { + "description": "Specifies which extensions are allowed to be created in the server.", + "allowedValues": ",address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector", + "dataType": "Set", + "defaultValue": "", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274269", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "azure.single_to_flex_migration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure.single_to_flex_migration", + "properties": { + "description": "Specifies if this is a server created for migrating from Azure Database for PostgreSQL Single Server to Flexible Server.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "azure_storage.allow_network_access", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure_storage.allow_network_access", + "properties": { + "description": "Allow accessing data from blob storage in extension azure_storage.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "azure_storage.blob_block_size_mb", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure_storage.blob_block_size_mb", + "properties": { + "description": "Blob block size in megabytes for blob_put in extension azure_storage.", + "allowedValues": "1-4000", + "dataType": "Integer", + "defaultValue": "512", + "documentationLink": "https://learn.microsoft.com/en-us/rest/api/storageservices/put-block?tabs=azure-ad#remarks", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "megabytes", + "value": "512" + } + }, + { + "name": "azure_storage.public_account_access", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/azure_storage.public_account_access", + "properties": { + "description": "Allow all users to access data from public storage accounts in extension azure_storage.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "backend_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/backend_flush_after", + "properties": { + "description": "Number of pages after which previously performed writes are flushed to disk.", + "allowedValues": "0-256", + "dataType": "Integer", + "defaultValue": "256", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-BACKEND-FLUSH-AFTER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "256" + } + }, + { + "name": "backslash_quote", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/backslash_quote", + "properties": { + "description": "Sets whether \"\\'\" is allowed in string literals.", + "allowedValues": "safe_encoding,on,off", + "dataType": "Enumeration", + "defaultValue": "safe_encoding", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-BACKSLASH-QUOTE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "safe_encoding" + } + }, + { + "name": "backtrace_functions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/backtrace_functions", + "properties": { + "description": "Log backtrace for errors in these functions.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-BACKTRACE-FUNCTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "bgwriter_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bgwriter_delay", + "properties": { + "description": "Specifies the delay between activity rounds for the background writer. In each round the writer issues writes for some number of dirty buffers.", + "allowedValues": "10-10000", + "dataType": "Integer", + "defaultValue": "20", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-BGWRITER-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "20" + } + }, + { + "name": "bgwriter_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bgwriter_flush_after", + "properties": { + "description": "Number of pages after which previously performed writes by the background writer are flushed to disk.", + "allowedValues": "0-256", + "dataType": "Integer", + "defaultValue": "64", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-BGWRITER-FLUSH-AFTER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "64" + } + }, + { + "name": "bgwriter_lru_maxpages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bgwriter_lru_maxpages", + "properties": { + "description": "In each round, no more than this many buffers will be written by the background writer.", + "allowedValues": "0-1073741823", + "dataType": "Integer", + "defaultValue": "100", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-BGWRITER-LRU-MAXPAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "100" + } + }, + { + "name": "bgwriter_lru_multiplier", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bgwriter_lru_multiplier", + "properties": { + "description": "The average recent need of buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number of buffers that will be needed during the next round.", + "allowedValues": "0-10", + "dataType": "Numeric", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-BGWRITER-LRU-MULTIPLIER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "block_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/block_size", + "properties": { + "description": "Shows the size of a disk block.", + "allowedValues": "8192-8192", + "dataType": "Integer", + "defaultValue": "8192", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-BLOCK-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "8192" + } + }, + { + "name": "bonjour", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bonjour", + "properties": { + "description": "Enables advertising the server via Bonjour.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-BONJOUR", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "bonjour_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bonjour_name", + "properties": { + "description": "Sets the Bonjour service name.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-BONJOUR-NAME", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "bytea_output", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/bytea_output", + "properties": { + "description": "Sets the output format for values of type bytea. Valid values are hex (the default) and escape (the traditional PostgreSQL format).", + "allowedValues": "escape,hex", + "dataType": "Enumeration", + "defaultValue": "hex", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-BYTEA-OUTPUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "hex" + } + }, + { + "name": "check_function_bodies", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/check_function_bodies", + "properties": { + "description": "Checks function bodies during CREATE FUNCTION.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-CHECK-FUNCTION-BODIES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "checkpoint_completion_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/checkpoint_completion_target", + "properties": { + "description": "Specifies the target of checkpoint completion, as a fraction of total time between checkpoints.", + "allowedValues": "0-1", + "dataType": "Numeric", + "defaultValue": "0.9", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-CHECKPOINT-COMPLETION-TARGET", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.9" + } + }, + { + "name": "checkpoint_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/checkpoint_flush_after", + "properties": { + "description": "Number of pages after which previously performed writes are flushed to disk.", + "allowedValues": "0-256", + "dataType": "Integer", + "defaultValue": "32", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-CHECKPOINT-FLUSH-AFTER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "8KB", + "value": "32" + } + }, + { + "name": "checkpoint_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/checkpoint_timeout", + "properties": { + "description": "Maximum time between automatic WAL checkpoints, in seconds. The valid range is between 30 seconds and one day.", + "allowedValues": "30-86400", + "dataType": "Integer", + "defaultValue": "600", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-CHECKPOINT-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "600" + } + }, + { + "name": "checkpoint_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/checkpoint_warning", + "properties": { + "description": "Writes a warning message if checkpoints caused by the filling of WAL segment more frequently than this.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "30", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-CHECKPOINT-WARNING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "30" + } + }, + { + "name": "client_encoding", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/client_encoding", + "properties": { + "description": "Sets the client-side encoding (character set). The default is to use the database encoding.", + "allowedValues": "BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258", + "dataType": "Enumeration", + "defaultValue": "UTF8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-CLIENT-ENCODING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "UTF8" + } + }, + { + "name": "client_min_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/client_min_messages", + "properties": { + "description": "Controls the message levels that are sent to the client.", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,log,notice,warning,error", + "dataType": "Enumeration", + "defaultValue": "notice", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-CLIENT-MIN-MESSAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "notice" + } + }, + { + "name": "cluster_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cluster_name", + "properties": { + "description": "Sets the name of the cluster, which is included in the process title.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "commit_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/commit_delay", + "properties": { + "description": "Sets the delay in microseconds between transaction commit and flushing WAL to disk.", + "allowedValues": "0-100000", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-COMMIT-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "microseconds", + "value": "0" + } + }, + { + "name": "commit_siblings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/commit_siblings", + "properties": { + "description": "Sets the minimum concurrent open transactions before performing commit_delay.", + "allowedValues": "0-1000", + "dataType": "Integer", + "defaultValue": "5", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-COMMIT-SIBLINGS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "5" + } + }, + { + "name": "config_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/config_file", + "properties": { + "description": "Sets the server's main configuration file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-file-locations.html#GUC-CONFIG-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/pg/data/postgresql.conf" + } + }, + { + "name": "connection_throttle.bucket_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.bucket_limit", + "properties": { + "description": "Max login tokens per bucket.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "2000", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2000" + } + }, + { + "name": "connection_throttle.enable", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.enable", + "properties": { + "description": "Enables temporary connection throttling per IP for too many login failures.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "connection_throttle.factor_bias", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.factor_bias", + "properties": { + "description": "The factor bias for calculating number of tokens for an IP's bucket.", + "allowedValues": "0.0-0.9", + "dataType": "Numeric", + "defaultValue": "0.8", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.8" + } + }, + { + "name": "connection_throttle.hash_entries_max", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.hash_entries_max", + "properties": { + "description": "Max number of entries in the login failures hash table.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "500", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "500" + } + }, + { + "name": "connection_throttle.reset_time", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.reset_time", + "properties": { + "description": "Time between resetting the login bucket.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "120", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "120" + } + }, + { + "name": "connection_throttle.restore_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.restore_factor", + "properties": { + "description": "Factor to increase number of tokens by for IPs with low failure rate.", + "allowedValues": "1.0-100.0", + "dataType": "Numeric", + "defaultValue": "2", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "connection_throttle.update_time", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/connection_throttle.update_time", + "properties": { + "description": "Time between updating the login bucket.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "20", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "20" + } + }, + { + "name": "constraint_exclusion", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/constraint_exclusion", + "properties": { + "description": "Controls the query planner's use of table constraints to optimize queries.", + "allowedValues": "partition,on,off", + "dataType": "Enumeration", + "defaultValue": "partition", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-CONSTRAINT-EXCLUSION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "partition" + } + }, + { + "name": "cpu_index_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cpu_index_tuple_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of processing each index entry during an index scan.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "0.005", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-CPU-INDEX-TUPLE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.005" + } + }, + { + "name": "cpu_operator_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cpu_operator_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of processing each operator or function executed during a query.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "0.0025", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-CPU-OPERATOR-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.0025" + } + }, + { + "name": "cpu_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cpu_tuple_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of processing each row during a query.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "0.01", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-CPU-TUPLE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.01" + } + }, + { + "name": "cron.database_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cron.database_name", + "properties": { + "description": "Sets the database in which pg_cron metadata is kept.", + "allowedValues": "[A-Za-z0-9_]+", + "dataType": "String", + "defaultValue": "postgres", + "documentationLink": "https://github.com/citusdata/pg_cron", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "postgres" + } + }, + { + "name": "cron.log_run", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cron.log_run", + "properties": { + "description": "Log all jobs runs into the job_run_details table.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://github.com/citusdata/pg_cron", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "cron.log_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cron.log_statement", + "properties": { + "description": "Log all cron statements prior to execution.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://github.com/citusdata/pg_cron", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "cron.max_running_jobs", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cron.max_running_jobs", + "properties": { + "description": "Sets the maximum number of jobs that can run concurrently. This value is limited by max_connections.", + "allowedValues": "0-5000", + "dataType": "Integer", + "defaultValue": "32", + "documentationLink": "https://github.com/citusdata/pg_cron", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "32" + } + }, + { + "name": "cursor_tuple_fraction", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/cursor_tuple_fraction", + "properties": { + "description": "Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved.", + "allowedValues": "0-1", + "dataType": "Numeric", + "defaultValue": "0.1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-CURSOR-TUPLE-FRACTION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.1" + } + }, + { + "name": "data_checksums", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/data_checksums", + "properties": { + "description": "Shows whether data checksums are turned on for this cluster.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-DATA-CHECKSUMS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "on" + } + }, + { + "name": "data_directory", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/data_directory", + "properties": { + "description": "Sets the server's data directory.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-file-locations.html#GUC-DATA-DIRECTORY", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/pg/data" + } + }, + { + "name": "data_directory_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/data_directory_mode", + "properties": { + "description": "Mode of the data directory.", + "allowedValues": "0-511", + "dataType": "Integer", + "defaultValue": "448", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-DATA-DIRECTORY-MODE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "0700" + } + }, + { + "name": "data_sync_retry", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/data_sync_retry", + "properties": { + "description": "Whether to continue running after a failure to sync data files.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-error-handling.html#GUC-DATA-SYNC-RETRY", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "DateStyle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/DateStyle", + "properties": { + "description": "Sets the display format for date and time values.", + "allowedValues": "(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?", + "dataType": "String", + "defaultValue": "ISO, MDY", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DATESTYLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "ISO, MDY" + } + }, + { + "name": "db_user_namespace", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/db_user_namespace", + "properties": { + "description": "Enables per-database user names.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-DB-USER-NAMESPACE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "deadlock_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/deadlock_timeout", + "properties": { + "description": "Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "1000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-locks.html#GUC-DEADLOCK-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "1000" + } + }, + { + "name": "debug_assertions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/debug_assertions", + "properties": { + "description": "Shows whether the running server has assertion checks enabled.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "debug_pretty_print", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/debug_pretty_print", + "properties": { + "description": "Indents parse and plan tree displays.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#id-1.6.6.11.5.3.3.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "debug_print_parse", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/debug_print_parse", + "properties": { + "description": "Logs each query's parse tree.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#id-1.6.6.11.5.3.2.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "debug_print_plan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/debug_print_plan", + "properties": { + "description": "Logs each query's execution plan.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#id-1.6.6.11.5.3.2.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "debug_print_rewritten", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/debug_print_rewritten", + "properties": { + "description": "Logs each query's rewritten parse tree.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#id-1.6.6.11.5.3.2.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "default_statistics_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_statistics_target", + "properties": { + "description": "Sets the default statistics target for table columns without a column-specific target.", + "allowedValues": "1-10000", + "dataType": "Integer", + "defaultValue": "100", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-DEFAULT-STATISTICS-TARGET", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "100" + } + }, + { + "name": "default_table_access_method", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_table_access_method", + "properties": { + "description": "Sets the default table access method for new tables.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "heap", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DEFAULT-TABLE-ACCESS-METHOD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "heap" + } + }, + { + "name": "default_tablespace", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_tablespace", + "properties": { + "description": "Sets the default tablespace to create tables and indexes in.", + "allowedValues": "[A-Za-z._]*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DEFAULT-TABLESPACE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "default_text_search_config", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_text_search_config", + "properties": { + "description": "Selects the text search configuration that is used by those variants of the text search functions that do not have an explicit argument specifying it.", + "allowedValues": "[A-Za-z._]+", + "dataType": "String", + "defaultValue": "pg_catalog.english", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "pg_catalog.english" + } + }, + { + "name": "default_transaction_deferrable", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_transaction_deferrable", + "properties": { + "description": "This parameter controls the default deferrable status of each new transaction. It has no effect on read-write transactions or those operating at isolation levels lower than serializable.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DEFAULT-TRANSACTION-DEFERRABLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "default_transaction_isolation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_transaction_isolation", + "properties": { + "description": "This parameter controls the default isolation level of each new transaction. The default is 'read committed'.", + "allowedValues": "serializable,repeatable read,read committed,read uncommitted", + "dataType": "Enumeration", + "defaultValue": "read committed", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DEFAULT-TRANSACTION-ISOLATION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "read committed" + } + }, + { + "name": "default_transaction_read_only", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/default_transaction_read_only", + "properties": { + "description": "Sets the default read-only status of each new transaction.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DEFAULT-TRANSACTION-READ-ONLY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "dynamic_library_path", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/dynamic_library_path", + "properties": { + "description": "Sets the path for dynamically loadable modules.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "$libdir", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-DYNAMIC-LIBRARY-PATH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "$libdir" + } + }, + { + "name": "dynamic_shared_memory_type", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/dynamic_shared_memory_type", + "properties": { + "description": "Selects the dynamic shared memory implementation used.", + "allowedValues": "posix,sysv,mmap", + "dataType": "Enumeration", + "defaultValue": "posix", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-DYNAMIC-SHARED-MEMORY-TYPE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "posix" + } + }, + { + "name": "effective_cache_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/effective_cache_size", + "properties": { + "description": "Sets the planner's assumption about the size of the disk cache.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "1572864", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-EFFECTIVE-CACHE-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "1572864" + } + }, + { + "name": "effective_io_concurrency", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/effective_io_concurrency", + "properties": { + "description": "Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.", + "allowedValues": "0-1000", + "dataType": "Integer", + "defaultValue": "1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-EFFECTIVE-IO-CONCURRENCY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1" + } + }, + { + "name": "enable_bitmapscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_bitmapscan", + "properties": { + "description": "Enables the planner's use of bitmap-scan plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-BITMAPSCAN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_gathermerge", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_gathermerge", + "properties": { + "description": "Enables the planner's use of gather merge plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-GATHERMERGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_hashagg", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_hashagg", + "properties": { + "description": "Enables the planner's use of hashed aggregation plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-HASHAGG", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_hashjoin", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_hashjoin", + "properties": { + "description": "Enables the planner's use of hash join plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-HASHJOIN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_incremental_sort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_incremental_sort", + "properties": { + "description": "Enables the planner's use of incremental sort steps.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-INCREMENTAL-SORT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_indexonlyscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_indexonlyscan", + "properties": { + "description": "Enables the planner's use of index-only-scan plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-INDEXONLYSCAN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_indexscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_indexscan", + "properties": { + "description": "Enables the planner's use of index-scan plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-INDEXSCAN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_material", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_material", + "properties": { + "description": "Enables the planner's use of materialization.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-MATERIAL", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_mergejoin", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_mergejoin", + "properties": { + "description": "Enables the planner's use of merge join plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-MERGEJOIN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_nestloop", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_nestloop", + "properties": { + "description": "Enables the planner's use of nested loop join plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-NESTLOOP", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_parallel_append", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_parallel_append", + "properties": { + "description": "Enables the planner's use of parallel append plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-PARALLEL-APPEND", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_parallel_hash", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_parallel_hash", + "properties": { + "description": "Enables the planner's use of parallel hash plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-PARALLEL-HASH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_partition_pruning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_partition_pruning", + "properties": { + "description": "Enables plan-time and run-time partition pruning.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-PARTITION-PRUNING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_partitionwise_aggregate", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_partitionwise_aggregate", + "properties": { + "description": "Enables or disables the query planner's use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-PARTITIONWISE-AGGREGATE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "enable_partitionwise_join", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_partitionwise_join", + "properties": { + "description": "Enables or disables the query planner's use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-PARTITIONWISE-JOIN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "enable_seqscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_seqscan", + "properties": { + "description": "Enables the planner's use of sequential-scan plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-SEQSCAN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_sort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_sort", + "properties": { + "description": "Enables the planner's use of explicit sort steps.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-SORT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "enable_tidscan", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/enable_tidscan", + "properties": { + "description": "Enables the planner's use of TID scan plans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-ENABLE-TIDSCAN", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "escape_string_warning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/escape_string_warning", + "properties": { + "description": "Warns about backslash escapes in ordinary string literals.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-ESCAPE-STRING-WARNING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "event_source", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/event_source", + "properties": { + "description": "Sets the application name used to identify PostgreSQL messages in the event log.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "PostgreSQL", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-EVENT-SOURCE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "PostgreSQL" + } + }, + { + "name": "exit_on_error", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/exit_on_error", + "properties": { + "description": "Terminates session on any error.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-error-handling.html#GUC-EXIT-ON-ERROR", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "external_pid_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/external_pid_file", + "properties": { + "description": "Writes the postmaster PID to the specified file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-file-locations.html#GUC-EXTERNAL-PID-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "extra_float_digits", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/extra_float_digits", + "properties": { + "description": "Sets the number of digits displayed for floating-point values.", + "allowedValues": "-15-3", + "dataType": "Integer", + "defaultValue": "1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-EXTRA-FLOAT-DIGITS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1" + } + }, + { + "name": "force_parallel_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/force_parallel_mode", + "properties": { + "description": "Forces use of parallel query facilities.", + "allowedValues": "off,on,regress", + "dataType": "Enumeration", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-FORCE-PARALLEL-MODE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "from_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/from_collapse_limit", + "properties": { + "description": "The planner will merge sub-queries into upper queries upto this limit in FROM clause. Smaller values reduce planning time but might yield inferior query plans.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-FROM-COLLAPSE-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "8" + } + }, + { + "name": "fsync", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/fsync", + "properties": { + "description": "Forces synchronization of updates to disk.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-FSYNC", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "full_page_writes", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/full_page_writes", + "properties": { + "description": "Writes full pages to WAL when first modified after a checkpoint.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-FULL-PAGE-WRITES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "geqo", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo", + "properties": { + "description": "Enables genetic query optimization.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "geqo_effort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo_effort", + "properties": { + "description": "GEQO: effort is used to set the default for other GEQO parameters.", + "allowedValues": "1-10", + "dataType": "Integer", + "defaultValue": "5", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO-EFFORT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "5" + } + }, + { + "name": "geqo_generations", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo_generations", + "properties": { + "description": "GEQO: number of iterations of the algorithm.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO-GENERATIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0" + } + }, + { + "name": "geqo_pool_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo_pool_size", + "properties": { + "description": "GEQO: number of individuals in the population.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO-POOL-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0" + } + }, + { + "name": "geqo_seed", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo_seed", + "properties": { + "description": "GEQO: seed for random path selection.", + "allowedValues": "0-1", + "dataType": "Numeric", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO-SEED", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0" + } + }, + { + "name": "geqo_selection_bias", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo_selection_bias", + "properties": { + "description": "GEQO: selective pressure within the population.", + "allowedValues": "1.5-2", + "dataType": "Numeric", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO-SELECTION-BIAS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "geqo_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/geqo_threshold", + "properties": { + "description": "Sets the threshold of FROM items beyond which GEQO is used.", + "allowedValues": "2-2147483647", + "dataType": "Integer", + "defaultValue": "12", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-GEQO-THRESHOLD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "12" + } + }, + { + "name": "gin_fuzzy_search_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/gin_fuzzy_search_limit", + "properties": { + "description": "Sets the maximum allowed result for exact search by GIN.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-GIN-FUZZY-SEARCH-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0" + } + }, + { + "name": "gin_pending_list_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/gin_pending_list_limit", + "properties": { + "description": "Sets the maximum size of the pending list for GIN index.", + "allowedValues": "64-2097151", + "dataType": "Integer", + "defaultValue": "4096", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-GIN-PENDING-LIST-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "4096" + } + }, + { + "name": "hash_mem_multiplier", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/hash_mem_multiplier", + "properties": { + "description": "Multiple of work_mem to use for hash tables.", + "allowedValues": "1-1000", + "dataType": "Numeric", + "defaultValue": "1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-HASH-MEM-MULTIPLIER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1" + } + }, + { + "name": "hba_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/hba_file", + "properties": { + "description": "Sets the server's \"hba\" configuration file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-file-locations.html#GUC-HBA-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/pg/data/pg_hba.conf" + } + }, + { + "name": "hot_standby", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/hot_standby", + "properties": { + "description": "Allows connections and queries during recovery.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-HOT-STANDBY", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "hot_standby_feedback", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/hot_standby_feedback", + "properties": { + "description": "Enables/disables the option whether hot standby needs to send feedback to the primary or upstream standby about queries currently executing on the standby.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-HOT-STANDBY-FEEDBACK", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "huge_pages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/huge_pages", + "properties": { + "description": "Enables/disables the use of huge memory pages. This setting is not applicable to servers having less than 4 vCores.", + "allowedValues": "on,off,try", + "dataType": "Enumeration", + "defaultValue": "try", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-HUGE-PAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "try" + } + }, + { + "name": "ident_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ident_file", + "properties": { + "description": "Sets the server's \"ident\" configuration file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-file-locations.html#GUC-IDENT-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/pg/data/pg_ident.conf" + } + }, + { + "name": "idle_in_transaction_session_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/idle_in_transaction_session_timeout", + "properties": { + "description": "Sets the maximum allowed duration of any idling transaction.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-IDLE-IN-TRANSACTION-SESSION-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "0" + } + }, + { + "name": "ignore_checksum_failure", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ignore_checksum_failure", + "properties": { + "description": "Continues processing after a checksum failure.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-IGNORE-CHECKSUM-FAILURE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "ignore_invalid_pages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ignore_invalid_pages", + "properties": { + "description": "Continues recovery after an invalid pages failure.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-IGNORE-INVALID-PAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "ignore_system_indexes", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ignore_system_indexes", + "properties": { + "description": "Disables reading from system indexes.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-IGNORE-SYSTEM-INDEXES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "index_tuning.analysis_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.analysis_interval", + "properties": { + "description": "Sets the frequency at which each index optimization session is triggered when index_tuning.mode is set to 'REPORT'.", + "allowedValues": "60-10080", + "dataType": "Integer", + "defaultValue": "720", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "minutes", + "value": "720" + } + }, + { + "name": "index_tuning.max_columns_per_index", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.max_columns_per_index", + "properties": { + "description": "Maximum number of columns that can be part of the index key for any recommended index.", + "allowedValues": "1-10", + "dataType": "Integer", + "defaultValue": "2", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "index_tuning.max_index_count", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.max_index_count", + "properties": { + "description": "Maximum number of indexes that can be recommended for each database during one optimization session.", + "allowedValues": "1-25", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "10" + } + }, + { + "name": "index_tuning.max_indexes_per_table", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.max_indexes_per_table", + "properties": { + "description": "Maximum number of indexes that can be recommended for each table.", + "allowedValues": "1-25", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "10" + } + }, + { + "name": "index_tuning.max_queries_per_database", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.max_queries_per_database", + "properties": { + "description": "Number of slowest queries per database for which indexes can be recommended.", + "allowedValues": "5-100", + "dataType": "Integer", + "defaultValue": "25", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "25" + } + }, + { + "name": "index_tuning.max_regression_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.max_regression_factor", + "properties": { + "description": "Acceptable regression introduced by a recommended index on any of the queries analyzed during one optimization session.", + "allowedValues": "0.05-0.2", + "dataType": "Numeric", + "defaultValue": "0.1", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "percentage", + "value": "0.1" + } + }, + { + "name": "index_tuning.max_total_size_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.max_total_size_factor", + "properties": { + "description": "Maximum total size, in percentage of total disk space, that all recommended indexes for any given database can use.", + "allowedValues": "0-1.0", + "dataType": "Numeric", + "defaultValue": "0.1", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "percentage", + "value": "0.1" + } + }, + { + "name": "index_tuning.min_improvement_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.min_improvement_factor", + "properties": { + "description": "Cost improvement that a recommended index must provide to at least one of the queries analyzed during one optimization session.", + "allowedValues": "0-20.0", + "dataType": "Numeric", + "defaultValue": "0.2", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "percentage", + "value": "0.2" + } + }, + { + "name": "index_tuning.mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.mode", + "properties": { + "description": "Configures index optimization as disabled ('OFF') or enabled to only emit recommendation. Requires Query Store to be enabled by setting pg_qs.query_capture_mode to 'TOP' or 'ALL'.", + "allowedValues": "off,report", + "dataType": "Enumeration", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "index_tuning.unused_dml_per_table", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.unused_dml_per_table", + "properties": { + "description": "Minimum number of daily average DML operations affecting the table, so that their unused indexes are considered for dropping.", + "allowedValues": "0-9999999", + "dataType": "Integer", + "defaultValue": "1000", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1000" + } + }, + { + "name": "index_tuning.unused_min_period", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.unused_min_period", + "properties": { + "description": "Minimum number of days the index has not been used, based on system statistics, so that it is considered for dropping.", + "allowedValues": "30-720", + "dataType": "Integer", + "defaultValue": "35", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "days", + "value": "35" + } + }, + { + "name": "index_tuning.unused_reads_per_table", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/index_tuning.unused_reads_per_table", + "properties": { + "description": "Minimum number of daily average read operations affecting the table, so that their unused indexes are considered for dropping.", + "allowedValues": "0-9999999", + "dataType": "Integer", + "defaultValue": "1000", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274149", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1000" + } + }, + { + "name": "integer_datetimes", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/integer_datetimes", + "properties": { + "description": "Datetimes are integer based.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-INTEGER-DATETIMES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "intelligent_tuning", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/intelligent_tuning", + "properties": { + "description": "Enables intelligent tuning", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274150", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "intelligent_tuning.metric_targets", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/intelligent_tuning.metric_targets", + "properties": { + "description": "Specifies which metrics will be adjusted by intelligent tuning.", + "allowedValues": "none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all", + "dataType": "Set", + "defaultValue": "none", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274150", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "IntervalStyle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/IntervalStyle", + "properties": { + "description": "Sets the display format for interval values.", + "allowedValues": "postgres,postgres_verbose,sql_standard,iso_8601", + "dataType": "Enumeration", + "defaultValue": "postgres", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-INTERVALSTYLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "postgres" + } + }, + { + "name": "jit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit", + "properties": { + "description": "Determines whether JIT compilation may be used by PostgreSQL.", + "allowedValues": "on, off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-JIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "jit_above_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_above_cost", + "properties": { + "description": "Sets the query cost above which JIT compilation is activated, if enabled.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "100000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-JIT-ABOVE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "100000" + } + }, + { + "name": "jit_debugging_support", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_debugging_support", + "properties": { + "description": "Register JIT compiled function with debugger.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-JIT-DEBUGGING-SUPPORT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "jit_dump_bitcode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_dump_bitcode", + "properties": { + "description": "Write out LLVM bitcode to facilitate JIT debugging.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-JIT-DUMP-BITCODE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "jit_expressions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_expressions", + "properties": { + "description": "Allow JIT compilation of expressions.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-JIT-EXPRESSIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "jit_inline_above_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_inline_above_cost", + "properties": { + "description": "Sets the query cost above which JIT compilation attempts to inline functions and operators.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "500000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-JIT-INLINE-ABOVE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "500000" + } + }, + { + "name": "jit_optimize_above_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_optimize_above_cost", + "properties": { + "description": "Sets the query cost above which JIT compilation applies expensive optimizations.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "500000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-JIT-OPTIMIZE-ABOVE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "500000" + } + }, + { + "name": "jit_profiling_support", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_profiling_support", + "properties": { + "description": "Register JIT compiled function with perf profiler.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-JIT-PROFILING-SUPPORT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "jit_provider", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_provider", + "properties": { + "description": "JIT provider to use.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "llvmjit", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-JIT-PROVIDER", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "llvmjit" + } + }, + { + "name": "jit_tuple_deforming", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/jit_tuple_deforming", + "properties": { + "description": "Allow JIT compilation of tuple deforming.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-JIT-TUPLE-DEFORMING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "join_collapse_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/join_collapse_limit", + "properties": { + "description": "Sets the FROM-list size beyond which JOIN constructs are not flattened.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-JOIN-COLLAPSE-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "8" + } + }, + { + "name": "krb_caseins_users", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/krb_caseins_users", + "properties": { + "description": "Sets whether Kerberos and GSSAPI user names should be treated as case-insensitive.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-KRB-CASEINS-USERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "krb_server_keyfile", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/krb_server_keyfile", + "properties": { + "description": "Sets the location of the Kerberos server key file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-KRB-SERVER-KEYFILE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "lc_collate", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lc_collate", + "properties": { + "description": "Shows the collation order locale.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "C", + "documentationLink": "https://www.postgresql.org/docs/13/locale.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "en_US.utf8" + } + }, + { + "name": "lc_ctype", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lc_ctype", + "properties": { + "description": "Shows the character classification and case conversion locale.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "C", + "documentationLink": "https://www.postgresql.org/docs/13/locale.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "en_US.utf8" + } + }, + { + "name": "lc_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lc_messages", + "properties": { + "description": "Sets the language in which messages are displayed.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-LC-MESSAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "en_US.utf8" + } + }, + { + "name": "lc_monetary", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lc_monetary", + "properties": { + "description": "Sets the locale for formatting monetary amounts.", + "allowedValues": "[A-Za-z0-9._ -]+", + "dataType": "String", + "defaultValue": "en_US.utf-8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-LC-MONETARY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "en_US.utf-8" + } + }, + { + "name": "lc_numeric", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lc_numeric", + "properties": { + "description": "Sets the locale for formatting numbers.", + "allowedValues": "[A-Za-z0-9._ -]+", + "dataType": "String", + "defaultValue": "en_US.utf-8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-LC-NUMERIC", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "en_US.utf-8" + } + }, + { + "name": "lc_time", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lc_time", + "properties": { + "description": "Sets the locale for formatting date and time values.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "C", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-LC-TIME", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "en_US.utf8" + } + }, + { + "name": "listen_addresses", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/listen_addresses", + "properties": { + "description": "Sets the host name or IP address(es) to listen to.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "localhost", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-LISTEN-ADDRESSES", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "*" + } + }, + { + "name": "lo_compat_privileges", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lo_compat_privileges", + "properties": { + "description": "Enables backward compatibility mode for privilege checks on large objects.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-LO-COMPAT-PRIVILEGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "local_preload_libraries", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/local_preload_libraries", + "properties": { + "description": "Lists unprivileged shared libraries to preload into each backend.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-LOCAL-PRELOAD-LIBRARIES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "lock_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/lock_timeout", + "properties": { + "description": "Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-LOCK-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "0" + } + }, + { + "name": "log_autovacuum_min_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_autovacuum_min_duration", + "properties": { + "description": "Sets the minimum execution time above which autovacuum actions will be logged.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-autovacuum.html#id-1.6.6.13.4.2.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "-1" + } + }, + { + "name": "log_checkpoints", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_checkpoints", + "properties": { + "description": "Logs each checkpoint.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-CHECKPOINTS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "log_connections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_connections", + "properties": { + "description": "Causes each attempted connection to the server to be logged, as well as successful completion of client authentication.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-CONNECTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "log_destination", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_destination", + "properties": { + "description": "Sets the destination for server log output.", + "allowedValues": "stderr,csvlog", + "dataType": "Enumeration", + "defaultValue": "stderr", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-DESTINATION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "stderr" + } + }, + { + "name": "log_directory", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_directory", + "properties": { + "description": "Sets the destination directory for log files.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "log", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-DIRECTORY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "log" + } + }, + { + "name": "log_disconnections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_disconnections", + "properties": { + "description": "Logs end of a session, including duration.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-DISCONNECTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "log_duration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_duration", + "properties": { + "description": "Logs the duration of each completed SQL statement.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-DURATION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_error_verbosity", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_error_verbosity", + "properties": { + "description": "Controls the amount of detail written in the server log for each message that is logged.", + "allowedValues": "terse,default,verbose", + "dataType": "Enumeration", + "defaultValue": "default", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-ERROR-VERBOSITY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "default" + } + }, + { + "name": "log_executor_stats", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_executor_stats", + "properties": { + "description": "Writes executor performance statistics to the server log.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#id-1.6.6.12.3.2.1.4.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_file_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_file_mode", + "properties": { + "description": "Sets the file permissions for log files.", + "allowedValues": "0-511", + "dataType": "Integer", + "defaultValue": "384", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-FILE-MODE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "0600" + } + }, + { + "name": "log_filename", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_filename", + "properties": { + "description": "Sets the file name pattern for log files.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "postgresql-%Y-%m-%d_%H%M%S.log", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-FILENAME", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "postgresql-%Y-%m-%d_%H%M%S.log" + } + }, + { + "name": "log_hostname", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_hostname", + "properties": { + "description": "Logs the host name in the connection logs.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-HOSTNAME", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_line_prefix", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_line_prefix", + "properties": { + "description": "Sets the printf-style string that is output at the beginning of each log line.", + "allowedValues": "[^']*", + "dataType": "String", + "defaultValue": "%t-%c-", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-LINE-PREFIX", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "%t-%c-" + } + }, + { + "name": "log_lock_waits", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_lock_waits", + "properties": { + "description": "Controls whether a log message is produced when a session waits longer than deadlock_timeout to acquire a lock.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-LOCK-WAITS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_min_duration_sample", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_min_duration_sample", + "properties": { + "description": "Sets the minimum execution time above which a sample of statements will be logged. Sampling is determined by log_statement_sample_rate.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-MIN-DURATION-SAMPLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "-1" + } + }, + { + "name": "log_min_duration_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_min_duration_statement", + "properties": { + "description": "Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-MIN-DURATION-STATEMENT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "-1" + } + }, + { + "name": "log_min_error_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_min_error_statement", + "properties": { + "description": "Causes all statements generating error at or above this level to be logged.", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "dataType": "Enumeration", + "defaultValue": "error", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-MIN-ERROR-STATEMENT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "error" + } + }, + { + "name": "log_min_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_min_messages", + "properties": { + "description": "Controls which message levels are written to the server log.", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "dataType": "Enumeration", + "defaultValue": "warning", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-MIN-MESSAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "warning" + } + }, + { + "name": "log_parameter_max_length", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_parameter_max_length", + "properties": { + "description": "When logging statements, limit logged parameter values to first N bytes.", + "allowedValues": "-1-1073741823", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-PARAMETER-MAX-LENGTH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "bytes", + "value": "-1" + } + }, + { + "name": "log_parameter_max_length_on_error", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_parameter_max_length_on_error", + "properties": { + "description": "When reporting an error, limit logged parameter values to first N bytes.", + "allowedValues": "-1-1073741823", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-PARAMETER-MAX-LENGTH-ON-ERROR", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "bytes", + "value": "0" + } + }, + { + "name": "log_parser_stats", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_parser_stats", + "properties": { + "description": "Writes parser performance statistics to the server log.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#id-1.6.6.12.3.2.1.4.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_planner_stats", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_planner_stats", + "properties": { + "description": "Writes planner performance statistics to the server log.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#id-1.6.6.12.3.2.1.4.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_replication_commands", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_replication_commands", + "properties": { + "description": "Logs each replication command.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-REPLICATION-COMMANDS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "log_rotation_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_rotation_age", + "properties": { + "description": "Automatic log file rotation will occur after N minutes.", + "allowedValues": "0-35791394", + "dataType": "Integer", + "defaultValue": "1440", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-ROTATION-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "unit": "minutes", + "value": "60" + } + }, + { + "name": "log_rotation_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_rotation_size", + "properties": { + "description": "Automatic log file rotation will occur after N kilobytes.", + "allowedValues": "0-2097151", + "dataType": "Integer", + "defaultValue": "10240", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-ROTATION-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "unit": "KB", + "value": "102400" + } + }, + { + "name": "log_statement", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_statement", + "properties": { + "description": "Sets the type of statements logged.", + "allowedValues": "none,ddl,mod,all", + "dataType": "Enumeration", + "defaultValue": "none", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-STATEMENT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "log_statement_sample_rate", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_statement_sample_rate", + "properties": { + "description": "Fraction of statements exceeding log_min_duration_sample to be logged.", + "allowedValues": "0-1", + "dataType": "Numeric", + "defaultValue": "1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-STATEMENT-SAMPLE-RATE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1" + } + }, + { + "name": "log_statement_stats", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_statement_stats", + "properties": { + "description": "For each query, writes cumulative performance statistics to the server log.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#id-1.6.6.12.3.2.1.4.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "log_temp_files", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_temp_files", + "properties": { + "description": "Logs the use of temporary files larger than this number of kilobytes.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-TEMP-FILES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "-1" + } + }, + { + "name": "log_timezone", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_timezone", + "properties": { + "description": "Sets the time zone to use in log messages.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "GMT", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-TIMEZONE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "UTC" + } + }, + { + "name": "log_transaction_sample_rate", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_transaction_sample_rate", + "properties": { + "description": "Set the fraction of transactions to log for new transactions.", + "allowedValues": "0-1", + "dataType": "Numeric", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-TRANSACTION-SAMPLE-RATE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "0" + } + }, + { + "name": "log_truncate_on_rotation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/log_truncate_on_rotation", + "properties": { + "description": "Truncate existing log files of same name during log rotation.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-TRUNCATE-ON-ROTATION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "logfiles.download_enable", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/logfiles.download_enable", + "properties": { + "description": "Enables or disables server logs functionality.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274270", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "logfiles.retention_days", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/logfiles.retention_days", + "properties": { + "description": "Sets the retention period window in days for server logs - after this time data will be deleted.", + "allowedValues": "1-7", + "dataType": "Integer", + "defaultValue": "3", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274270", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "3" + } + }, + { + "name": "logging_collector", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/logging_collector", + "properties": { + "description": "Start a subprocess to capture stderr output and/or csvlogs into log files.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOGGING-COLLECTOR", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "logical_decoding_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/logical_decoding_work_mem", + "properties": { + "description": "Sets the maximum memory to be used for logical decoding.", + "allowedValues": "64-2147483647", + "dataType": "Integer", + "defaultValue": "65536", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-LOGICAL-DECODING-WORK-MEM", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "65536" + } + }, + { + "name": "maintenance_io_concurrency", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/maintenance_io_concurrency", + "properties": { + "description": "A variant of effective_io_concurrency that is used for maintenance work.", + "allowedValues": "0-1000", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAINTENANCE-IO-CONCURRENCY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "10" + } + }, + { + "name": "maintenance_work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/maintenance_work_mem", + "properties": { + "description": "Sets the maximum memory to be used for maintenance operations such as VACUUM, Create Index.", + "allowedValues": "1024-2097151", + "dataType": "Integer", + "defaultValue": "274432", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAINTENANCE-WORK-MEM", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "274432" + } + }, + { + "name": "max_connections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_connections", + "properties": { + "description": "Sets the maximum number of concurrent connections to the database server.", + "allowedValues": "25-5000", + "dataType": "Integer", + "defaultValue": "1718", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-MAX-CONNECTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "1718" + } + }, + { + "name": "max_files_per_process", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_files_per_process", + "properties": { + "description": "Sets the maximum number of simultaneously open files for each server process.", + "allowedValues": "64-2147483647", + "dataType": "Integer", + "defaultValue": "1000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-FILES-PER-PROCESS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "1000" + } + }, + { + "name": "max_function_args", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_function_args", + "properties": { + "description": "Shows the maximum number of function arguments.", + "allowedValues": "100-100", + "dataType": "Integer", + "defaultValue": "100", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-MAX-FUNCTION-ARGS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "100" + } + }, + { + "name": "max_identifier_length", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_identifier_length", + "properties": { + "description": "Shows the maximum identifier length.", + "allowedValues": "63-63", + "dataType": "Integer", + "defaultValue": "63", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-MAX-IDENTIFIER-LENGTH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "63" + } + }, + { + "name": "max_index_keys", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_index_keys", + "properties": { + "description": "Shows the maximum number of index keys.", + "allowedValues": "32-32", + "dataType": "Integer", + "defaultValue": "32", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-MAX-INDEX-KEYS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "32" + } + }, + { + "name": "max_locks_per_transaction", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_locks_per_transaction", + "properties": { + "description": "Sets the maximum number of locks can be taken per transaction. When running a replica server, you must set this parameter to the same or higher value than on the master server.", + "allowedValues": "10-8388608", + "dataType": "Integer", + "defaultValue": "64", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-locks.html#GUC-MAX-LOCKS-PER-TRANSACTION", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "64" + } + }, + { + "name": "max_logical_replication_workers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_logical_replication_workers", + "properties": { + "description": "Specifies maximum number of logical replication workers. This includes both apply workers and table synchronization workers.", + "allowedValues": "0-262143", + "dataType": "Integer", + "defaultValue": "4", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-LOGICAL-REPLICATION-WORKERS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "4" + } + }, + { + "name": "max_parallel_maintenance_workers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_parallel_maintenance_workers", + "properties": { + "description": "Sets the maximum number of parallel processes per maintenance operation.", + "allowedValues": "0-64", + "dataType": "Integer", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-PARALLEL-WORKERS-MAINTENANCE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "max_parallel_workers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_parallel_workers", + "properties": { + "description": "Sets the maximum number of workers than can be supported for parallel operations.", + "allowedValues": "0-1024", + "dataType": "Integer", + "defaultValue": "8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-PARALLEL-WORKERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "8" + } + }, + { + "name": "max_parallel_workers_per_gather", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_parallel_workers_per_gather", + "properties": { + "description": "Sets the maximum number of parallel processes per executor node.", + "allowedValues": "0-1024", + "dataType": "Integer", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-PARALLEL-WORKERS-PER-GATHER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "max_pred_locks_per_page", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_pred_locks_per_page", + "properties": { + "description": "Sets the maximum number of predicate-locked tuples per page.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-locks.html#GUC-MAX-PRED-LOCKS-PER-PAGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "max_pred_locks_per_relation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_pred_locks_per_relation", + "properties": { + "description": "Sets the maximum number of predicate-locked pages and tuples per relation.", + "allowedValues": "-2147483648-2147483647", + "dataType": "Integer", + "defaultValue": "-2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-locks.html#GUC-MAX-PRED-LOCKS-PER-RELATION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "-2" + } + }, + { + "name": "max_pred_locks_per_transaction", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_pred_locks_per_transaction", + "properties": { + "description": "Sets the maximum number of predicate locks per transaction.", + "allowedValues": "10-2147483647", + "dataType": "Integer", + "defaultValue": "64", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-locks.html#GUC-MAX-PRED-LOCKS-PER-TRANSACTION", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "64" + } + }, + { + "name": "max_prepared_transactions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_prepared_transactions", + "properties": { + "description": "Sets the maximum number of simultaneously prepared transactions. When running a replica server, you must set this parameter to the same or higher value than on the primary server.", + "allowedValues": "0-262143", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-PREPARED-TRANSACTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "0" + } + }, + { + "name": "max_replication_slots", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_replication_slots", + "properties": { + "description": "Specifies the maximum number of replication slots that the server can support.", + "allowedValues": "2-262143", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-REPLICATION-SLOTS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "10" + } + }, + { + "name": "max_slot_wal_keep_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_slot_wal_keep_size", + "properties": { + "description": "Sets the maximum WAL size that can be reserved by replication slots.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-SLOT-WAL-KEEP-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "megabytes", + "value": "-1" + } + }, + { + "name": "max_stack_depth", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_stack_depth", + "properties": { + "description": "Sets the maximum stack depth, in kilobytes.", + "allowedValues": "100-2147483647", + "dataType": "Integer", + "defaultValue": "100", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-STACK-DEPTH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "unit": "KB", + "value": "2048" + } + }, + { + "name": "max_standby_archive_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_standby_archive_delay", + "properties": { + "description": "Sets the maximum delay before canceling queries that conflict when a hot standby server is processing archived WAL data.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "30000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-STANDBY-ARCHIVE-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "30000" + } + }, + { + "name": "max_standby_streaming_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_standby_streaming_delay", + "properties": { + "description": "Sets the maximum delay before canceling queries that conflict when a hot standby server is processing streamed WAL data.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "30000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-STANDBY-STREAMING-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "30000" + } + }, + { + "name": "max_sync_workers_per_subscription", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_sync_workers_per_subscription", + "properties": { + "description": "Maximum number of table synchronization workers per subscription.", + "allowedValues": "0-262143", + "dataType": "Integer", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-SYNC-WORKERS-PER-SUBSCRIPTION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "max_wal_senders", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_wal_senders", + "properties": { + "description": "Sets the maximum number of simultaneously running WAL sender processes.", + "allowedValues": "5-100", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-MAX-WAL-SENDERS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "10" + } + }, + { + "name": "max_wal_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_wal_size", + "properties": { + "description": "Maximum size to let the WAL grow before triggering automatic checkpoint.", + "allowedValues": "32-65536", + "dataType": "Integer", + "defaultValue": "2048", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-MAX-WAL-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "megabytes", + "value": "2048" + } + }, + { + "name": "max_worker_processes", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/max_worker_processes", + "properties": { + "description": "Sets the maximum number of background processes that the system can support.", + "allowedValues": "0-262143", + "dataType": "Integer", + "defaultValue": "8", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-MAX-WORKER-PROCESSES", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "8" + } + }, + { + "name": "metrics.autovacuum_diagnostics", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/metrics.autovacuum_diagnostics", + "properties": { + "description": "Enables metrics collection for all table statistics within a database", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274151", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "metrics.collector_database_activity", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/metrics.collector_database_activity", + "properties": { + "description": "Enables metrics collection for database and activity statistics", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274151", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "metrics.pgbouncer_diagnostics", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/metrics.pgbouncer_diagnostics", + "properties": { + "description": "Enables metrics collection for PgBouncer.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274151", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "min_parallel_index_scan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/min_parallel_index_scan_size", + "properties": { + "description": "Sets the minimum amount of index data for a parallel scan.", + "allowedValues": "0-715827882", + "dataType": "Integer", + "defaultValue": "64", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-MIN-PARALLEL-INDEX-SCAN-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "64" + } + }, + { + "name": "min_parallel_table_scan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/min_parallel_table_scan_size", + "properties": { + "description": "Sets the minimum amount of table data that must be scanned for a parallel scan to be considered.", + "allowedValues": "0-715827882", + "dataType": "Integer", + "defaultValue": "1024", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-MIN-PARALLEL-TABLE-SCAN-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "1024" + } + }, + { + "name": "min_wal_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/min_wal_size", + "properties": { + "description": "Sets the minimum size to shrink the WAL to.", + "allowedValues": "32-2097151", + "dataType": "Integer", + "defaultValue": "80", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-MIN-WAL-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "megabytes", + "value": "80" + } + }, + { + "name": "parallel_leader_participation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/parallel_leader_participation", + "properties": { + "description": "Controls whether Gather and Gather Merge also run subplans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "parallel_setup_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/parallel_setup_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of starting up worker processes for parallel query.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "1000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-PARALLEL-SETUP-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1000" + } + }, + { + "name": "parallel_tuple_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/parallel_tuple_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of passing each tuple (row) from worker to master backend.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "0.1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-PARALLEL-TUPLE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0.1" + } + }, + { + "name": "password_encryption", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/password_encryption", + "properties": { + "description": "Determines the algorithm to use to encrypt the password.", + "allowedValues": "md5,scram-sha-256", + "dataType": "Enumeration", + "defaultValue": "md5", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-PASSWORD-ENCRYPTION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "md5" + } + }, + { + "name": "pg_partman_bgw.analyze", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_partman_bgw.analyze", + "properties": { + "description": "Same purpose as the p_analyze argument to run_maintenance().", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://github.com/pgpartman/pg_partman", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pg_partman_bgw.dbname", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_partman_bgw.dbname", + "properties": { + "description": "Required. The database(s) that run_maintenance() will run on. If more than one, use a comma separated list. If not set, BGW will do nothing.", + "allowedValues": "[A-Za-z0-9_,-]*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://github.com/pgpartman/pg_partman", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "pg_partman_bgw.interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_partman_bgw.interval", + "properties": { + "description": "Number of seconds between calls to run_maintenance().", + "allowedValues": "1-315360000", + "dataType": "Integer", + "defaultValue": "3600", + "documentationLink": "https://github.com/pgpartman/pg_partman", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "3600" + } + }, + { + "name": "pg_partman_bgw.jobmon", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_partman_bgw.jobmon", + "properties": { + "description": "Same purpose as the p_jobmon argument to run_maintenance().", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://github.com/pgpartman/pg_partman", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pg_partman_bgw.role", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_partman_bgw.role", + "properties": { + "description": "The role that run_maintenance() will run as. Default is postgres. Only a single role name is allowed.", + "allowedValues": "[A-Za-z\\._]*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://github.com/pgpartman/pg_partman", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "pg_qs.interval_length_minutes", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.interval_length_minutes", + "properties": { + "description": "Sets the query_store capture interval in minutes for pg_qs - this is the frequency of data persistence.", + "allowedValues": "1-30", + "dataType": "Integer", + "defaultValue": "15", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "unit": "minutes", + "value": "15" + } + }, + { + "name": "pg_qs.is_enabled_fs", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.is_enabled_fs", + "properties": { + "description": "Internal Use Only: This parameter is used as a feature override switch. If it shows as off, Query Store will be disabled despite the value set for pg_qs.query_capture_mode.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pg_qs.max_plan_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.max_plan_size", + "properties": { + "description": "Sets the maximum number of bytes that will be saved for query plan text for pg_qs; longer plans will be truncated.", + "allowedValues": "100-10000", + "dataType": "Integer", + "defaultValue": "7500", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "bytes", + "value": "7500" + } + }, + { + "name": "pg_qs.max_query_text_length", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.max_query_text_length", + "properties": { + "description": "Sets the maximum query text length that will be saved; longer queries will be truncated.", + "allowedValues": "100-10000", + "dataType": "Integer", + "defaultValue": "6000", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "bytes", + "value": "6000" + } + }, + { + "name": "pg_qs.parameters_capture_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.parameters_capture_mode", + "properties": { + "description": "Whether and when to capture query positional parameters.", + "allowedValues": "capture_parameterless_only,capture_first_sample", + "dataType": "Enumeration", + "defaultValue": "capture_parameterless_only", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "capture_parameterless_only" + } + }, + { + "name": "pg_qs.query_capture_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.query_capture_mode", + "properties": { + "description": "Sets query capture mode for query store. None disables any capturing.", + "allowedValues": "top,all,none", + "dataType": "Enumeration", + "defaultValue": "none", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "pg_qs.retention_period_in_days", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.retention_period_in_days", + "properties": { + "description": "Sets the retention period window in days for pg_qs - after this time data will be deleted.", + "allowedValues": "1-30", + "dataType": "Integer", + "defaultValue": "7", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "7" + } + }, + { + "name": "pg_qs.store_query_plans", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.store_query_plans", + "properties": { + "description": "Turns saving query plans on or off for pg_qs ", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pg_qs.track_utility", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_qs.track_utility", + "properties": { + "description": "Selects whether utility commands are tracked by pg_qs.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pg_stat_statements.max", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_stat_statements.max", + "properties": { + "description": "Sets the maximum number of statements tracked by pg_stat_statements.", + "allowedValues": "100-2147483647", + "dataType": "Integer", + "defaultValue": "5000", + "documentationLink": "https://www.postgresql.org/docs/13/pgstatstatements.html", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "5000" + } + }, + { + "name": "pg_stat_statements.save", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_stat_statements.save", + "properties": { + "description": "Save pg_stat_statements statistics across server shutdowns.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/pgstatstatements.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pg_stat_statements.track", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_stat_statements.track", + "properties": { + "description": "Controls which statements are counted by pg_stat_statements.", + "allowedValues": "top,all,none", + "dataType": "Enumeration", + "defaultValue": "none", + "documentationLink": "https://www.postgresql.org/docs/13/pgstatstatements.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "pg_stat_statements.track_utility", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pg_stat_statements.track_utility", + "properties": { + "description": "Selects whether utility commands are tracked by pg_stat_statements.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/pgstatstatements.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pgaudit.log", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log", + "properties": { + "description": "Specifies which classes of statements will be logged by session audit logging.", + "allowedValues": "none,read,write,function,role,ddl,misc,all", + "dataType": "Set", + "defaultValue": "none", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "pgaudit.log_catalog", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log_catalog", + "properties": { + "description": "Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pgaudit.log_client", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log_client", + "properties": { + "description": "Specifies whether audit messages should be visible to client.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pgaudit.log_level", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log_level", + "properties": { + "description": "Specifies the log level that will be used for log entries.", + "allowedValues": ",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log", + "dataType": "Enumeration", + "defaultValue": "log", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "log" + } + }, + { + "name": "pgaudit.log_parameter", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log_parameter", + "properties": { + "description": "Specifies that audit logging should include the parameters that were passed with the statement.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pgaudit.log_relation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log_relation", + "properties": { + "description": "Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pgaudit.log_statement_once", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.log_statement_once", + "properties": { + "description": "Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pgaudit.role", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgaudit.role", + "properties": { + "description": "Specifies the master role to use for object audit logging.", + "allowedValues": "[A-Za-z\\._]*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://github.com/pgaudit/pgaudit/blob/master/README.md", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "pgbouncer.enabled", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgbouncer.enabled", + "properties": { + "description": "Denotes if pgBouncer service is enabled.", + "allowedValues": "true, false", + "dataType": "Boolean", + "defaultValue": "false", + "documentationLink": "https://www.pgbouncer.org/config.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "false" + } + }, + { + "name": "pglogical.batch_inserts", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pglogical.batch_inserts", + "properties": { + "description": "Tells PGLogical to use batch insert mechanism if possible.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://github.com/ArmMbedCloud/pglogical", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pglogical.conflict_log_level", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pglogical.conflict_log_level", + "properties": { + "description": "Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic", + "dataType": "Enumeration", + "defaultValue": "log", + "documentationLink": "https://github.com/ArmMbedCloud/pglogical", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "log" + } + }, + { + "name": "pglogical.conflict_resolution", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pglogical.conflict_resolution", + "properties": { + "description": "Sets the resolution method for any detected conflicts between local data and incoming changes.", + "allowedValues": "error,apply_remote,keep_local,last_update_wins,first_update_wins", + "dataType": "Enumeration", + "defaultValue": "apply_remote", + "documentationLink": "https://github.com/ArmMbedCloud/pglogical", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "apply_remote" + } + }, + { + "name": "pglogical.use_spi", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pglogical.use_spi", + "properties": { + "description": "Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://github.com/ArmMbedCloud/pglogical", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "pgms_stats.is_enabled_fs", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgms_stats.is_enabled_fs", + "properties": { + "description": "Internal Use Only: This parameter is used as a feature override switch.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pgms_wait_sampling.history_period", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgms_wait_sampling.history_period", + "properties": { + "description": "Set the frequency, in milliseconds, at which wait events are sampled.", + "allowedValues": "1-600000", + "dataType": "Integer", + "defaultValue": "100", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "100" + } + }, + { + "name": "pgms_wait_sampling.is_enabled_fs", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgms_wait_sampling.is_enabled_fs", + "properties": { + "description": "Internal Use Only: This parameter is used as a feature override switch. If it shows as off, wait sampling will be disabled despite the value set for pgms_wait_sampling.query_capture_mode.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "pgms_wait_sampling.query_capture_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pgms_wait_sampling.query_capture_mode", + "properties": { + "description": "Selects which statements are tracked by the pgms_wait_sampling extension.", + "allowedValues": "all,none", + "dataType": "Enumeration", + "defaultValue": "none", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2274607", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "plan_cache_mode", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/plan_cache_mode", + "properties": { + "description": "Controls the planner's selection of custom or generic plan.", + "allowedValues": "auto,force_generic_plan,force_custom_plan", + "dataType": "Enumeration", + "defaultValue": "auto", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#id-1.6.6.10.5.2.9.1.3", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "auto" + } + }, + { + "name": "port", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/port", + "properties": { + "description": "Sets the TCP port the server listens on.", + "allowedValues": "1-65535", + "dataType": "Integer", + "defaultValue": "5432", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-PORT", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "5432" + } + }, + { + "name": "post_auth_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/post_auth_delay", + "properties": { + "description": "Waits N seconds on connection startup after authentication.", + "allowedValues": "0-2147", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-POST-AUTH-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "seconds", + "value": "0" + } + }, + { + "name": "postgis.gdal_enabled_drivers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/postgis.gdal_enabled_drivers", + "properties": { + "description": "Controls postgis GDAL enabled driver settings.", + "allowedValues": "DISABLE_ALL,ENABLE_ALL", + "dataType": "Enumeration", + "defaultValue": "DISABLE_ALL", + "documentationLink": "https://postgis.net/docs/postgis_gdal_enabled_drivers.html", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "DISABLE_ALL" + } + }, + { + "name": "pre_auth_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/pre_auth_delay", + "properties": { + "description": "Waits N seconds on connection startup before authentication.", + "allowedValues": "0-60", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-PRE-AUTH-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "seconds", + "value": "0" + } + }, + { + "name": "primary_conninfo", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/primary_conninfo", + "properties": { + "description": "Sets the connection string to be used to connect to the sending server.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-PRIMARY-CONNINFO", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "primary_slot_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/primary_slot_name", + "properties": { + "description": "Sets the name of the replication slot to use on the sending server.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-PRIMARY-SLOT-NAME", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "promote_trigger_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/promote_trigger_file", + "properties": { + "description": "Specifies a file name whose presence ends recovery in the standby.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "quote_all_identifiers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/quote_all_identifiers", + "properties": { + "description": "When generating SQL fragments, quotes all identifiers.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-QUOTE-ALL-IDENTIFIERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "random_page_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/random_page_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of a nonsequentially fetched disk page.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-RANDOM-PAGE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "2" + } + }, + { + "name": "recovery_end_command", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_end_command", + "properties": { + "description": "Sets the shell command that will be executed once at the end of recovery.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-END-COMMAND", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "recovery_min_apply_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_min_apply_delay", + "properties": { + "description": "Sets the minimum delay for applying changes during recovery.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-RECOVERY-MIN-APPLY-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "milliseconds", + "value": "0" + } + }, + { + "name": "recovery_target", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target", + "properties": { + "description": "Set to \"immediate\" to end recovery as soon as a consistent state is reached.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "recovery_target_action", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_action", + "properties": { + "description": "Sets the action to perform upon reaching the recovery target.", + "allowedValues": "pause,promote,shutdown", + "dataType": "Enumeration", + "defaultValue": "pause", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-ACTION", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "pause" + } + }, + { + "name": "recovery_target_inclusive", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_inclusive", + "properties": { + "description": "Sets whether to include or exclude transaction with recovery target.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-INCLUSIVE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "recovery_target_lsn", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_lsn", + "properties": { + "description": "Sets the LSN of the write-ahead log location up to which recovery will proceed.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-LSN", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "recovery_target_name", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_name", + "properties": { + "description": "Sets the named restore point up to which recovery will proceed.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-NAME", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "recovery_target_time", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_time", + "properties": { + "description": "Sets the time stamp up to which recovery will proceed.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-TIME", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "recovery_target_timeline", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_timeline", + "properties": { + "description": "Specifies the timeline to recover into.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "latest", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-TIMELINE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "latest" + } + }, + { + "name": "recovery_target_xid", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/recovery_target_xid", + "properties": { + "description": "Sets the transaction ID up to which recovery will proceed.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-XID", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "require_secure_transport", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/require_secure_transport", + "properties": { + "description": "Whether client connections to the server are required to use some form of secure transport.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2282200", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "reserved_connections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/reserved_connections", + "properties": { + "description": "Sets the number of connections slots reserved for replication users and super users.", + "allowedValues": "0-262143", + "dataType": "Integer", + "defaultValue": "5", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "5" + } + }, + { + "name": "restart_after_crash", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/restart_after_crash", + "properties": { + "description": "Reinitialize server after backend crash.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-error-handling.html#GUC-RESTART-AFTER-CRASH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "restore_command", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/restore_command", + "properties": { + "description": "Sets the shell command that will be called to retrieve an archived WAL file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "row_security", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/row_security", + "properties": { + "description": "Enables row security.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "search_path", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/search_path", + "properties": { + "description": "Sets the schema search order for names that are not schema-qualified.", + "allowedValues": "[A-Za-z0-9.\"$,_ -]+", + "dataType": "String", + "defaultValue": "\"$user\", public", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-SEARCH-PATH", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "\"$user\", public" + } + }, + { + "name": "segment_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/segment_size", + "properties": { + "description": "Shows the number of pages per disk file.", + "allowedValues": "131072-131072", + "dataType": "Integer", + "defaultValue": "131072", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-SEGMENT-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "8KB", + "value": "131072" + } + }, + { + "name": "seq_page_cost", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/seq_page_cost", + "properties": { + "description": "Sets the planner's estimate of the cost of a sequentially fetched disk page.", + "allowedValues": "0-1.79769e+308", + "dataType": "Numeric", + "defaultValue": "1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-query.html#GUC-SEQ-PAGE-COST", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1" + } + }, + { + "name": "server_encoding", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/server_encoding", + "properties": { + "description": "Sets the server (database) character set encoding.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "SQL_ASCII", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-SERVER-ENCODING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "UTF8" + } + }, + { + "name": "server_version", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/server_version", + "properties": { + "description": "Shows the server version.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "13.11", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-SERVER-VERSION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "13.16" + } + }, + { + "name": "server_version_num", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/server_version_num", + "properties": { + "description": "Shows the server version as an integer.", + "allowedValues": "130011-130011", + "dataType": "Integer", + "defaultValue": "130011", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-SERVER-VERSION-NUM", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "130016" + } + }, + { + "name": "session_preload_libraries", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/session_preload_libraries", + "properties": { + "description": "Lists shared libraries to preload into each backend.", + "allowedValues": ",login_hook", + "dataType": "Set", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-SESSION-PRELOAD-LIBRARIES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "session_replication_role", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/session_replication_role", + "properties": { + "description": "Controls firing of replication-related triggers and rules for the current session.", + "allowedValues": "origin,replica,local", + "dataType": "Enumeration", + "defaultValue": "origin", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-SESSION-REPLICATION-ROLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "origin" + } + }, + { + "name": "shared_buffers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/shared_buffers", + "properties": { + "description": "Sets the number of shared memory buffers used by the server. Unit is 8kb. Allowed values are inside the range of 10% - 75% of available memory.", + "allowedValues": "16-1073741823", + "dataType": "Integer", + "defaultValue": "524288", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-SHARED-BUFFERS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "524288" + } + }, + { + "name": "shared_memory_type", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/shared_memory_type", + "properties": { + "description": "Selects the shared memory implementation used for the main shared memory region.", + "allowedValues": "sysv,mmap", + "dataType": "Enumeration", + "defaultValue": "mmap", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-SHARED-MEMORY-TYPE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "mmap" + } + }, + { + "name": "shared_preload_libraries", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/shared_preload_libraries", + "properties": { + "description": "Sets which shared libraries are preloaded at server start.", + "allowedValues": ",age,anon,auto_explain,azure_storage,pg_cron,pg_failover_slots,pg_hint_plan,pg_partman_bgw,pg_prewarm,pg_squeeze,pg_stat_statements,pgaudit,pglogical,timescaledb,wal2json", + "dataType": "Set", + "defaultValue": "pg_cron,pg_stat_statements", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "pg_cron,pg_stat_statements" + } + }, + { + "name": "ssl", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl", + "properties": { + "description": "Enables SSL connections.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "on" + } + }, + { + "name": "ssl_ca_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_ca_file", + "properties": { + "description": "Location of the SSL certificate authority file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-CA-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/certs/ca.pem" + } + }, + { + "name": "ssl_cert_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_cert_file", + "properties": { + "description": "Location of the SSL server certificate file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "server.crt", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-CERT-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/certs/cert.pem" + } + }, + { + "name": "ssl_ciphers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_ciphers", + "properties": { + "description": "Sets the list of allowed SSL ciphers.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "HIGH:MEDIUM:+3DES:!aNULL", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-CIPHERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256" + } + }, + { + "name": "ssl_crl_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_crl_file", + "properties": { + "description": "Location of the SSL certificate revocation list file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-CRL-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "ssl_dh_params_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_dh_params_file", + "properties": { + "description": "Location of the SSL DH parameters file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-DH-PARAMS-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "ssl_ecdh_curve", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_ecdh_curve", + "properties": { + "description": "Sets the curve to use for ECDH.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "prime256v1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-ECDH-CURVE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "prime256v1" + } + }, + { + "name": "ssl_key_file", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_key_file", + "properties": { + "description": "Location of the SSL server private key file.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "server.key", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-KEY-FILE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "/datadrive/certs/key.pem" + } + }, + { + "name": "ssl_library", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_library", + "properties": { + "description": "Name of the SSL library.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "OpenSSL", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-SSL-LIBRARY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "OpenSSL" + } + }, + { + "name": "ssl_max_protocol_version", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_max_protocol_version", + "properties": { + "description": "Sets the maximum SSL/TLS protocol version to use.", + "allowedValues": ",TLSv1.2,TLSv1.3", + "dataType": "Enumeration", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-MAX-PROTOCOL-VERSION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "" + } + }, + { + "name": "ssl_min_protocol_version", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_min_protocol_version", + "properties": { + "description": "Sets the minimum SSL/TLS protocol version to use.", + "allowedValues": "TLSv1.2,TLSv1.3", + "dataType": "Enumeration", + "defaultValue": "TLSv1.2", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-MIN-PROTOCOL-VERSION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "TLSv1.2" + } + }, + { + "name": "ssl_passphrase_command", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_passphrase_command", + "properties": { + "description": "Command to obtain passphrases for SSL.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-PASSPHRASE-COMMAND", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "ssl_passphrase_command_supports_reload", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_passphrase_command_supports_reload", + "properties": { + "description": "Also use ssl_passphrase_command during server reload.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-PASSPHRASE-COMMAND-SUPPORTS-RELOAD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "ssl_prefer_server_ciphers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/ssl_prefer_server_ciphers", + "properties": { + "description": "Give priority to server ciphersuite order.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SSL-PREFER-SERVER-CIPHERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "standard_conforming_strings", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/standard_conforming_strings", + "properties": { + "description": "Causes '...' strings to treat backslashes literally.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-STANDARD-CONFORMING-STRINGS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "statement_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/statement_timeout", + "properties": { + "description": "Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-STATEMENT-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "0" + } + }, + { + "name": "stats_temp_directory", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/stats_temp_directory", + "properties": { + "description": "Writes temporary statistics files to the specified directory.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "pg_stat_tmp", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#GUC-STATS-TEMP-DIRECTORY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "pg_stat_tmp" + } + }, + { + "name": "superuser_reserved_connections", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/superuser_reserved_connections", + "properties": { + "description": "Sets the number of connection slots reserved for superusers.", + "allowedValues": "0-262143", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-SUPERUSER-RESERVED-CONNECTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "10" + } + }, + { + "name": "synchronize_seqscans", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/synchronize_seqscans", + "properties": { + "description": "Enables synchronized sequential scans.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-SYNCHRONIZE-SEQSCANS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "synchronous_commit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/synchronous_commit", + "properties": { + "description": "Sets the current transaction's synchronization level.", + "allowedValues": "local,remote_write,on,off", + "dataType": "Enumeration", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "synchronous_standby_names", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/synchronous_standby_names", + "properties": { + "description": "Number of synchronous standbys and list of names of potential synchronous ones.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-SYNCHRONOUS-STANDBY-NAMES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "syslog_facility", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/syslog_facility", + "properties": { + "description": "Sets the syslog \"facility\" to be used when syslog enabled.", + "allowedValues": "local0,local1,local2,local3,local4,local5,local6,local7", + "dataType": "Enumeration", + "defaultValue": "local0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-SYSLOG-FACILITY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "local0" + } + }, + { + "name": "syslog_ident", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/syslog_ident", + "properties": { + "description": "Sets the program name used to identify PostgreSQL messages in syslog.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "postgres", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-SYSLOG-IDENT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "postgres" + } + }, + { + "name": "syslog_sequence_numbers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/syslog_sequence_numbers", + "properties": { + "description": "Add sequence number to syslog messages to avoid duplicate suppression.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-SYSLOG-SEQUENCE-NUMBERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "syslog_split_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/syslog_split_messages", + "properties": { + "description": "Split messages sent to syslog by lines and to fit into 1024 bytes.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-SYSLOG-SPLIT-MESSAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "tcp_keepalives_count", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/tcp_keepalives_count", + "properties": { + "description": "Specifies the number of TCP keepalives that can be lost before the server's connection to the client is considered dead.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "9", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-TCP-KEEPALIVES-COUNT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "9" + } + }, + { + "name": "tcp_keepalives_idle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/tcp_keepalives_idle", + "properties": { + "description": "Specifies the number of seconds of inactivity after which TCP should send a keepalive message to the client.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "120", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-TCP-KEEPALIVES-IDLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "120" + } + }, + { + "name": "tcp_keepalives_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/tcp_keepalives_interval", + "properties": { + "description": "Specifies the number of seconds after which a TCP keepalive message that is not acknowledged by the client should be retransmitted.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "30", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-TCP-KEEPALIVES-INTERVAL", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "30" + } + }, + { + "name": "tcp_user_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/tcp_user_timeout", + "properties": { + "description": "Specifies the amount of time that transmitted data may remain unacknowledged before the TCP connection is forcibly closed.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-TCP-USER-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "0" + } + }, + { + "name": "temp_buffers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/temp_buffers", + "properties": { + "description": "Sets the maximum number of temporary buffers used by each database session.", + "allowedValues": "100-1073741823", + "dataType": "Integer", + "defaultValue": "1024", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-TEMP-BUFFERS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "1024" + } + }, + { + "name": "temp_file_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/temp_file_limit", + "properties": { + "description": "Limits the total size of all temporary files used by each process.", + "allowedValues": "-1-2147483647", + "dataType": "Integer", + "defaultValue": "-1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-TEMP-FILE-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "-1" + } + }, + { + "name": "temp_tablespaces", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/temp_tablespaces", + "properties": { + "description": "Sets the default tablespace(s) to use for temporary tables and sort files if not specified in the CREATE command.", + "allowedValues": "[A-Za-z._]*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-TEMP-TABLESPACES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "user-override", + "value": "temptblspace" + } + }, + { + "name": "TimeZone", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/TimeZone", + "properties": { + "description": "Sets the time zone for displaying and interpreting time stamps.", + "allowedValues": "[A-Za-z0-9/+_-]+", + "dataType": "String", + "defaultValue": "UTC", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-TIMEZONE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "UTC" + } + }, + { + "name": "timezone_abbreviations", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/timezone_abbreviations", + "properties": { + "description": "Selects a file of time zone abbreviations.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-TIMEZONE-ABBREVIATIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "value": "Default" + } + }, + { + "name": "trace_notify", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/trace_notify", + "properties": { + "description": "Generates debugging output for LISTEN and NOTIFY.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-TRACE-NOTIFY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "trace_recovery_messages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/trace_recovery_messages", + "properties": { + "description": "Enables logging of recovery-related debugging information.", + "allowedValues": "debug5,debug4,debug3,debug2,debug1,log,notice,warning,error", + "dataType": "Enumeration", + "defaultValue": "log", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-TRACE-RECOVERY-MESSAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "log" + } + }, + { + "name": "trace_sort", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/trace_sort", + "properties": { + "description": "Emit information about resource usage in sorting.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-TRACE-SORT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "track_activities", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/track_activities", + "properties": { + "description": "Collects information about executing commands for each session.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#GUC-TRACK-ACTIVITIES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "track_activity_query_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/track_activity_query_size", + "properties": { + "description": "Sets the amount of memory reserved for pg_stat_activity.query, in bytes.", + "allowedValues": "100-102400", + "dataType": "Integer", + "defaultValue": "1024", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#GUC-TRACK-ACTIVITY-QUERY-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "unit": "bytes", + "value": "1024" + } + }, + { + "name": "track_commit_timestamp", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/track_commit_timestamp", + "properties": { + "description": "Collects transaction commit time.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-TRACK-COMMIT-TIMESTAMP", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "track_counts", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/track_counts", + "properties": { + "description": "Enables collection of statistics on database activity", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#GUC-TRACK-COUNTS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "track_functions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/track_functions", + "properties": { + "description": "Enables tracking of function call counts and time used.", + "allowedValues": "none,pl,all", + "dataType": "Enumeration", + "defaultValue": "none", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#GUC-TRACK-FUNCTIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "none" + } + }, + { + "name": "track_io_timing", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/track_io_timing", + "properties": { + "description": "Enables timing of database I/O calls.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-statistics.html#GUC-TRACK-IO-TIMING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "transaction_deferrable", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/transaction_deferrable", + "properties": { + "description": "Whether to defer a read-only serializable transaction until it can be executed with no possible serialization failures.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-TRANSACTION-DEFERRABLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "transaction_isolation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/transaction_isolation", + "properties": { + "description": "Sets the current transaction's isolation level.", + "allowedValues": "serializable,repeatable read,read committed,read uncommitted", + "dataType": "Enumeration", + "defaultValue": "read committed", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-TRANSACTION-ISOLATION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "read committed" + } + }, + { + "name": "transaction_read_only", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/transaction_read_only", + "properties": { + "description": "Sets the current transaction's read-only status.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-TRANSACTION-READ-ONLY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "transform_null_equals", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/transform_null_equals", + "properties": { + "description": "When on, expressions of the form expr = NULL (or NULL = expr) are treated as expr IS NULL, that is, they return true if expr evaluates to the null value, and false otherwise.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-compatible.html#GUC-TRANSFORM-NULL-EQUALS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "off" + } + }, + { + "name": "unix_socket_directories", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/unix_socket_directories", + "properties": { + "description": "Sets the directories where Unix-domain sockets will be created.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "/tmp", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-UNIX-SOCKET-DIRECTORIES", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "/tmp" + } + }, + { + "name": "unix_socket_group", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/unix_socket_group", + "properties": { + "description": "Sets the owning group of the Unix-domain socket.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-UNIX-SOCKET-GROUP", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "unix_socket_permissions", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/unix_socket_permissions", + "properties": { + "description": "Sets the access permissions of the Unix-domain socket.", + "allowedValues": "0-511", + "dataType": "Integer", + "defaultValue": "511", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-connection.html#GUC-UNIX-SOCKET-PERMISSIONS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "user-override", + "value": "0777" + } + }, + { + "name": "update_process_title", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/update_process_title", + "properties": { + "description": "Updates the process title to show the active SQL command.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-UPDATE-PROCESS-TITLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "vacuum_cleanup_index_scale_factor", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_cleanup_index_scale_factor", + "properties": { + "description": "Number of tuple inserts prior to index cleanup as a fraction of reltuples.", + "allowedValues": "0-1e+10", + "dataType": "Numeric", + "defaultValue": "0.1", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "0.1" + } + }, + { + "name": "vacuum_cost_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_cost_delay", + "properties": { + "description": "the amount of time (in milliseconds) that the vacuum process will sleep when the cost limit has been exceeded.", + "allowedValues": "0-100", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-VACUUM-COST-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "0" + } + }, + { + "name": "vacuum_cost_limit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_cost_limit", + "properties": { + "description": "The accumulated cost that will cause the vacuuming process to sleep.", + "allowedValues": "1-10000", + "dataType": "Integer", + "defaultValue": "200", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-VACUUM-COST-LIMIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "200" + } + }, + { + "name": "vacuum_cost_page_dirty", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_cost_page_dirty", + "properties": { + "description": "The estimated cost charged when vacuum modifies a block that was previously clean.", + "allowedValues": "0-10000", + "dataType": "Integer", + "defaultValue": "20", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-VACUUM-COST-PAGE-DIRTY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "20" + } + }, + { + "name": "vacuum_cost_page_hit", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_cost_page_hit", + "properties": { + "description": "The estimated cost for vacuuming a buffer found in the shared buffer cache.", + "allowedValues": "0-10000", + "dataType": "Integer", + "defaultValue": "1", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-VACUUM-COST-PAGE-HIT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "1" + } + }, + { + "name": "vacuum_cost_page_miss", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_cost_page_miss", + "properties": { + "description": "The estimated cost for vacuuming a buffer that must be read from disk.", + "allowedValues": "0-10000", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-VACUUM-COST-PAGE-MISS", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "10" + } + }, + { + "name": "vacuum_defer_cleanup_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_defer_cleanup_age", + "properties": { + "description": "Specifies the number of transactions by which VACUUM and HOT updates will defer cleanup of dead row versions.", + "allowedValues": "0-1000000", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-VACUUM-DEFER-CLEANUP-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "0" + } + }, + { + "name": "vacuum_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_freeze_min_age", + "properties": { + "description": "Specifies the cutoff age (in transactions) that VACUUM should use to decide whether to freeze row versions while scanning a table.", + "allowedValues": "0-1000000000", + "dataType": "Integer", + "defaultValue": "50000000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-VACUUM-FREEZE-MIN-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "50000000" + } + }, + { + "name": "vacuum_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_freeze_table_age", + "properties": { + "description": "Age at which VACUUM should scan whole table to freeze tuples.", + "allowedValues": "0-2000000000", + "dataType": "Integer", + "defaultValue": "150000000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-VACUUM-FREEZE-TABLE-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "150000000" + } + }, + { + "name": "vacuum_multixact_freeze_min_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_multixact_freeze_min_age", + "properties": { + "description": "Specifies the cutoff age (in multixacts) that VACUUM should use to decide whether to replace multixact IDs with a newer transaction ID or multixact ID while scanning a table.", + "allowedValues": "0-1000000000", + "dataType": "Integer", + "defaultValue": "5000000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-VACUUM-MULTIXACT-FREEZE-MIN-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "5000000" + } + }, + { + "name": "vacuum_multixact_freeze_table_age", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/vacuum_multixact_freeze_table_age", + "properties": { + "description": "VACUUM performs a full table scan to freeze rows if the table has reached the age specified by this setting.", + "allowedValues": "0-2000000000", + "dataType": "Integer", + "defaultValue": "150000000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-VACUUM-MULTIXACT-FREEZE-TABLE-AGE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "150000000" + } + }, + { + "name": "wal_block_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_block_size", + "properties": { + "description": "Shows the block size in the write ahead log.", + "allowedValues": "8192-8192", + "dataType": "Integer", + "defaultValue": "8192", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-WAL-BLOCK-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "8192" + } + }, + { + "name": "wal_buffers", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_buffers", + "properties": { + "description": "Sets the number of disk-page buffers in shared memory for WAL. Unit is 8kb.", + "allowedValues": "-1-262143", + "dataType": "Integer", + "defaultValue": "2048", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-BUFFERS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "2048" + } + }, + { + "name": "wal_compression", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_compression", + "properties": { + "description": "Compresses full-page writes written in WAL file.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-COMPRESSION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "on" + } + }, + { + "name": "wal_consistency_checking", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_consistency_checking", + "properties": { + "description": "Sets the WAL resource managers for which WAL consistency checks are done.", + "allowedValues": ".*", + "dataType": "String", + "defaultValue": "", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-WAL-CONSISTENCY-CHECKING", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "" + } + }, + { + "name": "wal_init_zero", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_init_zero", + "properties": { + "description": "Writes zeroes to new WAL files before first use.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-INIT-ZERO", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "wal_keep_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_keep_size", + "properties": { + "description": "Sets the size of WAL files held for standby servers.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "0", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-WAL-KEEP-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "user-override", + "unit": "megabytes", + "value": "400" + } + }, + { + "name": "wal_level", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_level", + "properties": { + "description": "It determines how much information is written to the WAL.", + "allowedValues": "replica,logical", + "dataType": "Enumeration", + "defaultValue": "replica", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-LEVEL", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": false, + "source": "system-default", + "value": "replica" + } + }, + { + "name": "wal_log_hints", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_log_hints", + "properties": { + "description": "Writes full pages to WAL when first modified after a checkpoint, even for a non-critical modification.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-LOG-HINTS", + "isConfigPendingRestart": false, + "isDynamicConfig": false, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "wal_receiver_create_temp_slot", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_receiver_create_temp_slot", + "properties": { + "description": "Sets whether a WAL receiver should create a temporary replication slot if no permanent slot is configured.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-WAL-RECEIVER-CREATE-TEMP-SLOT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + }, + { + "name": "wal_receiver_status_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_receiver_status_interval", + "properties": { + "description": "Sets the maximum interval between WAL receiver status reports to the primary.", + "allowedValues": "0-2147483", + "dataType": "Integer", + "defaultValue": "10", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-WAL-RECEIVER-STATUS-INTERVAL", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "seconds", + "value": "10" + } + }, + { + "name": "wal_receiver_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_receiver_timeout", + "properties": { + "description": "Sets the maximum wait time to receive data from the sending server.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "60000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-WAL-RECEIVER-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "60000" + } + }, + { + "name": "wal_recycle", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_recycle", + "properties": { + "description": "Recycles WAL files by renaming them.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "on", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-RECYCLE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "on" + } + }, + { + "name": "wal_retrieve_retry_interval", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_retrieve_retry_interval", + "properties": { + "description": "Sets the time to wait before retrying to retrieve WAL after a failed attempt.", + "allowedValues": "1-2147483647", + "dataType": "Integer", + "defaultValue": "5000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-WAL-RETRIEVE-RETRY-INTERVAL", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "milliseconds", + "value": "5000" + } + }, + { + "name": "wal_segment_size", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_segment_size", + "properties": { + "description": "Shows the size of write ahead log segments.", + "allowedValues": "1048576-1073741824", + "dataType": "Integer", + "defaultValue": "16777216", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-preset.html#GUC-WAL-SEGMENT-SIZE", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "bytes", + "value": "16777216" + } + }, + { + "name": "wal_sender_timeout", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_sender_timeout", + "properties": { + "description": "Sets the maximum time to wait for WAL replication.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "60000", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-replication.html#GUC-WAL-SENDER-TIMEOUT", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "60000" + } + }, + { + "name": "wal_skip_threshold", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_skip_threshold", + "properties": { + "description": "Size of new file to fsync instead of writing WAL.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "2048", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-SKIP-THRESHOLD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "unit": "KB", + "value": "2048" + } + }, + { + "name": "wal_sync_method", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_sync_method", + "properties": { + "description": "Selects the method used for forcing WAL updates to disk.", + "allowedValues": "fsync,fdatasync,open_sync,open_datasync", + "dataType": "Enumeration", + "defaultValue": "fdatasync", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-SYNC-METHOD", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "fdatasync" + } + }, + { + "name": "wal_writer_delay", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_writer_delay", + "properties": { + "description": "Time interval between WAL flushes performed by the WAL writer.", + "allowedValues": "1-10000", + "dataType": "Integer", + "defaultValue": "200", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-WRITER-DELAY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "milliseconds", + "value": "200" + } + }, + { + "name": "wal_writer_flush_after", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/wal_writer_flush_after", + "properties": { + "description": "Amount of WAL written out by WAL writer that triggers a flush.", + "allowedValues": "0-2147483647", + "dataType": "Integer", + "defaultValue": "128", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-WAL-WRITER-FLUSH-AFTER", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "8KB", + "value": "128" + } + }, + { + "name": "work_mem", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/work_mem", + "properties": { + "description": "Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.", + "allowedValues": "4096-2097151", + "dataType": "Integer", + "defaultValue": "4096", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-WORK-MEM", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "unit": "KB", + "value": "4096" + } + }, + { + "name": "xmlbinary", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/xmlbinary", + "properties": { + "description": "Sets how binary values are to be encoded in XML.", + "allowedValues": "base64,hex", + "dataType": "Enumeration", + "defaultValue": "base64", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-XMLBINARY", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "base64" + } + }, + { + "name": "xmloption", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/xmloption", + "properties": { + "description": "Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.", + "allowedValues": "content,document", + "dataType": "Enumeration", + "defaultValue": "content", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-XMLOPTION", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": false, + "source": "system-default", + "value": "content" + } + }, + { + "name": "zero_damaged_pages", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/configurations/zero_damaged_pages", + "properties": { + "description": "Continues processing past damaged page headers.", + "allowedValues": "on,off", + "dataType": "Boolean", + "defaultValue": "off", + "documentationLink": "https://www.postgresql.org/docs/13/runtime-config-developer.html#GUC-ZERO-DAMAGED-PAGES", + "isConfigPendingRestart": false, + "isDynamicConfig": true, + "isReadOnly": true, + "source": "system-default", + "value": "off" + } + } + ] + } + } + }, + "operationId": "Configurations_ListByServer", + "title": "List all configurations (also known as server parameters) of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsUpdate.json new file mode 100644 index 000000000000..4e33ee237c7e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsUpdate.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "configurationName": "constraint_exclusion", + "parameters": { + "properties": { + "source": "user-override", + "value": "on" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Configurations_Update", + "title": "Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsUpdateUsingPut.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsUpdateUsingPut.json new file mode 100644 index 000000000000..259a51c6cdab --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ConfigurationsUpdateUsingPut.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "configurationName": "constraint_exclusion", + "parameters": { + "properties": { + "source": "user-override", + "value": "on" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Configurations_Put", + "title": "Update, using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesCreate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesCreate.json new file mode 100644 index 000000000000..598ca94ecd80 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesCreate.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "databaseName": "exampledatabase", + "parameters": { + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Databases_Create", + "title": "Create a database." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesDelete.json new file mode 100644 index 000000000000..8428d5d05597 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "databaseName": "exampledatabase", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "Databases_Delete", + "title": "Delete an existing database" +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesGet.json new file mode 100644 index 000000000000..559d157060e8 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "databaseName": "exampledatabase", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampledatabase", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/databases/exampledatabase", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + } + }, + "operationId": "Databases_Get", + "title": "Get information about an existing database." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesListByServer.json new file mode 100644 index 000000000000..eed3e0fb8ba4 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/DatabasesListByServer.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "exampledatabase1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/databases/exampledatabase1", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + }, + { + "name": "exampledatabase2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/databases", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/databases/exampledatabase2", + "properties": { + "charset": "utf8", + "collation": "en_US.utf8" + } + } + ] + } + } + }, + "operationId": "Databases_ListByServer", + "title": "List all databases in a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesCreateOrUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesCreateOrUpdate.json new file mode 100644 index 000000000000..b0c44642f656 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesCreateOrUpdate.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "firewallRuleName": "examplefirewallrule", + "parameters": { + "properties": { + "endIpAddress": "255.255.255.255", + "startIpAddress": "0.0.0.0" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "FirewallRules_CreateOrUpdate", + "title": "Create a new firewall rule or update an existing firewall rule." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesDelete.json new file mode 100644 index 000000000000..ce40caf54787 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "firewallRuleName": "examplefirewallrule", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "FirewallRules_Delete", + "title": "Delete an existing firewall rule." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesGet.json new file mode 100644 index 000000000000..afe8156fbc75 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "firewallRuleName": "examplefirewallrule", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplefirewallrule", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/servers/exampleserver/firewallRules/examplefirewallrule", + "properties": { + "endIpAddress": "255.255.255.255", + "startIpAddress": "0.0.0.0" + } + } + } + }, + "operationId": "FirewallRules_Get", + "title": "Get information about a firewall rule in a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesListByServer.json new file mode 100644 index 000000000000..bb6c7e93625e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/FirewallRulesListByServer.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff//resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/firewallRules?api-version=2025-06-01-preview&$skiptoken=skiptoken", + "value": [ + { + "name": "examplefirewallrule1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/firewallRules/examplefirewallrule1", + "properties": { + "endIpAddress": "255.255.255.255", + "startIpAddress": "0.0.0.0" + } + }, + { + "name": "examplefirewallrule2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/firewallRules/examplefirewallrule2", + "properties": { + "endIpAddress": "255.0.0.0", + "startIpAddress": "1.0.0.0" + } + } + ] + } + } + }, + "operationId": "FirewallRules_ListByServer", + "title": "List information about all firewall rules in a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCancel.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCancel.json new file mode 100644 index 000000000000..013aa6486aaf --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCancel.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationMode": "Offline", + "migrationName": "examplemigration", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampletarget/migrations/examplemigration", + "location": "East US", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps", + "dbDetails": {} + }, + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb", + "migrationMode": "Offline", + "migrationOption": "ValidateAndMigrate", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.12345Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "sourceDbServerResourceId": "examplesource:5432@exampleadministratorlogin", + "sourceType": "OnPremises", + "sslMode": "Prefer", + "targetDbServerMetadata": { + "location": "East US", + "sku": { + "name": "Standard_D4ds_v4", + "tier": "GeneralPurpose" + }, + "storageMb": 131072, + "version": "17" + }, + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "True" + } + } + }, + "204": {} + }, + "operationId": "Migrations_Cancel", + "title": "Cancel an active migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCheckNameAvailability.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCheckNameAvailability.json new file mode 100644 index 000000000000..810fb8cdf13a --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCheckNameAvailability.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "name": "examplemigration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations" + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "naexamplemigration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "message": null, + "nameAvailable": true, + "reason": null + } + } + }, + "operationId": "Migrations_CheckNameAvailability", + "title": "Check the validity and availability of the given name, to assign it to a new migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreate.json new file mode 100644 index 000000000000..5d02d68be2ca --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreate.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrationMode": "Offline", + "overwriteDbsInTarget": "True", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "examplesourcepassword", + "targetServerPassword": "exampletargetpassword" + } + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateOtherSourceTypesValidateMigrate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateOtherSourceTypesValidateMigrate.json new file mode 100644 index 000000000000..75d873c59884 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateOtherSourceTypesValidateMigrate.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrationMode": "Offline", + "migrationOption": "ValidateAndMigrate", + "overwriteDbsInTarget": "True", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "examplesourcepassword", + "targetServerPassword": "exampletargetpassword" + } + }, + "sourceDbServerResourceId": "examplesource:5432@exampleuser", + "sourceType": "OnPremises", + "sslMode": "Prefer" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "ValidationInProgress" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationOption": "ValidateAndMigrate", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "examplesource:5432@exampleuser", + "sourceType": "OnPremises", + "sslMode": "Prefer", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "ValidationInProgress" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationOption": "ValidateAndMigrate", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "examplesource:5432@exampleuser", + "sourceType": "OnPremises", + "sslMode": "Prefer", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration with other source type for validating and migrating." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateValidateOnly.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateValidateOnly.json new file mode 100644 index 000000000000..367f77f3d0e2 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateValidateOnly.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrationMode": "Offline", + "migrationOption": "Validate", + "overwriteDbsInTarget": "True", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "examplesourcepassword", + "targetServerPassword": "exampletargetpassword" + } + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "ValidationInProgress" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationOption": "Validate", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "ValidationInProgress" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration for validating only." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithFullyQualifiedDomainName.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithFullyQualifiedDomainName.json new file mode 100644 index 000000000000..352eec70c7fc --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithFullyQualifiedDomainName.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrationMode": "Offline", + "overwriteDbsInTarget": "True", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "xxxxxxxx", + "targetServerPassword": "xxxxxxxx" + } + }, + "sourceDbServerFullyQualifiedDomainName": "examplesource.contoso.com", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "targetDbServerFullyQualifiedDomainName": "exampletarget.contoso.com" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerFullyQualifiedDomainName": "examplesource.contoso.com", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerFullyQualifiedDomainName": "exampletarget.contoso.com", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerFullyQualifiedDomainName": "examplesource.contoso.com", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerFullyQualifiedDomainName": "exampletarget.contoso.com", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration with fully qualified domain names for source and target servers." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithOtherUsers.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithOtherUsers.json new file mode 100644 index 000000000000..9c10625ed30a --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithOtherUsers.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrationMode": "Offline", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "examplesourcepassword", + "targetServerPassword": "exampletargetpassword" + }, + "sourceServerUsername": "newadmin@examplesource", + "targetServerUsername": "targetadmin" + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationMode": "Offline", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "False", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationMode": "Offline", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "False", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration specifying user names." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithPrivateEndpointServers.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithPrivateEndpointServers.json new file mode 100644 index 000000000000..f1c52b3dae8c --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithPrivateEndpointServers.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrationInstanceResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration", + "migrationMode": "Offline", + "overwriteDbsInTarget": "True", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "examplesourcepassword", + "targetServerPassword": "exampletargetpassword" + } + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationInstanceResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationInstanceResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/examplesourcemigration", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration with private endpoint." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithRoles.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithRoles.json new file mode 100644 index 000000000000..2a2826269344 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsCreateWithRoles.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "parameters": { + "location": "eastus", + "properties": { + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "True", + "migrationMode": "Offline", + "overwriteDbsInTarget": "True", + "secretParameters": { + "adminCredentials": { + "sourceServerPassword": "examplesourcepassword", + "targetServerPassword": "exampletargetpassword" + } + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "True", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "201": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "True", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + }, + "tags": { + "key1624": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "operationId": "Migrations_Create", + "title": "Create a migration with roles." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGet.json new file mode 100644 index 000000000000..d6aaa9627499 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationMode": "Offline", + "migrationName": "examplemigration", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "False", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "B_Gen5_2", + "tier": "Basic" + }, + "storageMb": 1024, + "version": "10" + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "storageMb": 2048, + "version": "17" + }, + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + } + } + } + }, + "operationId": "Migrations_Get", + "title": "Get information about a migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationAndMigration.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationAndMigration.json new file mode 100644 index 000000000000..2dd1a2458e4f --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationAndMigration.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationMode": "Offline", + "migrationName": "examplemigration", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "Completed", + "dbDetails": { + "exampledatabase": { + "appliedChanges": 0, + "cdcDeleteCounter": 0, + "cdcInsertCounter": 0, + "cdcUpdateCounter": 0, + "databaseName": "exampledatabase", + "endedOn": "2025-06-01T20:30:22.123456Z", + "fullLoadCompletedTables": 10, + "fullLoadErroredTables": 0, + "fullLoadLoadingTables": 0, + "fullLoadQueuedTables": 0, + "incomingChanges": 0, + "latency": 0, + "migrationState": "Succeeded", + "startedOn": "2025-06-01T18:30:22.123456Z" + } + }, + "validationDetails": { + "dbLevelValidationDetails": [ + { + "databaseName": "exampledatabase", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + }, + { + "type": "CollationsValidation", + "state": "Succeeded" + } + ] + } + ], + "serverLevelValidationDetails": [ + { + "type": "AuthenticationAndConnectivityValidation", + "state": "Succeeded" + }, + { + "type": "SourceVersionValidation", + "state": "Succeeded" + }, + { + "type": "ServerParametersValidation", + "state": "Succeeded" + } + ], + "status": "Succeeded", + "validationEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "validationStartTimeInUtc": "2025-06-01T18:30:22.123456Z" + } + }, + "state": "Succeeded" + }, + "dbsToMigrate": [ + "exampledatabase" + ], + "migrateRoles": "False", + "migrationId": "f2354e72-2828-4a19-ad20-b4cd9e2673c1", + "migrationMode": "Offline", + "migrationOption": "ValidateAndMigrate", + "migrationWindowEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "sourceDbServerResourceId": "20.228.214.65:5432@postgres", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "True" + } + } + } + }, + "operationId": "Migrations_Get", + "title": "Get information about a migration with successful validation and successful migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure.json new file mode 100644 index 000000000000..22195a8fdbc1 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationMode": "Offline", + "migrationName": "examplemigration", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "Completed", + "dbDetails": { + "exampledatabase": { + "appliedChanges": 0, + "cdcDeleteCounter": 0, + "cdcInsertCounter": 0, + "cdcUpdateCounter": 0, + "databaseName": "exampledatabase", + "endedOn": "2025-06-01T20:30:22.123456Z", + "fullLoadCompletedTables": 0, + "fullLoadErroredTables": 0, + "fullLoadLoadingTables": 0, + "fullLoadQueuedTables": 0, + "incomingChanges": 0, + "latency": 0, + "message": "Collation/Encoding not Supported Error: User defined Collations are present in the source database. Please drop them before retrying the migration.", + "migrationState": "Failed", + "startedOn": "2025-06-01T18:30:22.123456Z" + } + }, + "validationDetails": { + "dbLevelValidationDetails": [ + { + "databaseName": "address_standardizer", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "ExtensionsValidation", + "state": "Succeeded" + } + ] + } + ], + "serverLevelValidationDetails": [ + { + "type": "AuthenticationAndConnectivityValidation", + "state": "Succeeded" + } + ], + "status": "Succeeded", + "validationEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "validationStartTimeInUtc": "2025-06-01T18:30:22.123456Z" + } + }, + "error": "exampledatabase: Collation/Encoding not Supported Error: User defined Collations are present in the source database. Please drop them before retrying the migration.", + "state": "Failed" + }, + "dbsToMigrate": [ + "exampledatabase" + ], + "migrateRoles": "False", + "migrationId": "da52db29-cfeb-4670-a1ad-683edb14c621", + "migrationMode": "Offline", + "migrationOption": "ValidateAndMigrate", + "migrationWindowEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "sourceDbServerMetadata": { + "location": "eastus", + "sku": {}, + "storageMb": 102400 + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/servers/examplesource", + "targetDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "Standard_D2ds_v4", + "tier": "Standard_D2ds_v4" + }, + "storageMb": 131072 + }, + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampletarget" + } + } + } + }, + "operationId": "Migrations_Get", + "title": "Get information about a migration with successful validation but failed migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationOnly.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationOnly.json new file mode 100644 index 000000000000..6bb0b6560570 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithSuccessfulValidationOnly.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "Completed", + "dbDetails": {}, + "validationDetails": { + "dbLevelValidationDetails": [ + { + "databaseName": "UnknownCollationTest", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + }, + { + "type": "CollationsValidation", + "state": "Succeeded" + } + ] + } + ], + "serverLevelValidationDetails": [ + { + "type": "AuthenticationAndConnectivityValidation", + "state": "Succeeded" + }, + { + "type": "SourceVersionValidation", + "state": "Succeeded" + }, + { + "type": "ServerParametersValidation", + "state": "Succeeded" + } + ], + "status": "Succeeded", + "validationEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "validationStartTimeInUtc": "2025-06-01T18:30:22.123456Z" + } + }, + "state": "Succeeded" + }, + "dbsToMigrate": [ + "UnknownCollationTest" + ], + "migrateRoles": "False", + "migrationId": "77840327-7be8-44b8-adc0-af0ccccfeb36", + "migrationMode": "Offline", + "migrationOption": "Validate", + "migrationWindowEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "sourceDbServerResourceId": "20.228.214.65:5432@postgres", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "True" + } + } + } + }, + "operationId": "Migrations_Get", + "title": "Get information about a migration with successful validation only." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithValidationFailures.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithValidationFailures.json new file mode 100644 index 000000000000..c65ccd1f36b8 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsGetMigrationWithValidationFailures.json @@ -0,0 +1,200 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationName": "examplemigration", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "Completed", + "dbDetails": {}, + "validationDetails": { + "dbLevelValidationDetails": [ + { + "databaseName": "exampledatabase1", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "messages": [ + { + "message": "Unsupported Extension. Single to Flex migration tool does not support migration of databases having postgres_fdw extension. Consider performing the migration through other migration tools such as pg_dump/pg_restore (https://aka.ms/migrate-using-pgdump-restore)", + "state": "Failed" + } + ], + "state": "Failed" + }, + { + "type": "CollationsValidation", + "state": "Succeeded" + } + ] + }, + { + "databaseName": "exampledatabase2", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + }, + { + "type": "CollationsValidation", + "state": "Succeeded" + } + ] + }, + { + "databaseName": "exampledatabase3", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + }, + { + "type": "CollationsValidation", + "state": "Succeeded" + } + ] + }, + { + "databaseName": "exampledatabase4", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + } + ] + }, + { + "databaseName": "exampledatabase5", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + } + ] + }, + { + "databaseName": "exampledatabase6", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "state": "Succeeded" + } + ] + }, + { + "databaseName": "exampledatabase7", + "endedOn": "2025-06-01T20:30:22.123456Z", + "startedOn": "2025-06-01T18:30:22.123456Z", + "summary": [ + { + "type": "SchemaValidation", + "state": "Succeeded" + }, + { + "type": "ExtensionsValidation", + "messages": [ + { + "message": "Unsupported Extension. Single to Flex migration tool does not support migration of databases having postgres_fdw extension. Consider performing the migration through other migration tools such as pg_dump/pg_restore (https://aka.ms/migrate-using-pgdump-restore)", + "state": "Failed" + } + ], + "state": "Failed" + } + ] + } + ], + "serverLevelValidationDetails": [ + { + "type": "AuthenticationAndConnectivityValidation", + "state": "Succeeded" + }, + { + "type": "SourceVersionValidation", + "state": "Succeeded" + }, + { + "type": "ServerParametersValidation", + "state": "Succeeded" + } + ], + "status": "Failed", + "validationEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "validationStartTimeInUtc": "2025-06-01T18:30:22.123456Z" + } + }, + "state": "ValidationFailed" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4", + "exampledatabase5", + "exampledatabase6", + "exampledatabase7" + ], + "migrateRoles": "False", + "migrationId": "a3e2d3cc-b139-4201-9431-e4f3003140fd", + "migrationMode": "Offline", + "migrationOption": "Validate", + "migrationWindowEndTimeInUtc": "2025-06-01T20:30:22.123456Z", + "migrationWindowStartTimeInUtc": "2025-06-01T18:30:22.123456Z", + "overwriteDbsInTarget": "True", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "sourceDbServerResourceId": "20.228.214.65:5432@postgres", + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampletarget", + "triggerCutover": "True" + } + } + } + }, + "operationId": "Migrations_Get", + "title": "Get information about a migration with validation failures." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsListByTargetServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsListByTargetServer.json new file mode 100644 index 000000000000..756837db7ac9 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsListByTargetServer.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationListFilter": "All", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T20:30:22.123456Z", + "overwriteDbsInTarget": "False", + "setupLogicalReplicationOnSourceDbIfNeeded": "False", + "sourceDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "B_Gen5_2", + "tier": "Basic" + }, + "storageMb": 1024, + "version": "10" + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "storageMb": 2048, + "version": "17" + }, + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + } + } + ] + } + } + }, + "operationId": "Migrations_ListByTargetServer", + "title": "List all migrations of a target flexible server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsUpdate.json new file mode 100644 index 000000000000..68fb9272cf42 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/MigrationsUpdate.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "migrationMode": "Offline", + "migrationName": "examplemigration", + "parameters": { + "properties": { + "setupLogicalReplicationOnSourceDbIfNeeded": "True" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "examplemigration", + "type": "Microsoft.DBForPostgreSql/flexibleServers/migrations", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget/migrations/examplemigration", + "location": "eastus", + "properties": { + "currentStatus": { + "currentSubStateDetails": { + "currentSubState": "PerformingPreRequisiteSteps" + }, + "error": "", + "state": "InProgress" + }, + "dbsToMigrate": [ + "exampledatabase1", + "exampledatabase2", + "exampledatabase3", + "exampledatabase4" + ], + "migrateRoles": "False", + "migrationId": "d3ceacbb-a5fd-43dc-a9db-6022b5154856", + "migrationWindowStartTimeInUtc": "2025-06-01T20:30:22.123456Z", + "overwriteDbsInTarget": "False", + "setupLogicalReplicationOnSourceDbIfNeeded": "True", + "sourceDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "B_Gen5_2", + "tier": "Basic" + }, + "storageMb": 1024, + "version": "10" + }, + "sourceDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/servers/examplesource", + "startDataMigration": "False", + "targetDbServerMetadata": { + "location": "eastus", + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "storageMb": 2048, + "version": "17" + }, + "targetDbServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBForPostgreSql/flexibleServers/exampletarget", + "triggerCutover": "False" + } + } + } + }, + "operationId": "Migrations_Update", + "title": "Update an existing migration." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/NameAvailabilityCheckGlobally.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/NameAvailabilityCheckGlobally.json new file mode 100644 index 000000000000..0e163ef8f138 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/NameAvailabilityCheckGlobally.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + }, + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "message": "", + "nameAvailable": true + } + } + }, + "operationId": "NameAvailability_CheckGlobally", + "title": "Check the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/NameAvailabilityCheckWithLocation.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/NameAvailabilityCheckWithLocation.json new file mode 100644 index 000000000000..225d6d609a90 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/NameAvailabilityCheckWithLocation.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "locationName": "eastus", + "parameters": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + }, + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "message": "", + "nameAvailable": true + } + } + }, + "operationId": "NameAvailability_CheckWithLocation", + "title": "Check the validity and availability of the given name, in the given location, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints" +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/OperationsList.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/OperationsList.json new file mode 100644 index 000000000000..3ffd2a3237cd --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/OperationsList.json @@ -0,0 +1,2194 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/queryTexts/read", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/queryTexts/read", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/recommendations/read", + "display": { + "description": "Returns the list of recommended indexes for the Azure Database for PostgreSQL Flexible Server", + "operation": "List Azure Database for PostgreSQL Flexible Server recommended indexes for tuning.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Recommended Indexes" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/read", + "display": { + "description": "Returns the list of Tuning Options available for the Azure Database for PostgreSQL Flexible Server", + "operation": "List Azure Database for PostgreSQL Flexible Server Tuning Options.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Tuning Option" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/read", + "display": { + "description": "Returns a tuning option", + "operation": "Get a single tuning option", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Tuning Option" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/migrations/write", + "display": { + "description": "Creates a migration with the specified parameters.", + "operation": "Create a database migration workflow.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Migration Workflow" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/migrations/read", + "display": { + "description": "Gets the properties for the specified migration workflow.", + "operation": "Get Migration Workflow details.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Migration Workflow" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/migrations/read", + "display": { + "description": "List of migration workflows for the specified database server.", + "operation": "List Migration Workflow details.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Migration Workflow" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/migrations/write", + "display": { + "description": "Update the properties for the specified migration.", + "operation": "Update a database migration workflow.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Migration Workflow" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/migrations/delete", + "display": { + "description": "Deletes an existing migration workflow.", + "operation": "Delete Migration Workflow.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Migration Workflow" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/getAutoMigrationFreeSlots/action", + "display": { + "description": "Returns the list of free / available slots for auto migration of PostgreSQL server", + "operation": "Get auto migration free / available slots for PostgreSQL", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Auto migration workflow to get free / available slots for auto migration" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/getLatestAutoMigrationSchedule/action", + "display": { + "description": "Returns the instance of the latest auto migration schedule for PostgreSQL server", + "operation": "Get latest auto migration schedule for PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Auto migration workflow to get latest auto migration schedule" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/updateAutoMigrationSchedule/action", + "display": { + "description": "Update auto migration schedule for the PostgreSQL server", + "operation": "Update auto migration schedule for the PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Auto migration workflow to update auto migration schedule" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/startSession/action", + "display": { + "description": "Starts a server configuration tuning session on a server", + "operation": "Start tuning configuration session", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/stopSession/action", + "display": { + "description": "Stops the server configuration tuning session on a server", + "operation": "Stop tuning configuration session", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/sessions/read", + "display": { + "description": "Gets the list of server configuration tuning sessions on a server", + "operation": "Server configuration tuning sessions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/enable/action", + "display": { + "description": "Enables server configuration tuning feature on the server", + "operation": "Enable server configuration tuning feature", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/startSession/action", + "display": { + "description": "Starts a server configuration tuning session on a server", + "operation": "Start tuning configuration session", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/stopSession/action", + "display": { + "description": "Stops the server configuration tuning session on a server", + "operation": "Stop tuning configuration session", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/sessions/read", + "display": { + "description": "Gets the list of server configuration tuning sessions on a server", + "operation": "Server configuration tuning sessions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/sessionDetails/read", + "display": { + "description": "Gets the list of iterations for a specified server configuration tuning session on a server", + "operation": "Server configuration session details", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/disable/action", + "display": { + "description": "Disables server configuration tuning feature on the server", + "operation": "Disable server configuration tuning feature", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Configuration Tuning" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/restart/action", + "display": { + "description": "Restarts an existing server", + "operation": "Restart PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/start/action", + "display": { + "description": "Starts an existing server", + "operation": "Start PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/stop/action", + "display": { + "description": "Stops an existing server", + "operation": "Stops an existing server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/replicas/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/read", + "display": { + "description": "Return the list of servers or gets the properties for the specified server.", + "operation": "List/Get PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/write", + "display": { + "description": "Creates a server with the specified parameters or update the properties or tags for the specified server.", + "operation": "Create/Update PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/write", + "display": { + "description": "Creates a server with the specified parameters or update the properties or tags for the specified server.", + "operation": "Create/Update PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/delete", + "display": { + "description": "Deletes an existing server.", + "operation": "Delete PostgreSQL server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/capabilities/read", + "display": { + "description": "Gets the capabilities for this subscription in a given location", + "operation": "Gets the capabilities for this subscription", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Location Capability" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/capabilities/read", + "display": { + "description": "Gets the capabilities for this subscription in a given location", + "operation": "Gets the capabilities for this subscription", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Location Capability" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/capabilities/{serverName}/read", + "display": { + "description": "Gets the capabilities for this subscription in a given location", + "operation": "Gets the capabilities for this subscription", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Location Capability" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/backups/read", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Flexible server database backups" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/backups/write", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Flexible server database backups" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/backups/delete", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Flexible server database backups" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/advisors/read", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/waitStatistics/action", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/queryStatistics/read", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/topQueryStatistics/read", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/resetQueryPerformanceInsightData/action", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/advisors/recommendedActions/read", + "display": { + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/checkMigrationNameAvailability/action", + "display": { + "description": "Checks the availability of the given migration name.", + "operation": "Check the availability of the given migration name.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Migration Name Availability Resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/assessForMigration/action", + "display": { + "description": "Performs a migration assessment with the specified parameters", + "operation": "Get Migration Assessment", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Migration Assessments" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/administrators/read", + "display": { + "description": "Return the list of server administrators or gets the properties for the specified server administrator.", + "operation": "List/Get PostgreSQL server administrator", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Administrator" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/administrators/read", + "display": { + "description": "Return the list of server administrators or gets the properties for the specified server administrator.", + "operation": "List/Get PostgreSQL server administrator", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Administrator" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/administrators/delete", + "display": { + "description": "Deletes an existing PostgreSQL server administrator.", + "operation": "Delete PostgreSQL server administrator", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Administrator" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/administrators/write", + "display": { + "description": "Creates a server administrator with the specified parameters or update the properties or tags for the specified server administrator.", + "operation": "Create/Update PostgreSQL server administrator", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Administrator" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/administrators/action", + "display": { + "description": "Creates a server administrator with the specified parameters or update the properties or tags for the specified server administrator.", + "operation": "Create/Update PostgreSQL server administrator", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Administrator" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/write", + "display": { + "description": "Creates a firewall rule with the specified parameters or update an existing rule.", + "operation": "Create/Update Firewall Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read", + "display": { + "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule.", + "operation": "List/Get Firewall Rules", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/delete", + "display": { + "description": "Deletes an existing firewall rule.", + "operation": "Delete Firewall Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/databases/read", + "display": { + "description": "Returns the list of PostgreSQL server databases or gets the database for the specified server.", + "operation": "List/Get PostgreSQL server configuration", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Database" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/databases/write", + "display": { + "description": "Creates or Updates the database of a PostgreSQL server.", + "operation": "Creates/Updates PostgreSQL server database", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Database" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/databases/delete", + "display": { + "description": "Delete the database of a PostgreSQL server", + "operation": "Delete PostgreSQL server database", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Database" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/configurations/read", + "display": { + "description": "Returns the list of PostgreSQL server configurations or gets the configurations for the specified server.", + "operation": "List/Get PostgreSQL server configuration", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Configuration" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/configurations/write", + "display": { + "description": "Updates the configuration of a PostgreSQL server.", + "operation": "Update PostgreSQL server configuration", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Configuration" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/getSourceDatabaseList/action", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Fetch Databases Pre Migration Workflow" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints/write", + "display": { + "description": "Creates or Updates VirtualEndpoint", + "operation": "VirtualEndpoint Create or Update operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Virtual Endpoint" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints/write", + "display": { + "description": "Patches the VirtualEndpoint. Currently patch does a full replace", + "operation": "VirtualEndpoint Patch operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Virtual Endpoint" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints/delete", + "display": { + "description": "Deletes the VirtualEndpoint", + "operation": "VirtualEndpoint Delete operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Virtual Endpoint" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints/read", + "display": { + "description": "Gets the VirtualEndpoint details", + "operation": "VirtualEndpoint Get operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Virtual Endpoint" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints/read", + "display": { + "description": "Lists the VirtualEndpoints", + "operation": "VirtualEndpoint List operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Virtual Endpoint" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/testConnectivity/action", + "display": { + "provider": "Microsoft DB for PostgreSQL", + "resource": "Pre-migration Workflow for checking the server connectivity" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/logFiles/read", + "display": { + "description": "Return a list of server log Files for a PostgreSQL Flexible server with File download links", + "operation": "List/Get PostgreSQL Flexible Server Log Files", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Flexible Server Log Files" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/startLtrBackup/action", + "display": { + "description": "Start long term backup for a server", + "operation": "Start long term backup for a server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Long term backup operation." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/ltrPreBackup/action", + "display": { + "description": "Checks if a server is ready for a long term backup", + "operation": "Checks if a server is ready for a long term backup", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Long term backup operation." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/ltrBackupOperations/read", + "display": { + "description": "Returns the PostgreSQL server long term backup operation tracking by backup name.", + "operation": "Get PostgreSQL server long term backup operation by backup name", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Long term backup operation." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/ltrBackupOperations/read", + "display": { + "description": "Returns the list of PostgreSQL server long term backup operation tracking.", + "operation": "List/Get PostgreSQL server long term backup operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Long term backup operation." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings/read", + "display": { + "description": "Returns the list of Advanced Threat Protection or gets the properties for the specified Advanced Threat Protection.", + "operation": "List/Get Azure Database for PostgreSQL Flexible Server Advanced Threat Protection states.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Server Advanced Threat Protection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings/read", + "display": { + "description": "Returns the list of Advanced Threat Protection or gets the properties for the specified Advanced Threat Protection.", + "operation": "List/Get Azure Database for PostgreSQL Flexible Server Advanced Threat Protection states.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Server Advanced Threat Protection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings/write", + "display": { + "description": "Enables/Disables Azure Database for PostgreSQL Flexible Server Advanced Threat Protection", + "operation": "Update Azure Database for PostgreSQL Server Advanced Threat Protection state", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Server Advanced Threat Protection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/resourceType/usages/read", + "display": { + "description": "Gets the quota usages of a subscription", + "operation": "Gets quota usage", + "provider": "Microsoft DB for PostgreSQL" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnectionProxies/read", + "display": { + "description": "Returns the list of private endpoint connection proxies or gets the properties for the specified private endpoint connection proxy.", + "operation": "List/Get Azure Database for PostgreSQL Flexible Server Private Endpoint Connection Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnectionProxies/delete", + "display": { + "description": "Deletes an existing private endpoint connection proxy resource.", + "operation": "Delete Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnectionProxies/write", + "display": { + "description": "Creates a private endpoint connection proxy with the specified parameters or updates the properties or tags for the specified private endpoint connection proxy", + "operation": "Create/Update Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnectionProxies/validate/action", + "display": { + "description": "Validates a private endpoint connection create call from NRP side", + "operation": "Validate Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Creation by NRP", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections/read", + "display": { + "description": "Returns the list of private endpoint connections or gets the properties for the specified private endpoint connection.", + "operation": "List/Get Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections/delete", + "display": { + "description": "Deletes an existing private endpoint connection", + "operation": "Delete Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections/write", + "display": { + "description": "Approves or rejects an existing private endpoint connection", + "operation": "Approve or Reject Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL - Flexible Server Private Endpoint Connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateLinkResources/read", + "display": { + "description": "Return a list containing private link resource or gets the specified private link resource.", + "operation": "List/Get PostgreSQL private link resource", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private link resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnectionProxies/read", + "display": { + "description": "Returns the list of private endpoint connections or gets the properties for the specified private endpoint connection via proxy", + "operation": "List/Get Azure Database for PostgreSQL SGv2 Private Endpoint Connection Via Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnectionProxies/write", + "display": { + "description": "Creates a private endpoint connection with the specified parameters or updates the properties or tags for the specified private endpoint connection via proxy", + "operation": "Create/Update Azure Database for PostgreSQL SGv2 Private Endpoint Connection Via Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnectionProxies/delete", + "display": { + "description": "Deletes an existing private endpoint connection via proxy", + "operation": "Delete Azure Database for PostgreSQL SGv2 Private Endpoint Connection Via Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnectionProxies/validate/action", + "display": { + "description": "Validates a private endpoint connection creation by NRP", + "operation": "Validate Azure Database for PostgreSQL SGv2 Private Endpoint Connection Creation by NRP", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnections/read", + "display": { + "description": "Returns the list of private endpoint connections or gets the properties for the specified private endpoint connection", + "operation": "List/Get Azure Database for PostgreSQL SGv2 Private Endpoint Connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnections/write", + "display": { + "description": "Approves or rejects an existing private endpoint connection", + "operation": "Approve or Reject Azure Database for PostgreSQL SGv2 Private Endpoint Connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnections/delete", + "display": { + "description": "Deletes an existing private endpoint connection", + "operation": "Delete Azure Database for PostgreSQL SGv2 Private Endpoint Connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateLinkResources/read", + "display": { + "description": "Get the private link resources for the corresponding PostgreSQL SGv2", + "operation": "Get the private link resources for the corresponding PostgreSQL SGv2", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Link Resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serverGroupsv2/privateEndpointConnectionsApproval/action", + "display": { + "description": "Determines if user is allowed to approve a private endpoint connection for PostgreSQL SGv2", + "operation": "Private Endpoint Connections Approval for PostgreSQL SGv2", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL SGv2 Private Endpoint Connections Approval Resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/securityAlertPolicies/read", + "display": { + "description": "Retrieve details of the server threat detection policy configured on a given server", + "operation": "Get server threat detection policy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Threat Detection Policy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/securityAlertPolicies/write", + "display": { + "description": "Change the server threat detection policy for a given server", + "operation": "Update server threat detection policy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server Threat Detection Policy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/securityAlertPoliciesOperationResults/read", + "display": { + "description": "Return the list of Server threat detection operation result.", + "operation": "List/Get Server threat detection operation result.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server threat detection operation result" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/keys/read", + "display": { + "description": "Return the list of server keys or gets the properties for the specified server key.", + "operation": "List/Get Azure Database for PostgreSQL Server Key(s)", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Server Keys" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/keys/write", + "display": { + "description": "Creates a key with the specified parameters or update the properties or tags for the specified server key.", + "operation": "Create/Update Azure Database for PostgreSQL Server Keys", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Server Keys" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/keys/delete", + "display": { + "description": "Deletes an existing server key.", + "operation": "Delete Azure Database for PostgreSQL Server Key", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Server Keys" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/serverKeyAzureAsyncOperation/read", + "display": { + "description": "Gets in-progress operations on data encryption server keys", + "operation": "Data Encryption server keys operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Data Encryption server key operation" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/serverKeyOperationResults/read", + "display": { + "description": "Gets in-progress operations on data encryption server keys", + "operation": "Data Encryption server keys operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Data Encryption server key operation" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/advisors/read", + "display": { + "description": "Return the list of advisors", + "operation": "Return the list of advisors", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Advisors" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/advisors/recommendedActions/read", + "display": { + "description": "Return the list of recommended actions", + "operation": "Return the list of recommended actions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Recommended Actions" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/advisors/recommendedActionSessions/action", + "display": { + "description": "Make recommendations", + "operation": "Make recommendations", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Recommended Actions" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/queryTexts/action", + "display": { + "description": "Return the text of a query", + "operation": "List query text of a query", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Query Texts" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/queryTexts/read", + "display": { + "description": "Return the texts for a list of queries", + "operation": "List query texts for a list of queries", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Query Texts" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/resetQueryPerformanceInsightData/action", + "display": { + "description": "Reset Query Performance Insight data", + "operation": "Reset Query Performance Insight data", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Reset Query Performance Insight data" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/topQueryStatistics/read", + "display": { + "description": "Return the list of Query Statistics for the top queries.", + "operation": "List/Get Query Statistic(s) for top queries", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Top Query Statistics" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/waitStatistics/read", + "display": { + "description": "Return wait statistics for an instance", + "operation": "List Wait Statistics for an instance", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Wait Statistics" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/privateEndpointConnectionsApproval/action", + "display": { + "description": "Determines if user is allowed to approve a private endpoint connection", + "operation": "Private Endpoint Connections Approval", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Private Endpoint Connections Approval" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionsApproval/action", + "display": { + "description": "Determines if user is allowed to approve a private endpoint connection", + "operation": "Private Endpoint Connections Approval", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Private Endpoint Connections Approval" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateLinkResources/read", + "display": { + "description": "Get the private link resources for the corresponding PostgreSQL Server", + "operation": "Get the private link resources for the corresponding PostgreSQL Server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private link resource" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections/read", + "display": { + "description": "Returns the list of private endpoint connections or gets the properties for the specified private endpoint connection.", + "operation": "List/Get Azure Database for PostgreSQL private endpoint connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private endpoint connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections/delete", + "display": { + "description": "Deletes an existing private endpoint connection", + "operation": "Delete Azure Database for PostgreSQL private endpoint connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private endpoint connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections/write", + "display": { + "description": "Approves or rejects an existing private endpoint connection", + "operation": "Approve or Reject Azure Database for PostgreSQL private endpoint connection", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private endpoint connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/privateEndpointConnectionOperationResults/read", + "display": { + "description": "Gets the result for a private endpoint connection operation", + "operation": "Get private endpoint connection operation status", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private endpoint connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/privateEndpointConnectionAzureAsyncOperation/read", + "display": { + "description": "Gets the result for a private endpoint connection operation", + "operation": "Get private endpoint connection operation status", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL private endpoint connection" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/privateEndpointConnectionProxyOperationResults/read", + "display": { + "description": "Gets the result for a private endpoint connection proxy operation", + "operation": "Get private endpoint connection proxy operation status", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionProxies/validate/action", + "display": { + "description": "Validates a private endpoint connection create call from NRP side", + "operation": "Validate Azure Database for PostgreSQL Private Endpoint Connection Creation by NRP", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionProxies/read", + "display": { + "description": "Returns the list of private endpoint connection proxies or gets the properties for the specified private endpoint connection proxy.", + "operation": "List/Get Azure Database for PostgreSQL Private Endpoint Connection Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionProxies/write", + "display": { + "description": "Creates a private endpoint connection proxy with the specified parameters or updates the properties or tags for the specified private endpoint connection proxy.", + "operation": "Create/Update Azure Database for PostgreSQL Private Endpoint Connection Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnectionProxies/delete", + "display": { + "description": "Deletes an existing private endpoint connection proxy", + "operation": "Delete Azure Database for PostgreSQL Private Endpoint Connection Proxy", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/privateEndpointConnectionProxyAzureAsyncOperation/read", + "display": { + "description": "Gets the result for a private endpoint connection proxy operation", + "operation": "Get private endpoint connection proxy operation status", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Azure Database for PostgreSQL Private Endpoint Connection Proxy" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/performanceTiers/read", + "display": { + "description": "Returns the list of Performance Tiers available.", + "operation": "List Performance Tiers", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Performance Tiers" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/operationResults/read", + "display": { + "description": "Return ResourceGroup based PostgreSQL Server Operation Results", + "operation": "Get PostgreSQL ResourceGroup based Server Operation Results ", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQ ResourceGroup based Server Operation Results" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/recoverableServers/read", + "display": { + "description": "Return the recoverable PostgreSQL Server info", + "operation": "Get Recoverable PostgreSQL Server info", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Recoverable PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/replicas/read", + "display": { + "description": "Get read replicas of a PostgreSQL server", + "operation": "Get PostgreSQL read replicas", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/read", + "display": { + "description": "Return the list of servers or gets the properties for the specified server.", + "operation": "List/Get PostgreSQL Servers", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/write", + "display": { + "description": "Creates a server with the specified parameters or update the properties or tags for the specified server.", + "operation": "Create/Update PostgreSQL Server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/delete", + "display": { + "description": "Deletes an existing server.", + "operation": "Delete PostgreSQL Server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/performanceTiers/read", + "display": { + "description": "Returns the list of Performance Tiers available.", + "operation": "List Performance Tiers", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Performance Tiers" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/operationResults/read", + "display": { + "description": "Return PostgreSQL Server Operation Results", + "operation": "Get PostgreSQL Server Operation Results", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Operation Results" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/restart/action", + "display": { + "description": "Restarts a specific server.", + "operation": "Restart PostgreSQL Server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/securityAlertPoliciesAzureAsyncOperation/read", + "display": { + "description": "Return the list of Server threat detection operation result.", + "operation": "List/Get Server threat detection operation result.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Server threat detection operation result" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/administrators/read", + "display": { + "description": "Gets a list of PostgreSQL server administrators.", + "operation": "Get Administrators of PostgreSQL server.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Administrator of PostgreSQL server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/administrators/write", + "display": { + "description": "Creates or updates PostgreSQL server administrator with the specified parameters.", + "operation": "Create/Update Administrator of PostgreSQL server.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Administrator of PostgreSQL server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/administrators/delete", + "display": { + "description": "Deletes an existing administrator of PostgreSQL server.", + "operation": "Delete Administrator of PostgreSQL server.", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Administrator of PostgreSQL server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/administratorAzureAsyncOperation/read", + "display": { + "description": "Gets in-progress operations on PostgreSQL server administrators", + "operation": "PostgreSQL server administrator operation", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Administrator opertiaons of PostgreSQL server." + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/administratorOperationResults/read", + "display": { + "description": "Return PostgreSQL Server administrator operation results", + "operation": "Get PostgreSQL server operation results", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL server operation results" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/register/action", + "display": { + "description": "Register PostgreSQL Resource Provider", + "operation": "Register PostgreSQL Resource Provider", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Microsoft Database For PostgreSQL Resource Provider" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/updateConfigurations/action", + "display": { + "description": "Update configurations for the specified server", + "operation": "Batch Update Server Configurations", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/checkNameAvailability/action", + "display": { + "description": "Verify whether given server name is available for provisioning worldwide for a given subscription.", + "operation": "Check Server Name Availability", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/configurations/read", + "display": { + "description": "Return the list of configurations for a server or gets the properties for the specified configuration.", + "operation": "List/Get Configurations", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Configurations" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/configurations/write", + "display": { + "description": "Update the value for the specified configuration", + "operation": "Update Configuration", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Configurations" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/virtualNetworkRules/read", + "display": { + "description": "Return the list of virtual network rules or gets the properties for the specified virtual network rule.", + "operation": "List/Get Virtual Network Rule(s)", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Virtual Network Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/virtualNetworkRules/write", + "display": { + "description": "Creates a virtual network rule with the specified parameters or update the properties or tags for the specified virtual network rule.", + "operation": "Create/Update Virtual Network Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Virtual Network Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/virtualNetworkRules/delete", + "display": { + "description": "Deletes an existing Virtual Network Rule", + "operation": "Delete Virtual Network Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Virtual Network Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/locations/azureAsyncOperation/read", + "display": { + "description": "Return PostgreSQL Server Operation Results", + "operation": "Get PostgreSQL Server Operation Results", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server Operation Results" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/databases/read", + "display": { + "description": "Return the list of PostgreSQL Databases or gets the properties for the specified Database.", + "operation": "List/Get PostgreSQL Database", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Databases" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/databases/write", + "display": { + "description": "Creates a PostgreSQL Database with the specified parameters or update the properties for the specified Database.", + "operation": "Create/Update PostgreSQL Database", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Databases" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/databases/delete", + "display": { + "description": "Deletes an existing PostgreSQL Database.", + "operation": "Delete PostgreSQL Database", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Databases" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/firewallRules/read", + "display": { + "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule.", + "operation": "List/Get Firewall Rules", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/firewallRules/write", + "display": { + "description": "Creates a firewall rule with the specified parameters or update an existing rule.", + "operation": "Create/Update Firewall Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/firewallRules/delete", + "display": { + "description": "Deletes an existing firewall rule.", + "operation": "Delete Firewall Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/logFiles/read", + "display": { + "description": "Return the list of PostgreSQL LogFiles.", + "operation": "List/Get PostgreSQL LogFiles", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL LogFiles" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/performanceTiers/read", + "display": { + "description": "Returns the list of Performance Tiers available.", + "operation": "List Performance Tiers", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Performance Tiers" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/operations/read", + "display": { + "description": "Return the list of PostgreSQL Operations.", + "operation": "List/Get PostgreSQL Operations", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Operations" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Return types of metrics that are available for databases", + "operation": "Get database metric definitions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "CPU percent", + "displayName": "CPU percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "memory_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Memory percent", + "displayName": "Memory percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "io_consumption_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "IO percent", + "displayName": "IO percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "storage_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage percent", + "displayName": "Storage percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "storage_used", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage used", + "displayName": "Storage used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "storage_limit", + "aggregationType": "Maximum", + "category": "Saturation", + "displayDescription": "Storage limit", + "displayName": "Storage limit", + "supportedAggregationTypes": [ + "Maximum" + ], + "unit": "Bytes" + }, + { + "name": "serverlog_storage_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Server Log storage percent", + "displayName": "Server Log storage percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "serverlog_storage_usage", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Server Log storage used", + "displayName": "Server Log storage used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "serverlog_storage_limit", + "aggregationType": "Maximum", + "category": "Saturation", + "displayDescription": "Server Log storage limit", + "displayName": "Server Log storage limit", + "supportedAggregationTypes": [ + "Maximum" + ], + "unit": "Bytes" + }, + { + "name": "active_connections", + "aggregationType": "Average", + "category": "Traffic", + "displayDescription": "Active Connections", + "displayName": "Active Connections", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "connections_failed", + "aggregationType": "Total", + "category": "Errors", + "displayDescription": "Failed Connections", + "displayName": "Failed Connections", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Count" + }, + { + "name": "backup_storage_used", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Backup Storage Used", + "displayName": "Backup Storage Used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "supportedTimeGrainTypes": [ + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "network_bytes_egress", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Network Out across active connections", + "displayName": "Network Out", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Bytes" + }, + { + "name": "network_bytes_ingress", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Network In across active connections", + "displayName": "Network In", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Bytes" + }, + { + "name": "pg_replica_log_delay_in_seconds", + "aggregationType": "Maximum", + "category": "Latency", + "displayDescription": "Replica lag in seconds", + "displayName": "Replica Lag", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Seconds" + }, + { + "name": "pg_replica_log_delay_in_bytes", + "aggregationType": "Maximum", + "category": "Latency", + "displayDescription": "Lag in bytes of the most lagging replica", + "displayName": "Max Lag Across Replicas", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the available logs for PostgreSQL servers", + "operation": "Read server log definitions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "The log definition of servers" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "PostgreSQLLogs", + "blobDuration": "PT1H", + "displayName": "PostgreSQL Server Logs" + }, + { + "name": "QueryStoreRuntimeStatistics", + "blobDuration": "PT1H", + "displayName": "PostgreSQL Query Store Runtime Statistics" + }, + { + "name": "QueryStoreWaitStatistics", + "blobDuration": "PT1H", + "displayName": "PostgreSQL Query Store Wait Statistics" + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the disagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/servers/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Return types of metrics that are available for databases", + "operation": "Get database metric definitions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "cpu_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "CPU percent", + "displayName": "CPU percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "memory_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Memory percent", + "displayName": "Memory percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "iops", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "IO Operations per second", + "displayName": "IOPS", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "storage_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage percent", + "displayName": "Storage percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "storage_used", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage used", + "displayName": "Storage used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "active_connections", + "aggregationType": "Average", + "category": "Traffic", + "displayDescription": "Active Connections", + "displayName": "Active Connections", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "network_bytes_egress", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Network Out across active connections", + "displayName": "Network Out", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Bytes" + }, + { + "name": "network_bytes_ingress", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Network In across active connections", + "displayName": "Network In", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the available logs for PostgreSQL servers", + "operation": "Read server log definitions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "The log definition of servers" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "PostgreSQLLogs", + "blobDuration": "PT1H", + "displayName": "PostgreSQL Server Logs" + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the disagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/read", + "display": { + "description": "Return the list of servers or gets the properties for the specified server.", + "operation": "List/Get PostgreSQL Servers", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/write", + "display": { + "description": "Creates a server with the specified parameters or update the properties or tags for the specified server.", + "operation": "Create/Update PostgreSQL Server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/delete", + "display": { + "description": "Deletes an existing server.", + "operation": "Delete PostgreSQL Server", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/firewallRules/read", + "display": { + "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule.", + "operation": "List/Get Firewall Rules", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/firewallRules/write", + "display": { + "description": "Creates a firewall rule with the specified parameters or update an existing rule.", + "operation": "Create/Update Firewall Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/firewallRules/delete", + "display": { + "description": "Deletes an existing firewall rule.", + "operation": "Delete Firewall Rule", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Firewall Rules" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/configurations/read", + "display": { + "description": "Return the list of configurations for a server or gets the properties for the specified configuration.", + "operation": "List/Get Configurations", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Configurations" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/configurations/write", + "display": { + "description": "Update the value for the specified configuration", + "operation": "Update Configuration", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Configurations" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/serversv2/updateConfigurations/action", + "display": { + "description": "Update configurations for the specified server", + "operation": "Batch Update Server Configurations", + "provider": "Microsoft DB for PostgreSQL", + "resource": "PostgreSQL Server" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Return types of metrics that are available for databases", + "operation": "Get database metric definitions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "backup_storage_used", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Backup Storage Used", + "displayName": "Backup Storage Used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "cpu_credits_consumed", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Total number of credits consumed by the database server", + "displayName": "CPU Credits Consumed", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "cpu_credits_remaining", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Total number of credits available to burst", + "displayName": "CPU Credits Remaining", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "cpu_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "CPU percent", + "displayName": "CPU percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "memory_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Memory percent", + "displayName": "Memory percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "iops", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "IO Operations per second", + "displayName": "IOPS", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "disk_queue_depth", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Number of outstanding I/O operations to the data disk", + "displayName": "Disk Queue Depth", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "read_throughput", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Bytes read per second from the data disk during monitoring period", + "displayName": "Read Throughput Bytes/Sec", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "write_throughput", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Bytes written per second to the data disk during monitoring period", + "displayName": "Write Throughput Bytes/Sec", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "read_iops", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Number of data disk I/O read operations per second", + "displayName": "Read IOPS", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "write_iops", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Number of data disk I/O write operations per second", + "displayName": "Write IOPS", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "storage_percent", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage percent", + "displayName": "Storage percent", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Percent" + }, + { + "name": "storage_used", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage used", + "displayName": "Storage used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "storage_free", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Storage Free", + "displayName": "Storage Free", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "txlogs_storage_used", + "aggregationType": "Average", + "category": "Saturation", + "displayDescription": "Transaction Log Storage Used", + "displayName": "Transaction Log Storage Used", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Bytes" + }, + { + "name": "active_connections", + "aggregationType": "Average", + "category": "Traffic", + "displayDescription": "Active Connections", + "displayName": "Active Connections", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + }, + { + "name": "network_bytes_egress", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Network Out across active connections", + "displayName": "Network Out", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Bytes" + }, + { + "name": "network_bytes_ingress", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Network In across active connections", + "displayName": "Network In", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Bytes" + }, + { + "name": "connections_failed", + "aggregationType": "Total", + "category": "Errors", + "displayDescription": "Failed Connections", + "displayName": "Failed Connections", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Count" + }, + { + "name": "connections_succeeded", + "aggregationType": "Total", + "category": "Traffic", + "displayDescription": "Succeeded Connections", + "displayName": "Succeeded Connections", + "supportedAggregationTypes": [ + "Total" + ], + "unit": "Count" + }, + { + "name": "maximum_used_transactionIDs", + "aggregationType": "Average", + "category": "Traffic", + "displayDescription": "Maximum Used Transaction IDs", + "displayName": "Maximum Used Transaction IDs", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the available logs for PostgreSQL servers", + "operation": "Read server log definitions", + "provider": "Microsoft DB for PostgreSQL", + "resource": "The log definition of servers" + }, + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "PostgreSQLLogs", + "blobDuration": "PT1H", + "displayName": "PostgreSQL Server Logs" + } + ] + } + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the disagnostic setting for the resource", + "operation": "Read diagnostic setting", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource", + "operation": "Write diagnostic setting", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Database Metric Definition" + } + }, + { + "name": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnectionsApproval/action", + "display": { + "description": "Determines if the user is allowed to approve a private endpoint connection", + "operation": "Private Endpoint Connections Approval", + "provider": "Microsoft DB for PostgreSQL", + "resource": "Private Endpoint Connections Approval" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List all available REST API operations." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateDnsZoneSuffixGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateDnsZoneSuffixGet.json new file mode 100644 index 000000000000..747bc49abe6e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateDnsZoneSuffixGet.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": "postgres.database.azure.com" + } + }, + "operationId": "PrivateDnsZoneSuffix_Get", + "title": "Get the private DNS suffix." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsDelete.json new file mode 100644 index 000000000000..3fb86c8c828a --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "privateEndpointConnectionName": "private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "Delete a private endpoint connection." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsGet.json new file mode 100644 index 000000000000..eddc8b3ac264 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "privateEndpointConnectionName": "private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateEndpointConnections/private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "properties": { + "groupIds": [ + "postgresqlServer" + ], + "privateEndpoint": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Ready" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "Get a private endpoint connection." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsList.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsList.json new file mode 100644 index 000000000000..1479dbf546f4 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateEndpointConnections/private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "properties": { + "groupIds": [ + "postgresqlServer" + ], + "privateEndpoint": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Ready" + } + }, + { + "name": "private-endpoint-connection-name-2.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateEndpointConnections/private-endpoint-connection-name-2.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "properties": { + "groupIds": [ + "postgresqlServer" + ], + "privateEndpoint": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Ready" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_ListByServer", + "title": "List all private endpoint connections on a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsUpdate.json new file mode 100644 index 000000000000..149a4bf92572 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateEndpointConnectionsUpdate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Approved by johndoe@contoso.com", + "status": "Approved" + } + } + }, + "privateEndpointConnectionName": "private-endpoint-connection-name.1fa229cd-bf3f-47f0-8c49-afb36723997e", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "PrivateEndpointConnections_Update", + "title": "Approve or reject a private endpoint connection." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateLinkResourcesGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateLinkResourcesGet.json new file mode 100644 index 000000000000..74a80e9e2a48 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateLinkResourcesGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "groupName": "exampleprivatelink", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleprivatelink", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/privateLinkResources", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateLinkResources/exampleprivatelink", + "properties": { + "groupId": "postgresqlServer", + "requiredMembers": [ + "postgresqlServer" + ], + "requiredZoneNames": [ + "privatelink.postgres.database.azure.com" + ] + } + } + } + }, + "operationId": "PrivateLinkResources_Get", + "title": "Gets a private link resource for PostgreSQL." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateLinkResourcesList.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateLinkResourcesList.json new file mode 100644 index 000000000000..d99e7b04487e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/PrivateLinkResourcesList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "exampleprivatelink", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/privateLinkResources", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateLinkResources/exampleprivatelink", + "properties": { + "groupId": "postgresqlServer", + "requiredMembers": [ + "postgresqlServer" + ], + "requiredZoneNames": [ + "privatelink.postgres.database.azure.com" + ] + } + } + ] + } + } + }, + "operationId": "PrivateLinkResources_ListByServer", + "title": "Gets private link resources for PostgreSQL." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/QuotaUsagesForFlexibleServers.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/QuotaUsagesForFlexibleServers.json new file mode 100644 index 000000000000..d6d4b36292d6 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/QuotaUsagesForFlexibleServers.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "locationName": "eastus", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "standardBSFamily", + "value": "standardBSFamily" + }, + "currentValue": 0, + "id": "", + "limit": 10000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "standardDDSv4Family", + "value": "standardDDSv4Family" + }, + "currentValue": 0, + "id": "", + "limit": 100, + "unit": "Count" + } + ] + } + } + }, + "operationId": "QuotaUsages_List", + "title": "List of quota usages for servers" +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ReplicasListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ReplicasListByServer.json new file mode 100644 index 000000000000..4d1a805f00fd --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ReplicasListByServer.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Disabled", + "passwordAuth": "Enabled" + }, + "availabilityZone": "2", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T18:35:22.123456Z", + "geoRedundantBackup": "Disabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com", + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "replica": { + "capacity": 0, + "replicationState": "Active", + "role": "AsyncReplica" + }, + "replicaCapacity": 0, + "replicationRole": "AsyncReplica", + "state": "Ready", + "storage": { + "autoGrow": "Disabled", + "iops": 2300, + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + } + } + ] + } + } + }, + "operationId": "Replicas_ListByServer", + "title": "List all read replicas of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersClusterCreate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersClusterCreate.json new file mode 100644 index 000000000000..b55994be850b --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersClusterCreate.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "administratorLogin": "examplelogin", + "administratorLoginPassword": "examplepassword", + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled" + }, + "cluster": { + "clusterSize": 2, + "defaultDatabaseName": "clusterdb" + }, + "createMode": "Create", + "highAvailability": { + "mode": "Disabled" + }, + "network": { + "publicNetworkAccess": "Disabled" + }, + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 256, + "tier": "P15" + }, + "version": "16" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new elastic cluster." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateGeoRestoreWithDataEncryptionEnabled.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateGeoRestoreWithDataEncryptionEnabled.json new file mode 100644 index 000000000000..caaa8961f907 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateGeoRestoreWithDataEncryptionEnabled.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {}, + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "location": "eastus", + "properties": { + "createMode": "GeoRestore", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", + "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + }, + "pointInTimeUTC": "2025-06-01T18:35:22.123456Z", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server using a restore of a geographically redundant backup of an existing server, with data encryption based on customer managed key." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateGeoRestoreWithDataEncryptionEnabledAutoUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateGeoRestoreWithDataEncryptionEnabledAutoUpdate.json new file mode 100644 index 000000000000..41cd163a6498 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateGeoRestoreWithDataEncryptionEnabledAutoUpdate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {}, + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "location": "eastus", + "properties": { + "createMode": "GeoRestore", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey", + "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + }, + "pointInTimeUTC": "2025-06-01T18:35:22.123456Z", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server using a restore of a geographically redundant backup of an existing server, with data encryption based on customer managed key with automatic key version update." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateInMicrosoftOwnedVirtualNetworkWithZoneRedundantHighAvailability.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateInMicrosoftOwnedVirtualNetworkWithZoneRedundantHighAvailability.json new file mode 100644 index 000000000000..6e685182595f --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateInMicrosoftOwnedVirtualNetworkWithZoneRedundantHighAvailability.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "administratorLoginPassword": "examplepassword", + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" + }, + "createMode": "Create", + "highAvailability": { + "mode": "ZoneRedundant" + }, + "network": { + "publicNetworkAccess": "Enabled" + }, + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "tags": { + "InCustomerVnet": "false", + "InMicrosoftVnet": "true" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server in Microsoft owned virtual network with zone redundant high availability." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateInYourOwnVirtualNetworkWithSameZoneHighAvailability.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateInYourOwnVirtualNetworkWithSameZoneHighAvailability.json new file mode 100644 index 000000000000..a36b3f4d7460 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateInYourOwnVirtualNetworkWithSameZoneHighAvailability.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "administratorLoginPassword": "examplepassword", + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Enabled" + }, + "createMode": "Create", + "highAvailability": { + "mode": "SameZone" + }, + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.private.postgres.database" + }, + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "tags": { + "InCustomerVnet": "true", + "InMicrosoftVnet": "false" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server in your own virtual network with same zone high availability." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreatePointInTimeRestore.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreatePointInTimeRestore.json new file mode 100644 index 000000000000..c6243b39e622 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreatePointInTimeRestore.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "createMode": "PointInTimeRestore", + "pointInTimeUTC": "2025-06-01T18:35:22.123456Z", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server using a point in time restore of a backup of an existing server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateReplica.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateReplica.json new file mode 100644 index 000000000000..6e3d0f2793af --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateReplica.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "location": "eastus", + "properties": { + "createMode": "Replica", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "", + "geoBackupUserAssignedIdentityId": "", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + }, + "pointInTimeUTC": "2025-06-01T18:35:22.123456Z", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a read replica of an existing server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateReviveDropped.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateReviveDropped.json new file mode 100644 index 000000000000..291512fa215c --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateReviveDropped.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "createMode": "ReviveDropped", + "pointInTimeUTC": "2025-06-01T18:30:22.123456Z", + "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server using a backup of a server that was deleted or dropped recently." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithDataEncryptionEnabled.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithDataEncryptionEnabled.json new file mode 100644 index 000000000000..cfc11835327b --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithDataEncryptionEnabled.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "administratorLoginPassword": "examplepassword", + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled" + }, + "createMode": "Create", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "", + "geoBackupUserAssignedIdentityId": "", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + }, + "highAvailability": { + "mode": "ZoneRedundant" + }, + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com" + }, + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server with data encryption based on customer managed key." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithDataEncryptionEnabledAutoUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithDataEncryptionEnabledAutoUpdate.json new file mode 100644 index 000000000000..1943cfea4776 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithDataEncryptionEnabledAutoUpdate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "administratorLoginPassword": "examplepassword", + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled" + }, + "createMode": "Create", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "", + "geoBackupUserAssignedIdentityId": "", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + }, + "highAvailability": { + "mode": "ZoneRedundant" + }, + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com" + }, + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server with data encryption based on customer managed key with automatic key version update." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithMicrosoftEntraEnabledInYourOwnVirtualNetworkWithoutHighAvailability.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithMicrosoftEntraEnabledInYourOwnVirtualNetworkWithoutHighAvailability.json new file mode 100644 index 000000000000..a38099078349 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersCreateWithMicrosoftEntraEnabledInYourOwnVirtualNetworkWithoutHighAvailability.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "administratorLoginPassword": "examplepassword", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "geoRedundantBackup": "Disabled" + }, + "createMode": "Create", + "dataEncryption": { + "type": "SystemManaged" + }, + "highAvailability": { + "mode": "Disabled" + }, + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com" + }, + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_CreateOrUpdate", + "title": "Create a new server with Microsoft Entra authentication enabled in your own virtual network and without high availability." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersDelete.json new file mode 100644 index 000000000000..329fcad57cc3 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "Servers_Delete", + "title": "Delete or drop an existing server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGet.json new file mode 100644 index 000000000000..14598bb50682 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGet.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Disabled", + "passwordAuth": "Enabled" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T18:35:22.123456Z", + "geoRedundantBackup": "Enabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com", + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "privateEndpointConnections": [], + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 500, + "storageSizeGB": 128, + "tier": "P10" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T18:30:22.123456Z" + } + } + } + }, + "operationId": "Servers_Get", + "title": "Get information about an existing server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGetWithPrivateEndpoints.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGetWithPrivateEndpoints.json new file mode 100644 index 000000000000..3a431bbcac55 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGetWithPrivateEndpoints.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Disabled", + "passwordAuth": "Enabled" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T18:35:22.123456Z", + "geoRedundantBackup": "Disabled" + }, + "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com", + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "privateEndpointConnections": [ + { + "name": "exampleprivateendpoint.40c899c7-5847-493e-9c9e-d0a0c90aaf92", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/privateEndpointConnections", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/privateEndpointConnections/exampleprivateendpoint.40c899c7-5847-493e-9c9e-d0a0c90aaf92", + "properties": { + "groupIds": [ + "postgresqlServer" + ], + "privateEndpoint": { + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleprivateendpointresourcegroup/providers/Microsoft.Network/privateEndpoints/exampleprivateendpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ], + "state": "Ready", + "storage": { + "autoGrow": "Disabled", + "iops": 2300, + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + } + } + } + }, + "operationId": "Servers_Get", + "title": "Get information about an existing server that isn't integrated into a virtual network provided by customer and has private endpoint connections." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGetWithVnet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGetWithVnet.json new file mode 100644 index 000000000000..2ecfa8b0478a --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersGetWithVnet.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "name": "exampleserver", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Disabled", + "passwordAuth": "Enabled" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T18:35:22.123456Z", + "geoRedundantBackup": "Enabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver.postgres.database.azure.com", + "highAvailability": { + "mode": "ZoneRedundant", + "standbyAvailabilityZone": "2", + "state": "Healthy" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleserver.private.postgres.database.azure.com", + "publicNetworkAccess": "Disabled" + }, + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 2300, + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T18:30:22.123456Z" + }, + "tags": { + "VnetServer": "1" + } + } + } + }, + "operationId": "Servers_Get", + "title": "Get information about an existing server that is integrated into a virtual network provided by customer." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersListByResourceGroup.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersListByResourceGroup.json new file mode 100644 index 000000000000..0b860a220afc --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersListByResourceGroup.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2025-06-01-preview&$skiptoken=skiptoken", + "value": [ + { + "name": "exampleserver1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver1", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T18:35:22.123456Z", + "geoRedundantBackup": "Enabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver1.postgres.database.azure.com", + "highAvailability": { + "mode": "ZoneRedundant", + "standbyAvailabilityZone": "2", + "state": "Healthy" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleserver1.private.postgres.database.azure.com", + "publicNetworkAccess": "Disabled" + }, + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 2300, + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T18:30:22.123456Z" + }, + "tags": { + "VnetServer": "1" + } + }, + { + "name": "exampleserver2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver2", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": { + "clientId": "tttttt-tttt-tttt-tttt-tttttttttttt", + "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp" + } + } + }, + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T19:35:22.123456Z", + "geoRedundantBackup": "Disabled" + }, + "dataEncryption": { + "type": "AzureKeyVault", + "primaryEncryptionKeyStatus": "Valid", + "primaryKeyURI": "https://examplekeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + }, + "fullyQualifiedDomainName": "exampleserver2.postgres.database.azure.com", + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "privateEndpointConnections": [], + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 500, + "storageSizeGB": 128, + "tier": "P10" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T19:30:22.123456Z" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Servers_ListByResourceGroup", + "title": "List all servers in a resource group." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersListBySubscription.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersListBySubscription.json new file mode 100644 index 000000000000..9d390cb83cb3 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersListBySubscription.json @@ -0,0 +1,283 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/flexibleServers?api-version=2025-06-01-preview&$skiptoken=skiptoken", + "value": [ + { + "name": "exampleserver1", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup1/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver1", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T18:35:22.123456Z", + "geoRedundantBackup": "Enabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver1.postgres.database.azure.com", + "highAvailability": { + "mode": "ZoneRedundant", + "standbyAvailabilityZone": "2", + "state": "Healthy" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "delegatedSubnetResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup1/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork1/subnets/examplesubnet1", + "privateDnsZoneArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup1/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone1.postgres.database.azure.com", + "publicNetworkAccess": "Disabled" + }, + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 2300, + "storageSizeGB": 512, + "tier": "P20" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T18:30:22.123456Z" + }, + "tags": { + "VnetServer": "1" + } + }, + { + "name": "exampleserver2", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup2/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver2", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "availabilityZone": "2", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T19:35:22.123456Z", + "geoRedundantBackup": "Enabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver2.postgres.database.azure.com", + "highAvailability": { + "mode": "ZoneRedundant", + "standbyAvailabilityZone": "1", + "state": "Healthy" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "privateEndpointConnections": [], + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 500, + "storageSizeGB": 128, + "tier": "P10" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T19:30:22.123456Z" + }, + "tags": {} + }, + { + "name": "exampleserver3", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup3/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver3", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity3": { + "clientId": "tttttt-tttt-tttt-tttt-tttttttttttt", + "principalId": "pppppppp-pppp-pppp-pppp-pppppppppppp" + } + } + }, + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "availabilityZone": "1", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T20:35:22.123456Z", + "geoRedundantBackup": "Disabled" + }, + "dataEncryption": { + "type": "AzureKeyVault", + "primaryEncryptionKeyStatus": "Valid", + "primaryKeyURI": "https://examplekeyvault3.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity3" + }, + "fullyQualifiedDomainName": "exampleserver3.postgres.database.azure.com", + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "privateEndpointConnections": [], + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "", + "autoGrow": "Disabled", + "iops": 500, + "storageSizeGB": 128, + "tier": "P10" + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T20:30:22.123456Z" + }, + "tags": {} + }, + { + "name": "exampleserver4", + "type": "Microsoft.DBforPostgreSQL/flexibleServers", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup4/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver4", + "location": "eastus", + "properties": { + "administratorLogin": "exampleadministratorlogin", + "authConfig": { + "activeDirectoryAuth": "Disabled", + "passwordAuth": "Enabled" + }, + "availabilityZone": "2", + "backup": { + "backupRetentionDays": 7, + "earliestRestoreDate": "2025-06-01T21:35:22.123456Z", + "geoRedundantBackup": "Disabled" + }, + "dataEncryption": { + "type": "SystemManaged" + }, + "fullyQualifiedDomainName": "exampleserver4.postgres.database.azure.com", + "highAvailability": { + "mode": "Disabled", + "state": "NotEnabled" + }, + "maintenanceWindow": { + "customWindow": "Disabled", + "dayOfWeek": 0, + "startHour": 0, + "startMinute": 0 + }, + "minorVersion": "5", + "network": { + "publicNetworkAccess": "Enabled" + }, + "privateEndpointConnections": [], + "replica": { + "capacity": 5, + "role": "Primary" + }, + "replicaCapacity": 5, + "replicationRole": "Primary", + "state": "Ready", + "storage": { + "type": "PremiumV2_LRS", + "autoGrow": "Disabled", + "iops": 3000, + "storageSizeGB": 512, + "throughput": 125 + }, + "version": "17" + }, + "sku": { + "name": "Standard_D4ds_v5", + "tier": "GeneralPurpose" + }, + "systemData": { + "createdAt": "2025-06-01T21:30:22.123456Z" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Servers_ListBySubscription", + "title": "List all servers in a subscription." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsForcedStandaloneServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsForcedStandaloneServer.json new file mode 100644 index 000000000000..ab1610ddd334 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsForcedStandaloneServer.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "replica": { + "promoteMode": "Standalone", + "promoteOption": "Forced" + } + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Promote a read replica to a standalone server with forced data synchronization. Meaning that it doesn't wait for data in the read replica to be synchronized with its source server before it initiates the promotion to a standalone server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsForcedSwitchover.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsForcedSwitchover.json new file mode 100644 index 000000000000..a4405ffa1e18 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsForcedSwitchover.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "replica": { + "promoteMode": "Switchover", + "promoteOption": "Forced" + } + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Switch over a read replica to primary server with forced data synchronization. Meaning that it doesn't wait for data in the read replica to be synchronized with its source server before it initiates the switching of roles between the read replica and the primary server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsPlannedStandaloneServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsPlannedStandaloneServer.json new file mode 100644 index 000000000000..60d1e6b03540 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsPlannedStandaloneServer.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "replica": { + "promoteMode": "Standalone", + "promoteOption": "Planned" + } + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Promote a read replica to a standalone server with planned data synchronization. Meaning that it waits for data in the read replica to be fully synchronized with its source server before it initiates the promotion to a standalone server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsPlannedSwitchover.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsPlannedSwitchover.json new file mode 100644 index 000000000000..df713ce49eca --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersPromoteReplicaAsPlannedSwitchover.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "replica": { + "promoteMode": "Switchover", + "promoteOption": "Planned" + } + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Switch over a read replica to primary server with planned data synchronization. Meaning that it waits for data in the read replica to be fully synchronized with its source server before it initiates the switching of roles between the read replica and the primary server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersRestart.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersRestart.json new file mode 100644 index 000000000000..b37713d437e7 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersRestart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Restart", + "title": "Restart PostgreSQL database engine in a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersRestartWithFailover.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersRestartWithFailover.json new file mode 100644 index 000000000000..800ec33ae42e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersRestartWithFailover.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "failoverMode": "ForcedFailover", + "restartWithFailover": true + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Restart", + "title": "Restart PostgreSQL database engine in a server with a forced failover to standby server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersStart.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersStart.json new file mode 100644 index 000000000000..2c7de5a610e6 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersStart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Start", + "title": "Start a stopped server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersStop.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersStop.json new file mode 100644 index 000000000000..e07953372734 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersStop.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Stop", + "title": "Stop a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdate.json new file mode 100644 index 000000000000..7371b76b85eb --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdate.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "administratorLoginPassword": "examplenewpassword", + "backup": { + "backupRetentionDays": 20 + }, + "createMode": "Update", + "storage": { + "autoGrow": "Enabled", + "storageSizeGB": 1024, + "tier": "P30" + } + }, + "sku": { + "name": "Standard_D8s_v3", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Update an existing server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithCustomMaintenanceWindow.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithCustomMaintenanceWindow.json new file mode 100644 index 000000000000..c1b2b0517cbd --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithCustomMaintenanceWindow.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "createMode": "Update", + "maintenanceWindow": { + "customWindow": "Enabled", + "dayOfWeek": 0, + "startHour": 8, + "startMinute": 0 + } + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Update an existing server with custom maintenance window." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithDataEncryptionEnabled.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithDataEncryptionEnabled.json new file mode 100644 index 000000000000..ef72f0d57ac7 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithDataEncryptionEnabled.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {}, + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "properties": { + "administratorLoginPassword": "examplenewpassword", + "backup": { + "backupRetentionDays": 20 + }, + "createMode": "Update", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy", + "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + } + }, + "sku": { + "name": "Standard_D8s_v3", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Update an existing server with data encryption based on customer managed key." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithDataEncryptionEnabledAutoUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithDataEncryptionEnabledAutoUpdate.json new file mode 100644 index 000000000000..8455dba53f41 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithDataEncryptionEnabledAutoUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": {}, + "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {} + } + }, + "properties": { + "administratorLoginPassword": "examplenewpassword", + "backup": { + "backupRetentionDays": 20 + }, + "createMode": "Update", + "dataEncryption": { + "type": "AzureKeyVault", + "geoBackupKeyURI": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey", + "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity", + "primaryKeyURI": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey", + "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity" + } + }, + "sku": { + "name": "Standard_D8s_v3", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Update an existing server with data encryption based on customer managed key with automatic key version update." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithMajorVersionUpgrade.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithMajorVersionUpgrade.json new file mode 100644 index 000000000000..3b24f4da81cf --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithMajorVersionUpgrade.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "createMode": "Update", + "version": "17" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Update an existing server to upgrade the major version of PostgreSQL database engine." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithMicrosoftEntraEnabled.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithMicrosoftEntraEnabled.json new file mode 100644 index 000000000000..ceb9ed68c8dd --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/ServersUpdateWithMicrosoftEntraEnabled.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "administratorLoginPassword": "examplenewpassword", + "authConfig": { + "activeDirectoryAuth": "Enabled", + "passwordAuth": "Enabled", + "tenantId": "tttttt-tttt-tttt-tttt-tttttttttttt" + }, + "backup": { + "backupRetentionDays": 20 + }, + "createMode": "Update", + "storage": { + "autoGrow": "Disabled", + "storageSizeGB": 1024, + "tier": "P30" + } + }, + "sku": { + "name": "Standard_D8s_v3", + "tier": "GeneralPurpose" + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "Servers_Update", + "title": "Update an existing server with Microsoft Entra authentication enabled." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsGet.json new file mode 100644 index 000000000000..d10fbae554fb --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsGet.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "tuningOption": "index" + }, + "responses": { + "200": { + "body": { + "name": "index", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningoptions", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningoptions/index" + } + } + }, + "operationId": "TuningOptions_Get", + "title": "Get the tuning options of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListByServer.json new file mode 100644 index 000000000000..b2286bc5448e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListByServer.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "index", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningoptions", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningoptions/index" + }, + { + "name": "table", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningoptions", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningoptions/table" + } + ] + } + } + }, + "operationId": "TuningOptions_ListByServer", + "title": "List the tuning options of a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListIndexRecommendations.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListIndexRecommendations.json new file mode 100644 index 000000000000..4ac84db4c1c9 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListIndexRecommendations.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "tuningOption": "index" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CreateIndex_ecommerce_public_ps_suppkey_idx", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/1", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 25, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [ + { + "absoluteValue": 15.3671875, + "dimensionName": "IndexSize", + "unit": "MB" + }, + { + "absoluteValue": 99.67668452400453, + "dimensionName": "QueryCostImprovement", + "queryId": -3775242682326862300, + "unit": "Percentage" + }, + { + "absoluteValue": 85.56742436827899, + "dimensionName": "QueryCostImprovement", + "queryId": 6829938984138799000, + "unit": "Percentage" + } + ], + "implementationDetails": { + "method": "SQL", + "script": "create index concurrently ps_suppkey_idx on public.partsupp(ps_suppkey)" + }, + "improvedQueryIds": [ + -3775242682326862300, + 6829938984138799000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query 6829938984138799352;", + "recommendationType": "CreateIndex", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "ecommerce", + "indexColumns": [ + "\"partsupp\".\"ps_suppkey\"" + ], + "indexName": "ps_suppkey_idx", + "indexType": "BTREE", + "table": "partsupp" + } + } + }, + { + "name": "CreateIndex_ecommerce_public_ps_partkey_idx", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/2", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 25, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [ + { + "absoluteValue": 15.3671875, + "dimensionName": "IndexSize", + "unit": "MB" + }, + { + "absoluteValue": 99.67668452400453, + "dimensionName": "QueryCostImprovement", + "queryId": -3775242682326862300, + "unit": "Percentage" + }, + { + "absoluteValue": 79.06603712430707, + "dimensionName": "QueryCostImprovement", + "queryId": 4735984994430715000, + "unit": "Percentage" + } + ], + "implementationDetails": { + "method": "SQL", + "script": "create index concurrently ps_partkey_idx on public.partsupp(ps_partkey)" + }, + "improvedQueryIds": [ + -3775242682326862300, + 4735984994430715000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Column \"partsupp\".\"ps_partkey\" appear in Equal Predicate clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_partkey\" appear in Join On clause(s) in query 4735984994430714735;", + "recommendationType": "CreateIndex", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "ecommerce", + "indexColumns": [ + "\"partsupp\".\"ps_partkey\"" + ], + "indexName": "ps_partkey_idx", + "indexType": "BTREE", + "table": "partsupp" + } + } + } + ] + } + } + }, + "operationId": "TuningOptions_ListRecommendations", + "title": "List available index recommendations." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListIndexRecommendationsFilteredForCreateIndex.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListIndexRecommendationsFilteredForCreateIndex.json new file mode 100644 index 000000000000..ff81e79f257e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListIndexRecommendationsFilteredForCreateIndex.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "recommendationType": "CreateIndex", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "tuningOption": "index" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "CreateIndex_ecommerce_public_ps_suppkey_idx", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/1", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 25, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [ + { + "absoluteValue": 15.3671875, + "dimensionName": "IndexSize", + "unit": "MB" + }, + { + "absoluteValue": 99.67668452400453, + "dimensionName": "QueryCostImprovement", + "queryId": -3775242682326862300, + "unit": "Percentage" + }, + { + "absoluteValue": 85.56742436827899, + "dimensionName": "QueryCostImprovement", + "queryId": 6829938984138799000, + "unit": "Percentage" + } + ], + "implementationDetails": { + "method": "SQL", + "script": "create index concurrently ps_suppkey_idx on public.partsupp(ps_suppkey)" + }, + "improvedQueryIds": [ + -3775242682326862300, + 6829938984138799000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_suppkey\" appear in Join On clause(s) in query 6829938984138799352;", + "recommendationType": "CreateIndex", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "ecommerce", + "indexColumns": [ + "\"partsupp\".\"ps_suppkey\"" + ], + "indexName": "ps_suppkey_idx", + "indexType": "BTREE", + "table": "partsupp" + } + } + }, + { + "name": "CreateIndex_ecommerce_public_ps_partkey_idx", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/index", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/index/recommendations/2", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 25, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [ + { + "absoluteValue": 15.3671875, + "dimensionName": "IndexSize", + "unit": "MB" + }, + { + "absoluteValue": 99.67668452400453, + "dimensionName": "QueryCostImprovement", + "queryId": -3775242682326862300, + "unit": "Percentage" + }, + { + "absoluteValue": 79.06603712430707, + "dimensionName": "QueryCostImprovement", + "queryId": 4735984994430715000, + "unit": "Percentage" + } + ], + "implementationDetails": { + "method": "SQL", + "script": "create index concurrently ps_partkey_idx on public.partsupp(ps_partkey)" + }, + "improvedQueryIds": [ + -3775242682326862300, + 4735984994430715000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Column \"partsupp\".\"ps_partkey\" appear in Equal Predicate clause(s) in query -3775242682326862475; Column \"partsupp\".\"ps_partkey\" appear in Join On clause(s) in query 4735984994430714735;", + "recommendationType": "CreateIndex", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "ecommerce", + "indexColumns": [ + "\"partsupp\".\"ps_partkey\"" + ], + "indexName": "ps_partkey_idx", + "indexType": "BTREE", + "table": "partsupp" + } + } + } + ] + } + } + }, + "operationId": "TuningOptions_ListRecommendations", + "title": "List available index recommendations, filtered to exclusively get those of CREATE INDEX type." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListTableRecommendations.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListTableRecommendations.json new file mode 100644 index 000000000000..1cf3db3bb1dc --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListTableRecommendations.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "tuningOption": "table" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Analyze_postgres_public_nation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/1", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 22, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [], + "implementationDetails": { + "method": "SQL", + "script": "analyze table public.nation" + }, + "improvedQueryIds": [ + 2071439792137543700, + 7860150533486302000, + 6411979446509506000, + 3219604056681277400, + -360410933364310600, + 6171467644166225000, + 3548728559597612500, + -4753875211349607000, + -8711548294430095000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Table \"nation\" in schema \"public\" is unanalyzed and appears in the following queries: 2071439792137543669, 7860150533486301820, 6411979446509505239, 3219604056681277471, -360410933364310591, 6171467644166224729, 3548728559597612316, -4753875211349607298, -8711548294430094920", + "recommendationType": "Analyze", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "postgres", + "table": "nation" + } + } + }, + { + "name": "Analyze_postgres_public_region", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/2", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 22, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [], + "implementationDetails": { + "method": "SQL", + "script": "analyze table public.region" + }, + "improvedQueryIds": [ + 3219604056681277400, + 6171467644166225000, + -4753875211349607000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Table \"region\" in schema \"public\" is unanalyzed and appears in the following queries: 3219604056681277471, 6171467644166224729, -4753875211349607298", + "recommendationType": "Analyze", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "postgres", + "table": "region" + } + } + } + ] + } + } + }, + "operationId": "TuningOptions_ListRecommendations", + "title": "List available table recommendations." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListTableRecommendationsFilteredForAnalyzeTable.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListTableRecommendationsFilteredForAnalyzeTable.json new file mode 100644 index 000000000000..c54cfbf0fff7 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/TuningOptionsListTableRecommendationsFilteredForAnalyzeTable.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "recommendationType": "AnalyzeTable", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "tuningOption": "table" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Analyze_postgres_public_nation", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/1", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 22, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [], + "implementationDetails": { + "method": "SQL", + "script": "analyze table public.nation" + }, + "improvedQueryIds": [ + 2071439792137543700, + 7860150533486302000, + 6411979446509506000, + 3219604056681277400, + -360410933364310600, + 6171467644166225000, + 3548728559597612500, + -4753875211349607000, + -8711548294430095000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Table \"nation\" in schema \"public\" is unanalyzed and appears in the following queries: 2071439792137543669, 7860150533486301820, 6411979446509505239, 3219604056681277471, -360410933364310591, 6171467644166224729, 3548728559597612316, -4753875211349607298, -8711548294430094920", + "recommendationType": "Analyze", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "postgres", + "table": "nation" + } + } + }, + { + "name": "Analyze_postgres_public_region", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/tuningOptions/table", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/tuningOptions/table/recommendations/2", + "kind": "", + "properties": { + "analyzedWorkload": { + "endTime": "2025-06-01T20:30:22.123456Z", + "queryCount": 22, + "startTime": "2025-06-01T19:30:22.123456Z" + }, + "estimatedImpact": [], + "implementationDetails": { + "method": "SQL", + "script": "analyze table public.region" + }, + "improvedQueryIds": [ + 3219604056681277400, + 6171467644166225000, + -4753875211349607000 + ], + "initialRecommendedTime": "2025-06-01T20:30:22.123456Z", + "lastRecommendedTime": "2025-06-01T20:30:22.123456Z", + "recommendationReason": "Table \"region\" in schema \"public\" is unanalyzed and appears in the following queries: 3219604056681277471, 6171467644166224729, -4753875211349607298", + "recommendationType": "Analyze", + "timesRecommended": 1, + "details": { + "schema": "public", + "databaseName": "postgres", + "table": "region" + } + } + } + ] + } + } + }, + "operationId": "TuningOptions_ListRecommendations", + "title": "List available table recommendations, filtered to exclusively get those of ANALYZE TABLE type." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointCreate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointCreate.json new file mode 100644 index 000000000000..e9a7db68cd23 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointCreate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "endpointType": "ReadWrite", + "members": [ + "exampleprimaryserver" + ] + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "virtualEndpointName": "examplebasename" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "VirtualEndpoints_Create", + "title": "Create a pair of virtual endpoints for a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointDelete.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointDelete.json new file mode 100644 index 000000000000..7e4df9d1939b --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "virtualEndpointName": "examplebasename" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + }, + "204": {} + }, + "operationId": "VirtualEndpoints_Delete", + "title": "Delete a pair of virtual endpoints." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointUpdate.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointUpdate.json new file mode 100644 index 000000000000..2f7104fd348e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointUpdate.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "parameters": { + "properties": { + "endpointType": "ReadWrite", + "members": [ + "exampleprimaryserver" + ] + } + }, + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "virtualEndpointName": "examplebasename" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa?api-version=2025-06-01-preview", + "Location": "https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb?api-version=2025-06-01-preview" + } + } + }, + "operationId": "VirtualEndpoints_Update", + "title": "Update a pair of virtual endpoints for a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointsGet.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointsGet.json new file mode 100644 index 000000000000..1e5124ce51ee --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointsGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", + "virtualEndpointName": "examplebasename" + }, + "responses": { + "200": { + "body": { + "name": "examplebasename", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/virtualEndpoints", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/virtualEndpoints/examplebasename", + "properties": { + "endpointType": "ReadWrite", + "members": [ + "exampleprimaryserver" + ], + "virtualEndpoints": [ + "examplebasename.reader.postgres.database.azure.com", + "examplebasename.writer.postgres.database.azure.com" + ] + } + } + } + }, + "operationId": "VirtualEndpoints_Get", + "title": "Get information about a pair of virtual endpoints." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointsListByServer.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointsListByServer.json new file mode 100644 index 000000000000..33cac6294186 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualEndpointsListByServer.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "resourceGroupName": "exampleresourcegroup", + "serverName": "exampleserver", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "examplebasename", + "type": "Microsoft.DBforPostgreSQL/flexibleServers/virtualEndpoints", + "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampleserver/virtualEndpoints/examplebasename", + "properties": { + "endpointType": "ReadWrite", + "members": [ + "examplebasename" + ], + "virtualEndpoints": [ + "examplebasename.reader.postgres.database.azure.com", + "examplebasename.writer.postgres.database.azure.com" + ] + } + } + ] + } + } + }, + "operationId": "VirtualEndpoints_ListByServer", + "title": "List pair of virtual endpoints associated to a server." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualNetworkSubnetUsageList.json b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualNetworkSubnetUsageList.json new file mode 100644 index 000000000000..00b683572f09 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/examples/2025-06-01-preview/VirtualNetworkSubnetUsageList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01-preview", + "locationName": "eastus", + "parameters": { + "virtualNetworkArmResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork" + }, + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + }, + "responses": { + "200": { + "body": { + "delegatedSubnetsUsage": [ + { + "subnetName": "examplesubnet1", + "usage": 2 + }, + { + "subnetName": "examplesubnet2", + "usage": 3 + } + ], + "location": "eastus", + "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" + } + } + }, + "operationId": "VirtualNetworkSubnetUsage_List", + "title": "List the virtual network subnet usage for a given virtual network." +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/legacy.tsp b/specification/postgresql/DBforPostgreSQL.Management/legacy.tsp new file mode 100644 index 000000000000..cc46859e8985 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/legacy.tsp @@ -0,0 +1,99 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; + +/** + * @dev A long-running resource CreateOrUpdate (PUT) + * @template Resource the resource being created or replaced + * @template BaseParameters Optional. Allows overriding the operation parameters + * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response for the createOrReplace operation + * @template Error Optional. The error response, if non-standard. + */ +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Private.enforceConstraint(Resource, Foundations.Resource) +op CustomArmResourceCreateOrReplaceAsync< + Resource extends Foundations.SimpleResource, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + LroHeaders extends TypeSpec.Reflection.Model = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Parameters extends {} = {}, + Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + Resource, + LroHeaders + >, + Error extends {} = ErrorResponse +> is CustomArmResourceCreateOrUpdateAsync< + Resource, + BaseParameters, + LroHeaders, + Parameters, + Response, + Error +>; + +/** + * A long-running resource CreateOrUpdate (PUT) + * @template Resource the resource being created or updated + * @template BaseParameters Optional. Allows overriding the operation parameters + * @template LroHeaders Optional. Allows overriding the lro headers returned on resource create + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The success response for the createOrUpdate operation + * @template Error Optional. The error response, if non-standard. + */ +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@autoRoute +@doc("Create a {name}", Resource) +@armResourceCreateOrUpdate(Resource) +@Azure.ResourceManager.Private.enforceConstraint(Resource, Foundations.Resource) +@Azure.Core.Foundations.Private.defaultFinalStateVia(#[ + "location", + "azure-async-operation" +]) +@put +op CustomArmResourceCreateOrUpdateAsync< + Resource extends Foundations.SimpleResource, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + LroHeaders extends TypeSpec.Reflection.Model = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Parameters extends {} = {}, + Response extends {} = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + Resource, + LroHeaders + >, + Error extends {} = ErrorResponse +> is CustomArmCreateOperation< + ResourceInstanceParameters & Parameters, + Resource, + Response, + Error +>; + +/** + * @dev The base template for Azure Resource Manager PUT Operations. + * @template HttpParameters The parameter object for the operation. + * @template BodyParameter The body parameter + * @template Response The response or union of responses for success. + * @template ErrorResponse The error response. + */ +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +op CustomArmCreateOperation< + HttpParameters extends {}, + BodyParameter extends {}, + Response extends {}, + ErrorResponse extends {} +>(...HttpParameters): Response | ErrorResponse; diff --git a/specification/postgresql/DBforPostgreSQL.Management/main.tsp b/specification/postgresql/DBforPostgreSQL.Management/main.tsp new file mode 100644 index 000000000000..9e04ab04704b --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/main.tsp @@ -0,0 +1,81 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.4 + * Date: 2025-08-05T07:18:59.792Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./AdministratorMicrosoftEntra.tsp"; +import "./AdvancedThreatProtectionSettingsModel.tsp"; +import "./BackupAutomaticAndOnDemand.tsp"; +import "./Configuration.tsp"; +import "./Database.tsp"; +import "./FirewallRule.tsp"; +import "./BackupsLongTermRetentionOperation.tsp"; +import "./Migration.tsp"; +import "./PrivateEndpointConnection.tsp"; +import "./PrivateLinkResource.tsp"; +import "./Server.tsp"; +import "./TuningOptions.tsp"; +import "./VirtualEndpoint.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armProviderNamespace +@service(#{ title: "PostgreSQLManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) +namespace Microsoft.DBforPostgreSQL; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-06-01-preview API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2025_06_01_preview: "2025-06-01-preview", +} + +/** + * This is the interface that implements the standard Azure Resource Manager operation that returns + * all supported RP operations. You should have exactly one declaration for each + * Azure Resource Manager service. It implements + * GET "/providers/Microsoft.ContosoProviderHub/operations" + */ +interface Operations { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @tag("Operations") + @autoRoute + @doc("List the operations for the provider") + @segment("operations") + @list + @get + list( + ...ApiVersionParameter, + + @path + @segment("providers") + @doc("The provider namespace (this parameter will not show up in operations).") + provider: "Microsoft.ThisWillBeReplaced", + ): ArmResponse | ErrorResponse; +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/models.tsp b/specification/postgresql/DBforPostgreSQL.Management/models.tsp new file mode 100644 index 000000000000..814500cadba1 --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/models.tsp @@ -0,0 +1,3502 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.DBforPostgreSQL; + +/** + * Type of Microsoft Entra principal to which the server administrator is associated. + */ +union PrincipalType { + string, + + /** + * The principal type is not known or not specified. + */ + Unknown: "Unknown", + + /** + * A Microsoft Entra user. + */ + User: "User", + + /** + * A Microsoft Entra group. + */ + Group: "Group", + + /** + * A Microsoft Entra service principal, typically representing an application or service identity + */ + ServicePrincipal: "ServicePrincipal", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ThreatProtectionName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Default: "Default", +} + +/** + * Type of backup. + */ +union BackupType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Full: "Full", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Customer On-Demand`: "Customer On-Demand", +} + +/** + * Modes of high availability supported for this compute. + */ +union HighAvailabilityMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ZoneRedundant: "ZoneRedundant", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SameZone: "SameZone", +} + +/** + * Status of the feature. Indicates if the feature is enabled or not. + */ +union FeatureStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if fast provisioning is supported. 'Enabled' means fast provisioning is supported. 'Disabled' stands for fast provisioning is not supported. Will be deprecated in the future. Look to Supported Features for 'FastProvisioning'. + */ +union FastProvisioningSupport { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if geographically redundant backups are supported in this location. 'Enabled' means geographically redundant backups are supported. 'Disabled' stands for geographically redundant backup is not supported. Will be deprecated in the future. Look to Supported Features for 'GeoBackup'. + */ +union GeographicallyRedundantBackupSupport { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'. + */ +union ZoneRedundantHighAvailabilitySupport { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'. + */ +union ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'. + */ +union StorageAutoGrowthSupport { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'. + */ +union OnlineStorageResizeSupport { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'. + */ +union LocationRestricted { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Data type of the configuration (also known as server parameter). + */ +union ConfigurationDataType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Boolean: "Boolean", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Numeric: "Numeric", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Integer: "Integer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enumeration: "Enumeration", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + String: "String", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Set: "Set", +} + +/** + * Service-set extensible enum indicating the status of operation + */ +union ExecutionStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cancelled: "Cancelled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", +} + +/** + * State of migration. + */ +union MigrationState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForUserAction: "WaitingForUserAction", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidationFailed: "ValidationFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CleaningUp: "CleaningUp", +} + +/** + * Substate of migration. + */ +union MigrationSubstate { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PerformingPreRequisiteSteps: "PerformingPreRequisiteSteps", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForLogicalReplicationSetupRequestOnSourceDB: "WaitingForLogicalReplicationSetupRequestOnSourceDB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForDBsToMigrateSpecification: "WaitingForDBsToMigrateSpecification", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForTargetDBOverwriteConfirmation: "WaitingForTargetDBOverwriteConfirmation", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForDataMigrationScheduling: "WaitingForDataMigrationScheduling", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForDataMigrationWindow: "WaitingForDataMigrationWindow", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MigratingData: "MigratingData", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForCutoverTrigger: "WaitingForCutoverTrigger", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CompletingMigration: "CompletingMigration", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Completed: "Completed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CancelingRequestedDBMigrations: "CancelingRequestedDBMigrations", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidationInProgress: "ValidationInProgress", +} + +/** + * Migration state of a database. + */ +union MigrationDatabaseState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForCutoverTrigger: "WaitingForCutoverTrigger", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceling: "Canceling", +} + +/** + * Validation status for migration. + */ +union ValidationState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Warning: "Warning", +} + +/** + * Mode used to perform the migration: Online or Offline. + */ +union MigrationMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Online: "Online", +} + +/** + * Supported option for a migration + */ +union MigrationOption { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Validate: "Validate", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Migrate: "Migrate", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidateAndMigrate: "ValidateAndMigrate", +} + +/** + * Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL + */ +union SourceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OnPremises: "OnPremises", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AWS: "AWS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GCP: "GCP", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureVM: "AzureVM", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PostgreSQLSingleServer: "PostgreSQLSingleServer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AWS_RDS: "AWS_RDS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AWS_AURORA: "AWS_AURORA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AWS_EC2: "AWS_EC2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GCP_CloudSQL: "GCP_CloudSQL", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GCP_AlloyDB: "GCP_AlloyDB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GCP_Compute: "GCP_Compute", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EDB: "EDB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EDB_Oracle_Server: "EDB_Oracle_Server", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EDB_PostgreSQL: "EDB_PostgreSQL", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PostgreSQLFlexibleServer: "PostgreSQLFlexibleServer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PostgreSQLCosmosDB: "PostgreSQLCosmosDB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Huawei_RDS: "Huawei_RDS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Huawei_Compute: "Huawei_Compute", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Heroku_PostgreSQL: "Heroku_PostgreSQL", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Crunchy_PostgreSQL: "Crunchy_PostgreSQL", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ApsaraDB_RDS: "ApsaraDB_RDS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Digital_Ocean_Droplets: "Digital_Ocean_Droplets", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Digital_Ocean_PostgreSQL: "Digital_Ocean_PostgreSQL", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Supabase_PostgreSQL: "Supabase_PostgreSQL", +} + +/** + * SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'. + */ +union SslMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Prefer: "Prefer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Require: "Require", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + VerifyCA: "VerifyCA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + VerifyFull: "VerifyFull", +} + +/** + * Tier of the compute assigned to a server. + */ +union SkuTier { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Burstable: "Burstable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeneralPurpose: "GeneralPurpose", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MemoryOptimized: "MemoryOptimized", +} + +/** + * Indicates whether to setup logical replication on source server, if needed. + */ +union LogicalReplicationOnSourceServer { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +/** + * Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + */ +union OverwriteDatabasesOnTargetServer { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +/** + * Indicates if roles and permissions must be migrated. + */ +union MigrateRolesAndPermissions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +/** + * Indicates if data migration must start right away. + */ +union StartDataMigration { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +/** + * Indicates if cutover must be triggered for the entire migration. + */ +union TriggerCutover { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +/** + * Indicates if cancel must be triggered for the entire migration. + */ +union Cancel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union MigrationListFilter { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + All: "All", +} + +/** + * Migration name availability reason. + */ +union MigrationNameAvailabilityReason { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AlreadyExists: "AlreadyExists", +} + +/** + * The reason why the given name is not available. + */ +union CheckNameAvailabilityReason { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AlreadyExists: "AlreadyExists", +} + +/** + * Intended executor of the operation. + */ +union OperationOrigin { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + user: "user", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + system: "system", +} + +/** + * Types of identities associated with a server. + */ +union IdentityType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UserAssigned: "UserAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `SystemAssigned,UserAssigned`: "SystemAssigned,UserAssigned", +} + +/** + * Major version of PostgreSQL database engine. + */ +union PostgresMajorVersion { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `17`: "17", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `16`: "16", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `15`: "15", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `14`: "14", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `13`: "13", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `12`: "12", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `11`: "11", +} + +/** + * Possible states of a server. + */ +union ServerState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Ready: "Ready", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Dropping: "Dropping", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Starting: "Starting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stopping: "Stopping", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stopped: "Stopped", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Restarting: "Restarting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inaccessible: "Inaccessible", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Provisioning: "Provisioning", +} + +/** + * Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + */ +union StorageAutoGrow { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Storage tier of a server. + */ +union AzureManagedDiskPerformanceTier { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P1: "P1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P2: "P2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P3: "P3", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P4: "P4", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P6: "P6", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P10: "P10", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P15: "P15", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P20: "P20", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P30: "P30", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P40: "P40", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P50: "P50", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P60: "P60", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P70: "P70", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + P80: "P80", +} + +/** + * Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS. + */ +union StorageType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Premium_LRS: "Premium_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PremiumV2_LRS: "PremiumV2_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UltraSSD_LRS: "UltraSSD_LRS", +} + +/** + * Indicates if the server supports Microsoft Entra authentication. + */ +union MicrosoftEntraAuth { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if the server supports password based authentication. + */ +union PasswordBasedAuth { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Data encryption type used by a server. + */ +union DataEncryptionType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemManaged: "SystemManaged", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureKeyVault: "AzureKeyVault", +} + +/** + * Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server. + */ +union EncryptionKeyStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Valid: "Valid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", +} + +/** + * Indicates if the server is configured to create geographically redundant backups. + */ +union GeographicallyRedundantBackup { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates if public network access is enabled or not. + */ +union ServerPublicNetworkAccessState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. + */ +union HighAvailabilityState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotEnabled: "NotEnabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CreatingStandby: "CreatingStandby", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReplicatingData: "ReplicatingData", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FailingOver: "FailingOver", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Healthy: "Healthy", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RemovingStandby: "RemovingStandby", +} + +/** + * Role of the server in a replication set. + */ +union ReplicationRole { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Primary: "Primary", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AsyncReplica: "AsyncReplica", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeoAsyncReplica: "GeoAsyncReplica", +} + +/** + * Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating + */ +union ReplicationState { + string, + + /** + * The read replica server is fully synchronized and actively replicating data from the primary server. + */ + Active: "Active", + + /** + * The read replica server is behind the primary server and is currently catching up with pending changes. + */ + Catchup: "Catchup", + + /** + * The read replica server is being created and is in process of getting initialized. + */ + Provisioning: "Provisioning", + + /** + * The read replica server is undergoing some changes it can be changing compute size of promoting it to primary server. + */ + Updating: "Updating", + + /** + * Replication has failed or been interrupted. + */ + Broken: "Broken", + + /** + * The read replica server is being reconfigured, possibly due to changes in source or settings. + */ + Reconfiguring: "Reconfiguring", +} + +/** + * Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server. + */ +union ReadReplicaPromoteMode { + string, + + /** + * Read replica will become an independent server. + */ + Standalone: "Standalone", + + /** + * Read replica will swap roles with primary server. + */ + Switchover: "Switchover", +} + +/** + * Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only. + */ +union ReadReplicaPromoteOption { + string, + + /** + * The operation will wait for data in the read replica to be fully synchronized with its source server, before it initiates the operation. + */ + Planned: "Planned", + + /** + * The operation will not wait for data in the read replica to be synchronized with its source server, before it initiates the operation. + */ + Forced: "Forced", +} + +/** + * Creation mode of a new server. + */ +union CreateMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Create: "Create", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Update: "Update", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PointInTimeRestore: "PointInTimeRestore", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeoRestore: "GeoRestore", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Replica: "Replica", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReviveDropped: "ReviveDropped", +} + +/** + * Update mode of an existing server. + */ +union CreateModeForPatch { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Update: "Update", +} + +/** + * Failover mode. + */ +union FailoverMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PlannedFailover: "PlannedFailover", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ForcedFailover: "ForcedFailover", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PlannedSwitchover: "PlannedSwitchover", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ForcedSwitchover: "ForcedSwitchover", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union TuningOption { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + index: "index", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + table: "table", +} + +/** + * Type for this recommendation. + */ +union RecommendationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CreateIndex: "CreateIndex", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DropIndex: "DropIndex", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReIndex: "ReIndex", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AnalyzeTable: "AnalyzeTable", +} + +/** + * Type of endpoint for the virtual endpoints. + */ +union VirtualEndpointType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadWrite: "ReadWrite", +} + +/** + * Level of details of a migration. + */ +union MigrationDetailsLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Summary: "Summary", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Full: "Full", +} + +/** + * Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ThreatProtectionState { + Enabled, + Disabled, +} + +/** + * The status of the capability. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum CapabilityStatus { + Visible, + Available, + Default, + Disabled, +} + +/** + * Server administrator associated to a Microsoft Entra principal. + */ +model AdministratorMicrosoftEntraAdd { + /** + * Properties of the server administrator associated to a Microsoft Entra principal. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: AdministratorMicrosoftEntraPropertiesForAdd; +} + +/** + * Properties of a server administrator associated to a Microsoft Entra principal. + */ +model AdministratorMicrosoftEntraPropertiesForAdd { + /** + * Type of Microsoft Entra principal to which the server administrator is associated. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + principalType?: PrincipalType; + + /** + * Name of the Microsoft Entra principal. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + principalName?: string; + + /** + * Identifier of the tenant in which the Microsoft Entra principal exists. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + tenantId?: string; +} + +/** + * Properties of a server administrator associated to a Microsoft Entra principal. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AdministratorMicrosoftEntraProperties { + /** + * Type of Microsoft Entra principal to which the server administrator is associated. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + principalType?: PrincipalType; + + /** + * Name of the Microsoft Entra principal. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + principalName?: string; + + /** + * Object identifier of the Microsoft Entra principal. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + objectId?: string; + + /** + * Identifier of the tenant in which the Microsoft Entra principal exists. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tenantId?: string; +} + +/** + * List of server administrators associated to Microsoft Entra principals. + */ +model AdministratorMicrosoftEntraList + is Azure.Core.Page; + +/** + * List of advanced threat protection settings for a server. + */ +model AdvancedThreatProtectionSettingsList + is Azure.Core.Page; + +/** + * Properties of advanced threat protection state for a server. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AdvancedThreatProtectionSettingsProperties { + /** + * Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + */ + state: ThreatProtectionState; + + /** + * Specifies the creation time (UTC) of the policy. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; +} + +/** + * Properties of a backup. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BackupAutomaticAndOnDemandProperties { + /** + * Type of backup. + */ + backupType?: BackupType; + + /** + * Time(ISO8601 format) at which the backup was completed. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + completedTime?: utcDateTime; + + /** + * Source of the backup. + */ + source?: string; +} + +/** + * List of backups. + */ +model BackupAutomaticAndOnDemandList + is Azure.Core.Page; + +/** + * List of capabilities for the Azure Database for PostgreSQL flexible server. + */ +model CapabilityList is Azure.Core.Page; + +/** + * Capability for the Azure Database for PostgreSQL flexible server. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Capability extends CapabilityBase { + /** + * Name of flexible servers capabilities. + */ + name?: string; + + /** + * List of supported compute tiers. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedServerEditions?: ServerEditionCapability[]; + + /** + * List of supported major versions of PostgreSQL database engine. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedServerVersions?: ServerVersionCapability[]; + + /** + * Features supported. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedFeatures?: SupportedFeature[]; + + /** + * Indicates if fast provisioning is supported. 'Enabled' means fast provisioning is supported. 'Disabled' stands for fast provisioning is not supported. Will be deprecated in the future. Look to Supported Features for 'FastProvisioning'. + */ + @visibility(Lifecycle.Read) + fastProvisioningSupported?: FastProvisioningSupport; + + /** + * List of compute tiers supporting fast provisioning. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["supportedSku"]) + supportedFastProvisioningEditions?: FastProvisioningEditionCapability[]; + + /** + * Indicates if geographically redundant backups are supported in this location. 'Enabled' means geographically redundant backups are supported. 'Disabled' stands for geographically redundant backup is not supported. Will be deprecated in the future. Look to Supported Features for 'GeoBackup'. + */ + @visibility(Lifecycle.Read) + geoBackupSupported?: GeographicallyRedundantBackupSupport; + + /** + * Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'. + */ + @visibility(Lifecycle.Read) + zoneRedundantHaSupported?: ZoneRedundantHighAvailabilitySupport; + + /** + * Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'. + */ + @visibility(Lifecycle.Read) + zoneRedundantHaAndGeoBackupSupported?: ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport; + + /** + * Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'. + */ + @visibility(Lifecycle.Read) + storageAutoGrowthSupported?: StorageAutoGrowthSupport; + + /** + * Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'. + */ + @visibility(Lifecycle.Read) + onlineResizeSupported?: OnlineStorageResizeSupport; + + /** + * Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'. + */ + @visibility(Lifecycle.Read) + restricted?: LocationRestricted; +} + +/** + * Capabilities in terms of compute tier. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ServerEditionCapability extends CapabilityBase { + /** + * Name of compute tier. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Default compute name (SKU) for this computer tier. + */ + @visibility(Lifecycle.Read) + defaultSkuName?: string; + + /** + * List of storage editions supported by this compute tier and compute name. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedStorageEditions?: StorageEditionCapability[]; + + /** + * List of supported compute names (SKUs). + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedServerSkus?: ServerSkuCapability[]; +} + +/** + * Capabilities in terms of storage tier. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageEditionCapability extends CapabilityBase { + /** + * Name of storage tier. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Default storage size (in MB) for this storage tier. + */ + @visibility(Lifecycle.Read) + defaultStorageSizeMb?: int64; + + /** + * Configurations of storage supported for this storage tier. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["storageSizeMb"]) + supportedStorageMb?: StorageMbCapability[]; +} + +/** + * Storage size (in MB) capability. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageMbCapability extends CapabilityBase { + /** + * Minimum IOPS supported by the storage size. + */ + @visibility(Lifecycle.Read) + supportedIops?: int32; + + /** + * Maximum IOPS supported by the storage size. + */ + @visibility(Lifecycle.Read) + supportedMaximumIops?: int32; + + /** + * Minimum supported size (in MB) of storage. + */ + @visibility(Lifecycle.Read) + storageSizeMb?: int64; + + /** + * Maximum supported size (in MB) of storage. + */ + @visibility(Lifecycle.Read) + maximumStorageSizeMb?: int64; + + /** + * Minimum supported throughput (in MB/s) of storage. + */ + @visibility(Lifecycle.Read) + supportedThroughput?: int32; + + /** + * Maximum supported throughput (in MB/s) of storage. + */ + @visibility(Lifecycle.Read) + supportedMaximumThroughput?: int32; + + /** + * Default IOPS for this tier and storage size. + */ + @visibility(Lifecycle.Read) + defaultIopsTier?: string; + + /** + * List of all supported storage tiers for this tier and storage size. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedIopsTiers?: StorageTierCapability[]; +} + +/** + * Capability of a storage tier. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageTierCapability extends CapabilityBase { + /** + * Name of the storage tier. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Supported IOPS for the storage tier. + */ + @visibility(Lifecycle.Read) + iops?: int32; +} + +/** + * Base object for representing capability + */ +model CapabilityBase { + /** + * The status of the capability. + */ + @visibility(Lifecycle.Read) + status?: CapabilityStatus; + + /** + * The reason for the capability not being available. + */ + @visibility(Lifecycle.Read) + reason?: string; +} + +/** + * Capabilities in terms of compute. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ServerSkuCapability extends CapabilityBase { + /** + * Name of the compute (SKU). + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * vCores available for this compute. + */ + @visibility(Lifecycle.Read) + vCores?: int32; + + /** + * Maximum IOPS supported by this compute. + */ + @visibility(Lifecycle.Read) + supportedIops?: int32; + + /** + * Supported memory (in MB) per virtual core assigned to this compute. + */ + @visibility(Lifecycle.Read) + supportedMemoryPerVcoreMb?: int64; + + /** + * List of supported availability zones. E.g. '1', '2', '3' + */ + @visibility(Lifecycle.Read) + supportedZones?: string[]; + + /** + * Modes of high availability supported for this compute. + */ + @visibility(Lifecycle.Read) + supportedHaMode?: HighAvailabilityMode[]; + + /** + * Features supported. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedFeatures?: SupportedFeature[]; + + /** + * Security profile of the compute. Indicates if it's a Confidential Compute virtual machine. + */ + @visibility(Lifecycle.Read) + securityProfile?: string; +} + +/** + * Features supported. + */ +model SupportedFeature { + /** + * Name of the feature. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Status of the feature. Indicates if the feature is enabled or not. + */ + @visibility(Lifecycle.Read) + status?: FeatureStatus; +} + +/** + * Capabilities in terms of major versions of PostgreSQL database engine. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ServerVersionCapability extends CapabilityBase { + /** + * Major version of PostgreSQL database engine. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Major versions of PostgreSQL database engine to which this version can be automatically upgraded. + */ + @visibility(Lifecycle.Read) + supportedVersionsToUpgrade?: string[]; + + /** + * Features supported. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["name"]) + supportedFeatures?: SupportedFeature[]; +} + +/** + * Capability of a fast provisioning compute tier. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FastProvisioningEditionCapability extends CapabilityBase { + /** + * Compute tier supporting fast provisioning. + */ + @visibility(Lifecycle.Read) + supportedTier?: string; + + /** + * Compute name (SKU) supporting fast provisioning. + */ + @visibility(Lifecycle.Read) + supportedSku?: string; + + /** + * Storage size (in GB) supporting fast provisioning. + */ + @visibility(Lifecycle.Read) + supportedStorageGb?: int32; + + /** + * Major version of PostgreSQL database engine supporting fast provisioning. + */ + @visibility(Lifecycle.Read) + supportedServerVersions?: string; + + /** + * Count of servers in cache matching this specification. + */ + @visibility(Lifecycle.Read) + serverCount?: int32; +} + +/** + * List of log files. + */ +model CapturedLogList is Azure.Core.Page; + +/** + * Log file. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model CapturedLog extends Azure.ResourceManager.CommonTypes.ProxyResource { + /** + * Properties of a log file. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: CapturedLogProperties; +} + +/** + * Properties of a log file. + */ +model CapturedLogProperties { + /** + * Creation timestamp of the log file. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdTime?: utcDateTime; + + /** + * Last modified timestamp of the log file. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * Size (in KB) of the log file. + */ + sizeInKb?: int64; + + /** + * Type of log file. Can be 'ServerLogs' or 'UpgradeLogs'. + */ + type?: string; + + /** + * URL to download the log file from. + */ + url?: string; +} + +/** + * List of configurations (also known as server parameters). + */ +model ConfigurationList is Azure.Core.Page; + +/** + * Properties of a configuration (also known as server parameter). + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ConfigurationProperties { + /** + * Value of the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration. + */ + value?: string; + + /** + * Description of the configuration (also known as server parameter). + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * Value assigned by default to the configuration (also known as server parameter). + */ + @visibility(Lifecycle.Read) + defaultValue?: string; + + /** + * Data type of the configuration (also known as server parameter). + */ + @visibility(Lifecycle.Read) + dataType?: ConfigurationDataType; + + /** + * Allowed values of the configuration (also known as server parameter). + */ + @visibility(Lifecycle.Read) + allowedValues?: string; + + /** + * Source of the value assigned to the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration. + */ + source?: string; + + /** + * Indicates if it's a dynamic (true) or static (false) configuration (also known as server parameter). Static server parameters require a server restart after changing the value assigned to them, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to them, for the change to take effect. + */ + @visibility(Lifecycle.Read) + isDynamicConfig?: boolean; + + /** + * Indicates if it's a read-only (true) or modifiable (false) configuration (also known as server parameter). + */ + @visibility(Lifecycle.Read) + isReadOnly?: boolean; + + /** + * Indicates if the value assigned to the configuration (also known as server parameter) is pending a server restart for it to take effect. + */ + @visibility(Lifecycle.Read) + isConfigPendingRestart?: boolean; + + /** + * Units in which the configuration (also known as server parameter) value is expressed. + */ + @visibility(Lifecycle.Read) + unit?: string; + + /** + * Link pointing to the documentation of the configuration (also known as server parameter). + */ + @visibility(Lifecycle.Read) + documentationLink?: string; +} + +/** + * Configuration (also known as server parameter). + */ +model ConfigurationForUpdate { + /** + * Properties of a configuration (also known as server parameter). + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ConfigurationProperties; +} + +/** + * Properties of a database. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DatabaseProperties { + /** + * Character set of the database. + */ + @pattern("^[a-zA-Z]+\\w*$") + charset?: string; + + /** + * Collation of the database. + */ + @pattern("^[a-zA-Z\\-]+([. ]|\\w)*$") + collation?: string; +} + +/** + * List of all databases in a server. + */ +model DatabaseList is Azure.Core.Page; + +/** + * Properties of a firewall rule. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FirewallRuleProperties { + /** + * IP address defining the start of the range of addresses of a firewall rule. Must be expressed in 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])$") + startIpAddress: string; + + /** + * IP address defining the end of the range of addresses of a firewall rule. Must be expressed in 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])$") + endIpAddress: string; +} + +/** + * List of firewall rules. + */ +model FirewallRuleList is Azure.Core.Page; + +/** + * A request that is made for pre-backup. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model LtrPreBackupRequest extends BackupRequestBase {} + +/** + * BackupRequestBase is the base for all backup request. + */ +model BackupRequestBase { + /** + * Backup Settings + */ + backupSettings: BackupSettings; +} + +/** + * The settings for the long term backup. + */ +model BackupSettings { + /** + * Backup Name for the current backup + */ + backupName: string; +} + +/** + * Response for the LTR pre-backup API call + */ +model LtrPreBackupResponse { + /** + * Additional Properties for the pre backup response + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: BackupsLongTermRetentionResponseProperties; +} + +/** + * Response for the pre-backup request. + */ +model BackupsLongTermRetentionResponseProperties { + /** + * Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc. + */ + numberOfContainers: int32; +} + +/** + * The request that is made for a long term retention backup. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BackupsLongTermRetentionRequest extends BackupRequestBase { + /** + * Backup store detail for target server + */ + targetDetails: BackupStoreDetails; +} + +/** + * Details about the target where the backup content will be stored. + */ +model BackupStoreDetails { + /** + * List of SAS uri of storage containers where backup data is to be streamed/copied. + */ + sasUriList: string[]; +} + +/** + * Response for the LTR backup API call + */ +model BackupsLongTermRetentionResponse { + /** + * Long Term Retention Backup Operation Resource Properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: LtrBackupOperationResponseProperties; +} + +/** + * Response for the backup request. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model LtrBackupOperationResponseProperties { + /** + * Size of datasource in bytes + */ + datasourceSizeInBytes?: int64; + + /** + * Data transferred in bytes + */ + dataTransferredInBytes?: int64; + + /** + * Name of Backup operation + */ + backupName?: string; + + /** + * Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc + */ + backupMetadata?: string; + + /** + * Service-set extensible enum indicating the status of operation + */ + status: ExecutionStatus; + + /** + * Start time of the operation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime: utcDateTime; + + /** + * End time of the operation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * PercentageCompleted + */ + @minValue(0) + @maxValue(100) + percentComplete?: float64; + + /** + * The error code. + */ + @visibility(Lifecycle.Read) + errorCode?: string; + + /** + * The error message. + */ + @visibility(Lifecycle.Read) + errorMessage?: string; +} + +/** + * A list of long term retention backup operations for server. + */ +model LtrServerBackupOperationList + is Azure.Core.Page; + +/** + * Migration. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MigrationProperties { + /** + * Identifier of a migration. + */ + @visibility(Lifecycle.Read) + migrationId?: string; + + /** + * Current status of a migration. + */ + @visibility(Lifecycle.Read) + currentStatus?: MigrationStatus; + + /** + * Identifier of the private endpoint migration instance. + */ + migrationInstanceResourceId?: Azure.Core.armResourceIdentifier; + + /** + * Mode used to perform the migration: Online or Offline. + */ + migrationMode?: MigrationMode; + + /** + * Supported option for a migration. + */ + migrationOption?: MigrationOption; + + /** + * Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL + */ + sourceType?: SourceType; + + /** + * SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'. + */ + sslMode?: SslMode; + + /** + * Metadata of source database server. + */ + @visibility(Lifecycle.Read) + sourceDbServerMetadata?: DbServerMetadata; + + /** + * Metadata of target database server. + */ + @visibility(Lifecycle.Read) + targetDbServerMetadata?: DbServerMetadata; + + @doc("Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.") + sourceDbServerResourceId?: string; + + /** + * Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server. + */ + sourceDbServerFullyQualifiedDomainName?: string; + + /** + * Identifier of the target database server resource. + */ + @visibility(Lifecycle.Read) + targetDbServerResourceId?: string; + + /** + * Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server. + */ + targetDbServerFullyQualifiedDomainName?: string; + + /** + * Migration secret parameters. + */ + secretParameters?: MigrationSecretParameters; + + /** + * Names of databases to migrate. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + @maxItems(50) + dbsToMigrate?: string[]; + + /** + * Indicates whether to setup logical replication on source server, if needed. + */ + setupLogicalReplicationOnSourceDbIfNeeded?: LogicalReplicationOnSourceServer; + + /** + * Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + */ + overwriteDbsInTarget?: OverwriteDatabasesOnTargetServer; + + /** + * Start time (UTC) for migration window. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + migrationWindowStartTimeInUtc?: utcDateTime; + + /** + * End time (UTC) for migration window. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + migrationWindowEndTimeInUtc?: utcDateTime; + + /** + * Indicates if roles and permissions must be migrated. + */ + migrateRoles?: MigrateRolesAndPermissions; + + /** + * Indicates if data migration must start right away. + */ + startDataMigration?: StartDataMigration; + + /** + * Indicates if cutover must be triggered for the entire migration. + */ + triggerCutover?: TriggerCutover; + + /** + * When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + dbsToTriggerCutoverOn?: string[]; + + /** + * Indicates if cancel must be triggered for the entire migration. + */ + cancel?: Cancel; + + /** + * When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + dbsToCancelMigrationOn?: string[]; +} + +/** + * State of migration. + */ +model MigrationStatus { + /** + * State of migration. + */ + @visibility(Lifecycle.Read) + state?: MigrationState; + + /** + * Error message, if any, for the migration state. + */ + @visibility(Lifecycle.Read) + error?: string; + + /** + * Current migration sub state details. + */ + @visibility(Lifecycle.Read) + currentSubStateDetails?: MigrationSubstateDetails; +} + +/** + * Details of migration substate. + */ +model MigrationSubstateDetails { + /** + * Substate of migration. + */ + @visibility(Lifecycle.Read) + currentSubState?: MigrationSubstate; + + /** + * Dictionary of + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + dbDetails?: Record; + + /** + * Details for the validation for migration. + */ + validationDetails?: ValidationDetails; +} + +/** + * Migration state of a database. + */ +model DatabaseMigrationState { + /** + * Name of database. + */ + databaseName?: string; + + /** + * Migration state of a database. + */ + migrationState?: MigrationDatabaseState; + + /** + * Migration operation of a database. + */ + migrationOperation?: string; + + /** + * Start time of a migration state. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startedOn?: utcDateTime; + + /** + * End time of a migration state. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endedOn?: utcDateTime; + + /** + * Number of tables queued for the migration of a database. + */ + fullLoadQueuedTables?: int32; + + /** + * Number of tables encountering errors during the migration of a database. + */ + fullLoadErroredTables?: int32; + + /** + * Number of tables loading during the migration of a database. + */ + fullLoadLoadingTables?: int32; + + /** + * Number of tables loaded during the migration of a database. + */ + fullLoadCompletedTables?: int32; + + /** + * Change Data Capture update counter. + */ + cdcUpdateCounter?: int32; + + /** + * Change Data Capture delete counter. + */ + cdcDeleteCounter?: int32; + + /** + * Change Data Capture insert counter. + */ + cdcInsertCounter?: int32; + + /** + * Change Data Capture applied changes counter. + */ + appliedChanges?: int32; + + /** + * Change Data Capture incoming changes counter. + */ + incomingChanges?: int32; + + /** + * Lag in seconds between source and target during online phase. + */ + latency?: int32; + + /** + * Error message, if any, for the migration state. + */ + message?: string; +} + +/** + * Details for the validation for migration. + */ +model ValidationDetails { + /** + * Validation status for migration. + */ + status?: ValidationState; + + /** + * Start time (UTC) for validation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + validationStartTimeInUtc?: utcDateTime; + + /** + * End time (UTC) for validation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + validationEndTimeInUtc?: utcDateTime; + + /** + * Details of server level validations. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + serverLevelValidationDetails?: ValidationSummaryItem[]; + + /** + * Details of server level validations. + */ + @OpenAPI.extension("x-ms-identifiers", #["databaseName"]) + dbLevelValidationDetails?: DbLevelValidationStatus[]; +} + +/** + * Validation summary object. + */ +model ValidationSummaryItem { + /** + * Validation type. + */ + type?: string; + + /** + * Validation status for migration. + */ + state?: ValidationState; + + /** + * Validation messages. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + messages?: ValidationMessage[]; +} + +/** + * Validation message object. + */ +model ValidationMessage { + /** + * Severity of validation message. + */ + state?: ValidationState; + + /** + * Validation message string. + */ + message?: string; +} + +/** + * Validation status summary for a database. + */ +model DbLevelValidationStatus { + /** + * Name of database. + */ + databaseName?: string; + + /** + * Start time of a database level validation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startedOn?: utcDateTime; + + /** + * End time of a database level validation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endedOn?: utcDateTime; + + /** + * Summary of database level validations. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + summary?: ValidationSummaryItem[]; +} + +/** + * Database server metadata. + */ +model DbServerMetadata { + /** + * Location of database server. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * Major version of PostgreSQL database engine. + */ + version?: string; + + /** + * Storage size (in MB) for database server. + */ + storageMb?: int32; + + /** + * Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server. + */ + sku?: ServerSku; +} + +/** + * Compute information of a server. + */ +model ServerSku { + /** + * Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server. + */ + name?: string; + + /** + * Tier of the compute assigned to a server. + */ + tier?: SkuTier; +} + +/** + * Migration secret parameters. + */ +model MigrationSecretParameters { + /** + * Credentials of administrator users for source and target servers. + */ + adminCredentials: AdminCredentials; + + /** + * Gets or sets the name of the user for the source server. This user doesn't need to be an administrator. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + sourceServerUsername?: string; + + /** + * Gets or sets the name of the user for the target server. This user doesn't need to be an administrator. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + targetServerUsername?: string; +} + +/** + * Credentials of administrator users for source and target servers. + */ +model AdminCredentials { + /** + * Password for the user of the source server. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + @secret + sourceServerPassword: string; + + /** + * Password for the user of the target server. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + @secret + targetServerPassword: string; +} + +/** + * Migration. + */ +model MigrationResourceForPatch { + /** + * Migration properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: MigrationPropertiesForPatch; + + /** + * Application-specific metadata in the form of key-value pairs. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; +} + +/** + * Migration properties. + */ +model MigrationPropertiesForPatch { + @doc("Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.") + sourceDbServerResourceId?: string; + + /** + * Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server. + */ + sourceDbServerFullyQualifiedDomainName?: string; + + /** + * Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server. + */ + targetDbServerFullyQualifiedDomainName?: string; + + /** + * Migration secret parameters. + */ + secretParameters?: MigrationSecretParametersForPatch; + + /** + * Names of databases to migrate. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + @maxItems(50) + dbsToMigrate?: string[]; + + /** + * Indicates whether to setup logical replication on source server, if needed. + */ + setupLogicalReplicationOnSourceDbIfNeeded?: LogicalReplicationOnSourceServer; + + /** + * Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + */ + overwriteDbsInTarget?: OverwriteDatabasesOnTargetServer; + + /** + * Start time (UTC) for migration window. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + migrationWindowStartTimeInUtc?: utcDateTime; + + /** + * Indicates if roles and permissions must be migrated. + */ + migrateRoles?: MigrateRolesAndPermissions; + + /** + * Indicates if data migration must start right away. + */ + startDataMigration?: StartDataMigration; + + /** + * Indicates if cutover must be triggered for the entire migration. + */ + triggerCutover?: TriggerCutover; + + /** + * When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + dbsToTriggerCutoverOn?: string[]; + + /** + * Indicates if cancel must be triggered for the entire migration. + */ + cancel?: Cancel; + + /** + * When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + dbsToCancelMigrationOn?: string[]; + + /** + * Mode used to perform the migration: Online or Offline. + */ + migrationMode?: MigrationMode; +} + +/** + * Migration secret parameters. + */ +model MigrationSecretParametersForPatch { + /** + * Credentials of administrator users for source and target servers. + */ + adminCredentials?: AdminCredentialsForPatch; + + /** + * Gets or sets the name of the user for the source server. This user doesn't need to be an administrator. + */ + @visibility(Lifecycle.Update) + sourceServerUsername?: string; + + /** + * Gets or sets the name of the user for the target server. This user doesn't need to be an administrator. + */ + @visibility(Lifecycle.Update) + targetServerUsername?: string; +} + +/** + * Credentials of administrator users for source and target servers. + */ +model AdminCredentialsForPatch { + /** + * Password for the user of the source server. + */ + @visibility(Lifecycle.Update) + @secret + sourceServerPassword?: string; + + /** + * Password for the user of the target server. + */ + @visibility(Lifecycle.Update) + @secret + targetServerPassword?: string; +} + +/** + * List of migrations. + */ +model MigrationList is Azure.Core.Page; + +/** + * Availability of a migration name. + */ +model MigrationNameAvailability { + /** + * Name of the migration to check for validity and availability. + */ + name: string; + + /** + * Type of resource. + */ + type: string; + + /** + * Indicates if the migration name is available. + */ + @visibility(Lifecycle.Read) + nameAvailable?: boolean; + + /** + * Migration name availability reason. + */ + @visibility(Lifecycle.Read) + reason?: MigrationNameAvailabilityReason; + + /** + * Migration name availability message. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * Availability of a name. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model NameAvailabilityModel + extends Azure.ResourceManager.CommonTypes.CheckNameAvailabilityResponse { + /** + * Name for which validity and availability was checked. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Type of resource. It can be 'Microsoft.DBforPostgreSQL/flexibleServers' or 'Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints'. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * REST API operation definition. + */ +model Operation { + /** + * Name of the operation being performed on this particular object. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Localized display information for this particular operation or action. + */ + @visibility(Lifecycle.Read) + display?: OperationDisplay; + + /** + * Indicates if the operation is a data action. + */ + isDataAction?: boolean; + + /** + * Intended executor of the operation. + */ + @visibility(Lifecycle.Read) + origin?: OperationOrigin; + + /** + * Additional descriptions for the operation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + properties?: Record; +} + +/** + * Display metadata associated with the operation. + */ +model OperationDisplay { + /** + * Name of the resource provider. + */ + @visibility(Lifecycle.Read) + provider?: string; + + /** + * Type of resource on which the operation is performed. + */ + @visibility(Lifecycle.Read) + resource?: string; + + /** + * Name of the operation. + */ + @visibility(Lifecycle.Read) + operation?: string; + + /** + * Description of the operation. + */ + @visibility(Lifecycle.Read) + description?: string; +} + +/** + * List of private endpoint connections. + */ +model PrivateEndpointConnectionList + is Azure.Core.Page; + +/** + * A list of private link resources + */ +model PrivateLinkResourceList is Azure.Core.Page; + +/** + * Capability for the PostgreSQL server + */ +model QuotaUsageList is Azure.Core.Page; + +/** + * Quota usage for servers + */ +model QuotaUsage { + /** + * Name of quota usage for servers + */ + name?: NameProperty; + + /** + * Quota limit + */ + limit?: int64; + + /** + * Quota unit + */ + unit?: string = "Count"; + + /** + * Current Quota usage value + */ + currentValue?: int64; + + /** + * Fully qualified ARM resource Id + */ + id?: string; +} + +/** + * Name property for quota usage + */ +model NameProperty { + /** + * Name value + */ + value?: string; + + /** + * Localized name + */ + localizedValue?: string; +} + +/** + * A list of servers. + */ +model ServerList is Azure.Core.Page; + +/** + * Compute information of a server. + */ +model Sku { + /** + * Name by which is known a given compute size assigned to a server. + */ + name: string; + + /** + * Tier of the compute assigned to a server. + */ + tier: SkuTier; +} + +/** + * Identities associated with a server. + */ +model UserAssignedIdentity { + /** + * Map of user assigned managed identities. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + userAssignedIdentities?: Record; + + /** + * Identifier of the object of the service principal associated to the user assigned managed identity. + */ + principalId?: string; + + /** + * Types of identities associated with a server. + */ + type: IdentityType; + + /** + * Identifier of the tenant of a server. + */ + @visibility(Lifecycle.Read) + tenantId?: string; +} + +/** + * User assigned managed identity associated with a server. + */ +model UserIdentity { + /** + * Identifier of the object of the service principal associated to the user assigned managed identity. + */ + principalId?: string; + + /** + * Identifier of the client of the service principal associated to the user assigned managed identity. + */ + clientId?: string; +} + +/** + * Properties of a server. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ServerProperties { + /** + * Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + administratorLogin?: string; + + /** + * Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + @secret + administratorLoginPassword?: string; + + /** + * Major version of PostgreSQL database engine. + */ + version?: PostgresMajorVersion; + + /** + * Minor version of PostgreSQL database engine. + */ + @visibility(Lifecycle.Read) + minorVersion?: string; + + /** + * Possible states of a server. + */ + @visibility(Lifecycle.Read) + state?: ServerState; + + /** + * Fully qualified domain name of a server. + */ + @visibility(Lifecycle.Read) + fullyQualifiedDomainName?: string; + + /** + * Storage properties of a server. + */ + storage?: Storage; + + /** + * Authentication configuration properties of a server. + */ + authConfig?: AuthConfig; + + /** + * Data encryption properties of a server. + */ + dataEncryption?: DataEncryption; + + /** + * Backup properties of a server. + */ + backup?: Backup; + + /** + * Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer. + */ + network?: Network; + + /** + * High availability properties of a server. + */ + highAvailability?: HighAvailability; + + /** + * Maintenance window properties of a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + maintenanceWindow?: MaintenanceWindow; + + /** + * Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + sourceServerResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.DBforPostgreSQL/flexibleServers"; + } + ]>; + + /** + * Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Create) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + pointInTimeUTC?: utcDateTime; + + /** + * Availability zone of a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + availabilityZone?: string = ""; + + /** + * Role of the server in a replication set. + */ + replicationRole?: ReplicationRole; + + /** + * Maximum number of read replicas allowed for a server. + */ + @visibility(Lifecycle.Read) + replicaCapacity?: int32; + + /** + * Read replica properties of a server. Required only in case that you want to promote a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + replica?: Replica; + + /** + * Creation mode of a new server. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + createMode?: CreateMode; + + /** + * List of private endpoint connections associated with the specified server. + */ + @visibility(Lifecycle.Read) + privateEndpointConnections?: PrivateEndpointConnection[]; + + /** + * Cluster properties of a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + cluster?: Cluster; +} + +/** + * Storage properties of a server. + */ +model Storage { + /** + * Size of storage assigned to a server. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + storageSizeGB?: int32; + + /** + * Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + */ + autoGrow?: StorageAutoGrow; + + /** + * Storage tier of a server. + */ + tier?: AzureManagedDiskPerformanceTier; + + /** + * Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + */ + iops?: int32; + + /** + * Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + */ + throughput?: int32; + + /** + * Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS. + */ + type?: StorageType; +} + +/** + * Authentication configuration properties of a server. + */ +model AuthConfig { + /** + * Indicates if the server supports Microsoft Entra authentication. + */ + activeDirectoryAuth?: MicrosoftEntraAuth; + + /** + * Indicates if the server supports password based authentication. + */ + passwordAuth?: PasswordBasedAuth = PasswordBasedAuth.Enabled; + + /** + * Identifier of the tenant of the delegated resource. + */ + tenantId?: string = ""; +} + +/** + * Data encryption properties of a server. + */ +model DataEncryption { + /** + * URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + primaryKeyURI?: string; + + /** + * Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + */ + primaryUserAssignedIdentityId?: string; + + /** + * Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + geoBackupKeyURI?: string; + + /** + * Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + */ + geoBackupUserAssignedIdentityId?: string; + + /** + * Data encryption type used by a server. + */ + type?: DataEncryptionType; + + /** + * Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server. + */ + @visibility(Lifecycle.Read) + primaryEncryptionKeyStatus?: EncryptionKeyStatus; + + /** + * Status of key used by a server configured with data encryption based on customer managed key, to encrypt the geographically redundant storage associated to the server when it is configured to support geographically redundant backups. + */ + @visibility(Lifecycle.Read) + geoBackupEncryptionKeyStatus?: EncryptionKeyStatus; +} + +/** + * Backup properties of a server. + */ +model Backup { + /** + * Backup retention days for the server. + */ + backupRetentionDays?: int32 = 7; + + /** + * Indicates if the server is configured to create geographically redundant backups. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + geoRedundantBackup?: GeographicallyRedundantBackup = GeographicallyRedundantBackup.Disabled; + + /** + * Earliest restore point time (ISO8601 format) for a server. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + earliestRestoreDate?: utcDateTime; +} + +/** + * Network properties of a server. + */ +model Network { + /** + * Indicates if public network access is enabled or not. + */ + publicNetworkAccess?: ServerPublicNetworkAccessState; + + /** + * Resource identifier of the delegated subnet. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + */ + delegatedSubnetResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/virtualNetworks/subnets"; + } + ]>; + + /** + * Identifier of the private DNS zone. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + */ + privateDnsZoneArmResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/privateDnsZones"; + } + ]>; +} + +/** + * High availability properties of a server. + */ +model HighAvailability { + /** + * High availability mode for a server. + */ + mode?: HighAvailabilityMode = HighAvailabilityMode.Disabled; + + /** + * Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. + */ + @visibility(Lifecycle.Read) + state?: HighAvailabilityState; + + /** + * Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + */ + standbyAvailabilityZone?: string = ""; +} + +/** + * Maintenance window properties of a server. + */ +model MaintenanceWindow { + /** + * Indicates whether custom window is enabled or disabled. + */ + customWindow?: string = "Disabled"; + + /** + * Start hour to be used for maintenance window. + */ + startHour?: int32 = 0; + + /** + * Start minute to be used for maintenance window. + */ + startMinute?: int32 = 0; + + /** + * Day of the week to be used for maintenance window. + */ + dayOfWeek?: int32 = 0; +} + +/** + * Replica properties of a server. + */ +model Replica { + /** + * Role of the server in a replication set. + */ + role?: ReplicationRole; + + /** + * Maximum number of read replicas allowed for a server. + */ + @visibility(Lifecycle.Read) + capacity?: int32; + + /** + * Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating + */ + @visibility(Lifecycle.Read) + replicationState?: ReplicationState; + + /** + * Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server. + */ + @visibility(Lifecycle.Update) + promoteMode?: ReadReplicaPromoteMode; + + /** + * Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only. + */ + @visibility(Lifecycle.Update) + promoteOption?: ReadReplicaPromoteOption; +} + +/** + * Cluster properties of a server. + */ +model Cluster { + /** + * Number of nodes assigned to the elastic cluster. + */ + clusterSize?: int32 = 0; + + /** + * Default database name for the elastic cluster. + */ + defaultDatabaseName?: string; +} + +/** + * Represents a server to be updated. + */ +model ServerForPatch { + /** + * Compute tier and size of a server. + */ + sku?: SkuForPatch; + + /** + * Describes the identity of the application. + */ + identity?: UserAssignedIdentity; + + /** + * Properties of the server. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ServerPropertiesForPatch; + + /** + * Application-specific metadata in the form of key-value pairs. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; +} + +/** + * Compute information of a server. + */ +model SkuForPatch { + /** + * Name by which is known a given compute size assigned to a server. + */ + name?: string; + + /** + * Tier of the compute assigned to a server. + */ + tier?: SkuTier; +} + +/** + * Properties of a server. + */ +model ServerPropertiesForPatch { + /** + * Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + administratorLogin?: string; + + /** + * Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. + */ + @visibility(Lifecycle.Update) + @secret + administratorLoginPassword?: string; + + /** + * Major version of PostgreSQL database engine. + */ + version?: PostgresMajorVersion; + + /** + * Storage properties of a server. + */ + storage?: Storage; + + /** + * Backup properties of a server. + */ + backup?: BackupForPatch; + + /** + * High availability properties of a server. + */ + highAvailability?: HighAvailabilityForPatch; + + /** + * Maintenance window properties of a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + maintenanceWindow?: MaintenanceWindowForPatch; + + /** + * Authentication configuration properties of a server. + */ + authConfig?: AuthConfigForPatch; + + /** + * Data encryption properties of a server. + */ + dataEncryption?: DataEncryption; + + /** + * Update mode of an existing server. + */ + @visibility(Lifecycle.Update) + createMode?: CreateModeForPatch; + + /** + * Role of the server in a replication set. + */ + replicationRole?: ReplicationRole; + + /** + * Read replica properties of a server. Required only in case that you want to promote a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + replica?: Replica; + + /** + * Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer. + */ + network?: Network; + + /** + * Cluster properties of a server. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + cluster?: Cluster; +} + +/** + * Backup properties of a server. + */ +model BackupForPatch { + /** + * Backup retention days for the server. + */ + backupRetentionDays?: int32; + + /** + * Indicates if the server is configured to create geographically redundant backups. + */ + @visibility(Lifecycle.Read, Lifecycle.Update) + geoRedundantBackup?: GeographicallyRedundantBackup; + + /** + * Earliest restore point time (ISO8601 format) for a server. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + earliestRestoreDate?: utcDateTime; +} + +/** + * High availability properties of a server. + */ +model HighAvailabilityForPatch { + /** + * High availability mode for a server. + */ + mode?: HighAvailabilityMode; + + /** + * Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. + */ + @visibility(Lifecycle.Read) + state?: HighAvailabilityState; + + /** + * Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + */ + standbyAvailabilityZone?: string = ""; +} + +/** + * Maintenance window properties of a server. + */ +model MaintenanceWindowForPatch { + /** + * Indicates whether custom window is enabled or disabled. + */ + customWindow?: string; + + /** + * Start hour to be used for maintenance window. + */ + startHour?: int32; + + /** + * Start minute to be used for maintenance window. + */ + startMinute?: int32; + + /** + * Day of the week to be used for maintenance window. + */ + dayOfWeek?: int32; +} + +/** + * Authentication configuration properties of a server. + */ +model AuthConfigForPatch { + /** + * Indicates if the server supports Microsoft Entra authentication. + */ + activeDirectoryAuth?: MicrosoftEntraAuth; + + /** + * Indicates if the server supports password based authentication. + */ + passwordAuth?: PasswordBasedAuth; + + /** + * Identifier of the tenant of the delegated resource. + */ + tenantId?: string; +} + +/** + * PostgreSQL database engine restart parameters. + */ +model RestartParameter { + /** + * Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. This only works if server has high availability enabled. + */ + restartWithFailover?: boolean; + + /** + * Failover mode. + */ + failoverMode?: FailoverMode; +} + +/** + * List of available object recommendations. + */ +model ObjectRecommendationList is Azure.Core.Page; + +/** + * Object recommendation properties. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ObjectRecommendation + extends Azure.ResourceManager.CommonTypes.ProxyResource { + /** + * Always empty. + */ + kind?: string; + + /** + * Properties of an object recommendation. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + properties?: ObjectRecommendationProperties; +} + +/** + * Object recommendation properties. + */ +model ObjectRecommendationProperties { + /** + * Creation time (UTC) of this recommendation. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + initialRecommendedTime?: utcDateTime; + + /** + * Last time (UTC) that this recommendation was produced. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastRecommendedTime?: utcDateTime; + + /** + * Number of times this recommendation has been produced. + */ + timesRecommended?: int32; + + /** + * List of identifiers for all queries identified as targets for improvement if the recommendation is applied. The list is only populated for CREATE INDEX recommendations. + */ + improvedQueryIds?: int64[]; + + /** + * Reason for this recommendation. + */ + recommendationReason?: string; + + /** + * Current state. + */ + currentState?: string; + + /** + * Type for this recommendation. + */ + recommendationType?: RecommendationType; + + /** + * Implementation details for the recommended action. + */ + implementationDetails?: ObjectRecommendationPropertiesImplementationDetails; + + /** + * Workload information for the recommended action. + */ + analyzedWorkload?: ObjectRecommendationPropertiesAnalyzedWorkload; + + /** + * Estimated impact of this recommended action. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["dimensionName"]) + estimatedImpact?: ImpactRecord[]; + + /** + * Recommendation details for the recommended action. + */ + @visibility(Lifecycle.Read) + details?: ObjectRecommendationDetails; +} + +/** + * Implementation details for the recommended action. + */ +model ObjectRecommendationPropertiesImplementationDetails { + /** + * Method of implementation for recommended action. + */ + method?: string; + + /** + * Implementation script for the recommended action. + */ + script?: string; +} + +/** + * Workload information for the recommended action. + */ +model ObjectRecommendationPropertiesAnalyzedWorkload { + /** + * Start time (UTC) of the workload analyzed. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * End time (UTC) of the workload analyzed. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * Number of queries from the workload that were examined to produce this recommendation. For DROP INDEX recommendations it's 0 (zero). + */ + queryCount?: int32; +} + +/** + * Impact on some metric if this recommended action is applied. + */ +model ImpactRecord { + /** + * Dimension name. + */ + dimensionName?: string; + + /** + * Dimension unit. + */ + unit?: string; + + /** + * Optional property that can be used to store the identifier of the query, if the metric is for a specific query. + */ + queryId?: int64; + + /** + * Absolute value. + */ + absoluteValue?: float64; +} + +/** + * Recommendation details for the recommended action. + */ +model ObjectRecommendationDetails { + /** + * Database name. + */ + databaseName?: string; + + /** + * Schema name. + */ + schema?: string; + + /** + * Table name. + */ + table?: string; + + /** + * Index type. + */ + indexType?: string; + + /** + * Index name. + */ + indexName?: string; + + /** + * Index columns. + */ + indexColumns?: string[]; + + /** + * Index included columns. + */ + includedColumns?: string[]; +} + +/** + * List of server tuning options. + */ +model TuningOptionsList is Azure.Core.Page; + +/** + * Pair of virtual endpoints for a server. + */ +model VirtualEndpointResourceForPatch { + /** + * Properties of the pair of virtual endpoints. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: VirtualEndpointResourceProperties; +} + +/** + * Properties of a pair of virtual endpoints. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VirtualEndpointResourceProperties { + /** + * Type of endpoint for the virtual endpoints. + */ + endpointType?: VirtualEndpointType; + + /** + * List of servers that one of the virtual endpoints can refer to. + */ + members?: string[]; + + /** + * List of virtual endpoints for a server. + */ + @visibility(Lifecycle.Read) + virtualEndpoints?: string[]; +} + +/** + * List of virtual endpoints. + */ +model VirtualEndpointsList is Azure.Core.Page; + +/** + * Virtual network subnet usage parameter + */ +model VirtualNetworkSubnetUsageParameter { + /** + * Virtual network resource id. + */ + virtualNetworkArmResourceId?: string; +} + +/** + * Virtual network subnet usage data. + */ +model VirtualNetworkSubnetUsageModel { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["subnetName"]) + delegatedSubnetsUsage?: DelegatedSubnetUsage[]; + + /** + * location of the delegated subnet usage + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * subscriptionId of the delegated subnet usage + */ + @visibility(Lifecycle.Read) + subscriptionId?: string; +} + +/** + * Delegated subnet usage data. + */ +model DelegatedSubnetUsage { + /** + * Name of the delegated subnet for which IP addresses are in use + */ + @visibility(Lifecycle.Read) + subnetName?: string; + + /** + * Number of IP addresses used by the delegated subnet + */ + @visibility(Lifecycle.Read) + usage?: int64; +} + +/** + * Private DNS suffix. + */ +@mediaTypeHint("application/json") +scalar PrivateDnsZoneSuffix extends string; + +/** + * Custom error response for the service. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +model CustomErrorResponse { + @body + error: Azure.ResourceManager.ErrorResponse; + + @header("x-ms-error-code") + @doc("ErrorCode string in the event of a failure.") + errorCode?: string; + + @header("x-ms-request-id") + @doc("A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.") + requestId?: string; +} + +model OperationList is Azure.Core.Page; +@@visibility(AdvancedThreatProtectionSettingsList.value, Lifecycle.Read); +@@visibility(CapabilityList.value, Lifecycle.Read); +@@visibility(MigrationList.value, Lifecycle.Read); +@@visibility(PrivateEndpointConnectionList.value, Lifecycle.Read); +@@visibility(PrivateLinkResourceList.value, Lifecycle.Read); +@@visibility(QuotaUsageList.value, Lifecycle.Read); +@@OpenAPI.extension(CapabilityList.value, "x-ms-identifiers", #["name"]); +@@OpenAPI.extension(ObjectRecommendationList.value, + "x-ms-identifiers", + #["name"] +); +@@OpenAPI.extension(OperationList.value, "x-ms-identifiers", #["name"]); +@@OpenAPI.extension(QuotaUsageList.value, "x-ms-identifiers", #["name"]); +@@OpenAPI.extension(TuningOptionsList.value, "x-ms-identifiers", #["name"]); diff --git a/specification/postgresql/DBforPostgreSQL.Management/routes.tsp b/specification/postgresql/DBforPostgreSQL.Management/routes.tsp new file mode 100644 index 000000000000..fb70b09ab94d --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/routes.tsp @@ -0,0 +1,136 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.DBforPostgreSQL; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface CapabilitiesByLocationOperationGroup { + /** + * Lists the capabilities available in a given location for a specific subscription. + */ + @list + @autoRoute + @get + @action("capabilities") + list is ArmProviderActionSync< + Response = CapabilityList, + Scope = SubscriptionActionScope, + Parameters = { + /** + * The name of the location. + */ + @minLength(1) + @pattern("^[-\\w\\._]+$") + @path + @segment("locations") + locationName: string; + } + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface NameAvailabilityOperationGroup { + /** + * Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + */ + @autoRoute + @action("checkNameAvailability") + checkGlobally is ArmProviderActionSync< + Request = Azure.ResourceManager.CommonTypes.CheckNameAvailabilityRequest, + Response = NameAvailabilityModel, + Scope = SubscriptionActionScope, + Parameters = {} + >; + /** + * Check the availability of name for resource + */ + @autoRoute + @action("checkNameAvailability") + checkWithLocation is ArmProviderActionSync< + Request = Azure.ResourceManager.CommonTypes.CheckNameAvailabilityRequest, + Response = NameAvailabilityModel, + Scope = SubscriptionActionScope, + Parameters = { + /** + * The name of the location. + */ + @minLength(1) + @pattern("^[-\\w\\._]+$") + @path + @segment("locations") + locationName: string; + } + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface PrivateDnsZoneSuffixOperationGroup { + /** + * Gets the private DNS zone suffix. + */ + @autoRoute + @action("getPrivateDnsZoneSuffix") + get is ArmProviderActionSync; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface QuotaUsagesOperationGroup { + /** + * Get quota usages at specified location in a given subscription. + */ + @autoRoute + @get + @list + @action("resourceType/flexibleServers/usages") + list is ArmProviderActionSync< + Response = QuotaUsageList, + Scope = SubscriptionActionScope, + Parameters = { + /** + * The name of the location. + */ + @minLength(1) + @pattern("^[-\\w\\._]+$") + @path + @segment("locations") + locationName: string; + } + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface VirtualNetworkSubnetUsageOperationGroup { + /** + * Lists the virtual network subnet usage for a given virtual network. + */ + @autoRoute + @action("checkVirtualNetworkSubnetUsage") + list is ArmProviderActionSync< + Request = VirtualNetworkSubnetUsageParameter, + Response = VirtualNetworkSubnetUsageModel, + Scope = SubscriptionActionScope, + Parameters = { + /** + * The name of the location. + */ + @minLength(1) + @pattern("^[-\\w\\._]+$") + @path + @segment("locations") + locationName: string; + } + >; +} diff --git a/specification/postgresql/DBforPostgreSQL.Management/tspconfig.yaml b/specification/postgresql/DBforPostgreSQL.Management/tspconfig.yaml new file mode 100644 index 000000000000..53b48bf5359e --- /dev/null +++ b/specification/postgresql/DBforPostgreSQL.Management/tspconfig.yaml @@ -0,0 +1,51 @@ +parameters: + "service-dir": + default: "sdk/postgresql" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true + emit-lro-options: "all" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.PostgreSql" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-postgresql" + namespace: "azure.mgmt.postgresql" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-postgresql" + namespace: "com.azure.resourcemanager.postgresql" + service-name: "PostgreSql" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + package-dir: "arm-postgresql" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-postgresql" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/postgresql" + package-dir: "armstorageactions" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/postgresql/cspell.yaml b/specification/postgresql/cspell.yaml index dd1325461716..156ee49ac18c 100644 --- a/specification/postgresql/cspell.yaml +++ b/specification/postgresql/cspell.yaml @@ -15,6 +15,7 @@ words: - tigger - vcore - vcores + - Entras overrides: - filename: >- **/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/**/*json diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdministratorsMicrosoftEntra.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdministratorsMicrosoftEntra.json deleted file mode 100644 index 528571ab8afb..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdministratorsMicrosoftEntra.json +++ /dev/null @@ -1,434 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}": { - "put": { - "tags": [ - "AdministratorsMicrosoftEntra" - ], - "operationId": "AdministratorsMicrosoftEntra_CreateOrUpdate", - "x-ms-examples": { - "Add a server administrator associated to a Microsoft Entra principal.": { - "$ref": "./examples/AdministratorsMicrosoftEntraAdd.json" - } - }, - "description": "Creates a new server administrator associated to a Microsoft Entra principal.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ObjectIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AdministratorMicrosoftEntraAdd" - }, - "description": "Required parameters for adding a server administrator associated to a Microsoft Entra principal." - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "AdministratorsMicrosoftEntra" - ], - "operationId": "AdministratorsMicrosoftEntra_Delete", - "x-ms-examples": { - "Delete a server administrator associated to a Microsoft Entra principal.": { - "$ref": "./examples/AdministratorsMicrosoftEntraDelete.json" - } - }, - "description": "Deletes an existing server administrator associated to a Microsoft Entra principal.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ObjectIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "AdministratorsMicrosoftEntra" - ], - "operationId": "AdministratorsMicrosoftEntra_Get", - "x-ms-examples": { - "Get information about a server administrator associated to a Microsoft Entra principal.": { - "$ref": "./examples/AdministratorsMicrosoftEntraGet.json" - } - }, - "description": "Gets information about a server administrator associated to a Microsoft Entra principal.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ObjectIdParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/AdministratorMicrosoftEntra" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators": { - "get": { - "tags": [ - "AdministratorsMicrosoftEntra" - ], - "operationId": "AdministratorsMicrosoftEntra_ListByServer", - "x-ms-examples": { - "List information about all server administrators associated to Microsoft Entra principals.": { - "$ref": "./examples/AdministratorsMicrosoftEntraListByServer.json" - } - }, - "description": "List all server administrators associated to a Microsoft Entra principal.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/AdministratorMicrosoftEntraList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "AdministratorMicrosoftEntraAdd": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/AdministratorMicrosoftEntraPropertiesForAdd", - "x-ms-client-flatten": true, - "description": "Properties of the server administrator associated to a Microsoft Entra principal." - } - }, - "description": "Server administrator associated to a Microsoft Entra principal." - }, - "AdministratorMicrosoftEntraPropertiesForAdd": { - "type": "object", - "properties": { - "principalType": { - "type": "string", - "description": "Type of Microsoft Entra principal to which the server administrator is associated.", - "enum": [ - "Unknown", - "User", - "Group", - "ServicePrincipal" - ], - "x-ms-enum": { - "name": "PrincipalType", - "modelAsString": true, - "values": [ - { - "value": "Unknown", - "description": "The principal type is not known or not specified." - }, - { - "value": "User", - "description": "A Microsoft Entra user." - }, - { - "value": "Group", - "description": "A Microsoft Entra group." - }, - { - "value": "ServicePrincipal", - "description": "A Microsoft Entra service principal, typically representing an application or service identity" - } - ] - }, - "x-ms-mutability": [ - "create", - "update", - "read" - ] - }, - "principalName": { - "type": "string", - "description": "Name of the Microsoft Entra principal.", - "x-ms-mutability": [ - "create", - "update", - "read" - ] - }, - "tenantId": { - "type": "string", - "description": "Identifier of the tenant in which the Microsoft Entra principal exists.", - "x-ms-mutability": [ - "create", - "update" - ] - } - }, - "description": "Properties of a server administrator associated to a Microsoft Entra principal." - }, - "AdministratorMicrosoftEntraProperties": { - "type": "object", - "properties": { - "principalType": { - "type": "string", - "description": "Type of Microsoft Entra principal to which the server administrator is associated.", - "enum": [ - "Unknown", - "User", - "Group", - "ServicePrincipal" - ], - "x-ms-enum": { - "name": "PrincipalType", - "modelAsString": true, - "values": [ - { - "value": "Unknown", - "description": "The principal type is not known or not specified." - }, - { - "value": "User", - "description": "A Microsoft Entra user." - }, - { - "value": "Group", - "description": "A Microsoft Entra group." - }, - { - "value": "ServicePrincipal", - "description": "A Microsoft Entra service principal, typically representing an application or service identity" - } - ] - }, - "x-ms-mutability": [ - "create", - "update", - "read" - ] - }, - "principalName": { - "type": "string", - "description": "Name of the Microsoft Entra principal.", - "x-ms-mutability": [ - "create", - "update", - "read" - ] - }, - "objectId": { - "type": "string", - "description": "Object identifier of the Microsoft Entra principal.", - "x-ms-mutability": [ - "create", - "update", - "read" - ] - }, - "tenantId": { - "type": "string", - "description": "Identifier of the tenant in which the Microsoft Entra principal exists.", - "x-ms-mutability": [ - "create", - "update", - "read" - ] - } - }, - "description": "Properties of a server administrator associated to a Microsoft Entra principal." - }, - "AdministratorMicrosoftEntra": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/AdministratorMicrosoftEntraProperties", - "x-ms-client-flatten": true, - "description": "Properties of a server administrator associated to a Microsoft Entra principal." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "description": "Server administrator associated to a Microsoft Entra principal." - }, - "AdministratorMicrosoftEntraList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AdministratorMicrosoftEntra" - }, - "description": "List of server administrators associated to Microsoft Entra principals." - }, - "nextLink": { - "description": "Link used to get the next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of server administrators associated to Microsoft Entra principals." - } - }, - "parameters": { - "ObjectIdParameter": { - "name": "objectId", - "in": "path", - "required": true, - "type": "string", - "description": "Object identifier of the Microsoft Entra principal.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdvancedThreatProtectionSettings.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdvancedThreatProtectionSettings.json deleted file mode 100644 index b768e7ec5fab..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdvancedThreatProtectionSettings.json +++ /dev/null @@ -1,287 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, administrators, log files, configurations, migrations, advanced threat protection settings with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings": { - "get": { - "tags": [ - "AdvancedThreatProtectionSettings" - ], - "description": "Lists state of advanced threat protection settings for a server.", - "operationId": "AdvancedThreatProtectionSettings_ListByServer", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/AdvancedThreatProtectionSettingsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List state of advanced threat protection settings for a server.": { - "$ref": "./examples/AdvancedThreatProtectionSettingsListByServer.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}": { - "get": { - "tags": [ - "AdvancedThreatProtectionSettings" - ], - "description": "Gets state of advanced threat protection settings for a server.", - "operationId": "AdvancedThreatProtectionSettings_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ThreatProtectionNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/AdvancedThreatProtectionSettingsModel" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get state of advanced threat protection settings for a server.": { - "$ref": "./examples/AdvancedThreatProtectionSettingsGet.json" - } - } - }, - "put": { - "tags": [ - "AdvancedThreatProtectionSettings" - ], - "description": "Creates or updates a server's Advanced Threat Protection settings.", - "operationId": "ServerThreatProtectionSettings_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ThreatProtectionNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The Advanced Threat Protection state for the server.", - "required": true, - "schema": { - "$ref": "#/definitions/AdvancedThreatProtectionSettingsModel" - } - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Update the advanced threat protection settings of a server.": { - "$ref": "./examples/AdvancedThreatProtectionSettingsCreateOrUpdate.json" - } - } - } - } - }, - "definitions": { - "AdvancedThreatProtectionSettingsProperties": { - "description": "Properties of advanced threat protection state for a server.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "state": { - "description": "Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ThreatProtectionState", - "modelAsString": false, - "values": [ - { - "value": "Enabled", - "description": "Advanced threat protection is enabled." - }, - { - "value": "Disabled", - "description": "Advanced threat protection is disabled." - } - ] - } - }, - "creationTime": { - "format": "date-time", - "description": "Specifies the creation time (UTC) of the policy.", - "type": "string", - "readOnly": true - } - } - }, - "AdvancedThreatProtectionSettingsModel": { - "description": "Advanced threat protection settings of the server.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AdvancedThreatProtectionSettingsProperties", - "description": "Advanced threat protection properties.", - "x-ms-client-flatten": true - } - } - }, - "AdvancedThreatProtectionSettingsList": { - "description": "List of advanced threat protection settings for a server.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/AdvancedThreatProtectionSettingsModel" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link used to get the next page of results.", - "type": "string", - "format": "uri" - } - } - } - }, - "parameters": { - "ThreatProtectionNameParameter": { - "name": "threatProtectionName", - "in": "path", - "description": "Name of the advanced threat protection settings.", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "name": "ThreatProtectionName", - "modelAsString": true, - "values": [ - { - "value": "Default", - "description": "Default advanced threat protection settings." - } - ] - }, - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsAutomaticAndOnDemand.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsAutomaticAndOnDemand.json deleted file mode 100644 index c7a33c234cf1..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsAutomaticAndOnDemand.json +++ /dev/null @@ -1,321 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}": { - "put": { - "tags": [ - "BackupsAutomaticAndOnDemand" - ], - "operationId": "BackupsAutomaticAndOnDemand_Create", - "x-ms-examples": { - "Create an on demand backup of a server.": { - "$ref": "./examples/BackupsAutomaticAndOnDemandCreate.json" - } - }, - "description": "Creates an on demand backup of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/BackupNameParameter" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "BackupsAutomaticAndOnDemand" - ], - "operationId": "BackupsAutomaticAndOnDemand_Delete", - "x-ms-examples": { - "Delete an on demand backup, given its name.": { - "$ref": "./examples/BackupsAutomaticAndOnDemandDelete.json" - } - }, - "description": "Deletes a specific backup, given its name.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/BackupNameParameter" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "BackupsAutomaticAndOnDemand" - ], - "operationId": "BackupsAutomaticAndOnDemand_Get", - "x-ms-examples": { - "Get an on demand backup, given its name.": { - "$ref": "./examples/BackupsAutomaticAndOnDemandGet.json" - } - }, - "description": "Gets information of an on demand backup, given its name.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/BackupNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/BackupAutomaticAndOnDemand" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups": { - "get": { - "tags": [ - "BackupsAutomaticAndOnDemand" - ], - "operationId": "BackupsAutomaticAndOnDemand_ListByServer", - "x-ms-examples": { - "List all available backups of a server.": { - "$ref": "./examples/BackupsAutomaticAndOnDemandListByServer.json" - } - }, - "description": "Lists all available backups of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/BackupAutomaticAndOnDemandList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "BackupAutomaticAndOnDemandProperties": { - "type": "object", - "properties": { - "backupType": { - "type": "string", - "description": "Type of backup.", - "enum": [ - "Full", - "Customer On-Demand" - ], - "x-ms-enum": { - "name": "BackupType", - "modelAsString": true, - "values": [ - { - "value": "Full", - "description": "A full backup taken automatically by the service. These backups are retained for a period of time as defined by the backup retention policy, and they cannot be deleted by the customer." - }, - { - "value": "Customer On-Demand", - "description": "A full backup triggered by the customer. These backups are retained for a period of time as defined by the backup retention policy, and they can also be deleted by the customer." - } - ] - } - }, - "completedTime": { - "type": "string", - "format": "date-time", - "description": "Time(ISO8601 format) at which the backup was completed." - }, - "source": { - "type": "string", - "description": "Source of the backup." - } - }, - "description": "Properties of a backup." - }, - "BackupAutomaticAndOnDemand": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/BackupAutomaticAndOnDemandProperties", - "x-ms-client-flatten": true, - "description": "Properties of a backup." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "description": "Properties of a backup." - }, - "BackupAutomaticAndOnDemandList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BackupAutomaticAndOnDemand" - }, - "description": "List of available backups." - }, - "nextLink": { - "description": "Link used to get the next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of backups." - } - }, - "parameters": { - "BackupNameParameter": { - "name": "backupName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the backup.", - "minLength": 1, - "pattern": "^[-\\w\\._]+$", - "maxLength": 128, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsLongTermRetention.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsLongTermRetention.json deleted file mode 100644 index 61e5a0416f78..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsLongTermRetention.json +++ /dev/null @@ -1,537 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrPreBackup": { - "post": { - "description": "Performs all checks required for a long term retention backup operation to succeed.", - "tags": [ - "BackupsLongTermRetention" - ], - "operationId": "BackupsLongTermRetention_CheckPrerequisites", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "Request body for operation", - "required": true, - "schema": { - "$ref": "#/definitions/LtrPreBackupRequest" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/LtrPreBackupResponse" - }, - "headers": { - "x-ms-request-id": { - "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - }, - "headers": { - "x-ms-error-code": { - "description": "ErrorCode string in the event of a failure.", - "type": "string" - }, - "x-ms-request-id": { - "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Perform all checks required for a long term retention backup operation to succeed.": { - "$ref": "./examples/BackupsLongTermRetentionCheckPrerequisites.json" - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/startLtrBackup": { - "post": { - "description": "Initiates a long term retention backup.", - "tags": [ - "BackupsLongTermRetention" - ], - "operationId": "BackupsLongTermRetention_Start", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "Request body for operation", - "required": true, - "schema": { - "$ref": "#/definitions/BackupsLongTermRetentionRequest" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/BackupsLongTermRetentionResponse" - }, - "headers": { - "x-ms-request-id": { - "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", - "type": "string" - } - } - }, - "202": { - "description": "Accepted.", - "headers": { - "Retry-After": { - "description": "The number of seconds to wait before checking the status of the asynchronous operation.", - "type": "integer", - "format": "int32" - }, - "x-ms-request-id": { - "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", - "type": "string" - }, - "Location": { - "description": "URL to retrieve the final result after operation completes.", - "type": "string" - }, - "Azure-AsyncOperation": { - "description": "URL for checking the ongoing status of the operation.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - }, - "headers": { - "x-ms-error-code": { - "description": "ErrorCode string in the event of a failure.", - "type": "string" - }, - "x-ms-request-id": { - "description": "A unique ID for the current operation, service generated. All the resource providers must return this value in the response headers to facilitate debugging.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "Initiate a long term retention backup.": { - "$ref": "./examples/BackupsLongTermRetentionStart.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}": { - "get": { - "tags": [ - "BackupsLongTermRetention" - ], - "operationId": "BackupsLongTermRetention_Get", - "x-ms-examples": { - "Get the results of a long retention backup operation for a server.": { - "$ref": "./examples/BackupsLongTermRetentionGet.json" - } - }, - "description": "Gets the results of a long retention backup operation for a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/BackupNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/BackupsLongTermRetentionOperation" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations": { - "get": { - "tags": [ - "BackupsLongTermRetention" - ], - "operationId": "BackupsLongTermRetention_ListByServer", - "x-ms-examples": { - "List the results of the long term retention backup operations for a server.": { - "$ref": "./examples/BackupsLongTermRetentionListByServer.json" - } - }, - "description": "Lists the results of the long term retention backup operations for a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/LtrServerBackupOperationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "BackupRequestBase": { - "description": "BackupRequestBase is the base for all backup request.", - "required": [ - "backupSettings" - ], - "type": "object", - "properties": { - "backupSettings": { - "$ref": "#/definitions/BackupSettings", - "description": "Backup Settings" - } - } - }, - "BackupsLongTermRetentionRequest": { - "description": "The request that is made for a long term retention backup.", - "type": "object", - "properties": { - "targetDetails": { - "$ref": "#/definitions/BackupStoreDetails", - "description": "Backup store detail for target server" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BackupRequestBase" - } - ], - "required": [ - "targetDetails" - ] - }, - "LtrPreBackupRequest": { - "description": "A request that is made for pre-backup.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/BackupRequestBase" - } - ] - }, - "BackupSettings": { - "description": "The settings for the long term backup.", - "type": "object", - "required": [ - "backupName" - ], - "properties": { - "backupName": { - "type": "string", - "description": "Backup Name for the current backup" - } - } - }, - "BackupStoreDetails": { - "description": "Details about the target where the backup content will be stored.", - "required": [ - "sasUriList" - ], - "type": "object", - "properties": { - "sasUriList": { - "description": "List of SAS uri of storage containers where backup data is to be streamed/copied.", - "type": "array", - "items": { - "type": "string", - "description": "SAS URI of Azure Storage Account Container.", - "x-ms-secret": true - } - } - } - }, - "BackupsLongTermRetentionResponseProperties": { - "description": "Response for the pre-backup request.", - "type": "object", - "required": [ - "numberOfContainers" - ], - "properties": { - "numberOfContainers": { - "format": "int32", - "description": "Number of storage containers the plugin will use during backup. More than one containers may be used for size limitations, parallelism, or redundancy etc.", - "type": "integer" - } - } - }, - "LtrBackupOperationResponseProperties": { - "description": "Response for the backup request.", - "type": "object", - "required": [ - "status", - "startTime" - ], - "properties": { - "datasourceSizeInBytes": { - "format": "int64", - "description": "Size of datasource in bytes", - "type": "integer" - }, - "dataTransferredInBytes": { - "format": "int64", - "description": "Data transferred in bytes", - "type": "integer" - }, - "backupName": { - "description": "Name of Backup operation", - "type": "string" - }, - "backupMetadata": { - "description": "Metadata to be stored in RP. Store everything that will be required to perform a successful restore using this Recovery point. e.g. Versions, DataFormat etc", - "type": "string" - }, - "status": { - "description": "Service-set extensible enum indicating the status of operation", - "enum": [ - "Running", - "Cancelled", - "Failed", - "Succeeded" - ], - "type": "string", - "x-ms-enum": { - "name": "ExecutionStatus", - "modelAsString": true, - "values": [ - { - "value": "Running", - "description": "The operation is currently running." - }, - { - "value": "Cancelled", - "description": "The operation was cancelled." - }, - { - "value": "Failed", - "description": "The operation failed." - }, - { - "value": "Succeeded", - "description": "The operation succeeded." - } - ] - } - }, - "startTime": { - "description": "Start time of the operation.", - "format": "date-time", - "type": "string" - }, - "endTime": { - "description": "End time of the operation.", - "format": "date-time", - "type": "string" - }, - "percentComplete": { - "description": "PercentageCompleted", - "format": "double", - "type": "number", - "minimum": 0, - "maximum": 100 - }, - "errorCode": { - "readOnly": true, - "type": "string", - "description": "The error code." - }, - "errorMessage": { - "readOnly": true, - "type": "string", - "description": "The error message." - } - } - }, - "BackupsLongTermRetentionResponse": { - "description": "Response for the LTR backup API call", - "type": "object", - "properties": { - "properties": { - "description": "Long Term Retention Backup Operation Resource Properties", - "x-ms-client-flatten": true, - "$ref": "#/definitions/LtrBackupOperationResponseProperties" - } - } - }, - "BackupsLongTermRetentionOperation": { - "description": "Response for the LTR backup Operation API call", - "type": "object", - "required": [ - "id", - "name" - ], - "properties": { - "properties": { - "description": "Long Term Retention Backup Operation Resource Properties", - "x-ms-client-flatten": true, - "$ref": "#/definitions/LtrBackupOperationResponseProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "LtrServerBackupOperationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BackupsLongTermRetentionOperation" - }, - "description": "The list of long term retention server backup operations" - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string", - "format": "uri" - } - }, - "description": "A list of long term retention backup operations for server." - }, - "LtrPreBackupResponse": { - "description": "Response for the LTR pre-backup API call", - "type": "object", - "required": [ - "properties" - ], - "properties": { - "properties": { - "description": "Additional Properties for the pre backup response", - "x-ms-client-flatten": true, - "$ref": "#/definitions/BackupsLongTermRetentionResponseProperties" - } - } - } - }, - "parameters": { - "BackupNameParameter": { - "name": "backupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the backup.", - "x-ms-parameter-location": "method", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Capabilities.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Capabilities.json deleted file mode 100644 index 9c072ebb2f3c..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Capabilities.json +++ /dev/null @@ -1,770 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities": { - "get": { - "tags": [ - "CapabilitiesByLocation" - ], - "operationId": "CapabilitiesByLocation_List", - "x-ms-examples": { - "List the capabilities available in a given location for a specific subscription.": { - "$ref": "./examples/CapabilitiesByLocationList.json" - } - }, - "description": "Lists the capabilities available in a given location for a specific subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/LocationNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/CapabilityList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/capabilities": { - "get": { - "tags": [ - "CapabilitiesByServer" - ], - "operationId": "CapabilitiesByServer_List", - "x-ms-examples": { - "List the capabilities available for a given server.": { - "$ref": "./examples/CapabilitiesByServerList.json" - } - }, - "description": "Lists the capabilities available for a given server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/CapabilityList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "StorageTierCapability": { - "type": "object", - "description": "Capability of a storage tier.", - "properties": { - "name": { - "type": "string", - "description": "Name of the storage tier.", - "readOnly": true - }, - "iops": { - "type": "integer", - "format": "int32", - "description": "Supported IOPS for the storage tier.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ] - }, - "StorageMbCapability": { - "type": "object", - "properties": { - "supportedIops": { - "type": "integer", - "format": "int32", - "description": "Minimum IOPS supported by the storage size.", - "readOnly": true - }, - "supportedMaximumIops": { - "type": "integer", - "format": "int32", - "description": "Maximum IOPS supported by the storage size.", - "readOnly": true - }, - "storageSizeMb": { - "type": "integer", - "format": "int64", - "description": "Minimum supported size (in MB) of storage.", - "readOnly": true - }, - "maximumStorageSizeMb": { - "type": "integer", - "format": "int64", - "description": "Maximum supported size (in MB) of storage.", - "readOnly": true - }, - "supportedThroughput": { - "type": "integer", - "format": "int32", - "description": "Minimum supported throughput (in MB/s) of storage.", - "readOnly": true - }, - "supportedMaximumThroughput": { - "type": "integer", - "format": "int32", - "description": "Maximum supported throughput (in MB/s) of storage.", - "readOnly": true - }, - "defaultIopsTier": { - "type": "string", - "description": "Default IOPS for this tier and storage size.", - "readOnly": true - }, - "supportedIopsTiers": { - "type": "array", - "description": "List of all supported storage tiers for this tier and storage size.", - "items": { - "$ref": "#/definitions/StorageTierCapability" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ], - "description": "Storage size (in MB) capability." - }, - "ServerSkuCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the compute (SKU).", - "readOnly": true - }, - "vCores": { - "type": "integer", - "format": "int32", - "description": "vCores available for this compute.", - "readOnly": true - }, - "supportedIops": { - "type": "integer", - "format": "int32", - "description": "Maximum IOPS supported by this compute.", - "readOnly": true - }, - "supportedMemoryPerVcoreMb": { - "type": "integer", - "format": "int64", - "description": "Supported memory (in MB) per virtual core assigned to this compute.", - "readOnly": true - }, - "supportedZones": { - "type": "array", - "description": "List of supported availability zones. E.g. '1', '2', '3'", - "items": { - "type": "string" - }, - "readOnly": true - }, - "supportedHaMode": { - "type": "array", - "items": { - "type": "string", - "description": "Modes of high availability supported for this compute.", - "enum": [ - "SameZone", - "ZoneRedundant" - ], - "x-ms-enum": { - "name": "HighAvailabilityMode", - "modelAsString": true, - "values": [ - { - "value": "ZoneRedundant", - "description": "High availability is enabled for the server, with standby server in a different availability zone than that of the primary." - }, - { - "value": "SameZone", - "description": "High availability is enabled for the server, with standby server in the same availability zone as the primary." - } - ] - } - }, - "description": "Modes of high availability supported for this compute.", - "readOnly": true - }, - "supportedFeatures": { - "type": "array", - "description": "Features supported.", - "items": { - "$ref": "#/definitions/SupportedFeature" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - }, - "securityProfile": { - "type": "string", - "description": "Security profile of the compute. Indicates if it's a Confidential Compute virtual machine.", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ], - "description": "Capabilities in terms of compute." - }, - "ServerVersion": { - "type": "string", - "description": "Major version of PostgreSQL database engine.", - "enum": [ - "17", - "16", - "15", - "14", - "13", - "12", - "11" - ], - "x-ms-enum": { - "name": "PostgresMajorVersion", - "modelAsString": true, - "values": [ - { - "value": "17", - "description": "PostgreSQL 17." - }, - { - "value": "16", - "description": "PostgreSQL 16." - }, - { - "value": "15", - "description": "PostgreSQL 15." - }, - { - "value": "14", - "description": "PostgreSQL 14." - }, - { - "value": "13", - "description": "PostgreSQL 13." - }, - { - "value": "12", - "description": "PostgreSQL 12." - }, - { - "value": "11", - "description": "PostgreSQL 11." - } - ] - } - }, - "ServerVersionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Major version of PostgreSQL database engine.", - "readOnly": true - }, - "supportedVersionsToUpgrade": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Major versions of PostgreSQL database engine to which this version can be automatically upgraded.", - "readOnly": true - }, - "supportedFeatures": { - "type": "array", - "description": "Features supported.", - "items": { - "$ref": "#/definitions/SupportedFeature" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ], - "description": "Capabilities in terms of major versions of PostgreSQL database engine." - }, - "StorageEditionCapability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of storage tier.", - "readOnly": true - }, - "defaultStorageSizeMb": { - "type": "integer", - "format": "int64", - "description": "Default storage size (in MB) for this storage tier.", - "readOnly": true - }, - "supportedStorageMb": { - "type": "array", - "description": "Configurations of storage supported for this storage tier.", - "items": { - "$ref": "#/definitions/StorageMbCapability" - }, - "x-ms-identifiers": [ - "storageSizeMb" - ], - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ], - "description": "Capabilities in terms of storage tier." - }, - "SupportedFeature": { - "type": "object", - "description": "Features supported.", - "properties": { - "name": { - "type": "string", - "description": "Name of the feature.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "Status of the feature. Indicates if the feature is enabled or not.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "FeatureStatus", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Feature is enabled." - }, - { - "value": "Disabled", - "description": "Feature is disabled." - } - ] - } - } - } - }, - "FastProvisioningEditionCapability": { - "type": "object", - "description": "Capability of a fast provisioning compute tier.", - "properties": { - "supportedTier": { - "type": "string", - "description": "Compute tier supporting fast provisioning.", - "readOnly": true - }, - "supportedSku": { - "type": "string", - "description": "Compute name (SKU) supporting fast provisioning.", - "readOnly": true - }, - "supportedStorageGb": { - "type": "integer", - "format": "int32", - "description": "Storage size (in GB) supporting fast provisioning.", - "readOnly": true - }, - "supportedServerVersions": { - "type": "string", - "description": "Major version of PostgreSQL database engine supporting fast provisioning.", - "readOnly": true - }, - "serverCount": { - "type": "integer", - "description": "Count of servers in cache matching this specification.", - "format": "int32", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ] - }, - "ServerEditionCapability": { - "type": "object", - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ], - "properties": { - "name": { - "type": "string", - "description": "Name of compute tier.", - "readOnly": true - }, - "defaultSkuName": { - "type": "string", - "description": "Default compute name (SKU) for this computer tier.", - "readOnly": true - }, - "supportedStorageEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageEditionCapability" - }, - "description": "List of storage editions supported by this compute tier and compute name.", - "readOnly": true, - "x-ms-identifiers": [ - "name" - ] - }, - "supportedServerSkus": { - "type": "array", - "description": "List of supported compute names (SKUs).", - "items": { - "$ref": "#/definitions/ServerSkuCapability" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - } - }, - "description": "Capabilities in terms of compute tier." - }, - "Capability": { - "type": "object", - "allOf": [ - { - "$ref": "../../../types/common-types.json#/definitions/CapabilityBase" - } - ], - "properties": { - "name": { - "type": "string", - "description": "Name of flexible servers capabilities." - }, - "supportedServerEditions": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerEditionCapability" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true, - "description": "List of supported compute tiers." - }, - "supportedServerVersions": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerVersionCapability" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of supported major versions of PostgreSQL database engine.", - "readOnly": true - }, - "supportedFeatures": { - "type": "array", - "description": "Features supported.", - "items": { - "$ref": "#/definitions/SupportedFeature" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - }, - "fastProvisioningSupported": { - "type": "string", - "description": "Indicates if fast provisioning is supported. 'Enabled' means fast provisioning is supported. 'Disabled' stands for fast provisioning is not supported. Will be deprecated in the future. Look to Supported Features for 'FastProvisioning'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "FastProvisioningSupport", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Fast provisioning is supported." - }, - { - "value": "Disabled", - "description": "Fast provisioning is not supported." - } - ] - } - }, - "supportedFastProvisioningEditions": { - "type": "array", - "description": "List of compute tiers supporting fast provisioning.", - "items": { - "$ref": "#/definitions/FastProvisioningEditionCapability" - }, - "x-ms-identifiers": [ - "supportedSku" - ], - "readOnly": true - }, - "geoBackupSupported": { - "type": "string", - "description": "Indicates if geographically redundant backups are supported in this location. 'Enabled' means geographically redundant backups are supported. 'Disabled' stands for geographically redundant backup is not supported. Will be deprecated in the future. Look to Supported Features for 'GeoBackup'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "GeographicallyRedundantBackupSupport", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Geographically redundant backups are supported." - }, - { - "value": "Disabled", - "description": "Geographically redundant backups are not supported." - } - ] - } - }, - "zoneRedundantHaSupported": { - "type": "string", - "description": "Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundantHighAvailabilitySupport", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "High availability with zone redundancy is supported." - }, - { - "value": "Disabled", - "description": "High availability with zone redundancy is not supported." - } - ] - } - }, - "zoneRedundantHaAndGeoBackupSupported": { - "type": "string", - "description": "Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "High availability with zone redundancy is supported in conjunction with geographically redundant backups." - }, - { - "value": "Disabled", - "description": "High availability with zone redundancy is not supported in conjunction with geographically redundant backups." - } - ] - } - }, - "storageAutoGrowthSupported": { - "type": "string", - "description": "Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "StorageAutoGrowthSupport", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Storage autogrow is supported." - }, - { - "value": "Disabled", - "description": "Storage autogrow is not supported." - } - ] - } - }, - "onlineResizeSupported": { - "type": "string", - "description": "Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "OnlineStorageResizeSupport", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Resizing the storage without interrupting the operation of the database engine is supported." - }, - { - "value": "Disabled", - "description": "Resizing the storage without interrupting the operation of the database engine is not supported." - } - ] - } - }, - "restricted": { - "type": "string", - "description": "Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'.", - "readOnly": true, - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "LocationRestricted", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "Location is restricted." - }, - { - "value": "Disabled", - "description": "Location is not restricted." - } - ] - } - } - }, - "description": "Capability for the Azure Database for PostgreSQL flexible server." - }, - "CapabilityList": { - "type": "object", - "properties": { - "value": { - "description": "List of supported capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of capabilities for the Azure Database for PostgreSQL flexible server." - } - }, - "parameters": {} -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/CapturedLogs.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/CapturedLogs.json deleted file mode 100644 index 1b002ea820e5..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/CapturedLogs.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/logFiles": { - "get": { - "tags": [ - "CapturedLogs" - ], - "operationId": "CapturedLogs_ListByServer", - "x-ms-examples": { - "List all captured logs for download in a server.": { - "$ref": "./examples/CapturedLogsListByServer.json" - } - }, - "description": "Lists all captured logs for download in a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/CapturedLogList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "CapturedLogProperties": { - "type": "object", - "properties": { - "createdTime": { - "type": "string", - "format": "date-time", - "description": "Creation timestamp of the log file." - }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "description": "Last modified timestamp of the log file." - }, - "sizeInKb": { - "type": "integer", - "format": "int64", - "description": "Size (in KB) of the log file." - }, - "type": { - "type": "string", - "description": "Type of log file. Can be 'ServerLogs' or 'UpgradeLogs'." - }, - "url": { - "type": "string", - "description": "URL to download the log file from." - } - }, - "description": "Properties of a log file." - }, - "CapturedLog": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CapturedLogProperties", - "x-ms-client-flatten": true, - "description": "Properties of a log file." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "description": "Log file." - }, - "CapturedLogList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CapturedLog" - }, - "description": "List of log files in a server." - }, - "nextLink": { - "description": "Link used to get the next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of log files." - } - }, - "parameters": {} -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Configurations.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Configurations.json deleted file mode 100644 index 8fb007b6c45c..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Configurations.json +++ /dev/null @@ -1,407 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_ListByServer", - "x-ms-examples": { - "List all configurations (also known as server parameters) of a server.": { - "$ref": "./examples/ConfigurationsListByServer.json" - } - }, - "description": "Lists all configurations (also known as server parameters) of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ConfigurationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}": { - "get": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Get", - "x-ms-examples": { - "Get information about a specific configuration (also known as server parameter) of a server.": { - "$ref": "./examples/ConfigurationsGet.json" - } - }, - "description": "Gets information about a specific configuration (also known as server parameter) of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/Configuration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Update", - "x-ms-examples": { - "Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server.": { - "$ref": "./examples/ConfigurationsUpdate.json" - } - }, - "description": "Updates the value assigned to a specific modifiable configuration (also known as server parameter) of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConfigurationForUpdate" - }, - "description": "Parameters required to update the value of a specific modifiable configuration (also known as server parameter)." - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "put": { - "tags": [ - "Configurations" - ], - "operationId": "Configurations_Put", - "x-ms-examples": { - "Update, using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server.": { - "$ref": "./examples/ConfigurationsUpdateUsingPut.json" - } - }, - "description": "Updates, using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConfigurationForUpdate" - }, - "description": "Parameters required to update the value of a specific modifiable configuration (also known as server parameter)." - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - } - }, - "definitions": { - "ConfigurationProperties": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "Value of the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "Description of the configuration (also known as server parameter)." - }, - "defaultValue": { - "type": "string", - "readOnly": true, - "description": "Value assigned by default to the configuration (also known as server parameter)." - }, - "dataType": { - "type": "string", - "readOnly": true, - "description": "Data type of the configuration (also known as server parameter).", - "enum": [ - "Boolean", - "Numeric", - "Integer", - "Enumeration", - "String", - "Set" - ], - "x-ms-enum": { - "name": "ConfigurationDataType", - "modelAsString": true, - "values": [ - { - "value": "Boolean", - "description": "A boolean value." - }, - { - "value": "Numeric", - "description": "A numeric value." - }, - { - "value": "Integer", - "description": "An integer value." - }, - { - "value": "Enumeration", - "description": "An enumeration value." - }, - { - "value": "String", - "description": "A string value." - }, - { - "value": "Set", - "description": "A set of values." - } - ] - } - }, - "allowedValues": { - "type": "string", - "readOnly": true, - "description": "Allowed values of the configuration (also known as server parameter)." - }, - "source": { - "type": "string", - "description": "Source of the value assigned to the configuration (also known as server parameter). Required to update the value assigned to a specific modifiable configuration." - }, - "isDynamicConfig": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if it's a dynamic (true) or static (false) configuration (also known as server parameter). Static server parameters require a server restart after changing the value assigned to them, for the change to take effect. Dynamic server parameters do not require a server restart after changing the value assigned to them, for the change to take effect." - }, - "isReadOnly": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if it's a read-only (true) or modifiable (false) configuration (also known as server parameter)." - }, - "isConfigPendingRestart": { - "type": "boolean", - "readOnly": true, - "description": "Indicates if the value assigned to the configuration (also known as server parameter) is pending a server restart for it to take effect." - }, - "unit": { - "type": "string", - "readOnly": true, - "description": "Units in which the configuration (also known as server parameter) value is expressed." - }, - "documentationLink": { - "type": "string", - "readOnly": true, - "description": "Link pointing to the documentation of the configuration (also known as server parameter)." - } - }, - "description": "Properties of a configuration (also known as server parameter)." - }, - "Configuration": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationProperties", - "x-ms-client-flatten": true, - "description": "Properties of a configuration (also known as server parameter)." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "description": "Configuration (also known as server parameter)." - }, - "ConfigurationForUpdate": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConfigurationProperties", - "x-ms-client-flatten": true, - "description": "Properties of a configuration (also known as server parameter)." - } - }, - "description": "Configuration (also known as server parameter)." - }, - "ConfigurationList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Configuration" - }, - "description": "List of configurations (also known as server parameters)." - }, - "nextLink": { - "description": "Link used to get the next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of configurations (also known as server parameters)." - } - }, - "parameters": { - "ConfigurationNameParameter": { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the configuration (also known as server parameter).", - "minLength": 1, - "pattern": "^[-\\w\\._]+$", - "maxLength": 256, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Databases.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Databases.json deleted file mode 100644 index 4fcdacabe826..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Databases.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}": { - "put": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Create", - "x-ms-examples": { - "Create a database.": { - "$ref": "./examples/DatabasesCreate.json" - } - }, - "description": "Creates a new database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Database" - }, - "description": "Parameters required to create a new database." - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Delete", - "x-ms-examples": { - "Delete an existing database": { - "$ref": "./examples/DatabasesDelete.json" - } - }, - "description": "Deletes an existing database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "Databases" - ], - "operationId": "Databases_Get", - "x-ms-examples": { - "Get information about an existing database.": { - "$ref": "./examples/DatabasesGet.json" - } - }, - "description": "Gets information about an existing database.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases": { - "get": { - "tags": [ - "Databases" - ], - "operationId": "Databases_ListByServer", - "x-ms-examples": { - "List all databases in a server.": { - "$ref": "./examples/DatabasesListByServer.json" - } - }, - "description": "Lists all databases in a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/DatabaseList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "DatabaseProperties": { - "type": "object", - "properties": { - "charset": { - "type": "string", - "description": "Character set of the database.", - "pattern": "^[a-zA-Z]+\\w*$" - }, - "collation": { - "type": "string", - "description": "Collation of the database.", - "pattern": "^[a-zA-Z\\-]+([. ]|\\w)*$" - } - }, - "description": "Properties of a database." - }, - "Database": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DatabaseProperties", - "x-ms-client-flatten": true, - "description": "Properties of a database." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a database." - }, - "DatabaseList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "List of all databases in a server." - }, - "nextLink": { - "description": "Link used to get the next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of all databases in a server." - } - }, - "parameters": { - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the database (case-sensitive). Exact database names can be retrieved by getting the list of all existing databases in a server.", - "minLength": 1, - "pattern": "^[a-zA-Z_][\\w\\-]{0,62}$", - "maxLength": 63, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/FirewallRules.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/FirewallRules.json deleted file mode 100644 index 4617706949cf..000000000000 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/FirewallRules.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "PostgreSQLManagementClient", - "description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.", - "version": "2025-06-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Microsoft Entra OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}": { - "put": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_CreateOrUpdate", - "x-ms-examples": { - "Create a new firewall rule or update an existing firewall rule.": { - "$ref": "./examples/FirewallRulesCreateOrUpdate.json" - } - }, - "description": "Creates a new firewall rule or updates an existing firewall rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "Parameters required for creating or updating a firewall rule." - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Delete", - "x-ms-examples": { - "Delete an existing firewall rule.": { - "$ref": "./examples/FirewallRulesDelete.json" - } - }, - "description": "Deletes an existing firewall rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - } - ], - "responses": { - "202": { - "description": "Accepted.", - "headers": { - "Location": { - "type": "string" - }, - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_Get", - "x-ms-examples": { - "Get information about a firewall rule in a server.": { - "$ref": "./examples/FirewallRulesGet.json" - } - }, - "description": "Gets information about a firewall rule in a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - }, - { - "$ref": "#/parameters/FirewallRuleNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/FirewallRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules": { - "get": { - "tags": [ - "FirewallRules" - ], - "operationId": "FirewallRules_ListByServer", - "x-ms-examples": { - "List information about all firewall rules in a server.": { - "$ref": "./examples/FirewallRulesListByServer.json" - } - }, - "description": "Lists information about all firewall rules in a server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/FirewallRuleList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "FirewallRuleProperties": { - "type": "object", - "properties": { - "startIpAddress": { - "type": "string", - "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])$", - "description": "IP address defining the start of the range of addresses of a firewall rule. Must be expressed in IPv4 format." - }, - "endIpAddress": { - "type": "string", - "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])$", - "description": "IP address defining the end of the range of addresses of a firewall rule. Must be expressed in IPv4 format." - } - }, - "required": [ - "startIpAddress", - "endIpAddress" - ], - "description": "Properties of a firewall rule." - }, - "FirewallRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/FirewallRuleProperties", - "x-ms-client-flatten": true, - "description": "Properties of a firewall rule." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "required": [ - "properties" - ], - "description": "Firewall rule." - }, - "FirewallRuleList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "description": "List of firewall rules in a server." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "format": "uri" - } - }, - "description": "List of firewall rules." - } - }, - "parameters": { - "FirewallRuleNameParameter": { - "name": "firewallRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the firewall rule.", - "minLength": 1, - "pattern": "^[a-zA-Z0-9][-_a-zA-Z0-9]{0,79}(?", + "additionalProperties": { + "$ref": "#/definitions/DatabaseMigrationState" + } + }, + "validationDetails": { + "$ref": "#/definitions/ValidationDetails", + "description": "Details for the validation for migration." + } + } + }, + "NameAvailabilityModel": { + "type": "object", + "description": "Availability of a name.", + "properties": { + "name": { + "type": "string", + "description": "Name for which validity and availability was checked.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of resource. It can be 'Microsoft.DBforPostgreSQL/flexibleServers' or 'Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints'.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/CheckNameAvailabilityResponse" + } + ] + }, + "NameProperty": { + "type": "object", + "description": "Name property for quota usage", + "properties": { + "value": { + "type": "string", + "description": "Name value" + }, + "localizedValue": { + "type": "string", + "description": "Localized name" + } + } + }, + "Network": { + "type": "object", + "description": "Network properties of a server.", + "properties": { + "publicNetworkAccess": { + "$ref": "#/definitions/ServerPublicNetworkAccessState", + "description": "Indicates if public network access is enabled or not." + }, + "delegatedSubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier of the delegated subnet. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "privateDnsZoneArmResourceId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the private DNS zone. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateDnsZones" + } + ] + } + } + } + }, + "ObjectRecommendation": { + "type": "object", + "description": "Object recommendation properties.", + "properties": { + "kind": { + "type": "string", + "description": "Always empty." + }, + "properties": { + "$ref": "#/definitions/ObjectRecommendationProperties", + "description": "Properties of an object recommendation.", + "readOnly": true, + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ObjectRecommendationDetails": { + "type": "object", + "description": "Recommendation details for the recommended action.", + "properties": { + "databaseName": { + "type": "string", + "description": "Database name." + }, + "schema": { + "type": "string", + "description": "Schema name." + }, + "table": { + "type": "string", + "description": "Table name." + }, + "indexType": { + "type": "string", + "description": "Index type." + }, + "indexName": { + "type": "string", + "description": "Index name." + }, + "indexColumns": { + "type": "array", + "description": "Index columns.", + "items": { + "type": "string" + } + }, + "includedColumns": { + "type": "array", + "description": "Index included columns.", + "items": { + "type": "string" + } + } + } + }, + "ObjectRecommendationList": { + "type": "object", + "description": "List of available object recommendations.", + "properties": { + "value": { + "type": "array", + "description": "The ObjectRecommendation items on this page", + "items": { + "$ref": "#/definitions/ObjectRecommendation" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ObjectRecommendationProperties": { + "type": "object", + "description": "Object recommendation properties.", + "properties": { + "initialRecommendedTime": { + "type": "string", + "format": "date-time", + "description": "Creation time (UTC) of this recommendation." + }, + "lastRecommendedTime": { + "type": "string", + "format": "date-time", + "description": "Last time (UTC) that this recommendation was produced." + }, + "timesRecommended": { + "type": "integer", + "format": "int32", + "description": "Number of times this recommendation has been produced." + }, + "improvedQueryIds": { + "type": "array", + "description": "List of identifiers for all queries identified as targets for improvement if the recommendation is applied. The list is only populated for CREATE INDEX recommendations.", + "items": { + "type": "integer", + "format": "int64" + } + }, + "recommendationReason": { + "type": "string", + "description": "Reason for this recommendation." + }, + "currentState": { + "type": "string", + "description": "Current state." + }, + "recommendationType": { + "$ref": "#/definitions/RecommendationType", + "description": "Type for this recommendation." + }, + "implementationDetails": { + "$ref": "#/definitions/ObjectRecommendationPropertiesImplementationDetails", + "description": "Implementation details for the recommended action." + }, + "analyzedWorkload": { + "$ref": "#/definitions/ObjectRecommendationPropertiesAnalyzedWorkload", + "description": "Workload information for the recommended action." + }, + "estimatedImpact": { + "type": "array", + "description": "Estimated impact of this recommended action.", + "items": { + "$ref": "#/definitions/ImpactRecord" + }, + "readOnly": true, + "x-ms-identifiers": [ + "dimensionName" + ] + }, + "details": { + "$ref": "#/definitions/ObjectRecommendationDetails", + "description": "Recommendation details for the recommended action.", + "readOnly": true + } + } + }, + "ObjectRecommendationPropertiesAnalyzedWorkload": { + "type": "object", + "description": "Workload information for the recommended action.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time (UTC) of the workload analyzed." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "End time (UTC) of the workload analyzed." + }, + "queryCount": { + "type": "integer", + "format": "int32", + "description": "Number of queries from the workload that were examined to produce this recommendation. For DROP INDEX recommendations it's 0 (zero)." + } + } + }, + "ObjectRecommendationPropertiesImplementationDetails": { + "type": "object", + "description": "Implementation details for the recommended action.", + "properties": { + "method": { + "type": "string", + "description": "Method of implementation for recommended action." + }, + "script": { + "type": "string", + "description": "Implementation script for the recommended action." + } + } + }, + "OnlineStorageResizeSupport": { + "type": "string", + "description": "Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "OnlineStorageResizeSupport", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "Operation": { + "type": "object", + "description": "REST API operation definition.", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation being performed on this particular object.", + "readOnly": true + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Localized display information for this particular operation or action.", + "readOnly": true + }, + "isDataAction": { + "type": "boolean", + "description": "Indicates if the operation is a data action." + }, + "origin": { + "$ref": "#/definitions/OperationOrigin", + "description": "Intended executor of the operation.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Additional descriptions for the operation.", + "additionalProperties": {}, + "readOnly": true + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Name of the resource provider.", + "readOnly": true + }, + "resource": { + "type": "string", + "description": "Type of resource on which the operation is performed.", + "readOnly": true + }, + "operation": { + "type": "string", + "description": "Name of the operation.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the operation.", + "readOnly": true + } + } + }, + "OperationList": { + "type": "object", + "description": "Paged collection of Operation items", + "properties": { + "value": { + "type": "array", + "description": "The Operation items on this page", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OperationOrigin": { + "type": "string", + "description": "Intended executor of the operation.", + "enum": [ + "NotSpecified", + "user", + "system" + ], + "x-ms-enum": { + "name": "OperationOrigin", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "user", + "value": "user" + }, + { + "name": "system", + "value": "system" + } + ] + } + }, + "OverwriteDatabasesOnTargetServer": { + "type": "string", + "description": "Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "OverwriteDatabasesOnTargetServer", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True" + }, + { + "name": "False", + "value": "False" + } + ] + } + }, + "PasswordBasedAuth": { + "type": "string", + "description": "Indicates if the server supports password based authentication.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PasswordBasedAuth", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "PostgresMajorVersion": { + "type": "string", + "description": "Major version of PostgreSQL database engine.", + "enum": [ + "17", + "16", + "15", + "14", + "13", + "12", + "11" + ], + "x-ms-enum": { + "name": "PostgresMajorVersion", + "modelAsString": true, + "values": [ + { + "name": "17", + "value": "17" + }, + { + "name": "16", + "value": "16" + }, + { + "name": "15", + "value": "15" + }, + { + "name": "14", + "value": "14" + }, + { + "name": "13", + "value": "13" + }, + { + "name": "12", + "value": "12" + }, + { + "name": "11", + "value": "11" + } + ] + } + }, + "PrincipalType": { + "type": "string", + "description": "Type of Microsoft Entra principal to which the server administrator is associated.", + "enum": [ + "Unknown", + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "name": "PrincipalType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The principal type is not known or not specified." + }, + { + "name": "User", + "value": "User", + "description": "A Microsoft Entra user." + }, + { + "name": "Group", + "value": "Group", + "description": "A Microsoft Entra group." + }, + { + "name": "ServicePrincipal", + "value": "ServicePrincipal", + "description": "A Microsoft Entra service principal, typically representing an application or service identity" + } + ] + } + }, + "PrivateDnsZoneSuffix": { + "type": "string", + "description": "Private DNS suffix." + }, + "PrivateEndpointConnectionList": { + "type": "object", + "description": "List of private endpoint connections.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateEndpointConnection items on this page", + "items": { + "$ref": "../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource.", + "properties": { + "properties": { + "$ref": "../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceList": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "type": "array", + "description": "The PrivateLinkResource items on this page", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "QuotaUsage": { + "type": "object", + "description": "Quota usage for servers", + "properties": { + "name": { + "$ref": "#/definitions/NameProperty", + "description": "Name of quota usage for servers" + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "Quota limit" + }, + "unit": { + "type": "string", + "description": "Quota unit", + "default": "Count" + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "Current Quota usage value" + }, + "id": { + "type": "string", + "description": "Fully qualified ARM resource Id" + } + } + }, + "QuotaUsageList": { + "type": "object", + "description": "Capability for the PostgreSQL server", + "properties": { + "value": { + "type": "array", + "description": "The QuotaUsage items on this page", + "items": { + "$ref": "#/definitions/QuotaUsage" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ReadReplicaPromoteMode": { + "type": "string", + "description": "Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server.", + "enum": [ + "Standalone", + "Switchover" + ], + "x-ms-enum": { + "name": "ReadReplicaPromoteMode", + "modelAsString": true, + "values": [ + { + "name": "Standalone", + "value": "Standalone", + "description": "Read replica will become an independent server." + }, + { + "name": "Switchover", + "value": "Switchover", + "description": "Read replica will swap roles with primary server." + } + ] + } + }, + "ReadReplicaPromoteOption": { + "type": "string", + "description": "Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only.", + "enum": [ + "Planned", + "Forced" + ], + "x-ms-enum": { + "name": "ReadReplicaPromoteOption", + "modelAsString": true, + "values": [ + { + "name": "Planned", + "value": "Planned", + "description": "The operation will wait for data in the read replica to be fully synchronized with its source server, before it initiates the operation." + }, + { + "name": "Forced", + "value": "Forced", + "description": "The operation will not wait for data in the read replica to be synchronized with its source server, before it initiates the operation." + } + ] + } + }, + "RecommendationType": { + "type": "string", + "description": "Type for this recommendation.", + "enum": [ + "CreateIndex", + "DropIndex", + "ReIndex", + "AnalyzeTable" + ], + "x-ms-enum": { + "name": "RecommendationType", + "modelAsString": true, + "values": [ + { + "name": "CreateIndex", + "value": "CreateIndex" + }, + { + "name": "DropIndex", + "value": "DropIndex" + }, + { + "name": "ReIndex", + "value": "ReIndex" + }, + { + "name": "AnalyzeTable", + "value": "AnalyzeTable" + } + ] + } + }, + "Replica": { + "type": "object", + "description": "Replica properties of a server.", + "properties": { + "role": { + "$ref": "#/definitions/ReplicationRole", + "description": "Role of the server in a replication set." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Maximum number of read replicas allowed for a server.", + "readOnly": true + }, + "replicationState": { + "$ref": "#/definitions/ReplicationState", + "description": "Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating", + "readOnly": true + }, + "promoteMode": { + "$ref": "#/definitions/ReadReplicaPromoteMode", + "description": "Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server.", + "x-ms-mutability": [ + "update" + ] + }, + "promoteOption": { + "$ref": "#/definitions/ReadReplicaPromoteOption", + "description": "Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only.", + "x-ms-mutability": [ + "update" + ] + } + } + }, + "ReplicationRole": { + "type": "string", + "description": "Role of the server in a replication set.", + "enum": [ + "None", + "Primary", + "AsyncReplica", + "GeoAsyncReplica" + ], + "x-ms-enum": { + "name": "ReplicationRole", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Primary", + "value": "Primary" + }, + { + "name": "AsyncReplica", + "value": "AsyncReplica" + }, + { + "name": "GeoAsyncReplica", + "value": "GeoAsyncReplica" + } + ] + } + }, + "ReplicationState": { + "type": "string", + "description": "Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating", + "enum": [ + "Active", + "Catchup", + "Provisioning", + "Updating", + "Broken", + "Reconfiguring" + ], + "x-ms-enum": { + "name": "ReplicationState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "The read replica server is fully synchronized and actively replicating data from the primary server." + }, + { + "name": "Catchup", + "value": "Catchup", + "description": "The read replica server is behind the primary server and is currently catching up with pending changes." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The read replica server is being created and is in process of getting initialized." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The read replica server is undergoing some changes it can be changing compute size of promoting it to primary server." + }, + { + "name": "Broken", + "value": "Broken", + "description": "Replication has failed or been interrupted." + }, + { + "name": "Reconfiguring", + "value": "Reconfiguring", + "description": "The read replica server is being reconfigured, possibly due to changes in source or settings." + } + ] + } + }, + "RestartParameter": { + "type": "object", + "description": "PostgreSQL database engine restart parameters.", + "properties": { + "restartWithFailover": { + "type": "boolean", + "description": "Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. This only works if server has high availability enabled." + }, + "failoverMode": { + "$ref": "#/definitions/FailoverMode", + "description": "Failover mode." + } + } + }, + "Server": { + "type": "object", + "description": "Properties of a server.", + "properties": { + "properties": { + "$ref": "#/definitions/ServerProperties", + "description": "Properties of a server.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Compute tier and size of a server." + }, + "identity": { + "$ref": "#/definitions/UserAssignedIdentity", + "description": "User assigned managed identities assigned to the server." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ServerEditionCapability": { + "type": "object", + "description": "Capabilities in terms of compute tier.", + "properties": { + "name": { + "type": "string", + "description": "Name of compute tier.", + "readOnly": true + }, + "defaultSkuName": { + "type": "string", + "description": "Default compute name (SKU) for this computer tier.", + "readOnly": true + }, + "supportedStorageEditions": { + "type": "array", + "description": "List of storage editions supported by this compute tier and compute name.", + "items": { + "$ref": "#/definitions/StorageEditionCapability" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "supportedServerSkus": { + "type": "array", + "description": "List of supported compute names (SKUs).", + "items": { + "$ref": "#/definitions/ServerSkuCapability" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/CapabilityBase" + } + ] + }, + "ServerForPatch": { + "type": "object", + "description": "Represents a server to be updated.", + "properties": { + "sku": { + "$ref": "#/definitions/SkuForPatch", + "description": "Compute tier and size of a server." + }, + "identity": { + "$ref": "#/definitions/UserAssignedIdentity", + "description": "Describes the identity of the application." + }, + "properties": { + "$ref": "#/definitions/ServerPropertiesForPatch", + "description": "Properties of the server.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Application-specific metadata in the form of key-value pairs.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ServerList": { + "type": "object", + "description": "A list of servers.", + "properties": { + "value": { + "type": "array", + "description": "The Server items on this page", + "items": { + "$ref": "#/definitions/Server" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ServerProperties": { + "type": "object", + "description": "Properties of a server.", + "properties": { + "administratorLogin": { + "type": "string", + "description": "Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.", + "x-ms-mutability": [ + "update", + "create" + ], + "x-ms-secret": true + }, + "version": { + "$ref": "#/definitions/PostgresMajorVersion", + "description": "Major version of PostgreSQL database engine." + }, + "minorVersion": { + "type": "string", + "description": "Minor version of PostgreSQL database engine.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ServerState", + "description": "Possible states of a server.", + "readOnly": true + }, + "fullyQualifiedDomainName": { + "type": "string", + "description": "Fully qualified domain name of a server.", + "readOnly": true + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "authConfig": { + "$ref": "#/definitions/AuthConfig", + "description": "Authentication configuration properties of a server." + }, + "dataEncryption": { + "$ref": "#/definitions/DataEncryption", + "description": "Data encryption properties of a server." + }, + "backup": { + "$ref": "#/definitions/Backup", + "description": "Backup properties of a server." + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailability", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Maintenance window properties of a server.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "sourceServerResourceId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.DBforPostgreSQL/flexibleServers" + } + ] + } + }, + "pointInTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.", + "x-ms-mutability": [ + "create" + ] + }, + "availabilityZone": { + "type": "string", + "description": "Availability zone of a server.", + "default": "", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "replicationRole": { + "$ref": "#/definitions/ReplicationRole", + "description": "Role of the server in a replication set." + }, + "replicaCapacity": { + "type": "integer", + "format": "int32", + "description": "Maximum number of read replicas allowed for a server.", + "readOnly": true + }, + "replica": { + "$ref": "#/definitions/Replica", + "description": "Read replica properties of a server. Required only in case that you want to promote a server.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "createMode": { + "$ref": "#/definitions/CreateMode", + "description": "Creation mode of a new server.", + "x-ms-mutability": [ + "update", + "create" + ] + }, + "privateEndpointConnections": { + "type": "array", + "description": "List of private endpoint connections associated with the specified server.", + "items": { + "$ref": "../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "cluster": { + "$ref": "#/definitions/Cluster", + "description": "Cluster properties of a server.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "ServerPropertiesForPatch": { + "type": "object", + "description": "Properties of a server.", + "properties": { + "administratorLogin": { + "type": "string", + "description": "Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.", + "x-ms-mutability": [ + "update" + ], + "x-ms-secret": true + }, + "version": { + "$ref": "#/definitions/PostgresMajorVersion", + "description": "Major version of PostgreSQL database engine." + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage properties of a server." + }, + "backup": { + "$ref": "#/definitions/BackupForPatch", + "description": "Backup properties of a server." + }, + "highAvailability": { + "$ref": "#/definitions/HighAvailabilityForPatch", + "description": "High availability properties of a server." + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindowForPatch", + "description": "Maintenance window properties of a server.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "authConfig": { + "$ref": "#/definitions/AuthConfigForPatch", + "description": "Authentication configuration properties of a server." + }, + "dataEncryption": { + "$ref": "#/definitions/DataEncryption", + "description": "Data encryption properties of a server." + }, + "createMode": { + "$ref": "#/definitions/CreateModeForPatch", + "description": "Update mode of an existing server.", + "x-ms-mutability": [ + "update" + ] + }, + "replicationRole": { + "$ref": "#/definitions/ReplicationRole", + "description": "Role of the server in a replication set." + }, + "replica": { + "$ref": "#/definitions/Replica", + "description": "Read replica properties of a server. Required only in case that you want to promote a server.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network properties of a server. Only required if you want your server to be integrated into a virtual network provided by customer." + }, + "cluster": { + "$ref": "#/definitions/Cluster", + "description": "Cluster properties of a server.", + "x-ms-mutability": [ + "read", + "update" + ] + } + } + }, + "ServerPublicNetworkAccessState": { + "type": "string", + "description": "Indicates if public network access is enabled or not.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServerPublicNetworkAccessState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "ServerSku": { + "type": "object", + "description": "Compute information of a server.", + "properties": { + "name": { + "type": "string", + "description": "Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "Tier of the compute assigned to a server." + } + } + }, + "ServerSkuCapability": { + "type": "object", + "description": "Capabilities in terms of compute.", + "properties": { + "name": { + "type": "string", + "description": "Name of the compute (SKU).", + "readOnly": true + }, + "vCores": { + "type": "integer", + "format": "int32", + "description": "vCores available for this compute.", + "readOnly": true + }, + "supportedIops": { + "type": "integer", + "format": "int32", + "description": "Maximum IOPS supported by this compute.", + "readOnly": true + }, + "supportedMemoryPerVcoreMb": { + "type": "integer", + "format": "int64", + "description": "Supported memory (in MB) per virtual core assigned to this compute.", + "readOnly": true + }, + "supportedZones": { + "type": "array", + "description": "List of supported availability zones. E.g. '1', '2', '3'", + "items": { + "type": "string" + }, + "readOnly": true + }, + "supportedHaMode": { + "type": "array", + "description": "Modes of high availability supported for this compute.", + "items": { + "$ref": "#/definitions/HighAvailabilityMode" + }, + "readOnly": true + }, + "supportedFeatures": { + "type": "array", + "description": "Features supported.", + "items": { + "$ref": "#/definitions/SupportedFeature" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "securityProfile": { + "type": "string", + "description": "Security profile of the compute. Indicates if it's a Confidential Compute virtual machine.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/CapabilityBase" + } + ] + }, + "ServerState": { + "type": "string", + "description": "Possible states of a server.", + "enum": [ + "Ready", + "Dropping", + "Disabled", + "Starting", + "Stopping", + "Stopped", + "Updating", + "Restarting", + "Inaccessible", + "Provisioning" + ], + "x-ms-enum": { + "name": "ServerState", + "modelAsString": true, + "values": [ + { + "name": "Ready", + "value": "Ready" + }, + { + "name": "Dropping", + "value": "Dropping" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Starting", + "value": "Starting" + }, + { + "name": "Stopping", + "value": "Stopping" + }, + { + "name": "Stopped", + "value": "Stopped" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Restarting", + "value": "Restarting" + }, + { + "name": "Inaccessible", + "value": "Inaccessible" + }, + { + "name": "Provisioning", + "value": "Provisioning" + } + ] + } + }, + "ServerVersionCapability": { + "type": "object", + "description": "Capabilities in terms of major versions of PostgreSQL database engine.", + "properties": { + "name": { + "type": "string", + "description": "Major version of PostgreSQL database engine.", + "readOnly": true + }, + "supportedVersionsToUpgrade": { + "type": "array", + "description": "Major versions of PostgreSQL database engine to which this version can be automatically upgraded.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "supportedFeatures": { + "type": "array", + "description": "Features supported.", + "items": { + "$ref": "#/definitions/SupportedFeature" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/CapabilityBase" + } + ] + }, + "Sku": { + "type": "object", + "description": "Compute information of a server.", + "properties": { + "name": { + "type": "string", + "description": "Name by which is known a given compute size assigned to a server." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "Tier of the compute assigned to a server." + } + }, + "required": [ + "name", + "tier" + ] + }, + "SkuForPatch": { + "type": "object", + "description": "Compute information of a server.", + "properties": { + "name": { + "type": "string", + "description": "Name by which is known a given compute size assigned to a server." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "Tier of the compute assigned to a server." + } + } + }, + "SkuTier": { + "type": "string", + "description": "Tier of the compute assigned to a server.", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Burstable", + "value": "Burstable" + }, + { + "name": "GeneralPurpose", + "value": "GeneralPurpose" + }, + { + "name": "MemoryOptimized", + "value": "MemoryOptimized" + } + ] + } + }, + "SourceType": { + "type": "string", + "description": "Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL", + "enum": [ + "OnPremises", + "AWS", + "GCP", + "AzureVM", + "PostgreSQLSingleServer", + "AWS_RDS", + "AWS_AURORA", + "AWS_EC2", + "GCP_CloudSQL", + "GCP_AlloyDB", + "GCP_Compute", + "EDB", + "EDB_Oracle_Server", + "EDB_PostgreSQL", + "PostgreSQLFlexibleServer", + "PostgreSQLCosmosDB", + "Huawei_RDS", + "Huawei_Compute", + "Heroku_PostgreSQL", + "Crunchy_PostgreSQL", + "ApsaraDB_RDS", + "Digital_Ocean_Droplets", + "Digital_Ocean_PostgreSQL", + "Supabase_PostgreSQL" + ], + "x-ms-enum": { + "name": "SourceType", + "modelAsString": true, + "values": [ + { + "name": "OnPremises", + "value": "OnPremises" + }, + { + "name": "AWS", + "value": "AWS" + }, + { + "name": "GCP", + "value": "GCP" + }, + { + "name": "AzureVM", + "value": "AzureVM" + }, + { + "name": "PostgreSQLSingleServer", + "value": "PostgreSQLSingleServer" + }, + { + "name": "AWS_RDS", + "value": "AWS_RDS" + }, + { + "name": "AWS_AURORA", + "value": "AWS_AURORA" + }, + { + "name": "AWS_EC2", + "value": "AWS_EC2" + }, + { + "name": "GCP_CloudSQL", + "value": "GCP_CloudSQL" + }, + { + "name": "GCP_AlloyDB", + "value": "GCP_AlloyDB" + }, + { + "name": "GCP_Compute", + "value": "GCP_Compute" + }, + { + "name": "EDB", + "value": "EDB" + }, + { + "name": "EDB_Oracle_Server", + "value": "EDB_Oracle_Server" + }, + { + "name": "EDB_PostgreSQL", + "value": "EDB_PostgreSQL" + }, + { + "name": "PostgreSQLFlexibleServer", + "value": "PostgreSQLFlexibleServer" + }, + { + "name": "PostgreSQLCosmosDB", + "value": "PostgreSQLCosmosDB" + }, + { + "name": "Huawei_RDS", + "value": "Huawei_RDS" + }, + { + "name": "Huawei_Compute", + "value": "Huawei_Compute" + }, + { + "name": "Heroku_PostgreSQL", + "value": "Heroku_PostgreSQL" + }, + { + "name": "Crunchy_PostgreSQL", + "value": "Crunchy_PostgreSQL" + }, + { + "name": "ApsaraDB_RDS", + "value": "ApsaraDB_RDS" + }, + { + "name": "Digital_Ocean_Droplets", + "value": "Digital_Ocean_Droplets" + }, + { + "name": "Digital_Ocean_PostgreSQL", + "value": "Digital_Ocean_PostgreSQL" + }, + { + "name": "Supabase_PostgreSQL", + "value": "Supabase_PostgreSQL" + } + ] + } + }, + "SslMode": { + "type": "string", + "description": "SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.", + "enum": [ + "Prefer", + "Require", + "VerifyCA", + "VerifyFull" + ], + "x-ms-enum": { + "name": "SslMode", + "modelAsString": true, + "values": [ + { + "name": "Prefer", + "value": "Prefer" + }, + { + "name": "Require", + "value": "Require" + }, + { + "name": "VerifyCA", + "value": "VerifyCA" + }, + { + "name": "VerifyFull", + "value": "VerifyFull" + } + ] + } + }, + "StartDataMigration": { + "type": "string", + "description": "Indicates if data migration must start right away.", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "StartDataMigration", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True" + }, + { + "name": "False", + "value": "False" + } + ] + } + }, + "Storage": { + "type": "object", + "description": "Storage properties of a server.", + "properties": { + "storageSizeGB": { + "type": "integer", + "format": "int32", + "description": "Size of storage assigned to a server." + }, + "autoGrow": { + "$ref": "#/definitions/StorageAutoGrow", + "description": "Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size." + }, + "tier": { + "$ref": "#/definitions/AzureManagedDiskPerformanceTier", + "description": "Storage tier of a server." + }, + "iops": { + "type": "integer", + "format": "int32", + "description": "Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS." + }, + "throughput": { + "type": "integer", + "format": "int32", + "description": "Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS." + }, + "type": { + "$ref": "#/definitions/StorageType", + "description": "Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS." + } + } + }, + "StorageAutoGrow": { + "type": "string", + "description": "Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StorageAutoGrow", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "StorageAutoGrowthSupport": { + "type": "string", + "description": "Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StorageAutoGrowthSupport", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "StorageEditionCapability": { + "type": "object", + "description": "Capabilities in terms of storage tier.", + "properties": { + "name": { + "type": "string", + "description": "Name of storage tier.", + "readOnly": true + }, + "defaultStorageSizeMb": { + "type": "integer", + "format": "int64", + "description": "Default storage size (in MB) for this storage tier.", + "readOnly": true + }, + "supportedStorageMb": { + "type": "array", + "description": "Configurations of storage supported for this storage tier.", + "items": { + "$ref": "#/definitions/StorageMbCapability" + }, + "readOnly": true, + "x-ms-identifiers": [ + "storageSizeMb" + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/CapabilityBase" + } + ] + }, + "StorageMbCapability": { + "type": "object", + "description": "Storage size (in MB) capability.", + "properties": { + "supportedIops": { + "type": "integer", + "format": "int32", + "description": "Minimum IOPS supported by the storage size.", + "readOnly": true + }, + "supportedMaximumIops": { + "type": "integer", + "format": "int32", + "description": "Maximum IOPS supported by the storage size.", + "readOnly": true + }, + "storageSizeMb": { + "type": "integer", + "format": "int64", + "description": "Minimum supported size (in MB) of storage.", + "readOnly": true + }, + "maximumStorageSizeMb": { + "type": "integer", + "format": "int64", + "description": "Maximum supported size (in MB) of storage.", + "readOnly": true + }, + "supportedThroughput": { + "type": "integer", + "format": "int32", + "description": "Minimum supported throughput (in MB/s) of storage.", + "readOnly": true + }, + "supportedMaximumThroughput": { + "type": "integer", + "format": "int32", + "description": "Maximum supported throughput (in MB/s) of storage.", + "readOnly": true + }, + "defaultIopsTier": { + "type": "string", + "description": "Default IOPS for this tier and storage size.", + "readOnly": true + }, + "supportedIopsTiers": { + "type": "array", + "description": "List of all supported storage tiers for this tier and storage size.", + "items": { + "$ref": "#/definitions/StorageTierCapability" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/CapabilityBase" + } + ] + }, + "StorageTierCapability": { + "type": "object", + "description": "Capability of a storage tier.", + "properties": { + "name": { + "type": "string", + "description": "Name of the storage tier.", + "readOnly": true + }, + "iops": { + "type": "integer", + "format": "int32", + "description": "Supported IOPS for the storage tier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/CapabilityBase" + } + ] + }, + "StorageType": { + "type": "string", + "description": "Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS.", + "enum": [ + "Premium_LRS", + "PremiumV2_LRS", + "UltraSSD_LRS" + ], + "x-ms-enum": { + "name": "StorageType", + "modelAsString": true, + "values": [ + { + "name": "Premium_LRS", + "value": "Premium_LRS" + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS" + }, + { + "name": "UltraSSD_LRS", + "value": "UltraSSD_LRS" + } + ] + } + }, + "SupportedFeature": { + "type": "object", + "description": "Features supported.", + "properties": { + "name": { + "type": "string", + "description": "Name of the feature.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/FeatureStatus", + "description": "Status of the feature. Indicates if the feature is enabled or not.", + "readOnly": true + } + } + }, + "ThreatProtectionState": { + "type": "string", + "description": "Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ThreatProtectionState", + "modelAsString": false + } + }, + "TriggerCutover": { + "type": "string", + "description": "Indicates if cutover must be triggered for the entire migration.", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "TriggerCutover", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True" + }, + { + "name": "False", + "value": "False" + } + ] + } + }, + "TuningOptions": { + "type": "object", + "description": "Impact on some metric if this recommended action is applied.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "TuningOptionsList": { + "type": "object", + "description": "List of server tuning options.", + "properties": { + "value": { + "type": "array", + "description": "The TuningOptions items on this page", + "items": { + "$ref": "#/definitions/TuningOptions" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "UserAssignedIdentity": { + "type": "object", + "description": "Identities associated with a server.", + "properties": { + "userAssignedIdentities": { + "type": "object", + "description": "Map of user assigned managed identities.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentity" + } + }, + "principalId": { + "type": "string", + "description": "Identifier of the object of the service principal associated to the user assigned managed identity." + }, + "type": { + "$ref": "#/definitions/IdentityType", + "description": "Types of identities associated with a server." + }, + "tenantId": { + "type": "string", + "description": "Identifier of the tenant of a server.", + "readOnly": true + } + }, + "required": [ + "type" + ] + }, + "UserIdentity": { + "type": "object", + "description": "User assigned managed identity associated with a server.", + "properties": { + "principalId": { + "type": "string", + "description": "Identifier of the object of the service principal associated to the user assigned managed identity." + }, + "clientId": { + "type": "string", + "description": "Identifier of the client of the service principal associated to the user assigned managed identity." + } + } + }, + "ValidationDetails": { + "type": "object", + "description": "Details for the validation for migration.", + "properties": { + "status": { + "$ref": "#/definitions/ValidationState", + "description": "Validation status for migration." + }, + "validationStartTimeInUtc": { + "type": "string", + "format": "date-time", + "description": "Start time (UTC) for validation." + }, + "validationEndTimeInUtc": { + "type": "string", + "format": "date-time", + "description": "End time (UTC) for validation." + }, + "serverLevelValidationDetails": { + "type": "array", + "description": "Details of server level validations.", + "items": { + "$ref": "#/definitions/ValidationSummaryItem" + }, + "x-ms-identifiers": [] + }, + "dbLevelValidationDetails": { + "type": "array", + "description": "Details of server level validations.", + "items": { + "$ref": "#/definitions/DbLevelValidationStatus" + }, + "x-ms-identifiers": [ + "databaseName" + ] + } + } + }, + "ValidationMessage": { + "type": "object", + "description": "Validation message object.", + "properties": { + "state": { + "$ref": "#/definitions/ValidationState", + "description": "Severity of validation message." + }, + "message": { + "type": "string", + "description": "Validation message string." + } + } + }, + "ValidationState": { + "type": "string", + "description": "Validation status for migration.", + "enum": [ + "Failed", + "Succeeded", + "Warning" + ], + "x-ms-enum": { + "name": "ValidationState", + "modelAsString": true, + "values": [ + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Warning", + "value": "Warning" + } + ] + } + }, + "ValidationSummaryItem": { + "type": "object", + "description": "Validation summary object.", + "properties": { + "type": { + "type": "string", + "description": "Validation type." + }, + "state": { + "$ref": "#/definitions/ValidationState", + "description": "Validation status for migration." + }, + "messages": { + "type": "array", + "description": "Validation messages.", + "items": { + "$ref": "#/definitions/ValidationMessage" + }, + "x-ms-identifiers": [] + } + } + }, + "VirtualEndpoint": { + "type": "object", + "description": "Pair of virtual endpoints for a server.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEndpointResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "VirtualEndpointResourceForPatch": { + "type": "object", + "description": "Pair of virtual endpoints for a server.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEndpointResourceProperties", + "description": "Properties of the pair of virtual endpoints.", + "x-ms-client-flatten": true + } + } + }, + "VirtualEndpointResourceProperties": { + "type": "object", + "description": "Properties of a pair of virtual endpoints.", + "properties": { + "endpointType": { + "$ref": "#/definitions/VirtualEndpointType", + "description": "Type of endpoint for the virtual endpoints." + }, + "members": { + "type": "array", + "description": "List of servers that one of the virtual endpoints can refer to.", + "items": { + "type": "string" + } + }, + "virtualEndpoints": { + "type": "array", + "description": "List of virtual endpoints for a server.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "VirtualEndpointType": { + "type": "string", + "description": "Type of endpoint for the virtual endpoints.", + "enum": [ + "ReadWrite" + ], + "x-ms-enum": { + "name": "VirtualEndpointType", + "modelAsString": true, + "values": [ + { + "name": "ReadWrite", + "value": "ReadWrite" + } + ] + } + }, + "VirtualEndpointsList": { + "type": "object", + "description": "List of virtual endpoints.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualEndpoint items on this page", + "items": { + "$ref": "#/definitions/VirtualEndpoint" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkSubnetUsageModel": { + "type": "object", + "description": "Virtual network subnet usage data.", + "properties": { + "delegatedSubnetsUsage": { + "type": "array", + "items": { + "$ref": "#/definitions/DelegatedSubnetUsage" + }, + "readOnly": true, + "x-ms-identifiers": [ + "subnetName" + ] + }, + "location": { + "type": "string", + "description": "location of the delegated subnet usage", + "readOnly": true + }, + "subscriptionId": { + "type": "string", + "description": "subscriptionId of the delegated subnet usage", + "readOnly": true + } + } + }, + "VirtualNetworkSubnetUsageParameter": { + "type": "object", + "description": "Virtual network subnet usage parameter", + "properties": { + "virtualNetworkArmResourceId": { + "type": "string", + "description": "Virtual network resource id." + } + } + }, + "ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport": { + "type": "string", + "description": "Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "ZoneRedundantHighAvailabilitySupport": { + "type": "string", + "description": "Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundantHighAvailabilitySupport", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index ff91b277ceae..83a08297937a 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -41,27 +41,7 @@ These settings apply only when `--tag=package-flexibleserver-2025-06-01-preview` ``` yaml $(tag) == 'package-flexibleserver-2025-06-01-preview' input-file: - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdministratorsMicrosoftEntra.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/AdvancedThreatProtectionSettings.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsAutomaticAndOnDemand.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Capabilities.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/CapturedLogs.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Configurations.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Databases.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/FirewallRules.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/BackupsLongTermRetention.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Migrations.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/NameAvailability.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Operations.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/PrivateDnsZoneSuffix.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/PrivateEndpointConnections.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/PrivateLinkResources.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/QuotaUsages.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Replicas.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/Servers.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/TuningOptions.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/VirtualEndpoints.json - - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/VirtualNetworkSubnetUsage.json + - Microsoft.DBforPostgreSQL/preview/2025-06-01-preview/openapi.json suppressions: - code: ProvisioningStateSpecifiedForLROPut from: AdministratorsMicrosoftEntra.json