azure-native.dbforpostgresql.Server
Explore with Pulumi AI
Flexible server.
Uses Azure REST API version 2024-08-01. In version 2.x of the Azure Native provider, it used API version 2022-12-01.
Other available API versions: 2022-12-01, 2023-03-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview, 2025-01-01-preview, 2025-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]
. See the version guide for details.
Example Usage
Create a new flexible server using a backup of a flexible server that was deleted or dropped recently.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.ReviveDropped,
Location = "westus",
PointInTimeUTC = "2024-08-01T18:30:22.123456Z",
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
CreateMode: pulumi.String(dbforpostgresql.CreateModeReviveDropped),
Location: pulumi.String("westus"),
PointInTimeUTC: pulumi.String("2024-08-01T18:30:22.123456Z"),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.createMode("ReviveDropped")
.location("westus")
.pointInTimeUTC("2024-08-01T18:30:22.123456Z")
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
createMode: azure_native.dbforpostgresql.CreateMode.ReviveDropped,
location: "westus",
pointInTimeUTC: "2024-08-01T18:30:22.123456Z",
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver",
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
create_mode=azure_native.dbforpostgresql.CreateMode.REVIVE_DROPPED,
location="westus",
point_in_time_utc="2024-08-01T18:30:22.123456Z",
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver")
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
createMode: ReviveDropped
location: westus
pointInTimeUTC: 2024-08-01T18:30:22.123456Z
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/exampledeletedserver
Create a new flexible server using a point in time restore of a backup of an existing flexible server.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.PointInTimeRestore,
Location = "westus",
PointInTimeUTC = "2024-08-01T18:35:22.123456Z",
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
CreateMode: pulumi.String(dbforpostgresql.CreateModePointInTimeRestore),
Location: pulumi.String("westus"),
PointInTimeUTC: pulumi.String("2024-08-01T18:35:22.123456Z"),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.createMode("PointInTimeRestore")
.location("westus")
.pointInTimeUTC("2024-08-01T18:35:22.123456Z")
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
createMode: azure_native.dbforpostgresql.CreateMode.PointInTimeRestore,
location: "westus",
pointInTimeUTC: "2024-08-01T18:35:22.123456Z",
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
create_mode=azure_native.dbforpostgresql.CreateMode.POINT_IN_TIME_RESTORE,
location="westus",
point_in_time_utc="2024-08-01T18:35:22.123456Z",
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver")
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
createMode: PointInTimeRestore
location: westus
pointInTimeUTC: 2024-08-01T18:35:22.123456Z
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver
Create a new flexible server using a restore of a geographically redundant backup of an existing flexible server, with data encryption based on customer managed key.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.GeoRestore,
DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
{
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",
Type = AzureNative.DBforPostgreSQL.ArmServerKeyType.AzureKeyVault,
},
Identity = new AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentityArgs
{
Type = AzureNative.DBforPostgreSQL.IdentityType.UserAssigned,
UserAssignedIdentities =
{
{ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity", null },
{ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity", null },
},
},
Location = "westus",
PointInTimeUTC = "2024-08-01T18:35:22.123456Z",
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
CreateMode: pulumi.String(dbforpostgresql.CreateModeGeoRestore),
DataEncryption: &dbforpostgresql.DataEncryptionArgs{
GeoBackupKeyURI: pulumi.String("https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"),
GeoBackupUserAssignedIdentityId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity"),
PrimaryKeyURI: pulumi.String("https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
PrimaryUserAssignedIdentityId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity"),
Type: pulumi.String(dbforpostgresql.ArmServerKeyTypeAzureKeyVault),
},
Identity: &dbforpostgresql.UserAssignedIdentityArgs{
Type: pulumi.String(dbforpostgresql.IdentityTypeUserAssigned),
UserAssignedIdentities: dbforpostgresql.UserIdentityMap{
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity": &dbforpostgresql.UserIdentityArgs{},
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": &dbforpostgresql.UserIdentityArgs{},
},
},
Location: pulumi.String("westus"),
PointInTimeUTC: pulumi.String("2024-08-01T18:35:22.123456Z"),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.DataEncryptionArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.UserAssignedIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.createMode("GeoRestore")
.dataEncryption(DataEncryptionArgs.builder()
.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")
.type("AzureKeyVault")
.build())
.identity(UserAssignedIdentityArgs.builder()
.type("UserAssigned")
.userAssignedIdentities(Map.ofEntries(
Map.entry("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity", UserIdentityArgs.builder()
.build()),
Map.entry("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity", UserIdentityArgs.builder()
.build())
))
.build())
.location("westus")
.pointInTimeUTC("2024-08-01T18:35:22.123456Z")
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
createMode: azure_native.dbforpostgresql.CreateMode.GeoRestore,
dataEncryption: {
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",
type: azure_native.dbforpostgresql.ArmServerKeyType.AzureKeyVault,
},
identity: {
type: azure_native.dbforpostgresql.IdentityType.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: "westus",
pointInTimeUTC: "2024-08-01T18:35:22.123456Z",
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
create_mode=azure_native.dbforpostgresql.CreateMode.GEO_RESTORE,
data_encryption={
"geo_backup_key_uri": "https://examplegeoredundantkeyvault.vault.azure.net/keys/examplekey/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"geo_backup_user_assigned_identity_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/examplegeoredundantidentity",
"primary_key_uri": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"primary_user_assigned_identity_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
"type": azure_native.dbforpostgresql.ArmServerKeyType.AZURE_KEY_VAULT,
},
identity={
"type": azure_native.dbforpostgresql.IdentityType.USER_ASSIGNED,
"user_assigned_identities": {
"/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="westus",
point_in_time_utc="2024-08-01T18:35:22.123456Z",
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver")
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
createMode: GeoRestore
dataEncryption:
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
type: AzureKeyVault
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: westus
pointInTimeUTC: 2024-08-01T18:35:22.123456Z
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver
Create a new flexible server with Microsoft Entra authentication enabled.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
AdministratorLogin = "administratorlogin",
AdministratorLoginPassword = "examplepassword",
AuthConfig = new AzureNative.DBforPostgreSQL.Inputs.AuthConfigArgs
{
ActiveDirectoryAuth = AzureNative.DBforPostgreSQL.ActiveDirectoryAuthEnum.Enabled,
PasswordAuth = AzureNative.DBforPostgreSQL.PasswordAuthEnum.Enabled,
TenantId = "tttttt-tttt-tttt-tttt-tttttttttttt",
},
AvailabilityZone = "1",
Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
{
BackupRetentionDays = 7,
GeoRedundantBackup = AzureNative.DBforPostgreSQL.GeoRedundantBackupEnum.Disabled,
},
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.Create,
DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
{
Type = AzureNative.DBforPostgreSQL.ArmServerKeyType.SystemManaged,
},
HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
{
Mode = AzureNative.DBforPostgreSQL.HighAvailabilityMode.ZoneRedundant,
},
Location = "westus",
Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
{
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",
},
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
{
Name = "Standard_D4ds_v5",
Tier = AzureNative.DBforPostgreSQL.SkuTier.GeneralPurpose,
},
Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
{
AutoGrow = AzureNative.DBforPostgreSQL.StorageAutoGrow.Disabled,
StorageSizeGB = 512,
Tier = AzureNative.DBforPostgreSQL.AzureManagedDiskPerformanceTiers.P20,
},
Version = AzureNative.DBforPostgreSQL.ServerVersion.ServerVersion_16,
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
AdministratorLogin: pulumi.String("administratorlogin"),
AdministratorLoginPassword: pulumi.String("examplepassword"),
AuthConfig: &dbforpostgresql.AuthConfigArgs{
ActiveDirectoryAuth: pulumi.String(dbforpostgresql.ActiveDirectoryAuthEnumEnabled),
PasswordAuth: pulumi.String(dbforpostgresql.PasswordAuthEnumEnabled),
TenantId: pulumi.String("tttttt-tttt-tttt-tttt-tttttttttttt"),
},
AvailabilityZone: pulumi.String("1"),
Backup: &dbforpostgresql.BackupTypeArgs{
BackupRetentionDays: pulumi.Int(7),
GeoRedundantBackup: pulumi.String(dbforpostgresql.GeoRedundantBackupEnumDisabled),
},
CreateMode: pulumi.String(dbforpostgresql.CreateModeCreate),
DataEncryption: &dbforpostgresql.DataEncryptionArgs{
Type: pulumi.String(dbforpostgresql.ArmServerKeyTypeSystemManaged),
},
HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
Mode: pulumi.String(dbforpostgresql.HighAvailabilityModeZoneRedundant),
},
Location: pulumi.String("westus"),
Network: &dbforpostgresql.NetworkArgs{
DelegatedSubnetResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet"),
PrivateDnsZoneArmResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com"),
},
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
Sku: &dbforpostgresql.SkuArgs{
Name: pulumi.String("Standard_D4ds_v5"),
Tier: pulumi.String(dbforpostgresql.SkuTierGeneralPurpose),
},
Storage: &dbforpostgresql.StorageArgs{
AutoGrow: pulumi.String(dbforpostgresql.StorageAutoGrowDisabled),
StorageSizeGB: pulumi.Int(512),
Tier: pulumi.String(dbforpostgresql.AzureManagedDiskPerformanceTiersP20),
},
Version: pulumi.String(dbforpostgresql.ServerVersion_16),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.AuthConfigArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.BackupArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.DataEncryptionArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.HighAvailabilityArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.NetworkArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SkuArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.StorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.administratorLogin("administratorlogin")
.administratorLoginPassword("examplepassword")
.authConfig(AuthConfigArgs.builder()
.activeDirectoryAuth("Enabled")
.passwordAuth("Enabled")
.tenantId("tttttt-tttt-tttt-tttt-tttttttttttt")
.build())
.availabilityZone("1")
.backup(BackupArgs.builder()
.backupRetentionDays(7)
.geoRedundantBackup("Disabled")
.build())
.createMode("Create")
.dataEncryption(DataEncryptionArgs.builder()
.type("SystemManaged")
.build())
.highAvailability(HighAvailabilityArgs.builder()
.mode("ZoneRedundant")
.build())
.location("westus")
.network(NetworkArgs.builder()
.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")
.build())
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sku(SkuArgs.builder()
.name("Standard_D4ds_v5")
.tier("GeneralPurpose")
.build())
.storage(StorageArgs.builder()
.autoGrow("Disabled")
.storageSizeGB(512)
.tier("P20")
.build())
.version("16")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
administratorLogin: "administratorlogin",
administratorLoginPassword: "examplepassword",
authConfig: {
activeDirectoryAuth: azure_native.dbforpostgresql.ActiveDirectoryAuthEnum.Enabled,
passwordAuth: azure_native.dbforpostgresql.PasswordAuthEnum.Enabled,
tenantId: "tttttt-tttt-tttt-tttt-tttttttttttt",
},
availabilityZone: "1",
backup: {
backupRetentionDays: 7,
geoRedundantBackup: azure_native.dbforpostgresql.GeoRedundantBackupEnum.Disabled,
},
createMode: azure_native.dbforpostgresql.CreateMode.Create,
dataEncryption: {
type: azure_native.dbforpostgresql.ArmServerKeyType.SystemManaged,
},
highAvailability: {
mode: azure_native.dbforpostgresql.HighAvailabilityMode.ZoneRedundant,
},
location: "westus",
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",
},
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sku: {
name: "Standard_D4ds_v5",
tier: azure_native.dbforpostgresql.SkuTier.GeneralPurpose,
},
storage: {
autoGrow: azure_native.dbforpostgresql.StorageAutoGrow.Disabled,
storageSizeGB: 512,
tier: azure_native.dbforpostgresql.AzureManagedDiskPerformanceTiers.P20,
},
version: azure_native.dbforpostgresql.ServerVersion.ServerVersion_16,
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
administrator_login="administratorlogin",
administrator_login_password="examplepassword",
auth_config={
"active_directory_auth": azure_native.dbforpostgresql.ActiveDirectoryAuthEnum.ENABLED,
"password_auth": azure_native.dbforpostgresql.PasswordAuthEnum.ENABLED,
"tenant_id": "tttttt-tttt-tttt-tttt-tttttttttttt",
},
availability_zone="1",
backup={
"backup_retention_days": 7,
"geo_redundant_backup": azure_native.dbforpostgresql.GeoRedundantBackupEnum.DISABLED,
},
create_mode=azure_native.dbforpostgresql.CreateMode.CREATE,
data_encryption={
"type": azure_native.dbforpostgresql.ArmServerKeyType.SYSTEM_MANAGED,
},
high_availability={
"mode": azure_native.dbforpostgresql.HighAvailabilityMode.ZONE_REDUNDANT,
},
location="westus",
network={
"delegated_subnet_resource_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet",
"private_dns_zone_arm_resource_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com",
},
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
sku={
"name": "Standard_D4ds_v5",
"tier": azure_native.dbforpostgresql.SkuTier.GENERAL_PURPOSE,
},
storage={
"auto_grow": azure_native.dbforpostgresql.StorageAutoGrow.DISABLED,
"storage_size_gb": 512,
"tier": azure_native.dbforpostgresql.AzureManagedDiskPerformanceTiers.P20,
},
version=azure_native.dbforpostgresql.ServerVersion.SERVER_VERSION_16)
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
administratorLogin: administratorlogin
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: ZoneRedundant
location: westus
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
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sku:
name: Standard_D4ds_v5
tier: GeneralPurpose
storage:
autoGrow: Disabled
storageSizeGB: 512
tier: P20
version: '16'
Create a new flexible server with data encryption based on customer managed key.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
AdministratorLogin = "administratorlogin",
AdministratorLoginPassword = "examplepassword",
AvailabilityZone = "1",
Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
{
BackupRetentionDays = 7,
GeoRedundantBackup = AzureNative.DBforPostgreSQL.GeoRedundantBackupEnum.Disabled,
},
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.Create,
DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
{
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",
Type = AzureNative.DBforPostgreSQL.ArmServerKeyType.AzureKeyVault,
},
HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
{
Mode = AzureNative.DBforPostgreSQL.HighAvailabilityMode.ZoneRedundant,
},
Identity = new AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentityArgs
{
Type = AzureNative.DBforPostgreSQL.IdentityType.UserAssigned,
UserAssignedIdentities =
{
{ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity", null },
},
},
Location = "westus",
Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
{
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",
},
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
{
Name = "Standard_D4ds_v5",
Tier = AzureNative.DBforPostgreSQL.SkuTier.GeneralPurpose,
},
Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
{
AutoGrow = AzureNative.DBforPostgreSQL.StorageAutoGrow.Disabled,
StorageSizeGB = 512,
Tier = AzureNative.DBforPostgreSQL.AzureManagedDiskPerformanceTiers.P20,
},
Version = AzureNative.DBforPostgreSQL.ServerVersion.ServerVersion_16,
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
AdministratorLogin: pulumi.String("administratorlogin"),
AdministratorLoginPassword: pulumi.String("examplepassword"),
AvailabilityZone: pulumi.String("1"),
Backup: &dbforpostgresql.BackupTypeArgs{
BackupRetentionDays: pulumi.Int(7),
GeoRedundantBackup: pulumi.String(dbforpostgresql.GeoRedundantBackupEnumDisabled),
},
CreateMode: pulumi.String(dbforpostgresql.CreateModeCreate),
DataEncryption: &dbforpostgresql.DataEncryptionArgs{
GeoBackupKeyURI: pulumi.String(""),
GeoBackupUserAssignedIdentityId: pulumi.String(""),
PrimaryKeyURI: pulumi.String("https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
PrimaryUserAssignedIdentityId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity"),
Type: pulumi.String(dbforpostgresql.ArmServerKeyTypeAzureKeyVault),
},
HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
Mode: pulumi.String(dbforpostgresql.HighAvailabilityModeZoneRedundant),
},
Identity: &dbforpostgresql.UserAssignedIdentityArgs{
Type: pulumi.String(dbforpostgresql.IdentityTypeUserAssigned),
UserAssignedIdentities: dbforpostgresql.UserIdentityMap{
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": &dbforpostgresql.UserIdentityArgs{},
},
},
Location: pulumi.String("westus"),
Network: &dbforpostgresql.NetworkArgs{
DelegatedSubnetResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet"),
PrivateDnsZoneArmResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com"),
},
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
Sku: &dbforpostgresql.SkuArgs{
Name: pulumi.String("Standard_D4ds_v5"),
Tier: pulumi.String(dbforpostgresql.SkuTierGeneralPurpose),
},
Storage: &dbforpostgresql.StorageArgs{
AutoGrow: pulumi.String(dbforpostgresql.StorageAutoGrowDisabled),
StorageSizeGB: pulumi.Int(512),
Tier: pulumi.String(dbforpostgresql.AzureManagedDiskPerformanceTiersP20),
},
Version: pulumi.String(dbforpostgresql.ServerVersion_16),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.BackupArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.DataEncryptionArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.HighAvailabilityArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.UserAssignedIdentityArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.NetworkArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SkuArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.StorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.administratorLogin("administratorlogin")
.administratorLoginPassword("examplepassword")
.availabilityZone("1")
.backup(BackupArgs.builder()
.backupRetentionDays(7)
.geoRedundantBackup("Disabled")
.build())
.createMode("Create")
.dataEncryption(DataEncryptionArgs.builder()
.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")
.type("AzureKeyVault")
.build())
.highAvailability(HighAvailabilityArgs.builder()
.mode("ZoneRedundant")
.build())
.identity(UserAssignedIdentityArgs.builder()
.type("UserAssigned")
.userAssignedIdentities(Map.of("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity", UserIdentityArgs.builder()
.build()))
.build())
.location("westus")
.network(NetworkArgs.builder()
.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")
.build())
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sku(SkuArgs.builder()
.name("Standard_D4ds_v5")
.tier("GeneralPurpose")
.build())
.storage(StorageArgs.builder()
.autoGrow("Disabled")
.storageSizeGB(512)
.tier("P20")
.build())
.version("16")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
administratorLogin: "administratorlogin",
administratorLoginPassword: "examplepassword",
availabilityZone: "1",
backup: {
backupRetentionDays: 7,
geoRedundantBackup: azure_native.dbforpostgresql.GeoRedundantBackupEnum.Disabled,
},
createMode: azure_native.dbforpostgresql.CreateMode.Create,
dataEncryption: {
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",
type: azure_native.dbforpostgresql.ArmServerKeyType.AzureKeyVault,
},
highAvailability: {
mode: azure_native.dbforpostgresql.HighAvailabilityMode.ZoneRedundant,
},
identity: {
type: azure_native.dbforpostgresql.IdentityType.UserAssigned,
userAssignedIdentities: {
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {},
},
},
location: "westus",
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",
},
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sku: {
name: "Standard_D4ds_v5",
tier: azure_native.dbforpostgresql.SkuTier.GeneralPurpose,
},
storage: {
autoGrow: azure_native.dbforpostgresql.StorageAutoGrow.Disabled,
storageSizeGB: 512,
tier: azure_native.dbforpostgresql.AzureManagedDiskPerformanceTiers.P20,
},
version: azure_native.dbforpostgresql.ServerVersion.ServerVersion_16,
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
administrator_login="administratorlogin",
administrator_login_password="examplepassword",
availability_zone="1",
backup={
"backup_retention_days": 7,
"geo_redundant_backup": azure_native.dbforpostgresql.GeoRedundantBackupEnum.DISABLED,
},
create_mode=azure_native.dbforpostgresql.CreateMode.CREATE,
data_encryption={
"geo_backup_key_uri": "",
"geo_backup_user_assigned_identity_id": "",
"primary_key_uri": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"primary_user_assigned_identity_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
"type": azure_native.dbforpostgresql.ArmServerKeyType.AZURE_KEY_VAULT,
},
high_availability={
"mode": azure_native.dbforpostgresql.HighAvailabilityMode.ZONE_REDUNDANT,
},
identity={
"type": azure_native.dbforpostgresql.IdentityType.USER_ASSIGNED,
"user_assigned_identities": {
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {},
},
},
location="westus",
network={
"delegated_subnet_resource_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet",
"private_dns_zone_arm_resource_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourcegroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.postgres.database.azure.com",
},
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
sku={
"name": "Standard_D4ds_v5",
"tier": azure_native.dbforpostgresql.SkuTier.GENERAL_PURPOSE,
},
storage={
"auto_grow": azure_native.dbforpostgresql.StorageAutoGrow.DISABLED,
"storage_size_gb": 512,
"tier": azure_native.dbforpostgresql.AzureManagedDiskPerformanceTiers.P20,
},
version=azure_native.dbforpostgresql.ServerVersion.SERVER_VERSION_16)
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
administratorLogin: administratorlogin
administratorLoginPassword: examplepassword
availabilityZone: '1'
backup:
backupRetentionDays: 7
geoRedundantBackup: Disabled
createMode: Create
dataEncryption:
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
type: AzureKeyVault
highAvailability:
mode: ZoneRedundant
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity
: {}
location: westus
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
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sku:
name: Standard_D4ds_v5
tier: GeneralPurpose
storage:
autoGrow: Disabled
storageSizeGB: 512
tier: P20
version: '16'
Create a new flexible server.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
AdministratorLogin = "administratorlogin",
AdministratorLoginPassword = "examplepassword",
AvailabilityZone = "1",
Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
{
BackupRetentionDays = 7,
GeoRedundantBackup = AzureNative.DBforPostgreSQL.GeoRedundantBackupEnum.Enabled,
},
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.Create,
HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
{
Mode = AzureNative.DBforPostgreSQL.HighAvailabilityMode.ZoneRedundant,
},
Location = "westus",
Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
{
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",
},
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
{
Name = "Standard_D4ds_v5",
Tier = AzureNative.DBforPostgreSQL.SkuTier.GeneralPurpose,
},
Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
{
AutoGrow = AzureNative.DBforPostgreSQL.StorageAutoGrow.Disabled,
StorageSizeGB = 512,
Tier = AzureNative.DBforPostgreSQL.AzureManagedDiskPerformanceTiers.P20,
},
Tags =
{
{ "VNetServer", "1" },
},
Version = AzureNative.DBforPostgreSQL.ServerVersion.ServerVersion_16,
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
AdministratorLogin: pulumi.String("administratorlogin"),
AdministratorLoginPassword: pulumi.String("examplepassword"),
AvailabilityZone: pulumi.String("1"),
Backup: &dbforpostgresql.BackupTypeArgs{
BackupRetentionDays: pulumi.Int(7),
GeoRedundantBackup: pulumi.String(dbforpostgresql.GeoRedundantBackupEnumEnabled),
},
CreateMode: pulumi.String(dbforpostgresql.CreateModeCreate),
HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
Mode: pulumi.String(dbforpostgresql.HighAvailabilityModeZoneRedundant),
},
Location: pulumi.String("westus"),
Network: &dbforpostgresql.NetworkArgs{
DelegatedSubnetResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet"),
PrivateDnsZoneArmResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.private.postgres.database"),
},
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
Sku: &dbforpostgresql.SkuArgs{
Name: pulumi.String("Standard_D4ds_v5"),
Tier: pulumi.String(dbforpostgresql.SkuTierGeneralPurpose),
},
Storage: &dbforpostgresql.StorageArgs{
AutoGrow: pulumi.String(dbforpostgresql.StorageAutoGrowDisabled),
StorageSizeGB: pulumi.Int(512),
Tier: pulumi.String(dbforpostgresql.AzureManagedDiskPerformanceTiersP20),
},
Tags: pulumi.StringMap{
"VNetServer": pulumi.String("1"),
},
Version: pulumi.String(dbforpostgresql.ServerVersion_16),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.BackupArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.HighAvailabilityArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.NetworkArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SkuArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.StorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.administratorLogin("administratorlogin")
.administratorLoginPassword("examplepassword")
.availabilityZone("1")
.backup(BackupArgs.builder()
.backupRetentionDays(7)
.geoRedundantBackup("Enabled")
.build())
.createMode("Create")
.highAvailability(HighAvailabilityArgs.builder()
.mode("ZoneRedundant")
.build())
.location("westus")
.network(NetworkArgs.builder()
.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")
.build())
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sku(SkuArgs.builder()
.name("Standard_D4ds_v5")
.tier("GeneralPurpose")
.build())
.storage(StorageArgs.builder()
.autoGrow("Disabled")
.storageSizeGB(512)
.tier("P20")
.build())
.tags(Map.of("VNetServer", "1"))
.version("16")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
administratorLogin: "administratorlogin",
administratorLoginPassword: "examplepassword",
availabilityZone: "1",
backup: {
backupRetentionDays: 7,
geoRedundantBackup: azure_native.dbforpostgresql.GeoRedundantBackupEnum.Enabled,
},
createMode: azure_native.dbforpostgresql.CreateMode.Create,
highAvailability: {
mode: azure_native.dbforpostgresql.HighAvailabilityMode.ZoneRedundant,
},
location: "westus",
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",
},
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sku: {
name: "Standard_D4ds_v5",
tier: azure_native.dbforpostgresql.SkuTier.GeneralPurpose,
},
storage: {
autoGrow: azure_native.dbforpostgresql.StorageAutoGrow.Disabled,
storageSizeGB: 512,
tier: azure_native.dbforpostgresql.AzureManagedDiskPerformanceTiers.P20,
},
tags: {
VNetServer: "1",
},
version: azure_native.dbforpostgresql.ServerVersion.ServerVersion_16,
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
administrator_login="administratorlogin",
administrator_login_password="examplepassword",
availability_zone="1",
backup={
"backup_retention_days": 7,
"geo_redundant_backup": azure_native.dbforpostgresql.GeoRedundantBackupEnum.ENABLED,
},
create_mode=azure_native.dbforpostgresql.CreateMode.CREATE,
high_availability={
"mode": azure_native.dbforpostgresql.HighAvailabilityMode.ZONE_REDUNDANT,
},
location="westus",
network={
"delegated_subnet_resource_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/virtualNetworks/examplevirtualnetwork/subnets/examplesubnet",
"private_dns_zone_arm_resource_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.Network/privateDnsZones/exampleprivatednszone.private.postgres.database",
},
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
sku={
"name": "Standard_D4ds_v5",
"tier": azure_native.dbforpostgresql.SkuTier.GENERAL_PURPOSE,
},
storage={
"auto_grow": azure_native.dbforpostgresql.StorageAutoGrow.DISABLED,
"storage_size_gb": 512,
"tier": azure_native.dbforpostgresql.AzureManagedDiskPerformanceTiers.P20,
},
tags={
"VNetServer": "1",
},
version=azure_native.dbforpostgresql.ServerVersion.SERVER_VERSION_16)
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
administratorLogin: administratorlogin
administratorLoginPassword: examplepassword
availabilityZone: '1'
backup:
backupRetentionDays: 7
geoRedundantBackup: Enabled
createMode: Create
highAvailability:
mode: ZoneRedundant
location: westus
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
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sku:
name: Standard_D4ds_v5
tier: GeneralPurpose
storage:
autoGrow: Disabled
storageSizeGB: 512
tier: P20
tags:
VNetServer: '1'
version: '16'
Create a read replica of an existing flexible server.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var server = new AzureNative.DBforPostgreSQL.Server("server", new()
{
CreateMode = AzureNative.DBforPostgreSQL.CreateMode.Replica,
DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
{
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",
Type = AzureNative.DBforPostgreSQL.ArmServerKeyType.AzureKeyVault,
},
Identity = new AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentityArgs
{
Type = AzureNative.DBforPostgreSQL.IdentityType.UserAssigned,
UserAssignedIdentities =
{
{ "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity", null },
},
},
Location = "westus",
PointInTimeUTC = "2024-08-01T18:35:22.123456Z",
ResourceGroupName = "exampleresourcegroup",
ServerName = "exampleserver",
SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
});
});
package main
import (
dbforpostgresql "github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbforpostgresql.NewServer(ctx, "server", &dbforpostgresql.ServerArgs{
CreateMode: pulumi.String(dbforpostgresql.CreateModeReplica),
DataEncryption: &dbforpostgresql.DataEncryptionArgs{
GeoBackupKeyURI: pulumi.String(""),
GeoBackupUserAssignedIdentityId: pulumi.String(""),
PrimaryKeyURI: pulumi.String("https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
PrimaryUserAssignedIdentityId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity"),
Type: pulumi.String(dbforpostgresql.ArmServerKeyTypeAzureKeyVault),
},
Identity: &dbforpostgresql.UserAssignedIdentityArgs{
Type: pulumi.String(dbforpostgresql.IdentityTypeUserAssigned),
UserAssignedIdentities: dbforpostgresql.UserIdentityMap{
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": &dbforpostgresql.UserIdentityArgs{},
},
},
Location: pulumi.String("westus"),
PointInTimeUTC: pulumi.String("2024-08-01T18:35:22.123456Z"),
ResourceGroupName: pulumi.String("exampleresourcegroup"),
ServerName: pulumi.String("exampleserver"),
SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.dbforpostgresql.Server;
import com.pulumi.azurenative.dbforpostgresql.ServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.DataEncryptionArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.UserAssignedIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var server = new Server("server", ServerArgs.builder()
.createMode("Replica")
.dataEncryption(DataEncryptionArgs.builder()
.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")
.type("AzureKeyVault")
.build())
.identity(UserAssignedIdentityArgs.builder()
.type("UserAssigned")
.userAssignedIdentities(Map.of("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity", UserIdentityArgs.builder()
.build()))
.build())
.location("westus")
.pointInTimeUTC("2024-08-01T18:35:22.123456Z")
.resourceGroupName("exampleresourcegroup")
.serverName("exampleserver")
.sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const server = new azure_native.dbforpostgresql.Server("server", {
createMode: azure_native.dbforpostgresql.CreateMode.Replica,
dataEncryption: {
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",
type: azure_native.dbforpostgresql.ArmServerKeyType.AzureKeyVault,
},
identity: {
type: azure_native.dbforpostgresql.IdentityType.UserAssigned,
userAssignedIdentities: {
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {},
},
},
location: "westus",
pointInTimeUTC: "2024-08-01T18:35:22.123456Z",
resourceGroupName: "exampleresourcegroup",
serverName: "exampleserver",
sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver",
});
import pulumi
import pulumi_azure_native as azure_native
server = azure_native.dbforpostgresql.Server("server",
create_mode=azure_native.dbforpostgresql.CreateMode.REPLICA,
data_encryption={
"geo_backup_key_uri": "",
"geo_backup_user_assigned_identity_id": "",
"primary_key_uri": "https://exampleprimarykeyvault.vault.azure.net/keys/examplekey/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"primary_user_assigned_identity_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity",
"type": azure_native.dbforpostgresql.ArmServerKeyType.AZURE_KEY_VAULT,
},
identity={
"type": azure_native.dbforpostgresql.IdentityType.USER_ASSIGNED,
"user_assigned_identities": {
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity": {},
},
},
location="westus",
point_in_time_utc="2024-08-01T18:35:22.123456Z",
resource_group_name="exampleresourcegroup",
server_name="exampleserver",
source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver")
resources:
server:
type: azure-native:dbforpostgresql:Server
properties:
createMode: Replica
dataEncryption:
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
type: AzureKeyVault
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleprimaryidentity
: {}
location: westus
pointInTimeUTC: 2024-08-01T18:35:22.123456Z
resourceGroupName: exampleresourcegroup
serverName: exampleserver
sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/exampleresourcegroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/examplesourceserver
Create Server Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
@overload
def Server(resource_name: str,
args: ServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Server(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
create_mode: Optional[Union[str, CreateMode]] = None,
point_in_time_utc: Optional[str] = None,
availability_zone: Optional[str] = None,
backup: Optional[BackupArgs] = None,
administrator_login: Optional[str] = None,
data_encryption: Optional[DataEncryptionArgs] = None,
high_availability: Optional[HighAvailabilityArgs] = None,
identity: Optional[UserAssignedIdentityArgs] = None,
location: Optional[str] = None,
maintenance_window: Optional[MaintenanceWindowArgs] = None,
auth_config: Optional[AuthConfigArgs] = None,
replica: Optional[ReplicaArgs] = None,
network: Optional[NetworkArgs] = None,
replication_role: Optional[Union[str, ReplicationRole]] = None,
administrator_login_password: Optional[str] = None,
server_name: Optional[str] = None,
sku: Optional[SkuArgs] = None,
source_server_resource_id: Optional[str] = None,
storage: Optional[StorageArgs] = None,
tags: Optional[Mapping[str, str]] = None,
version: Optional[Union[str, ServerVersion]] = None)
func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
public Server(String name, ServerArgs args)
public Server(String name, ServerArgs args, CustomResourceOptions options)
type: azure-native:dbforpostgresql:Server
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleserverResourceResourceFromDbforpostgresql = new AzureNative.DBforPostgreSQL.Server("exampleserverResourceResourceFromDbforpostgresql", new()
{
ResourceGroupName = "string",
CreateMode = "string",
PointInTimeUTC = "string",
AvailabilityZone = "string",
Backup = new AzureNative.DBforPostgreSQL.Inputs.BackupArgs
{
BackupRetentionDays = 0,
GeoRedundantBackup = "string",
},
AdministratorLogin = "string",
DataEncryption = new AzureNative.DBforPostgreSQL.Inputs.DataEncryptionArgs
{
GeoBackupEncryptionKeyStatus = "string",
GeoBackupKeyURI = "string",
GeoBackupUserAssignedIdentityId = "string",
PrimaryEncryptionKeyStatus = "string",
PrimaryKeyURI = "string",
PrimaryUserAssignedIdentityId = "string",
Type = "string",
},
HighAvailability = new AzureNative.DBforPostgreSQL.Inputs.HighAvailabilityArgs
{
Mode = "string",
StandbyAvailabilityZone = "string",
},
Identity = new AzureNative.DBforPostgreSQL.Inputs.UserAssignedIdentityArgs
{
Type = "string",
PrincipalId = "string",
UserAssignedIdentities =
{
{ "string", new AzureNative.DBforPostgreSQL.Inputs.UserIdentityArgs
{
ClientId = "string",
PrincipalId = "string",
} },
},
},
Location = "string",
MaintenanceWindow = new AzureNative.DBforPostgreSQL.Inputs.MaintenanceWindowArgs
{
CustomWindow = "string",
DayOfWeek = 0,
StartHour = 0,
StartMinute = 0,
},
AuthConfig = new AzureNative.DBforPostgreSQL.Inputs.AuthConfigArgs
{
ActiveDirectoryAuth = "string",
PasswordAuth = "string",
TenantId = "string",
},
Replica = new AzureNative.DBforPostgreSQL.Inputs.ReplicaArgs
{
PromoteMode = "string",
PromoteOption = "string",
Role = "string",
},
Network = new AzureNative.DBforPostgreSQL.Inputs.NetworkArgs
{
DelegatedSubnetResourceId = "string",
PrivateDnsZoneArmResourceId = "string",
PublicNetworkAccess = "string",
},
ReplicationRole = "string",
AdministratorLoginPassword = "string",
ServerName = "string",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SkuArgs
{
Name = "string",
Tier = "string",
},
SourceServerResourceId = "string",
Storage = new AzureNative.DBforPostgreSQL.Inputs.StorageArgs
{
AutoGrow = "string",
Iops = 0,
StorageSizeGB = 0,
Throughput = 0,
Tier = "string",
Type = "string",
},
Tags =
{
{ "string", "string" },
},
Version = "string",
});
example, err := dbforpostgresql.NewServer(ctx, "exampleserverResourceResourceFromDbforpostgresql", &dbforpostgresql.ServerArgs{
ResourceGroupName: pulumi.String("string"),
CreateMode: pulumi.String("string"),
PointInTimeUTC: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
Backup: &dbforpostgresql.BackupTypeArgs{
BackupRetentionDays: pulumi.Int(0),
GeoRedundantBackup: pulumi.String("string"),
},
AdministratorLogin: pulumi.String("string"),
DataEncryption: &dbforpostgresql.DataEncryptionArgs{
GeoBackupEncryptionKeyStatus: pulumi.String("string"),
GeoBackupKeyURI: pulumi.String("string"),
GeoBackupUserAssignedIdentityId: pulumi.String("string"),
PrimaryEncryptionKeyStatus: pulumi.String("string"),
PrimaryKeyURI: pulumi.String("string"),
PrimaryUserAssignedIdentityId: pulumi.String("string"),
Type: pulumi.String("string"),
},
HighAvailability: &dbforpostgresql.HighAvailabilityArgs{
Mode: pulumi.String("string"),
StandbyAvailabilityZone: pulumi.String("string"),
},
Identity: &dbforpostgresql.UserAssignedIdentityArgs{
Type: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
UserAssignedIdentities: dbforpostgresql.UserIdentityMap{
"string": &dbforpostgresql.UserIdentityArgs{
ClientId: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
},
},
},
Location: pulumi.String("string"),
MaintenanceWindow: &dbforpostgresql.MaintenanceWindowArgs{
CustomWindow: pulumi.String("string"),
DayOfWeek: pulumi.Int(0),
StartHour: pulumi.Int(0),
StartMinute: pulumi.Int(0),
},
AuthConfig: &dbforpostgresql.AuthConfigArgs{
ActiveDirectoryAuth: pulumi.String("string"),
PasswordAuth: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Replica: &dbforpostgresql.ReplicaArgs{
PromoteMode: pulumi.String("string"),
PromoteOption: pulumi.String("string"),
Role: pulumi.String("string"),
},
Network: &dbforpostgresql.NetworkArgs{
DelegatedSubnetResourceId: pulumi.String("string"),
PrivateDnsZoneArmResourceId: pulumi.String("string"),
PublicNetworkAccess: pulumi.String("string"),
},
ReplicationRole: pulumi.String("string"),
AdministratorLoginPassword: pulumi.String("string"),
ServerName: pulumi.String("string"),
Sku: &dbforpostgresql.SkuArgs{
Name: pulumi.String("string"),
Tier: pulumi.String("string"),
},
SourceServerResourceId: pulumi.String("string"),
Storage: &dbforpostgresql.StorageArgs{
AutoGrow: pulumi.String("string"),
Iops: pulumi.Int(0),
StorageSizeGB: pulumi.Int(0),
Throughput: pulumi.Int(0),
Tier: pulumi.String("string"),
Type: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var exampleserverResourceResourceFromDbforpostgresql = new com.pulumi.azurenative.dbforpostgresql.Server("exampleserverResourceResourceFromDbforpostgresql", com.pulumi.azurenative.dbforpostgresql.ServerArgs.builder()
.resourceGroupName("string")
.createMode("string")
.pointInTimeUTC("string")
.availabilityZone("string")
.backup(BackupArgs.builder()
.backupRetentionDays(0)
.geoRedundantBackup("string")
.build())
.administratorLogin("string")
.dataEncryption(DataEncryptionArgs.builder()
.geoBackupEncryptionKeyStatus("string")
.geoBackupKeyURI("string")
.geoBackupUserAssignedIdentityId("string")
.primaryEncryptionKeyStatus("string")
.primaryKeyURI("string")
.primaryUserAssignedIdentityId("string")
.type("string")
.build())
.highAvailability(HighAvailabilityArgs.builder()
.mode("string")
.standbyAvailabilityZone("string")
.build())
.identity(UserAssignedIdentityArgs.builder()
.type("string")
.principalId("string")
.userAssignedIdentities(Map.of("string", UserIdentityArgs.builder()
.clientId("string")
.principalId("string")
.build()))
.build())
.location("string")
.maintenanceWindow(MaintenanceWindowArgs.builder()
.customWindow("string")
.dayOfWeek(0)
.startHour(0)
.startMinute(0)
.build())
.authConfig(AuthConfigArgs.builder()
.activeDirectoryAuth("string")
.passwordAuth("string")
.tenantId("string")
.build())
.replica(ReplicaArgs.builder()
.promoteMode("string")
.promoteOption("string")
.role("string")
.build())
.network(NetworkArgs.builder()
.delegatedSubnetResourceId("string")
.privateDnsZoneArmResourceId("string")
.publicNetworkAccess("string")
.build())
.replicationRole("string")
.administratorLoginPassword("string")
.serverName("string")
.sku(SkuArgs.builder()
.name("string")
.tier("string")
.build())
.sourceServerResourceId("string")
.storage(StorageArgs.builder()
.autoGrow("string")
.iops(0)
.storageSizeGB(0)
.throughput(0)
.tier("string")
.type("string")
.build())
.tags(Map.of("string", "string"))
.version("string")
.build());
exampleserver_resource_resource_from_dbforpostgresql = azure_native.dbforpostgresql.Server("exampleserverResourceResourceFromDbforpostgresql",
resource_group_name="string",
create_mode="string",
point_in_time_utc="string",
availability_zone="string",
backup={
"backup_retention_days": 0,
"geo_redundant_backup": "string",
},
administrator_login="string",
data_encryption={
"geo_backup_encryption_key_status": "string",
"geo_backup_key_uri": "string",
"geo_backup_user_assigned_identity_id": "string",
"primary_encryption_key_status": "string",
"primary_key_uri": "string",
"primary_user_assigned_identity_id": "string",
"type": "string",
},
high_availability={
"mode": "string",
"standby_availability_zone": "string",
},
identity={
"type": "string",
"principal_id": "string",
"user_assigned_identities": {
"string": {
"client_id": "string",
"principal_id": "string",
},
},
},
location="string",
maintenance_window={
"custom_window": "string",
"day_of_week": 0,
"start_hour": 0,
"start_minute": 0,
},
auth_config={
"active_directory_auth": "string",
"password_auth": "string",
"tenant_id": "string",
},
replica={
"promote_mode": "string",
"promote_option": "string",
"role": "string",
},
network={
"delegated_subnet_resource_id": "string",
"private_dns_zone_arm_resource_id": "string",
"public_network_access": "string",
},
replication_role="string",
administrator_login_password="string",
server_name="string",
sku={
"name": "string",
"tier": "string",
},
source_server_resource_id="string",
storage={
"auto_grow": "string",
"iops": 0,
"storage_size_gb": 0,
"throughput": 0,
"tier": "string",
"type": "string",
},
tags={
"string": "string",
},
version="string")
const exampleserverResourceResourceFromDbforpostgresql = new azure_native.dbforpostgresql.Server("exampleserverResourceResourceFromDbforpostgresql", {
resourceGroupName: "string",
createMode: "string",
pointInTimeUTC: "string",
availabilityZone: "string",
backup: {
backupRetentionDays: 0,
geoRedundantBackup: "string",
},
administratorLogin: "string",
dataEncryption: {
geoBackupEncryptionKeyStatus: "string",
geoBackupKeyURI: "string",
geoBackupUserAssignedIdentityId: "string",
primaryEncryptionKeyStatus: "string",
primaryKeyURI: "string",
primaryUserAssignedIdentityId: "string",
type: "string",
},
highAvailability: {
mode: "string",
standbyAvailabilityZone: "string",
},
identity: {
type: "string",
principalId: "string",
userAssignedIdentities: {
string: {
clientId: "string",
principalId: "string",
},
},
},
location: "string",
maintenanceWindow: {
customWindow: "string",
dayOfWeek: 0,
startHour: 0,
startMinute: 0,
},
authConfig: {
activeDirectoryAuth: "string",
passwordAuth: "string",
tenantId: "string",
},
replica: {
promoteMode: "string",
promoteOption: "string",
role: "string",
},
network: {
delegatedSubnetResourceId: "string",
privateDnsZoneArmResourceId: "string",
publicNetworkAccess: "string",
},
replicationRole: "string",
administratorLoginPassword: "string",
serverName: "string",
sku: {
name: "string",
tier: "string",
},
sourceServerResourceId: "string",
storage: {
autoGrow: "string",
iops: 0,
storageSizeGB: 0,
throughput: 0,
tier: "string",
type: "string",
},
tags: {
string: "string",
},
version: "string",
});
type: azure-native:dbforpostgresql:Server
properties:
administratorLogin: string
administratorLoginPassword: string
authConfig:
activeDirectoryAuth: string
passwordAuth: string
tenantId: string
availabilityZone: string
backup:
backupRetentionDays: 0
geoRedundantBackup: string
createMode: string
dataEncryption:
geoBackupEncryptionKeyStatus: string
geoBackupKeyURI: string
geoBackupUserAssignedIdentityId: string
primaryEncryptionKeyStatus: string
primaryKeyURI: string
primaryUserAssignedIdentityId: string
type: string
highAvailability:
mode: string
standbyAvailabilityZone: string
identity:
principalId: string
type: string
userAssignedIdentities:
string:
clientId: string
principalId: string
location: string
maintenanceWindow:
customWindow: string
dayOfWeek: 0
startHour: 0
startMinute: 0
network:
delegatedSubnetResourceId: string
privateDnsZoneArmResourceId: string
publicNetworkAccess: string
pointInTimeUTC: string
replica:
promoteMode: string
promoteOption: string
role: string
replicationRole: string
resourceGroupName: string
serverName: string
sku:
name: string
tier: string
sourceServerResourceId: string
storage:
autoGrow: string
iops: 0
storageSizeGB: 0
throughput: 0
tier: string
type: string
tags:
string: string
version: string
Server Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Server resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Administrator
Login string - 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.
- Administrator
Login stringPassword - Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.
- Auth
Config Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Auth Config - Authentication configuration properties of a flexible server.
- Availability
Zone string - Availability zone of a flexible server.
- Backup
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Backup - Backup properties of a flexible server.
- Create
Mode string | Pulumi.Azure Native. DBfor Postgre SQL. Create Mode - Creation mode of a new flexible server.
- Data
Encryption Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Data Encryption - Data encryption properties of a flexible server.
- High
Availability Pulumi.Azure Native. DBfor Postgre SQL. Inputs. High Availability - High availability properties of a flexible server.
- Identity
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. User Assigned Identity - User assigned managed identities assigned to the flexible server.
- Location string
- The geo-location where the resource lives
- Maintenance
Window Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Maintenance Window - Maintenance window properties of a flexible server.
- Network
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Network - Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer.
- Point
In stringTime UTC - Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.
- Replica
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Replica - Read replica properties of a flexible server. Required only in case that you want to promote a server.
- Replication
Role string | Pulumi.Azure Native. DBfor Postgre SQL. Replication Role - Role of the server in a replication set.
- Server
Name string - The name of the server.
- Sku
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Sku - Compute tier and size of a flexible server.
- Source
Server stringResource Id - Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.
- Storage
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Storage - Storage properties of a flexible server.
- Dictionary<string, string>
- Resource tags.
- Version
string | Pulumi.
Azure Native. DBfor Postgre SQL. Server Version - Major version of PostgreSQL database engine.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Administrator
Login string - 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.
- Administrator
Login stringPassword - Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.
- Auth
Config AuthConfig Args - Authentication configuration properties of a flexible server.
- Availability
Zone string - Availability zone of a flexible server.
- Backup
Backup
Type Args - Backup properties of a flexible server.
- Create
Mode string | CreateMode - Creation mode of a new flexible server.
- Data
Encryption DataEncryption Args - Data encryption properties of a flexible server.
- High
Availability HighAvailability Args - High availability properties of a flexible server.
- Identity
User
Assigned Identity Args - User assigned managed identities assigned to the flexible server.
- Location string
- The geo-location where the resource lives
- Maintenance
Window MaintenanceWindow Args - Maintenance window properties of a flexible server.
- Network
Network
Args - Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer.
- Point
In stringTime UTC - Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.
- Replica
Replica
Args - Read replica properties of a flexible server. Required only in case that you want to promote a server.
- Replication
Role string | ReplicationRole - Role of the server in a replication set.
- Server
Name string - The name of the server.
- Sku
Sku
Args - Compute tier and size of a flexible server.
- Source
Server stringResource Id - Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.
- Storage
Storage
Args - Storage properties of a flexible server.
- map[string]string
- Resource tags.
- Version
string | Server
Version - Major version of PostgreSQL database engine.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- administrator
Login String - 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.
- administrator
Login StringPassword - Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.
- auth
Config AuthConfig - Authentication configuration properties of a flexible server.
- availability
Zone String - Availability zone of a flexible server.
- backup Backup
- Backup properties of a flexible server.
- create
Mode String | CreateMode - Creation mode of a new flexible server.
- data
Encryption DataEncryption - Data encryption properties of a flexible server.
- high
Availability HighAvailability - High availability properties of a flexible server.
- identity
User
Assigned Identity - User assigned managed identities assigned to the flexible server.
- location String
- The geo-location where the resource lives
- maintenance
Window MaintenanceWindow - Maintenance window properties of a flexible server.
- network Network
- Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer.
- point
In StringTime UTC - Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.
- replica Replica
- Read replica properties of a flexible server. Required only in case that you want to promote a server.
- replication
Role String | ReplicationRole - Role of the server in a replication set.
- server
Name String - The name of the server.
- sku Sku
- Compute tier and size of a flexible server.
- source
Server StringResource Id - Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.
- storage Storage
- Storage properties of a flexible server.
- Map<String,String>
- Resource tags.
- version
String | Server
Version - Major version of PostgreSQL database engine.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- administrator
Login string - 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.
- administrator
Login stringPassword - Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.
- auth
Config AuthConfig - Authentication configuration properties of a flexible server.
- availability
Zone string - Availability zone of a flexible server.
- backup Backup
- Backup properties of a flexible server.
- create
Mode string | CreateMode - Creation mode of a new flexible server.
- data
Encryption DataEncryption - Data encryption properties of a flexible server.
- high
Availability HighAvailability - High availability properties of a flexible server.
- identity
User
Assigned Identity - User assigned managed identities assigned to the flexible server.
- location string
- The geo-location where the resource lives
- maintenance
Window MaintenanceWindow - Maintenance window properties of a flexible server.
- network Network
- Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer.
- point
In stringTime UTC - Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.
- replica Replica
- Read replica properties of a flexible server. Required only in case that you want to promote a server.
- replication
Role string | ReplicationRole - Role of the server in a replication set.
- server
Name string - The name of the server.
- sku Sku
- Compute tier and size of a flexible server.
- source
Server stringResource Id - Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.
- storage Storage
- Storage properties of a flexible server.
- {[key: string]: string}
- Resource tags.
- version
string | Server
Version - Major version of PostgreSQL database engine.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- administrator_
login str - 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.
- administrator_
login_ strpassword - Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.
- auth_
config AuthConfig Args - Authentication configuration properties of a flexible server.
- availability_
zone str - Availability zone of a flexible server.
- backup
Backup
Args - Backup properties of a flexible server.
- create_
mode str | CreateMode - Creation mode of a new flexible server.
- data_
encryption DataEncryption Args - Data encryption properties of a flexible server.
- high_
availability HighAvailability Args - High availability properties of a flexible server.
- identity
User
Assigned Identity Args - User assigned managed identities assigned to the flexible server.
- location str
- The geo-location where the resource lives
- maintenance_
window MaintenanceWindow Args - Maintenance window properties of a flexible server.
- network
Network
Args - Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer.
- point_
in_ strtime_ utc - Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.
- replica
Replica
Args - Read replica properties of a flexible server. Required only in case that you want to promote a server.
- replication_
role str | ReplicationRole - Role of the server in a replication set.
- server_
name str - The name of the server.
- sku
Sku
Args - Compute tier and size of a flexible server.
- source_
server_ strresource_ id - Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.
- storage
Storage
Args - Storage properties of a flexible server.
- Mapping[str, str]
- Resource tags.
- version
str | Server
Version - Major version of PostgreSQL database engine.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- administrator
Login String - 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.
- administrator
Login StringPassword - Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.
- auth
Config Property Map - Authentication configuration properties of a flexible server.
- availability
Zone String - Availability zone of a flexible server.
- backup Property Map
- Backup properties of a flexible server.
- create
Mode String | "Default" | "Create" | "Update" | "PointIn Time Restore" | "Geo Restore" | "Replica" | "Revive Dropped" - Creation mode of a new flexible server.
- data
Encryption Property Map - Data encryption properties of a flexible server.
- high
Availability Property Map - High availability properties of a flexible server.
- identity Property Map
- User assigned managed identities assigned to the flexible server.
- location String
- The geo-location where the resource lives
- maintenance
Window Property Map - Maintenance window properties of a flexible server.
- network Property Map
- Network properties of a flexible server. Only required if you want your server to be integrated into a virtual network provided by customer.
- point
In StringTime UTC - Creation time (in ISO8601 format) of the backup which you want to restore in the new flexible server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.
- replica Property Map
- Read replica properties of a flexible server. Required only in case that you want to promote a server.
- replication
Role String | "None" | "Primary" | "AsyncReplica" | "Geo Async Replica" - Role of the server in a replication set.
- server
Name String - The name of the server.
- sku Property Map
- Compute tier and size of a flexible server.
- source
Server StringResource Id - Identifier of the flexible server to be used as the source of the new flexible server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target flexible server is a read replica.
- storage Property Map
- Storage properties of a flexible server.
- Map<String>
- Resource tags.
- version String | "16" | "15" | "14" | "13" | "12" | "11"
- Major version of PostgreSQL database engine.
Outputs
All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Fully
Qualified stringDomain Name - Fully qualified domain name of a flexible server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Minor
Version string - Minor version of PostgreSQL database engine.
- Name string
- The name of the resource
- Private
Endpoint List<Pulumi.Connections Azure Native. DBfor Postgre SQL. Outputs. Private Endpoint Connection Response> - List of private endpoint connections associated with the specified flexible server.
- Replica
Capacity int - Maximum number of read replicas allowed for a flexible server.
- State string
- Possible states of a flexible server.
- System
Data Pulumi.Azure Native. DBfor Postgre SQL. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Fully
Qualified stringDomain Name - Fully qualified domain name of a flexible server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Minor
Version string - Minor version of PostgreSQL database engine.
- Name string
- The name of the resource
- Private
Endpoint []PrivateConnections Endpoint Connection Response - List of private endpoint connections associated with the specified flexible server.
- Replica
Capacity int - Maximum number of read replicas allowed for a flexible server.
- State string
- Possible states of a flexible server.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- fully
Qualified StringDomain Name - Fully qualified domain name of a flexible server.
- id String
- The provider-assigned unique ID for this managed resource.
- minor
Version String - Minor version of PostgreSQL database engine.
- name String
- The name of the resource
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - List of private endpoint connections associated with the specified flexible server.
- replica
Capacity Integer - Maximum number of read replicas allowed for a flexible server.
- state String
- Possible states of a flexible server.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- fully
Qualified stringDomain Name - Fully qualified domain name of a flexible server.
- id string
- The provider-assigned unique ID for this managed resource.
- minor
Version string - Minor version of PostgreSQL database engine.
- name string
- The name of the resource
- private
Endpoint PrivateConnections Endpoint Connection Response[] - List of private endpoint connections associated with the specified flexible server.
- replica
Capacity number - Maximum number of read replicas allowed for a flexible server.
- state string
- Possible states of a flexible server.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- fully_
qualified_ strdomain_ name - Fully qualified domain name of a flexible server.
- id str
- The provider-assigned unique ID for this managed resource.
- minor_
version str - Minor version of PostgreSQL database engine.
- name str
- The name of the resource
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection Response] - List of private endpoint connections associated with the specified flexible server.
- replica_
capacity int - Maximum number of read replicas allowed for a flexible server.
- state str
- Possible states of a flexible server.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- fully
Qualified StringDomain Name - Fully qualified domain name of a flexible server.
- id String
- The provider-assigned unique ID for this managed resource.
- minor
Version String - Minor version of PostgreSQL database engine.
- name String
- The name of the resource
- private
Endpoint List<Property Map>Connections - List of private endpoint connections associated with the specified flexible server.
- replica
Capacity Number - Maximum number of read replicas allowed for a flexible server.
- state String
- Possible states of a flexible server.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ActiveDirectoryAuthEnum, ActiveDirectoryAuthEnumArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Active
Directory Auth Enum Enabled - Enabled
- Active
Directory Auth Enum Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
ArmServerKeyType, ArmServerKeyTypeArgs
- System
Managed - SystemManaged
- Azure
Key Vault - AzureKeyVault
- Arm
Server Key Type System Managed - SystemManaged
- Arm
Server Key Type Azure Key Vault - AzureKeyVault
- System
Managed - SystemManaged
- Azure
Key Vault - AzureKeyVault
- System
Managed - SystemManaged
- Azure
Key Vault - AzureKeyVault
- SYSTEM_MANAGED
- SystemManaged
- AZURE_KEY_VAULT
- AzureKeyVault
- "System
Managed" - SystemManaged
- "Azure
Key Vault" - AzureKeyVault
AuthConfig, AuthConfigArgs
- Active
Directory string | Pulumi.Auth Azure Native. DBfor Postgre SQL. Active Directory Auth Enum - Indicates if the server supports Microsoft Entra authentication.
- Password
Auth string | Pulumi.Azure Native. DBfor Postgre SQL. Password Auth Enum - Indicates if the server supports password based authentication.
- Tenant
Id string - Identifier of the tenant of the delegated resource.
- Active
Directory string | ActiveAuth Directory Auth Enum - Indicates if the server supports Microsoft Entra authentication.
- Password
Auth string | PasswordAuth Enum - Indicates if the server supports password based authentication.
- Tenant
Id string - Identifier of the tenant of the delegated resource.
- active
Directory String | ActiveAuth Directory Auth Enum - Indicates if the server supports Microsoft Entra authentication.
- password
Auth String | PasswordAuth Enum - Indicates if the server supports password based authentication.
- tenant
Id String - Identifier of the tenant of the delegated resource.
- active
Directory string | ActiveAuth Directory Auth Enum - Indicates if the server supports Microsoft Entra authentication.
- password
Auth string | PasswordAuth Enum - Indicates if the server supports password based authentication.
- tenant
Id string - Identifier of the tenant of the delegated resource.
- active_
directory_ str | Activeauth Directory Auth Enum - Indicates if the server supports Microsoft Entra authentication.
- password_
auth str | PasswordAuth Enum - Indicates if the server supports password based authentication.
- tenant_
id str - Identifier of the tenant of the delegated resource.
- active
Directory String | "Enabled" | "Disabled"Auth - Indicates if the server supports Microsoft Entra authentication.
- password
Auth String | "Enabled" | "Disabled" - Indicates if the server supports password based authentication.
- tenant
Id String - Identifier of the tenant of the delegated resource.
AuthConfigResponse, AuthConfigResponseArgs
- Active
Directory stringAuth - Indicates if the server supports Microsoft Entra authentication.
- Password
Auth string - Indicates if the server supports password based authentication.
- Tenant
Id string - Identifier of the tenant of the delegated resource.
- Active
Directory stringAuth - Indicates if the server supports Microsoft Entra authentication.
- Password
Auth string - Indicates if the server supports password based authentication.
- Tenant
Id string - Identifier of the tenant of the delegated resource.
- active
Directory StringAuth - Indicates if the server supports Microsoft Entra authentication.
- password
Auth String - Indicates if the server supports password based authentication.
- tenant
Id String - Identifier of the tenant of the delegated resource.
- active
Directory stringAuth - Indicates if the server supports Microsoft Entra authentication.
- password
Auth string - Indicates if the server supports password based authentication.
- tenant
Id string - Identifier of the tenant of the delegated resource.
- active_
directory_ strauth - Indicates if the server supports Microsoft Entra authentication.
- password_
auth str - Indicates if the server supports password based authentication.
- tenant_
id str - Identifier of the tenant of the delegated resource.
- active
Directory StringAuth - Indicates if the server supports Microsoft Entra authentication.
- password
Auth String - Indicates if the server supports password based authentication.
- tenant
Id String - Identifier of the tenant of the delegated resource.
AzureManagedDiskPerformanceTiers, AzureManagedDiskPerformanceTiersArgs
- P1
- P1
- P2
- P2
- P3
- P3
- P4
- P4
- P6
- P6
- P10
- P10
- P15
- P15
- P20
- P20
- P30
- P30
- P40
- P40
- P50
- P50
- P60
- P60
- P70
- P70
- P80
- P80
- Azure
Managed Disk Performance Tiers P1 - P1
- Azure
Managed Disk Performance Tiers P2 - P2
- Azure
Managed Disk Performance Tiers P3 - P3
- Azure
Managed Disk Performance Tiers P4 - P4
- Azure
Managed Disk Performance Tiers P6 - P6
- Azure
Managed Disk Performance Tiers P10 - P10
- Azure
Managed Disk Performance Tiers P15 - P15
- Azure
Managed Disk Performance Tiers P20 - P20
- Azure
Managed Disk Performance Tiers P30 - P30
- Azure
Managed Disk Performance Tiers P40 - P40
- Azure
Managed Disk Performance Tiers P50 - P50
- Azure
Managed Disk Performance Tiers P60 - P60
- Azure
Managed Disk Performance Tiers P70 - P70
- Azure
Managed Disk Performance Tiers P80 - P80
- P1
- P1
- P2
- P2
- P3
- P3
- P4
- P4
- P6
- P6
- P10
- P10
- P15
- P15
- P20
- P20
- P30
- P30
- P40
- P40
- P50
- P50
- P60
- P60
- P70
- P70
- P80
- P80
- P1
- P1
- P2
- P2
- P3
- P3
- P4
- P4
- P6
- P6
- P10
- P10
- P15
- P15
- P20
- P20
- P30
- P30
- P40
- P40
- P50
- P50
- P60
- P60
- P70
- P70
- P80
- P80
- P1
- P1
- P2
- P2
- P3
- P3
- P4
- P4
- P6
- P6
- P10
- P10
- P15
- P15
- P20
- P20
- P30
- P30
- P40
- P40
- P50
- P50
- P60
- P60
- P70
- P70
- P80
- P80
- "P1"
- P1
- "P2"
- P2
- "P3"
- P3
- "P4"
- P4
- "P6"
- P6
- "P10"
- P10
- "P15"
- P15
- "P20"
- P20
- "P30"
- P30
- "P40"
- P40
- "P50"
- P50
- "P60"
- P60
- "P70"
- P70
- "P80"
- P80
Backup, BackupArgs
- Backup
Retention intDays - Backup retention days for the flexible server.
- Geo
Redundant string | Pulumi.Backup Azure Native. DBfor Postgre SQL. Geo Redundant Backup Enum - Indicates if the server is configured to create geographically redundant backups.
- Backup
Retention intDays - Backup retention days for the flexible server.
- Geo
Redundant string | GeoBackup Redundant Backup Enum - Indicates if the server is configured to create geographically redundant backups.
- backup
Retention IntegerDays - Backup retention days for the flexible server.
- geo
Redundant String | GeoBackup Redundant Backup Enum - Indicates if the server is configured to create geographically redundant backups.
- backup
Retention numberDays - Backup retention days for the flexible server.
- geo
Redundant string | GeoBackup Redundant Backup Enum - Indicates if the server is configured to create geographically redundant backups.
- backup_
retention_ intdays - Backup retention days for the flexible server.
- geo_
redundant_ str | Geobackup Redundant Backup Enum - Indicates if the server is configured to create geographically redundant backups.
- backup
Retention NumberDays - Backup retention days for the flexible server.
- geo
Redundant String | "Enabled" | "Disabled"Backup - Indicates if the server is configured to create geographically redundant backups.
BackupResponse, BackupResponseArgs
- Earliest
Restore stringDate - Earliest restore point time (ISO8601 format) for a flexible server.
- Backup
Retention intDays - Backup retention days for the flexible server.
- Geo
Redundant stringBackup - Indicates if the server is configured to create geographically redundant backups.
- Earliest
Restore stringDate - Earliest restore point time (ISO8601 format) for a flexible server.
- Backup
Retention intDays - Backup retention days for the flexible server.
- Geo
Redundant stringBackup - Indicates if the server is configured to create geographically redundant backups.
- earliest
Restore StringDate - Earliest restore point time (ISO8601 format) for a flexible server.
- backup
Retention IntegerDays - Backup retention days for the flexible server.
- geo
Redundant StringBackup - Indicates if the server is configured to create geographically redundant backups.
- earliest
Restore stringDate - Earliest restore point time (ISO8601 format) for a flexible server.
- backup
Retention numberDays - Backup retention days for the flexible server.
- geo
Redundant stringBackup - Indicates if the server is configured to create geographically redundant backups.
- earliest_
restore_ strdate - Earliest restore point time (ISO8601 format) for a flexible server.
- backup_
retention_ intdays - Backup retention days for the flexible server.
- geo_
redundant_ strbackup - Indicates if the server is configured to create geographically redundant backups.
- earliest
Restore StringDate - Earliest restore point time (ISO8601 format) for a flexible server.
- backup
Retention NumberDays - Backup retention days for the flexible server.
- geo
Redundant StringBackup - Indicates if the server is configured to create geographically redundant backups.
CreateMode, CreateModeArgs
- Default
- Default
- Create
- Create
- Update
- Update
- Point
In Time Restore - PointInTimeRestore
- Geo
Restore - GeoRestore
- Replica
- Replica
- Revive
Dropped - ReviveDropped
- Create
Mode Default - Default
- Create
Mode Create - Create
- Create
Mode Update - Update
- Create
Mode Point In Time Restore - PointInTimeRestore
- Create
Mode Geo Restore - GeoRestore
- Create
Mode Replica - Replica
- Create
Mode Revive Dropped - ReviveDropped
- Default
- Default
- Create
- Create
- Update
- Update
- Point
In Time Restore - PointInTimeRestore
- Geo
Restore - GeoRestore
- Replica
- Replica
- Revive
Dropped - ReviveDropped
- Default
- Default
- Create
- Create
- Update
- Update
- Point
In Time Restore - PointInTimeRestore
- Geo
Restore - GeoRestore
- Replica
- Replica
- Revive
Dropped - ReviveDropped
- DEFAULT
- Default
- CREATE
- Create
- UPDATE
- Update
- POINT_IN_TIME_RESTORE
- PointInTimeRestore
- GEO_RESTORE
- GeoRestore
- REPLICA
- Replica
- REVIVE_DROPPED
- ReviveDropped
- "Default"
- Default
- "Create"
- Create
- "Update"
- Update
- "Point
In Time Restore" - PointInTimeRestore
- "Geo
Restore" - GeoRestore
- "Replica"
- Replica
- "Revive
Dropped" - ReviveDropped
DataEncryption, DataEncryptionArgs
- Geo
Backup string | Pulumi.Encryption Key Status Azure Native. DBfor Postgre SQL. Key Status Enum - Status of key used by a flexible 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.
- Geo
Backup stringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- Geo
Backup stringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- Primary
Encryption string | Pulumi.Key Status Azure Native. DBfor Postgre SQL. Key Status Enum - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- Primary
Key stringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- Primary
User stringAssigned Identity Id - 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 flexible server.
- Type
string | Pulumi.
Azure Native. DBfor Postgre SQL. Arm Server Key Type - Data encryption type used by a flexible server.
- Geo
Backup string | KeyEncryption Key Status Status Enum - Status of key used by a flexible 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.
- Geo
Backup stringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- Geo
Backup stringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- Primary
Encryption string | KeyKey Status Status Enum - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- Primary
Key stringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- Primary
User stringAssigned Identity Id - 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 flexible server.
- Type
string | Arm
Server Key Type - Data encryption type used by a flexible server.
- geo
Backup String | KeyEncryption Key Status Status Enum - Status of key used by a flexible 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.
- geo
Backup StringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- geo
Backup StringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- primary
Encryption String | KeyKey Status Status Enum - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary
Key StringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary
User StringAssigned Identity Id - 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 flexible server.
- type
String | Arm
Server Key Type - Data encryption type used by a flexible server.
- geo
Backup string | KeyEncryption Key Status Status Enum - Status of key used by a flexible 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.
- geo
Backup stringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- geo
Backup stringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- primary
Encryption string | KeyKey Status Status Enum - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary
Key stringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary
User stringAssigned Identity Id - 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 flexible server.
- type
string | Arm
Server Key Type - Data encryption type used by a flexible server.
- geo_
backup_ str | Keyencryption_ key_ status Status Enum - Status of key used by a flexible 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.
- geo_
backup_ strkey_ uri - 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 flexible server that is configured to support geographically redundant backups.
- geo_
backup_ struser_ assigned_ identity_ id - 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 flexible server that is configured to support geographically redundant backups.
- primary_
encryption_ str | Keykey_ status Status Enum - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary_
key_ struri - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary_
user_ strassigned_ identity_ id - 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 flexible server.
- type
str | Arm
Server Key Type - Data encryption type used by a flexible server.
- geo
Backup String | "Valid" | "Invalid"Encryption Key Status - Status of key used by a flexible 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.
- geo
Backup StringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- geo
Backup StringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- primary
Encryption String | "Valid" | "Invalid"Key Status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary
Key StringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary
User StringAssigned Identity Id - 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 flexible server.
- type
String | "System
Managed" | "Azure Key Vault" - Data encryption type used by a flexible server.
DataEncryptionResponse, DataEncryptionResponseArgs
- Geo
Backup stringEncryption Key Status - Status of key used by a flexible 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.
- Geo
Backup stringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- Geo
Backup stringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- Primary
Encryption stringKey Status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- Primary
Key stringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- Primary
User stringAssigned Identity Id - 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 flexible server.
- Type string
- Data encryption type used by a flexible server.
- Geo
Backup stringEncryption Key Status - Status of key used by a flexible 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.
- Geo
Backup stringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- Geo
Backup stringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- Primary
Encryption stringKey Status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- Primary
Key stringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- Primary
User stringAssigned Identity Id - 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 flexible server.
- Type string
- Data encryption type used by a flexible server.
- geo
Backup StringEncryption Key Status - Status of key used by a flexible 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.
- geo
Backup StringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- geo
Backup StringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- primary
Encryption StringKey Status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary
Key StringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary
User StringAssigned Identity Id - 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 flexible server.
- type String
- Data encryption type used by a flexible server.
- geo
Backup stringEncryption Key Status - Status of key used by a flexible 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.
- geo
Backup stringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- geo
Backup stringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- primary
Encryption stringKey Status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary
Key stringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary
User stringAssigned Identity Id - 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 flexible server.
- type string
- Data encryption type used by a flexible server.
- geo_
backup_ strencryption_ key_ status - Status of key used by a flexible 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.
- geo_
backup_ strkey_ uri - 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 flexible server that is configured to support geographically redundant backups.
- geo_
backup_ struser_ assigned_ identity_ id - 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 flexible server that is configured to support geographically redundant backups.
- primary_
encryption_ strkey_ status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary_
key_ struri - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary_
user_ strassigned_ identity_ id - 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 flexible server.
- type str
- Data encryption type used by a flexible server.
- geo
Backup StringEncryption Key Status - Status of key used by a flexible 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.
- geo
Backup StringKey URI - 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 flexible server that is configured to support geographically redundant backups.
- geo
Backup StringUser Assigned Identity Id - 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 flexible server that is configured to support geographically redundant backups.
- primary
Encryption StringKey Status - Status of key used by a flexible server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
- primary
Key StringURI - URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a flexible server.
- primary
User StringAssigned Identity Id - 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 flexible server.
- type String
- Data encryption type used by a flexible server.
GeoRedundantBackupEnum, GeoRedundantBackupEnumArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Geo
Redundant Backup Enum Enabled - Enabled
- Geo
Redundant Backup Enum Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
HighAvailability, HighAvailabilityArgs
- Mode
string | Pulumi.
Azure Native. DBfor Postgre SQL. High Availability Mode - High availability mode for a flexible server.
- Standby
Availability stringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- Mode
string | High
Availability Mode - High availability mode for a flexible server.
- Standby
Availability stringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode
String | High
Availability Mode - High availability mode for a flexible server.
- standby
Availability StringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode
string | High
Availability Mode - High availability mode for a flexible server.
- standby
Availability stringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode
str | High
Availability Mode - High availability mode for a flexible server.
- standby_
availability_ strzone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode
String | "Disabled" | "Zone
Redundant" | "Same Zone" - High availability mode for a flexible server.
- standby
Availability StringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
HighAvailabilityMode, HighAvailabilityModeArgs
- Disabled
- Disabled
- Zone
Redundant - ZoneRedundant
- Same
Zone - SameZone
- High
Availability Mode Disabled - Disabled
- High
Availability Mode Zone Redundant - ZoneRedundant
- High
Availability Mode Same Zone - SameZone
- Disabled
- Disabled
- Zone
Redundant - ZoneRedundant
- Same
Zone - SameZone
- Disabled
- Disabled
- Zone
Redundant - ZoneRedundant
- Same
Zone - SameZone
- DISABLED
- Disabled
- ZONE_REDUNDANT
- ZoneRedundant
- SAME_ZONE
- SameZone
- "Disabled"
- Disabled
- "Zone
Redundant" - ZoneRedundant
- "Same
Zone" - SameZone
HighAvailabilityResponse, HighAvailabilityResponseArgs
- State string
- Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
- Mode string
- High availability mode for a flexible server.
- Standby
Availability stringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- State string
- Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
- Mode string
- High availability mode for a flexible server.
- Standby
Availability stringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- state String
- Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode String
- High availability mode for a flexible server.
- standby
Availability StringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- state string
- Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode string
- High availability mode for a flexible server.
- standby
Availability stringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- state str
- Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode str
- High availability mode for a flexible server.
- standby_
availability_ strzone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
- state String
- Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.
- mode String
- High availability mode for a flexible server.
- standby
Availability StringZone - Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.
IdentityType, IdentityTypeArgs
- User
Assigned - UserAssigned
- System
Assigned - SystemAssigned
- Identity
Type User Assigned - UserAssigned
- Identity
Type System Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned - SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED
- SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned" - SystemAssigned
KeyStatusEnum, KeyStatusEnumArgs
- Valid
- Valid
- Invalid
- Invalid
- Key
Status Enum Valid - Valid
- Key
Status Enum Invalid - Invalid
- Valid
- Valid
- Invalid
- Invalid
- Valid
- Valid
- Invalid
- Invalid
- VALID
- Valid
- INVALID
- Invalid
- "Valid"
- Valid
- "Invalid"
- Invalid
MaintenanceWindow, MaintenanceWindowArgs
- Custom
Window string - Indicates whether custom window is enabled or disabled.
- Day
Of intWeek - Day of the week to be used for maintenance window.
- Start
Hour int - Start hour to be used for maintenance window.
- Start
Minute int - Start minute to be used for maintenance window.
- Custom
Window string - Indicates whether custom window is enabled or disabled.
- Day
Of intWeek - Day of the week to be used for maintenance window.
- Start
Hour int - Start hour to be used for maintenance window.
- Start
Minute int - Start minute to be used for maintenance window.
- custom
Window String - Indicates whether custom window is enabled or disabled.
- day
Of IntegerWeek - Day of the week to be used for maintenance window.
- start
Hour Integer - Start hour to be used for maintenance window.
- start
Minute Integer - Start minute to be used for maintenance window.
- custom
Window string - Indicates whether custom window is enabled or disabled.
- day
Of numberWeek - Day of the week to be used for maintenance window.
- start
Hour number - Start hour to be used for maintenance window.
- start
Minute number - Start minute to be used for maintenance window.
- custom_
window str - Indicates whether custom window is enabled or disabled.
- day_
of_ intweek - Day of the week to be used for maintenance window.
- start_
hour int - Start hour to be used for maintenance window.
- start_
minute int - Start minute to be used for maintenance window.
- custom
Window String - Indicates whether custom window is enabled or disabled.
- day
Of NumberWeek - Day of the week to be used for maintenance window.
- start
Hour Number - Start hour to be used for maintenance window.
- start
Minute Number - Start minute to be used for maintenance window.
MaintenanceWindowResponse, MaintenanceWindowResponseArgs
- Custom
Window string - Indicates whether custom window is enabled or disabled.
- Day
Of intWeek - Day of the week to be used for maintenance window.
- Start
Hour int - Start hour to be used for maintenance window.
- Start
Minute int - Start minute to be used for maintenance window.
- Custom
Window string - Indicates whether custom window is enabled or disabled.
- Day
Of intWeek - Day of the week to be used for maintenance window.
- Start
Hour int - Start hour to be used for maintenance window.
- Start
Minute int - Start minute to be used for maintenance window.
- custom
Window String - Indicates whether custom window is enabled or disabled.
- day
Of IntegerWeek - Day of the week to be used for maintenance window.
- start
Hour Integer - Start hour to be used for maintenance window.
- start
Minute Integer - Start minute to be used for maintenance window.
- custom
Window string - Indicates whether custom window is enabled or disabled.
- day
Of numberWeek - Day of the week to be used for maintenance window.
- start
Hour number - Start hour to be used for maintenance window.
- start
Minute number - Start minute to be used for maintenance window.
- custom_
window str - Indicates whether custom window is enabled or disabled.
- day_
of_ intweek - Day of the week to be used for maintenance window.
- start_
hour int - Start hour to be used for maintenance window.
- start_
minute int - Start minute to be used for maintenance window.
- custom
Window String - Indicates whether custom window is enabled or disabled.
- day
Of NumberWeek - Day of the week to be used for maintenance window.
- start
Hour Number - Start hour to be used for maintenance window.
- start
Minute Number - Start minute to be used for maintenance window.
Network, NetworkArgs
- Delegated
Subnet stringResource Id - 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.
- Private
Dns stringZone Arm Resource Id - 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.
- Public
Network string | Pulumi.Access Azure Native. DBfor Postgre SQL. Server Public Network Access State - Indicates if public network access is enabled or not.
- Delegated
Subnet stringResource Id - 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.
- Private
Dns stringZone Arm Resource Id - 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.
- Public
Network string | ServerAccess Public Network Access State - Indicates if public network access is enabled or not.
- delegated
Subnet StringResource Id - 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.
- private
Dns StringZone Arm Resource Id - 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.
- public
Network String | ServerAccess Public Network Access State - Indicates if public network access is enabled or not.
- delegated
Subnet stringResource Id - 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.
- private
Dns stringZone Arm Resource Id - 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.
- public
Network string | ServerAccess Public Network Access State - Indicates if public network access is enabled or not.
- delegated_
subnet_ strresource_ id - 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.
- private_
dns_ strzone_ arm_ resource_ id - 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.
- public_
network_ str | Serveraccess Public Network Access State - Indicates if public network access is enabled or not.
- delegated
Subnet StringResource Id - 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.
- private
Dns StringZone Arm Resource Id - 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.
- public
Network String | "Enabled" | "Disabled"Access - Indicates if public network access is enabled or not.
NetworkResponse, NetworkResponseArgs
- Delegated
Subnet stringResource Id - 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.
- Private
Dns stringZone Arm Resource Id - 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.
- Public
Network stringAccess - Indicates if public network access is enabled or not.
- Delegated
Subnet stringResource Id - 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.
- Private
Dns stringZone Arm Resource Id - 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.
- Public
Network stringAccess - Indicates if public network access is enabled or not.
- delegated
Subnet StringResource Id - 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.
- private
Dns StringZone Arm Resource Id - 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.
- public
Network StringAccess - Indicates if public network access is enabled or not.
- delegated
Subnet stringResource Id - 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.
- private
Dns stringZone Arm Resource Id - 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.
- public
Network stringAccess - Indicates if public network access is enabled or not.
- delegated_
subnet_ strresource_ id - 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.
- private_
dns_ strzone_ arm_ resource_ id - 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.
- public_
network_ straccess - Indicates if public network access is enabled or not.
- delegated
Subnet StringResource Id - 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.
- private
Dns StringZone Arm Resource Id - 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.
- public
Network StringAccess - Indicates if public network access is enabled or not.
PasswordAuthEnum, PasswordAuthEnumArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Password
Auth Enum Enabled - Enabled
- Password
Auth Enum Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs
- Group
Ids List<string> - The group ids for the private endpoint resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Private
Link Pulumi.Service Connection State Azure Native. DBfor Postgre SQL. Inputs. Private Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- System
Data Pulumi.Azure Native. DBfor Postgre SQL. Inputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Private
Endpoint Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Private Endpoint Response - The private endpoint resource.
- Group
Ids []string - The group ids for the private endpoint resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Private
Endpoint PrivateEndpoint Response - The private endpoint resource.
- group
Ids List<String> - The group ids for the private endpoint resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private
Endpoint PrivateEndpoint Response - The private endpoint resource.
- group
Ids string[] - The group ids for the private endpoint resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- private
Link PrivateService Connection State Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State string - The provisioning state of the private endpoint connection resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private
Endpoint PrivateEndpoint Response - The private endpoint resource.
- group_
ids Sequence[str] - The group ids for the private endpoint resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - A collection of information about the state of the connection between service consumer and provider.
- provisioning_
state str - The provisioning state of the private endpoint connection resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private_
endpoint PrivateEndpoint Response - The private endpoint resource.
- group
Ids List<String> - The group ids for the private endpoint resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- private
Link Property MapService Connection State - A collection of information about the state of the connection between service consumer and provider.
- provisioning
State String - The provisioning state of the private endpoint connection resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- private
Endpoint Property Map - The private endpoint resource.
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id string
- The ARM identifier for private endpoint.
- Id string
- The ARM identifier for private endpoint.
- id String
- The ARM identifier for private endpoint.
- id string
- The ARM identifier for private endpoint.
- id str
- The ARM identifier for private endpoint.
- id String
- The ARM identifier for private endpoint.
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions_
required str - A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status str
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
ReadReplicaPromoteMode, ReadReplicaPromoteModeArgs
- Standalone
- standalone
- Switchover
- switchover
- Read
Replica Promote Mode Standalone - standalone
- Read
Replica Promote Mode Switchover - switchover
- Standalone
- standalone
- Switchover
- switchover
- Standalone
- standalone
- Switchover
- switchover
- STANDALONE
- standalone
- SWITCHOVER
- switchover
- "standalone"
- standalone
- "switchover"
- switchover
Replica, ReplicaArgs
- Promote
Mode string | Pulumi.Azure Native. DBfor Postgre SQL. Read Replica Promote Mode - 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.
- Promote
Option string | Pulumi.Azure Native. DBfor Postgre SQL. Replication Promote Option - Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
- Role
string | Pulumi.
Azure Native. DBfor Postgre SQL. Replication Role - Role of the server in a replication set.
- Promote
Mode string | ReadReplica Promote Mode - 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.
- Promote
Option string | ReplicationPromote Option - Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
- Role
string | Replication
Role - Role of the server in a replication set.
- promote
Mode String | ReadReplica Promote Mode - 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.
- promote
Option String | ReplicationPromote Option - Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
- role
String | Replication
Role - Role of the server in a replication set.
- promote
Mode string | ReadReplica Promote Mode - 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.
- promote
Option string | ReplicationPromote Option - Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
- role
string | Replication
Role - Role of the server in a replication set.
- promote_
mode str | ReadReplica Promote Mode - 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.
- promote_
option str | ReplicationPromote Option - Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
- role
str | Replication
Role - Role of the server in a replication set.
- promote
Mode String | "standalone" | "switchover" - 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.
- promote
Option String | "planned" | "forced" - Data synchronization option to use when processing the operation specified in the promoteMode property This property is write only. Planned means that the operation will wait for data in the read replica to be fully synchronized with its source server before it initiates the operation. Forced means that the operation will not wait for data in the read replica to be synchronized with its source server before it initiates the operation.
- role
String | "None" | "Primary" | "Async
Replica" | "Geo Async Replica" - Role of the server in a replication set.
ReplicaResponse, ReplicaResponseArgs
- Capacity int
- Maximum number of read replicas allowed for a flexible server.
- Replication
State string - Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
- Role string
- Role of the server in a replication set.
- Capacity int
- Maximum number of read replicas allowed for a flexible server.
- Replication
State string - Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
- Role string
- Role of the server in a replication set.
- capacity Integer
- Maximum number of read replicas allowed for a flexible server.
- replication
State String - Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
- role String
- Role of the server in a replication set.
- capacity number
- Maximum number of read replicas allowed for a flexible server.
- replication
State string - Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
- role string
- Role of the server in a replication set.
- capacity int
- Maximum number of read replicas allowed for a flexible server.
- replication_
state str - Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
- role str
- Role of the server in a replication set.
- capacity Number
- Maximum number of read replicas allowed for a flexible server.
- replication
State String - Indicates the replication state of a read replica. This property is returned only when the target flexible server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating
- role String
- Role of the server in a replication set.
ReplicationPromoteOption, ReplicationPromoteOptionArgs
- Planned
- planned
- Forced
- forced
- Replication
Promote Option Planned - planned
- Replication
Promote Option Forced - forced
- Planned
- planned
- Forced
- forced
- Planned
- planned
- Forced
- forced
- PLANNED
- planned
- FORCED
- forced
- "planned"
- planned
- "forced"
- forced
ReplicationRole, ReplicationRoleArgs
- None
- None
- Primary
- Primary
- Async
Replica - AsyncReplica
- Geo
Async Replica - GeoAsyncReplica
- Replication
Role None - None
- Replication
Role Primary - Primary
- Replication
Role Async Replica - AsyncReplica
- Replication
Role Geo Async Replica - GeoAsyncReplica
- None
- None
- Primary
- Primary
- Async
Replica - AsyncReplica
- Geo
Async Replica - GeoAsyncReplica
- None
- None
- Primary
- Primary
- Async
Replica - AsyncReplica
- Geo
Async Replica - GeoAsyncReplica
- NONE
- None
- PRIMARY
- Primary
- ASYNC_REPLICA
- AsyncReplica
- GEO_ASYNC_REPLICA
- GeoAsyncReplica
- "None"
- None
- "Primary"
- Primary
- "Async
Replica" - AsyncReplica
- "Geo
Async Replica" - GeoAsyncReplica
ServerPublicNetworkAccessState, ServerPublicNetworkAccessStateArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Server
Public Network Access State Enabled - Enabled
- Server
Public Network Access State Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
ServerVersion, ServerVersionArgs
- Server
Version_16 - 16
- Server
Version_15 - 15
- Server
Version_14 - 14
- Server
Version_13 - 13
- Server
Version_12 - 12
- Server
Version_11 - 11
- Server
Version_16 - 16
- Server
Version_15 - 15
- Server
Version_14 - 14
- Server
Version_13 - 13
- Server
Version_12 - 12
- Server
Version_11 - 11
- _16
- 16
- _15
- 15
- _14
- 14
- _13
- 13
- _12
- 12
- _11
- 11
- Server
Version_16 - 16
- Server
Version_15 - 15
- Server
Version_14 - 14
- Server
Version_13 - 13
- Server
Version_12 - 12
- Server
Version_11 - 11
- SERVER_VERSION_16
- 16
- SERVER_VERSION_15
- 15
- SERVER_VERSION_14
- 14
- SERVER_VERSION_13
- 13
- SERVER_VERSION_12
- 12
- SERVER_VERSION_11
- 11
- "16"
- 16
- "15"
- 15
- "14"
- 14
- "13"
- 13
- "12"
- 12
- "11"
- 11
Sku, SkuArgs
- Name string
- Name by which is known a given compute size assigned to a flexible server.
- Tier
string | Pulumi.
Azure Native. DBfor Postgre SQL. Sku Tier - Tier of the compute assigned to a flexible server.
- name String
- Name by which is known a given compute size assigned to a flexible server.
- tier
String | "Burstable" | "General
Purpose" | "Memory Optimized" - Tier of the compute assigned to a flexible server.
SkuResponse, SkuResponseArgs
SkuTier, SkuTierArgs
- Burstable
- Burstable
- General
Purpose - GeneralPurpose
- Memory
Optimized - MemoryOptimized
- Sku
Tier Burstable - Burstable
- Sku
Tier General Purpose - GeneralPurpose
- Sku
Tier Memory Optimized - MemoryOptimized
- Burstable
- Burstable
- General
Purpose - GeneralPurpose
- Memory
Optimized - MemoryOptimized
- Burstable
- Burstable
- General
Purpose - GeneralPurpose
- Memory
Optimized - MemoryOptimized
- BURSTABLE
- Burstable
- GENERAL_PURPOSE
- GeneralPurpose
- MEMORY_OPTIMIZED
- MemoryOptimized
- "Burstable"
- Burstable
- "General
Purpose" - GeneralPurpose
- "Memory
Optimized" - MemoryOptimized
Storage, StorageArgs
- Auto
Grow string | Pulumi.Azure Native. DBfor Postgre SQL. Storage Auto Grow - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- Iops int
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- Storage
Size intGB - Size of storage assigned to a flexible server.
- Throughput int
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- Tier
string | Pulumi.
Azure Native. DBfor Postgre SQL. Azure Managed Disk Performance Tiers - Storage tier of a flexible server.
- Type
string | Pulumi.
Azure Native. DBfor Postgre SQL. Storage Type - Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- Auto
Grow string | StorageAuto Grow - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- Iops int
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- Storage
Size intGB - Size of storage assigned to a flexible server.
- Throughput int
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- Tier
string | Azure
Managed Disk Performance Tiers - Storage tier of a flexible server.
- Type
string | Storage
Type - Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto
Grow String | StorageAuto Grow - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops Integer
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage
Size IntegerGB - Size of storage assigned to a flexible server.
- throughput Integer
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier
String | Azure
Managed Disk Performance Tiers - Storage tier of a flexible server.
- type
String | Storage
Type - Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto
Grow string | StorageAuto Grow - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops number
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage
Size numberGB - Size of storage assigned to a flexible server.
- throughput number
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier
string | Azure
Managed Disk Performance Tiers - Storage tier of a flexible server.
- type
string | Storage
Type - Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto_
grow str | StorageAuto Grow - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops int
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage_
size_ intgb - Size of storage assigned to a flexible server.
- throughput int
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier
str | Azure
Managed Disk Performance Tiers - Storage tier of a flexible server.
- type
str | Storage
Type - Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto
Grow String | "Enabled" | "Disabled" - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops Number
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage
Size NumberGB - Size of storage assigned to a flexible server.
- throughput Number
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier String | "P1" | "P2" | "P3" | "P4" | "P6" | "P10" | "P15" | "P20" | "P30" | "P40" | "P50" | "P60" | "P70" | "P80"
- Storage tier of a flexible server.
- type
String | "Premium_LRS" | "Premium
V2_LRS" - Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
StorageAutoGrow, StorageAutoGrowArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Storage
Auto Grow Enabled - Enabled
- Storage
Auto Grow Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
StorageResponse, StorageResponseArgs
- Auto
Grow string - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- Iops int
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- Storage
Size intGB - Size of storage assigned to a flexible server.
- Throughput int
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- Tier string
- Storage tier of a flexible server.
- Type string
- Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- Auto
Grow string - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- Iops int
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- Storage
Size intGB - Size of storage assigned to a flexible server.
- Throughput int
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- Tier string
- Storage tier of a flexible server.
- Type string
- Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto
Grow String - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops Integer
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage
Size IntegerGB - Size of storage assigned to a flexible server.
- throughput Integer
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier String
- Storage tier of a flexible server.
- type String
- Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto
Grow string - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops number
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage
Size numberGB - Size of storage assigned to a flexible server.
- throughput number
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier string
- Storage tier of a flexible server.
- type string
- Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto_
grow str - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops int
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage_
size_ intgb - Size of storage assigned to a flexible server.
- throughput int
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier str
- Storage tier of a flexible server.
- type str
- Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
- auto
Grow String - Flag to enable or disable the automatic growth of storage size of a flexible server when available space is nearing zero and conditions allow for automatically growing storage size.
- iops Number
- Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS.
- storage
Size NumberGB - Size of storage assigned to a flexible server.
- throughput Number
- Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS.
- tier String
- Storage tier of a flexible server.
- type String
- Type of storage assigned to a flexible server. Allowed values are Premium_LRS or PremiumV2_LRS. If not specified, it defaults to Premium_LRS.
StorageType, StorageTypeArgs
- Premium_LRS
- Premium_LRS
- Premium
V2_LRS - PremiumV2_LRS
- Storage
Type_Premium_LRS - Premium_LRS
- Storage
Type_Premium V2_LRS - PremiumV2_LRS
- Premium_LRS
- Premium_LRS
- Premium
V2_LRS - PremiumV2_LRS
- Premium_LRS
- Premium_LRS
- Premium
V2_LRS - PremiumV2_LRS
- PREMIUM_LRS
- Premium_LRS
- PREMIUM_V2_LRS
- PremiumV2_LRS
- "Premium_LRS"
- Premium_LRS
- "Premium
V2_LRS" - PremiumV2_LRS
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentity, UserAssignedIdentityArgs
- Type
string | Pulumi.
Azure Native. DBfor Postgre SQL. Identity Type - Types of identities associated with a flexible server.
- Principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. DBfor Postgre SQL. Inputs. User Identity> - Map of user assigned managed identities.
- Type
string | Identity
Type - Types of identities associated with a flexible server.
- Principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- User
Assigned map[string]UserIdentities Identity - Map of user assigned managed identities.
- type
String | Identity
Type - Types of identities associated with a flexible server.
- principal
Id String - Identifier of the object of the service principal associated to the user assigned managed identity.
- user
Assigned Map<String,UserIdentities Identity> - Map of user assigned managed identities.
- type
string | Identity
Type - Types of identities associated with a flexible server.
- principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- user
Assigned {[key: string]: UserIdentities Identity} - Map of user assigned managed identities.
- type
str | Identity
Type - Types of identities associated with a flexible server.
- principal_
id str - Identifier of the object of the service principal associated to the user assigned managed identity.
- user_
assigned_ Mapping[str, Useridentities Identity] - Map of user assigned managed identities.
- type
String | "User
Assigned" | "System Assigned" - Types of identities associated with a flexible server.
- principal
Id String - Identifier of the object of the service principal associated to the user assigned managed identity.
- user
Assigned Map<Property Map>Identities - Map of user assigned managed identities.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Tenant
Id string - Identifier of the tenant of a flexible server.
- Type string
- Types of identities associated with a flexible server.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. DBfor Postgre SQL. Inputs. User Identity Response> - Map of user assigned managed identities.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Tenant
Id string - Identifier of the tenant of a flexible server.
- Type string
- Types of identities associated with a flexible server.
- User
Assigned map[string]UserIdentities Identity Response - Map of user assigned managed identities.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- tenant
Id String - Identifier of the tenant of a flexible server.
- type String
- Types of identities associated with a flexible server.
- user
Assigned Map<String,UserIdentities Identity Response> - Map of user assigned managed identities.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- tenant
Id string - Identifier of the tenant of a flexible server.
- type string
- Types of identities associated with a flexible server.
- user
Assigned {[key: string]: UserIdentities Identity Response} - Map of user assigned managed identities.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- tenant_
id str - Identifier of the tenant of a flexible server.
- type str
- Types of identities associated with a flexible server.
- user_
assigned_ Mapping[str, Useridentities Identity Response] - Map of user assigned managed identities.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- tenant
Id String - Identifier of the tenant of a flexible server.
- type String
- Types of identities associated with a flexible server.
- user
Assigned Map<Property Map>Identities - Map of user assigned managed identities.
UserIdentity, UserIdentityArgs
- Client
Id string - Identifier of the client of the service principal associated to the user assigned managed identity.
- Principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- Client
Id string - Identifier of the client of the service principal associated to the user assigned managed identity.
- Principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- client
Id String - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal
Id String - Identifier of the object of the service principal associated to the user assigned managed identity.
- client
Id string - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- client_
id str - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal_
id str - Identifier of the object of the service principal associated to the user assigned managed identity.
- client
Id String - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal
Id String - Identifier of the object of the service principal associated to the user assigned managed identity.
UserIdentityResponse, UserIdentityResponseArgs
- Client
Id string - Identifier of the client of the service principal associated to the user assigned managed identity.
- Principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- Client
Id string - Identifier of the client of the service principal associated to the user assigned managed identity.
- Principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- client
Id String - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal
Id String - Identifier of the object of the service principal associated to the user assigned managed identity.
- client
Id string - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal
Id string - Identifier of the object of the service principal associated to the user assigned managed identity.
- client_
id str - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal_
id str - Identifier of the object of the service principal associated to the user assigned managed identity.
- client
Id String - Identifier of the client of the service principal associated to the user assigned managed identity.
- principal
Id String - Identifier of the object of the service principal associated to the user assigned managed identity.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:dbforpostgresql:Server exampleserver /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0