azure-native.dbforpostgresql.SingleServer
Explore with Pulumi AI
Represents a server.
Uses Azure REST API version 2017-12-01.
Example Usage
Create a database as a point in time restore
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var singleServer = new AzureNative.DBforPostgreSQL.SingleServer("singleServer", new()
{
Location = "brazilsouth",
Properties = new AzureNative.DBforPostgreSQL.Inputs.ServerPropertiesForRestoreArgs
{
CreateMode = "PointInTimeRestore",
RestorePointInTime = "2017-12-14T00:00:37.467Z",
SourceServerId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver",
},
ResourceGroupName = "TargetResourceGroup",
ServerName = "targetserver",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SingleServerSkuArgs
{
Capacity = 2,
Family = "Gen5",
Name = "B_Gen5_2",
Tier = AzureNative.DBforPostgreSQL.SingleServerSkuTier.Basic,
},
Tags =
{
{ "ElasticServer", "1" },
},
});
});
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.NewSingleServer(ctx, "singleServer", &dbforpostgresql.SingleServerArgs{
Location: pulumi.String("brazilsouth"),
Properties: &dbforpostgresql.ServerPropertiesForRestoreArgs{
CreateMode: pulumi.String("PointInTimeRestore"),
RestorePointInTime: pulumi.String("2017-12-14T00:00:37.467Z"),
SourceServerId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver"),
},
ResourceGroupName: pulumi.String("TargetResourceGroup"),
ServerName: pulumi.String("targetserver"),
Sku: &dbforpostgresql.SingleServerSkuArgs{
Capacity: pulumi.Int(2),
Family: pulumi.String("Gen5"),
Name: pulumi.String("B_Gen5_2"),
Tier: pulumi.String(dbforpostgresql.SingleServerSkuTierBasic),
},
Tags: pulumi.StringMap{
"ElasticServer": pulumi.String("1"),
},
})
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.SingleServer;
import com.pulumi.azurenative.dbforpostgresql.SingleServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SingleServerSkuArgs;
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 singleServer = new SingleServer("singleServer", SingleServerArgs.builder()
.location("brazilsouth")
.properties(ServerPropertiesForRestoreArgs.builder()
.createMode("PointInTimeRestore")
.restorePointInTime("2017-12-14T00:00:37.467Z")
.sourceServerId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver")
.build())
.resourceGroupName("TargetResourceGroup")
.serverName("targetserver")
.sku(SingleServerSkuArgs.builder()
.capacity(2)
.family("Gen5")
.name("B_Gen5_2")
.tier("Basic")
.build())
.tags(Map.of("ElasticServer", "1"))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const singleServer = new azure_native.dbforpostgresql.SingleServer("singleServer", {
location: "brazilsouth",
properties: {
createMode: "PointInTimeRestore",
restorePointInTime: "2017-12-14T00:00:37.467Z",
sourceServerId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver",
},
resourceGroupName: "TargetResourceGroup",
serverName: "targetserver",
sku: {
capacity: 2,
family: "Gen5",
name: "B_Gen5_2",
tier: azure_native.dbforpostgresql.SingleServerSkuTier.Basic,
},
tags: {
ElasticServer: "1",
},
});
import pulumi
import pulumi_azure_native as azure_native
single_server = azure_native.dbforpostgresql.SingleServer("singleServer",
location="brazilsouth",
properties={
"create_mode": "PointInTimeRestore",
"restore_point_in_time": "2017-12-14T00:00:37.467Z",
"source_server_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver",
},
resource_group_name="TargetResourceGroup",
server_name="targetserver",
sku={
"capacity": 2,
"family": "Gen5",
"name": "B_Gen5_2",
"tier": azure_native.dbforpostgresql.SingleServerSkuTier.BASIC,
},
tags={
"ElasticServer": "1",
})
resources:
singleServer:
type: azure-native:dbforpostgresql:SingleServer
properties:
location: brazilsouth
properties:
createMode: PointInTimeRestore
restorePointInTime: 2017-12-14T00:00:37.467Z
sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver
resourceGroupName: TargetResourceGroup
serverName: targetserver
sku:
capacity: 2
family: Gen5
name: B_Gen5_2
tier: Basic
tags:
ElasticServer: '1'
Create a new server
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var singleServer = new AzureNative.DBforPostgreSQL.SingleServer("singleServer", new()
{
Location = "westus",
Properties = new AzureNative.DBforPostgreSQL.Inputs.ServerPropertiesForDefaultCreateArgs
{
AdministratorLogin = "cloudsa",
AdministratorLoginPassword = "<administratorLoginPassword>",
CreateMode = "Default",
MinimalTlsVersion = AzureNative.DBforPostgreSQL.MinimalTlsVersionEnum.TLS1_2,
SslEnforcement = AzureNative.DBforPostgreSQL.SslEnforcementEnum.Enabled,
StorageProfile = new AzureNative.DBforPostgreSQL.Inputs.StorageProfileArgs
{
BackupRetentionDays = 7,
GeoRedundantBackup = AzureNative.DBforPostgreSQL.GeoRedundantBackup.Disabled,
StorageMB = 128000,
},
},
ResourceGroupName = "TestGroup",
ServerName = "pgtestsvc4",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SingleServerSkuArgs
{
Capacity = 2,
Family = "Gen5",
Name = "B_Gen5_2",
Tier = AzureNative.DBforPostgreSQL.SingleServerSkuTier.Basic,
},
Tags =
{
{ "ElasticServer", "1" },
},
});
});
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.NewSingleServer(ctx, "singleServer", &dbforpostgresql.SingleServerArgs{
Location: pulumi.String("westus"),
Properties: &dbforpostgresql.ServerPropertiesForDefaultCreateArgs{
AdministratorLogin: pulumi.String("cloudsa"),
AdministratorLoginPassword: pulumi.String("<administratorLoginPassword>"),
CreateMode: pulumi.String("Default"),
MinimalTlsVersion: pulumi.String(dbforpostgresql.MinimalTlsVersionEnum_TLS1_2),
SslEnforcement: dbforpostgresql.SslEnforcementEnumEnabled,
StorageProfile: &dbforpostgresql.StorageProfileArgs{
BackupRetentionDays: pulumi.Int(7),
GeoRedundantBackup: pulumi.String(dbforpostgresql.GeoRedundantBackupDisabled),
StorageMB: pulumi.Int(128000),
},
},
ResourceGroupName: pulumi.String("TestGroup"),
ServerName: pulumi.String("pgtestsvc4"),
Sku: &dbforpostgresql.SingleServerSkuArgs{
Capacity: pulumi.Int(2),
Family: pulumi.String("Gen5"),
Name: pulumi.String("B_Gen5_2"),
Tier: pulumi.String(dbforpostgresql.SingleServerSkuTierBasic),
},
Tags: pulumi.StringMap{
"ElasticServer": pulumi.String("1"),
},
})
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.SingleServer;
import com.pulumi.azurenative.dbforpostgresql.SingleServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SingleServerSkuArgs;
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 singleServer = new SingleServer("singleServer", SingleServerArgs.builder()
.location("westus")
.properties(ServerPropertiesForDefaultCreateArgs.builder()
.administratorLogin("cloudsa")
.administratorLoginPassword("<administratorLoginPassword>")
.createMode("Default")
.minimalTlsVersion("TLS1_2")
.sslEnforcement("Enabled")
.storageProfile(StorageProfileArgs.builder()
.backupRetentionDays(7)
.geoRedundantBackup("Disabled")
.storageMB(128000)
.build())
.build())
.resourceGroupName("TestGroup")
.serverName("pgtestsvc4")
.sku(SingleServerSkuArgs.builder()
.capacity(2)
.family("Gen5")
.name("B_Gen5_2")
.tier("Basic")
.build())
.tags(Map.of("ElasticServer", "1"))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const singleServer = new azure_native.dbforpostgresql.SingleServer("singleServer", {
location: "westus",
properties: {
administratorLogin: "cloudsa",
administratorLoginPassword: "<administratorLoginPassword>",
createMode: "Default",
minimalTlsVersion: azure_native.dbforpostgresql.MinimalTlsVersionEnum.TLS1_2,
sslEnforcement: azure_native.dbforpostgresql.SslEnforcementEnum.Enabled,
storageProfile: {
backupRetentionDays: 7,
geoRedundantBackup: azure_native.dbforpostgresql.GeoRedundantBackup.Disabled,
storageMB: 128000,
},
},
resourceGroupName: "TestGroup",
serverName: "pgtestsvc4",
sku: {
capacity: 2,
family: "Gen5",
name: "B_Gen5_2",
tier: azure_native.dbforpostgresql.SingleServerSkuTier.Basic,
},
tags: {
ElasticServer: "1",
},
});
import pulumi
import pulumi_azure_native as azure_native
single_server = azure_native.dbforpostgresql.SingleServer("singleServer",
location="westus",
properties={
"administrator_login": "cloudsa",
"administrator_login_password": "<administratorLoginPassword>",
"create_mode": "Default",
"minimal_tls_version": azure_native.dbforpostgresql.MinimalTlsVersionEnum.TLS1_2,
"ssl_enforcement": azure_native.dbforpostgresql.SslEnforcementEnum.ENABLED,
"storage_profile": {
"backup_retention_days": 7,
"geo_redundant_backup": azure_native.dbforpostgresql.GeoRedundantBackup.DISABLED,
"storage_mb": 128000,
},
},
resource_group_name="TestGroup",
server_name="pgtestsvc4",
sku={
"capacity": 2,
"family": "Gen5",
"name": "B_Gen5_2",
"tier": azure_native.dbforpostgresql.SingleServerSkuTier.BASIC,
},
tags={
"ElasticServer": "1",
})
resources:
singleServer:
type: azure-native:dbforpostgresql:SingleServer
properties:
location: westus
properties:
administratorLogin: cloudsa
administratorLoginPassword: <administratorLoginPassword>
createMode: Default
minimalTlsVersion: TLS1_2
sslEnforcement: Enabled
storageProfile:
backupRetentionDays: 7
geoRedundantBackup: Disabled
storageMB: 128000
resourceGroupName: TestGroup
serverName: pgtestsvc4
sku:
capacity: 2
family: Gen5
name: B_Gen5_2
tier: Basic
tags:
ElasticServer: '1'
Create a replica server
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var singleServer = new AzureNative.DBforPostgreSQL.SingleServer("singleServer", new()
{
Location = "westcentralus",
Properties = new AzureNative.DBforPostgreSQL.Inputs.ServerPropertiesForReplicaArgs
{
CreateMode = "Replica",
SourceServerId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
},
ResourceGroupName = "TestGroup_WestCentralUS",
ServerName = "testserver-replica1",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SingleServerSkuArgs
{
Capacity = 2,
Family = "Gen5",
Name = "GP_Gen5_2",
Tier = AzureNative.DBforPostgreSQL.SingleServerSkuTier.GeneralPurpose,
},
});
});
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.NewSingleServer(ctx, "singleServer", &dbforpostgresql.SingleServerArgs{
Location: pulumi.String("westcentralus"),
Properties: &dbforpostgresql.ServerPropertiesForReplicaArgs{
CreateMode: pulumi.String("Replica"),
SourceServerId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master"),
},
ResourceGroupName: pulumi.String("TestGroup_WestCentralUS"),
ServerName: pulumi.String("testserver-replica1"),
Sku: &dbforpostgresql.SingleServerSkuArgs{
Capacity: pulumi.Int(2),
Family: pulumi.String("Gen5"),
Name: pulumi.String("GP_Gen5_2"),
Tier: pulumi.String(dbforpostgresql.SingleServerSkuTierGeneralPurpose),
},
})
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.SingleServer;
import com.pulumi.azurenative.dbforpostgresql.SingleServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SingleServerSkuArgs;
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 singleServer = new SingleServer("singleServer", SingleServerArgs.builder()
.location("westcentralus")
.properties(ServerPropertiesForReplicaArgs.builder()
.createMode("Replica")
.sourceServerId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master")
.build())
.resourceGroupName("TestGroup_WestCentralUS")
.serverName("testserver-replica1")
.sku(SingleServerSkuArgs.builder()
.capacity(2)
.family("Gen5")
.name("GP_Gen5_2")
.tier("GeneralPurpose")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const singleServer = new azure_native.dbforpostgresql.SingleServer("singleServer", {
location: "westcentralus",
properties: {
createMode: "Replica",
sourceServerId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
},
resourceGroupName: "TestGroup_WestCentralUS",
serverName: "testserver-replica1",
sku: {
capacity: 2,
family: "Gen5",
name: "GP_Gen5_2",
tier: azure_native.dbforpostgresql.SingleServerSkuTier.GeneralPurpose,
},
});
import pulumi
import pulumi_azure_native as azure_native
single_server = azure_native.dbforpostgresql.SingleServer("singleServer",
location="westcentralus",
properties={
"create_mode": "Replica",
"source_server_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
},
resource_group_name="TestGroup_WestCentralUS",
server_name="testserver-replica1",
sku={
"capacity": 2,
"family": "Gen5",
"name": "GP_Gen5_2",
"tier": azure_native.dbforpostgresql.SingleServerSkuTier.GENERAL_PURPOSE,
})
resources:
singleServer:
type: azure-native:dbforpostgresql:SingleServer
properties:
location: westcentralus
properties:
createMode: Replica
sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master
resourceGroupName: TestGroup_WestCentralUS
serverName: testserver-replica1
sku:
capacity: 2
family: Gen5
name: GP_Gen5_2
tier: GeneralPurpose
Create a server as a geo restore
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var singleServer = new AzureNative.DBforPostgreSQL.SingleServer("singleServer", new()
{
Location = "westus",
Properties = new AzureNative.DBforPostgreSQL.Inputs.ServerPropertiesForGeoRestoreArgs
{
CreateMode = "GeoRestore",
SourceServerId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver",
},
ResourceGroupName = "TargetResourceGroup",
ServerName = "targetserver",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SingleServerSkuArgs
{
Capacity = 2,
Family = "Gen5",
Name = "GP_Gen5_2",
Tier = AzureNative.DBforPostgreSQL.SingleServerSkuTier.GeneralPurpose,
},
Tags =
{
{ "ElasticServer", "1" },
},
});
});
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.NewSingleServer(ctx, "singleServer", &dbforpostgresql.SingleServerArgs{
Location: pulumi.String("westus"),
Properties: &dbforpostgresql.ServerPropertiesForGeoRestoreArgs{
CreateMode: pulumi.String("GeoRestore"),
SourceServerId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver"),
},
ResourceGroupName: pulumi.String("TargetResourceGroup"),
ServerName: pulumi.String("targetserver"),
Sku: &dbforpostgresql.SingleServerSkuArgs{
Capacity: pulumi.Int(2),
Family: pulumi.String("Gen5"),
Name: pulumi.String("GP_Gen5_2"),
Tier: pulumi.String(dbforpostgresql.SingleServerSkuTierGeneralPurpose),
},
Tags: pulumi.StringMap{
"ElasticServer": pulumi.String("1"),
},
})
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.SingleServer;
import com.pulumi.azurenative.dbforpostgresql.SingleServerArgs;
import com.pulumi.azurenative.dbforpostgresql.inputs.SingleServerSkuArgs;
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 singleServer = new SingleServer("singleServer", SingleServerArgs.builder()
.location("westus")
.properties(ServerPropertiesForGeoRestoreArgs.builder()
.createMode("GeoRestore")
.sourceServerId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver")
.build())
.resourceGroupName("TargetResourceGroup")
.serverName("targetserver")
.sku(SingleServerSkuArgs.builder()
.capacity(2)
.family("Gen5")
.name("GP_Gen5_2")
.tier("GeneralPurpose")
.build())
.tags(Map.of("ElasticServer", "1"))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const singleServer = new azure_native.dbforpostgresql.SingleServer("singleServer", {
location: "westus",
properties: {
createMode: "GeoRestore",
sourceServerId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver",
},
resourceGroupName: "TargetResourceGroup",
serverName: "targetserver",
sku: {
capacity: 2,
family: "Gen5",
name: "GP_Gen5_2",
tier: azure_native.dbforpostgresql.SingleServerSkuTier.GeneralPurpose,
},
tags: {
ElasticServer: "1",
},
});
import pulumi
import pulumi_azure_native as azure_native
single_server = azure_native.dbforpostgresql.SingleServer("singleServer",
location="westus",
properties={
"create_mode": "GeoRestore",
"source_server_id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver",
},
resource_group_name="TargetResourceGroup",
server_name="targetserver",
sku={
"capacity": 2,
"family": "Gen5",
"name": "GP_Gen5_2",
"tier": azure_native.dbforpostgresql.SingleServerSkuTier.GENERAL_PURPOSE,
},
tags={
"ElasticServer": "1",
})
resources:
singleServer:
type: azure-native:dbforpostgresql:SingleServer
properties:
location: westus
properties:
createMode: GeoRestore
sourceServerId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforPostgreSQL/servers/sourceserver
resourceGroupName: TargetResourceGroup
serverName: targetserver
sku:
capacity: 2
family: Gen5
name: GP_Gen5_2
tier: GeneralPurpose
tags:
ElasticServer: '1'
Create SingleServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SingleServer(name: string, args: SingleServerArgs, opts?: CustomResourceOptions);
@overload
def SingleServer(resource_name: str,
args: SingleServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SingleServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[Union[ServerPropertiesForDefaultCreateArgs, ServerPropertiesForGeoRestoreArgs, ServerPropertiesForReplicaArgs, ServerPropertiesForRestoreArgs]] = None,
resource_group_name: Optional[str] = None,
identity: Optional[ResourceIdentityArgs] = None,
location: Optional[str] = None,
server_name: Optional[str] = None,
sku: Optional[SingleServerSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSingleServer(ctx *Context, name string, args SingleServerArgs, opts ...ResourceOption) (*SingleServer, error)
public SingleServer(string name, SingleServerArgs args, CustomResourceOptions? opts = null)
public SingleServer(String name, SingleServerArgs args)
public SingleServer(String name, SingleServerArgs args, CustomResourceOptions options)
type: azure-native:dbforpostgresql:SingleServer
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 SingleServerArgs
- 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 SingleServerArgs
- 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 SingleServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SingleServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SingleServerArgs
- 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 azure_nativeSingleServerResource = new AzureNative.DBforPostgreSQL.SingleServer("azure-nativeSingleServerResource", new()
{
Properties = new AzureNative.DBforPostgreSQL.Inputs.ServerPropertiesForDefaultCreateArgs
{
AdministratorLogin = "string",
AdministratorLoginPassword = "string",
CreateMode = "Default",
InfrastructureEncryption = "string",
MinimalTlsVersion = "string",
PublicNetworkAccess = "string",
SslEnforcement = AzureNative.DBforPostgreSQL.SslEnforcementEnum.Enabled,
StorageProfile = new AzureNative.DBforPostgreSQL.Inputs.StorageProfileArgs
{
BackupRetentionDays = 0,
GeoRedundantBackup = "string",
StorageAutogrow = "string",
StorageMB = 0,
},
Version = "string",
},
ResourceGroupName = "string",
Identity = new AzureNative.DBforPostgreSQL.Inputs.ResourceIdentityArgs
{
Type = "string",
},
Location = "string",
ServerName = "string",
Sku = new AzureNative.DBforPostgreSQL.Inputs.SingleServerSkuArgs
{
Name = "string",
Capacity = 0,
Family = "string",
Size = "string",
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := dbforpostgresql.NewSingleServer(ctx, "azure-nativeSingleServerResource", &dbforpostgresql.SingleServerArgs{
Properties: &dbforpostgresql.ServerPropertiesForDefaultCreateArgs{
AdministratorLogin: pulumi.String("string"),
AdministratorLoginPassword: pulumi.String("string"),
CreateMode: pulumi.String("Default"),
InfrastructureEncryption: pulumi.String("string"),
MinimalTlsVersion: pulumi.String("string"),
PublicNetworkAccess: pulumi.String("string"),
SslEnforcement: dbforpostgresql.SslEnforcementEnumEnabled,
StorageProfile: &dbforpostgresql.StorageProfileArgs{
BackupRetentionDays: pulumi.Int(0),
GeoRedundantBackup: pulumi.String("string"),
StorageAutogrow: pulumi.String("string"),
StorageMB: pulumi.Int(0),
},
Version: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
Identity: &dbforpostgresql.ResourceIdentityArgs{
Type: pulumi.String("string"),
},
Location: pulumi.String("string"),
ServerName: pulumi.String("string"),
Sku: &dbforpostgresql.SingleServerSkuArgs{
Name: pulumi.String("string"),
Capacity: pulumi.Int(0),
Family: pulumi.String("string"),
Size: pulumi.String("string"),
Tier: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var azure_nativeSingleServerResource = new com.pulumi.azurenative.dbforpostgresql.SingleServer("azure-nativeSingleServerResource", com.pulumi.azurenative.dbforpostgresql.SingleServerArgs.builder()
.properties(ServerPropertiesForDefaultCreateArgs.builder()
.administratorLogin("string")
.administratorLoginPassword("string")
.createMode("Default")
.infrastructureEncryption("string")
.minimalTlsVersion("string")
.publicNetworkAccess("string")
.sslEnforcement("Enabled")
.storageProfile(StorageProfileArgs.builder()
.backupRetentionDays(0)
.geoRedundantBackup("string")
.storageAutogrow("string")
.storageMB(0)
.build())
.version("string")
.build())
.resourceGroupName("string")
.identity(ResourceIdentityArgs.builder()
.type("string")
.build())
.location("string")
.serverName("string")
.sku(SingleServerSkuArgs.builder()
.name("string")
.capacity(0)
.family("string")
.size("string")
.tier("string")
.build())
.tags(Map.of("string", "string"))
.build());
azure_native_single_server_resource = azure_native.dbforpostgresql.SingleServer("azure-nativeSingleServerResource",
properties={
"administrator_login": "string",
"administrator_login_password": "string",
"create_mode": "Default",
"infrastructure_encryption": "string",
"minimal_tls_version": "string",
"public_network_access": "string",
"ssl_enforcement": azure_native.dbforpostgresql.SslEnforcementEnum.ENABLED,
"storage_profile": {
"backup_retention_days": 0,
"geo_redundant_backup": "string",
"storage_autogrow": "string",
"storage_mb": 0,
},
"version": "string",
},
resource_group_name="string",
identity={
"type": "string",
},
location="string",
server_name="string",
sku={
"name": "string",
"capacity": 0,
"family": "string",
"size": "string",
"tier": "string",
},
tags={
"string": "string",
})
const azure_nativeSingleServerResource = new azure_native.dbforpostgresql.SingleServer("azure-nativeSingleServerResource", {
properties: {
administratorLogin: "string",
administratorLoginPassword: "string",
createMode: "Default",
infrastructureEncryption: "string",
minimalTlsVersion: "string",
publicNetworkAccess: "string",
sslEnforcement: azure_native.dbforpostgresql.SslEnforcementEnum.Enabled,
storageProfile: {
backupRetentionDays: 0,
geoRedundantBackup: "string",
storageAutogrow: "string",
storageMB: 0,
},
version: "string",
},
resourceGroupName: "string",
identity: {
type: "string",
},
location: "string",
serverName: "string",
sku: {
name: "string",
capacity: 0,
family: "string",
size: "string",
tier: "string",
},
tags: {
string: "string",
},
});
type: azure-native:dbforpostgresql:SingleServer
properties:
identity:
type: string
location: string
properties:
administratorLogin: string
administratorLoginPassword: string
createMode: Default
infrastructureEncryption: string
minimalTlsVersion: string
publicNetworkAccess: string
sslEnforcement: Enabled
storageProfile:
backupRetentionDays: 0
geoRedundantBackup: string
storageAutogrow: string
storageMB: 0
version: string
resourceGroupName: string
serverName: string
sku:
capacity: 0
family: string
name: string
size: string
tier: string
tags:
string: string
SingleServer 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 SingleServer resource accepts the following input properties:
- Properties
Pulumi.
Azure | Pulumi.Native. DBfor Postgre SQL. Inputs. Server Properties For Default Create Azure | Pulumi.Native. DBfor Postgre SQL. Inputs. Server Properties For Geo Restore Azure | Pulumi.Native. DBfor Postgre SQL. Inputs. Server Properties For Replica Azure Native. DBfor Postgre SQL. Inputs. Server Properties For Restore - Properties of the server.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Identity
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Resource Identity - The Azure Active Directory identity of the server.
- Location string
- The location the resource resides in.
- Server
Name string - The name of the server.
- Sku
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Single Server Sku - The SKU (pricing tier) of the server.
- Dictionary<string, string>
- Application-specific metadata in the form of key-value pairs.
- Properties
Server
Properties | ServerFor Default Create Args Properties | ServerFor Geo Restore Args Properties | ServerFor Replica Args Properties For Restore Args - Properties of the server.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Identity
Resource
Identity Args - The Azure Active Directory identity of the server.
- Location string
- The location the resource resides in.
- Server
Name string - The name of the server.
- Sku
Single
Server Sku Args - The SKU (pricing tier) of the server.
- map[string]string
- Application-specific metadata in the form of key-value pairs.
- properties
Server
Properties | ServerFor Default Create Properties | ServerFor Geo Restore Properties | ServerFor Replica Properties For Restore - Properties of the server.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- identity
Resource
Identity - The Azure Active Directory identity of the server.
- location String
- The location the resource resides in.
- server
Name String - The name of the server.
- sku
Single
Server Sku - The SKU (pricing tier) of the server.
- Map<String,String>
- Application-specific metadata in the form of key-value pairs.
- properties
Server
Properties | ServerFor Default Create Properties | ServerFor Geo Restore Properties | ServerFor Replica Properties For Restore - Properties of the server.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- identity
Resource
Identity - The Azure Active Directory identity of the server.
- location string
- The location the resource resides in.
- server
Name string - The name of the server.
- sku
Single
Server Sku - The SKU (pricing tier) of the server.
- {[key: string]: string}
- Application-specific metadata in the form of key-value pairs.
- properties
Server
Properties | ServerFor Default Create Args Properties | ServerFor Geo Restore Args Properties | ServerFor Replica Args Properties For Restore Args - Properties of the server.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- identity
Resource
Identity Args - The Azure Active Directory identity of the server.
- location str
- The location the resource resides in.
- server_
name str - The name of the server.
- sku
Single
Server Sku Args - The SKU (pricing tier) of the server.
- Mapping[str, str]
- Application-specific metadata in the form of key-value pairs.
- properties Property Map | Property Map | Property Map | Property Map
- Properties of the server.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- identity Property Map
- The Azure Active Directory identity of the server.
- location String
- The location the resource resides in.
- server
Name String - The name of the server.
- sku Property Map
- The SKU (pricing tier) of the server.
- Map<String>
- Application-specific metadata in the form of key-value pairs.
Outputs
All input properties are implicitly available as output properties. Additionally, the SingleServer resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Byok
Enforcement string - Status showing whether the server data encryption is enabled with customer-managed keys.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Private
Endpoint List<Pulumi.Connections Azure Native. DBfor Postgre SQL. Outputs. Server Private Endpoint Connection Response> - List of private endpoint connections on a server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Administrator
Login string - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- Earliest
Restore stringDate - Earliest restore point creation time (ISO8601 format)
- Fully
Qualified stringDomain Name - The fully qualified domain name of a server.
- Infrastructure
Encryption string - Status showing whether the server enabled infrastructure encryption.
- Master
Server stringId - The master server id of a replica server.
- Minimal
Tls stringVersion - Enforce a minimal Tls version for the server.
- Public
Network stringAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Replica
Capacity int - The maximum number of replicas that a master server can have.
- Replication
Role string - The replication role of the server.
- Ssl
Enforcement string - Enable ssl enforcement or not when connect to server.
- Storage
Profile Pulumi.Azure Native. DBfor Postgre SQL. Outputs. Storage Profile Response - Storage profile of a server.
- User
Visible stringState - A state of a server that is visible to user.
- Version string
- Server version.
- Azure
Api stringVersion - The Azure API version of the resource.
- Byok
Enforcement string - Status showing whether the server data encryption is enabled with customer-managed keys.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Private
Endpoint []ServerConnections Private Endpoint Connection Response - List of private endpoint connections on a server
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Administrator
Login string - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- Earliest
Restore stringDate - Earliest restore point creation time (ISO8601 format)
- Fully
Qualified stringDomain Name - The fully qualified domain name of a server.
- Infrastructure
Encryption string - Status showing whether the server enabled infrastructure encryption.
- Master
Server stringId - The master server id of a replica server.
- Minimal
Tls stringVersion - Enforce a minimal Tls version for the server.
- Public
Network stringAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Replica
Capacity int - The maximum number of replicas that a master server can have.
- Replication
Role string - The replication role of the server.
- Ssl
Enforcement string - Enable ssl enforcement or not when connect to server.
- Storage
Profile StorageProfile Response - Storage profile of a server.
- User
Visible stringState - A state of a server that is visible to user.
- Version string
- Server version.
- azure
Api StringVersion - The Azure API version of the resource.
- byok
Enforcement String - Status showing whether the server data encryption is enabled with customer-managed keys.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- private
Endpoint List<ServerConnections Private Endpoint Connection Response> - List of private endpoint connections on a server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrator
Login String - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliest
Restore StringDate - Earliest restore point creation time (ISO8601 format)
- fully
Qualified StringDomain Name - The fully qualified domain name of a server.
- infrastructure
Encryption String - Status showing whether the server enabled infrastructure encryption.
- master
Server StringId - The master server id of a replica server.
- minimal
Tls StringVersion - Enforce a minimal Tls version for the server.
- public
Network StringAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replica
Capacity Integer - The maximum number of replicas that a master server can have.
- replication
Role String - The replication role of the server.
- ssl
Enforcement String - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile Response - Storage profile of a server.
- user
Visible StringState - A state of a server that is visible to user.
- version String
- Server version.
- azure
Api stringVersion - The Azure API version of the resource.
- byok
Enforcement string - Status showing whether the server data encryption is enabled with customer-managed keys.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- private
Endpoint ServerConnections Private Endpoint Connection Response[] - List of private endpoint connections on a server
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrator
Login string - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliest
Restore stringDate - Earliest restore point creation time (ISO8601 format)
- fully
Qualified stringDomain Name - The fully qualified domain name of a server.
- infrastructure
Encryption string - Status showing whether the server enabled infrastructure encryption.
- master
Server stringId - The master server id of a replica server.
- minimal
Tls stringVersion - Enforce a minimal Tls version for the server.
- public
Network stringAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replica
Capacity number - The maximum number of replicas that a master server can have.
- replication
Role string - The replication role of the server.
- ssl
Enforcement string - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile Response - Storage profile of a server.
- user
Visible stringState - A state of a server that is visible to user.
- version string
- Server version.
- azure_
api_ strversion - The Azure API version of the resource.
- byok_
enforcement str - Status showing whether the server data encryption is enabled with customer-managed keys.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- private_
endpoint_ Sequence[Serverconnections Private Endpoint Connection Response] - List of private endpoint connections on a server
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrator_
login str - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliest_
restore_ strdate - Earliest restore point creation time (ISO8601 format)
- fully_
qualified_ strdomain_ name - The fully qualified domain name of a server.
- infrastructure_
encryption str - Status showing whether the server enabled infrastructure encryption.
- master_
server_ strid - The master server id of a replica server.
- minimal_
tls_ strversion - Enforce a minimal Tls version for the server.
- public_
network_ straccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replica_
capacity int - The maximum number of replicas that a master server can have.
- replication_
role str - The replication role of the server.
- ssl_
enforcement str - Enable ssl enforcement or not when connect to server.
- storage_
profile StorageProfile Response - Storage profile of a server.
- user_
visible_ strstate - A state of a server that is visible to user.
- version str
- Server version.
- azure
Api StringVersion - The Azure API version of the resource.
- byok
Enforcement String - Status showing whether the server data encryption is enabled with customer-managed keys.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- private
Endpoint List<Property Map>Connections - List of private endpoint connections on a server
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- administrator
Login String - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- earliest
Restore StringDate - Earliest restore point creation time (ISO8601 format)
- fully
Qualified StringDomain Name - The fully qualified domain name of a server.
- infrastructure
Encryption String - Status showing whether the server enabled infrastructure encryption.
- master
Server StringId - The master server id of a replica server.
- minimal
Tls StringVersion - Enforce a minimal Tls version for the server.
- public
Network StringAccess - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- replica
Capacity Number - The maximum number of replicas that a master server can have.
- replication
Role String - The replication role of the server.
- ssl
Enforcement String - Enable ssl enforcement or not when connect to server.
- storage
Profile Property Map - Storage profile of a server.
- user
Visible StringState - A state of a server that is visible to user.
- version String
- Server version.
Supporting Types
GeoRedundantBackup, GeoRedundantBackupArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Geo
Redundant Backup Enabled - Enabled
- Geo
Redundant Backup Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
InfrastructureEncryption, InfrastructureEncryptionArgs
- Enabled
- EnabledDefault value for single layer of encryption for data at rest.
- Disabled
- DisabledAdditional (2nd) layer of encryption for data at rest
- Infrastructure
Encryption Enabled - EnabledDefault value for single layer of encryption for data at rest.
- Infrastructure
Encryption Disabled - DisabledAdditional (2nd) layer of encryption for data at rest
- Enabled
- EnabledDefault value for single layer of encryption for data at rest.
- Disabled
- DisabledAdditional (2nd) layer of encryption for data at rest
- Enabled
- EnabledDefault value for single layer of encryption for data at rest.
- Disabled
- DisabledAdditional (2nd) layer of encryption for data at rest
- ENABLED
- EnabledDefault value for single layer of encryption for data at rest.
- DISABLED
- DisabledAdditional (2nd) layer of encryption for data at rest
- "Enabled"
- EnabledDefault value for single layer of encryption for data at rest.
- "Disabled"
- DisabledAdditional (2nd) layer of encryption for data at rest
MinimalTlsVersionEnum, MinimalTlsVersionEnumArgs
- TLS1_0
- TLS1_0
- TLS1_1
- TLS1_1
- TLS1_2
- TLS1_2
- TLSEnforcement
Disabled - TLSEnforcementDisabled
- Minimal
Tls Version Enum_TLS1_0 - TLS1_0
- Minimal
Tls Version Enum_TLS1_1 - TLS1_1
- Minimal
Tls Version Enum_TLS1_2 - TLS1_2
- Minimal
Tls Version Enum TLSEnforcement Disabled - TLSEnforcementDisabled
- TLS1_0
- TLS1_0
- TLS1_1
- TLS1_1
- TLS1_2
- TLS1_2
- TLSEnforcement
Disabled - TLSEnforcementDisabled
- TLS1_0
- TLS1_0
- TLS1_1
- TLS1_1
- TLS1_2
- TLS1_2
- TLSEnforcement
Disabled - TLSEnforcementDisabled
- TLS1_0
- TLS1_0
- TLS1_1
- TLS1_1
- TLS1_2
- TLS1_2
- TLS_ENFORCEMENT_DISABLED
- TLSEnforcementDisabled
- "TLS1_0"
- TLS1_0
- "TLS1_1"
- TLS1_1
- "TLS1_2"
- TLS1_2
- "TLSEnforcement
Disabled" - TLSEnforcementDisabled
PrivateEndpointPropertyResponse, PrivateEndpointPropertyResponseArgs
- Id string
- Resource id of the private endpoint.
- Id string
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
- id string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
PublicNetworkAccessEnum, PublicNetworkAccessEnumArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Public
Network Access Enum Enabled - Enabled
- Public
Network Access Enum Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
ResourceIdentity, ResourceIdentityArgs
- Type
string | Pulumi.
Azure Native. DBfor Postgre SQL. Single Server Identity Properties - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- Type
string | Single
Server Identity Properties - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- type
String | Single
Server Identity Properties - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- type
string | Single
Server Identity Properties - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- type
str | Single
Server Identity Properties - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- type
String | "System
Assigned" - The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
ResourceIdentityResponse, ResourceIdentityResponseArgs
- Principal
Id string - The Azure Active Directory principal id.
- Tenant
Id string - The Azure Active Directory tenant id.
- Type string
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- Principal
Id string - The Azure Active Directory principal id.
- Tenant
Id string - The Azure Active Directory tenant id.
- Type string
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- principal
Id String - The Azure Active Directory principal id.
- tenant
Id String - The Azure Active Directory tenant id.
- type String
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- principal
Id string - The Azure Active Directory principal id.
- tenant
Id string - The Azure Active Directory tenant id.
- type string
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- principal_
id str - The Azure Active Directory principal id.
- tenant_
id str - The Azure Active Directory tenant id.
- type str
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
- principal
Id String - The Azure Active Directory principal id.
- tenant
Id String - The Azure Active Directory tenant id.
- type String
- The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.
ServerPrivateEndpointConnectionPropertiesResponse, ServerPrivateEndpointConnectionPropertiesResponseArgs
- Provisioning
State string - State of the private endpoint connection.
- Private
Endpoint Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Private Endpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link Pulumi.Service Connection State Azure Native. DBfor Postgre SQL. Inputs. Server Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- Provisioning
State string - State of the private endpoint connection.
- Private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link ServerService Connection State Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- provisioning
State String - State of the private endpoint connection.
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link ServerService Connection State Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- provisioning
State string - State of the private endpoint connection.
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link ServerService Connection State Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- provisioning_
state str - State of the private endpoint connection.
- private_
endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private_
link_ Serverservice_ connection_ state Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- provisioning
State String - State of the private endpoint connection.
- private
Endpoint Property Map - Private endpoint which the connection belongs to.
- private
Link Property MapService Connection State - Connection state of the private endpoint connection.
ServerPrivateEndpointConnectionResponse, ServerPrivateEndpointConnectionResponseArgs
- Id string
- Resource ID of the Private Endpoint Connection.
- Properties
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Server Private Endpoint Connection Properties Response - Private endpoint connection properties
- Id string
- Resource ID of the Private Endpoint Connection.
- Properties
Server
Private Endpoint Connection Properties Response - Private endpoint connection properties
- id String
- Resource ID of the Private Endpoint Connection.
- properties
Server
Private Endpoint Connection Properties Response - Private endpoint connection properties
- id string
- Resource ID of the Private Endpoint Connection.
- properties
Server
Private Endpoint Connection Properties Response - Private endpoint connection properties
- id str
- Resource ID of the Private Endpoint Connection.
- properties
Server
Private Endpoint Connection Properties Response - Private endpoint connection properties
- id String
- Resource ID of the Private Endpoint Connection.
- properties Property Map
- Private endpoint connection properties
ServerPrivateLinkServiceConnectionStatePropertyResponse, ServerPrivateLinkServiceConnectionStatePropertyResponseArgs
- Actions
Required string - The actions required for private link service connection.
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- Actions
Required string - The actions required for private link service connection.
- Description string
- The private link service connection description.
- Status string
- The private link service connection status.
- actions
Required String - The actions required for private link service connection.
- description String
- The private link service connection description.
- status String
- The private link service connection status.
- actions
Required string - The actions required for private link service connection.
- description string
- The private link service connection description.
- status string
- The private link service connection status.
- actions_
required str - The actions required for private link service connection.
- description str
- The private link service connection description.
- status str
- The private link service connection status.
- actions
Required String - The actions required for private link service connection.
- description String
- The private link service connection description.
- status String
- The private link service connection status.
ServerPropertiesForDefaultCreate, ServerPropertiesForDefaultCreateArgs
- Administrator
Login string - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- Administrator
Login stringPassword - The password of the administrator login.
- Infrastructure
Encryption string | Pulumi.Azure Native. DBfor Postgre SQL. Infrastructure Encryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | Pulumi.Version Azure Native. DBfor Postgre SQL. Minimal Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | Pulumi.Access Azure Native. DBfor Postgre SQL. Public Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement Pulumi.Azure Native. DBfor Postgre SQL. Ssl Enforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Storage Profile - Storage profile of a server.
- Version
string | Pulumi.
Azure Native. DBfor Postgre SQL. Single Server Version - Server version.
- Administrator
Login string - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- Administrator
Login stringPassword - The password of the administrator login.
- Infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile StorageProfile - Storage profile of a server.
- Version
string | Single
Server Version - Server version.
- administrator
Login String - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- administrator
Login StringPassword - The password of the administrator login.
- infrastructure
Encryption String | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network String | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
String | Single
Server Version - Server version.
- administrator
Login string - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- administrator
Login stringPassword - The password of the administrator login.
- infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
string | Single
Server Version - Server version.
- administrator_
login str - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- administrator_
login_ strpassword - The password of the administrator login.
- infrastructure_
encryption str | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal_
tls_ str | Minimalversion Tls Version Enum - Enforce a minimal Tls version for the server.
- public_
network_ str | Publicaccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl_
enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage_
profile StorageProfile - Storage profile of a server.
- version
str | Single
Server Version - Server version.
- administrator
Login String - The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- administrator
Login StringPassword - The password of the administrator login.
- infrastructure
Encryption String | "Enabled" | "Disabled" - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | "TLS1_0" | "TLS1_1" | "TLS1_2" | "TLSEnforcementVersion Disabled" - Enforce a minimal Tls version for the server.
- public
Network String | "Enabled" | "Disabled"Access - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement "Enabled" | "Disabled" - Enable ssl enforcement or not when connect to server.
- storage
Profile Property Map - Storage profile of a server.
- version String | "9.5" | "9.6" | "10" | "10.0" | "10.2" | "11"
- Server version.
ServerPropertiesForGeoRestore, ServerPropertiesForGeoRestoreArgs
- Source
Server stringId - The source server id to restore from.
- Infrastructure
Encryption string | Pulumi.Azure Native. DBfor Postgre SQL. Infrastructure Encryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | Pulumi.Version Azure Native. DBfor Postgre SQL. Minimal Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | Pulumi.Access Azure Native. DBfor Postgre SQL. Public Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement Pulumi.Azure Native. DBfor Postgre SQL. Ssl Enforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Storage Profile - Storage profile of a server.
- Version
string | Pulumi.
Azure Native. DBfor Postgre SQL. Single Server Version - Server version.
- Source
Server stringId - The source server id to restore from.
- Infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile StorageProfile - Storage profile of a server.
- Version
string | Single
Server Version - Server version.
- source
Server StringId - The source server id to restore from.
- infrastructure
Encryption String | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network String | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
String | Single
Server Version - Server version.
- source
Server stringId - The source server id to restore from.
- infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
string | Single
Server Version - Server version.
- source_
server_ strid - The source server id to restore from.
- infrastructure_
encryption str | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal_
tls_ str | Minimalversion Tls Version Enum - Enforce a minimal Tls version for the server.
- public_
network_ str | Publicaccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl_
enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage_
profile StorageProfile - Storage profile of a server.
- version
str | Single
Server Version - Server version.
- source
Server StringId - The source server id to restore from.
- infrastructure
Encryption String | "Enabled" | "Disabled" - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | "TLS1_0" | "TLS1_1" | "TLS1_2" | "TLSEnforcementVersion Disabled" - Enforce a minimal Tls version for the server.
- public
Network String | "Enabled" | "Disabled"Access - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement "Enabled" | "Disabled" - Enable ssl enforcement or not when connect to server.
- storage
Profile Property Map - Storage profile of a server.
- version String | "9.5" | "9.6" | "10" | "10.0" | "10.2" | "11"
- Server version.
ServerPropertiesForReplica, ServerPropertiesForReplicaArgs
- Source
Server stringId - The master server id to create replica from.
- Infrastructure
Encryption string | Pulumi.Azure Native. DBfor Postgre SQL. Infrastructure Encryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | Pulumi.Version Azure Native. DBfor Postgre SQL. Minimal Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | Pulumi.Access Azure Native. DBfor Postgre SQL. Public Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement Pulumi.Azure Native. DBfor Postgre SQL. Ssl Enforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Storage Profile - Storage profile of a server.
- Version
string | Pulumi.
Azure Native. DBfor Postgre SQL. Single Server Version - Server version.
- Source
Server stringId - The master server id to create replica from.
- Infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile StorageProfile - Storage profile of a server.
- Version
string | Single
Server Version - Server version.
- source
Server StringId - The master server id to create replica from.
- infrastructure
Encryption String | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network String | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
String | Single
Server Version - Server version.
- source
Server stringId - The master server id to create replica from.
- infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
string | Single
Server Version - Server version.
- source_
server_ strid - The master server id to create replica from.
- infrastructure_
encryption str | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal_
tls_ str | Minimalversion Tls Version Enum - Enforce a minimal Tls version for the server.
- public_
network_ str | Publicaccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl_
enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage_
profile StorageProfile - Storage profile of a server.
- version
str | Single
Server Version - Server version.
- source
Server StringId - The master server id to create replica from.
- infrastructure
Encryption String | "Enabled" | "Disabled" - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | "TLS1_0" | "TLS1_1" | "TLS1_2" | "TLSEnforcementVersion Disabled" - Enforce a minimal Tls version for the server.
- public
Network String | "Enabled" | "Disabled"Access - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement "Enabled" | "Disabled" - Enable ssl enforcement or not when connect to server.
- storage
Profile Property Map - Storage profile of a server.
- version String | "9.5" | "9.6" | "10" | "10.0" | "10.2" | "11"
- Server version.
ServerPropertiesForRestore, ServerPropertiesForRestoreArgs
- Restore
Point stringIn Time - Restore point creation time (ISO8601 format), specifying the time to restore from.
- Source
Server stringId - The source server id to restore from.
- Infrastructure
Encryption string | Pulumi.Azure Native. DBfor Postgre SQL. Infrastructure Encryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | Pulumi.Version Azure Native. DBfor Postgre SQL. Minimal Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | Pulumi.Access Azure Native. DBfor Postgre SQL. Public Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement Pulumi.Azure Native. DBfor Postgre SQL. Ssl Enforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Storage Profile - Storage profile of a server.
- Version
string | Pulumi.
Azure Native. DBfor Postgre SQL. Single Server Version - Server version.
- Restore
Point stringIn Time - Restore point creation time (ISO8601 format), specifying the time to restore from.
- Source
Server stringId - The source server id to restore from.
- Infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- Minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- Public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- Ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- Storage
Profile StorageProfile - Storage profile of a server.
- Version
string | Single
Server Version - Server version.
- restore
Point StringIn Time - Restore point creation time (ISO8601 format), specifying the time to restore from.
- source
Server StringId - The source server id to restore from.
- infrastructure
Encryption String | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network String | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
String | Single
Server Version - Server version.
- restore
Point stringIn Time - Restore point creation time (ISO8601 format), specifying the time to restore from.
- source
Server stringId - The source server id to restore from.
- infrastructure
Encryption string | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls string | MinimalVersion Tls Version Enum - Enforce a minimal Tls version for the server.
- public
Network string | PublicAccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage
Profile StorageProfile - Storage profile of a server.
- version
string | Single
Server Version - Server version.
- restore_
point_ strin_ time - Restore point creation time (ISO8601 format), specifying the time to restore from.
- source_
server_ strid - The source server id to restore from.
- infrastructure_
encryption str | InfrastructureEncryption - Status showing whether the server enabled infrastructure encryption.
- minimal_
tls_ str | Minimalversion Tls Version Enum - Enforce a minimal Tls version for the server.
- public_
network_ str | Publicaccess Network Access Enum - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl_
enforcement SslEnforcement Enum - Enable ssl enforcement or not when connect to server.
- storage_
profile StorageProfile - Storage profile of a server.
- version
str | Single
Server Version - Server version.
- restore
Point StringIn Time - Restore point creation time (ISO8601 format), specifying the time to restore from.
- source
Server StringId - The source server id to restore from.
- infrastructure
Encryption String | "Enabled" | "Disabled" - Status showing whether the server enabled infrastructure encryption.
- minimal
Tls String | "TLS1_0" | "TLS1_1" | "TLS1_2" | "TLSEnforcementVersion Disabled" - Enforce a minimal Tls version for the server.
- public
Network String | "Enabled" | "Disabled"Access - Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
- ssl
Enforcement "Enabled" | "Disabled" - Enable ssl enforcement or not when connect to server.
- storage
Profile Property Map - Storage profile of a server.
- version String | "9.5" | "9.6" | "10" | "10.0" | "10.2" | "11"
- Server version.
SingleServerIdentityProperties, SingleServerIdentityPropertiesArgs
- System
Assigned - SystemAssigned
- Single
Server Identity Properties System Assigned - SystemAssigned
- System
Assigned - SystemAssigned
- System
Assigned - SystemAssigned
- SYSTEM_ASSIGNED
- SystemAssigned
- "System
Assigned" - SystemAssigned
SingleServerSku, SingleServerSkuArgs
- Name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Capacity int
- The scale up/out capacity, representing server's compute units.
- Family string
- The family of hardware.
- Size string
- The size code, to be interpreted by resource as appropriate.
- Tier
string | Pulumi.
Azure Native. DBfor Postgre SQL. Single Server Sku Tier - The tier of the particular SKU, e.g. Basic.
- Name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Capacity int
- The scale up/out capacity, representing server's compute units.
- Family string
- The family of hardware.
- Size string
- The size code, to be interpreted by resource as appropriate.
- Tier
string | Single
Server Sku Tier - The tier of the particular SKU, e.g. Basic.
- name String
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity Integer
- The scale up/out capacity, representing server's compute units.
- family String
- The family of hardware.
- size String
- The size code, to be interpreted by resource as appropriate.
- tier
String | Single
Server Sku Tier - The tier of the particular SKU, e.g. Basic.
- name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity number
- The scale up/out capacity, representing server's compute units.
- family string
- The family of hardware.
- size string
- The size code, to be interpreted by resource as appropriate.
- tier
string | Single
Server Sku Tier - The tier of the particular SKU, e.g. Basic.
- name str
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity int
- The scale up/out capacity, representing server's compute units.
- family str
- The family of hardware.
- size str
- The size code, to be interpreted by resource as appropriate.
- tier
str | Single
Server Sku Tier - The tier of the particular SKU, e.g. Basic.
- name String
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity Number
- The scale up/out capacity, representing server's compute units.
- family String
- The family of hardware.
- size String
- The size code, to be interpreted by resource as appropriate.
- tier
String | "Basic" | "General
Purpose" | "Memory Optimized" - The tier of the particular SKU, e.g. Basic.
SingleServerSkuResponse, SingleServerSkuResponseArgs
- Name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Capacity int
- The scale up/out capacity, representing server's compute units.
- Family string
- The family of hardware.
- Size string
- The size code, to be interpreted by resource as appropriate.
- Tier string
- The tier of the particular SKU, e.g. Basic.
- Name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- Capacity int
- The scale up/out capacity, representing server's compute units.
- Family string
- The family of hardware.
- Size string
- The size code, to be interpreted by resource as appropriate.
- Tier string
- The tier of the particular SKU, e.g. Basic.
- name String
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity Integer
- The scale up/out capacity, representing server's compute units.
- family String
- The family of hardware.
- size String
- The size code, to be interpreted by resource as appropriate.
- tier String
- The tier of the particular SKU, e.g. Basic.
- name string
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity number
- The scale up/out capacity, representing server's compute units.
- family string
- The family of hardware.
- size string
- The size code, to be interpreted by resource as appropriate.
- tier string
- The tier of the particular SKU, e.g. Basic.
- name str
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity int
- The scale up/out capacity, representing server's compute units.
- family str
- The family of hardware.
- size str
- The size code, to be interpreted by resource as appropriate.
- tier str
- The tier of the particular SKU, e.g. Basic.
- name String
- The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.
- capacity Number
- The scale up/out capacity, representing server's compute units.
- family String
- The family of hardware.
- size String
- The size code, to be interpreted by resource as appropriate.
- tier String
- The tier of the particular SKU, e.g. Basic.
SingleServerSkuTier, SingleServerSkuTierArgs
- Basic
- Basic
- General
Purpose - GeneralPurpose
- Memory
Optimized - MemoryOptimized
- Single
Server Sku Tier Basic - Basic
- Single
Server Sku Tier General Purpose - GeneralPurpose
- Single
Server Sku Tier Memory Optimized - MemoryOptimized
- Basic
- Basic
- General
Purpose - GeneralPurpose
- Memory
Optimized - MemoryOptimized
- Basic
- Basic
- General
Purpose - GeneralPurpose
- Memory
Optimized - MemoryOptimized
- BASIC
- Basic
- GENERAL_PURPOSE
- GeneralPurpose
- MEMORY_OPTIMIZED
- MemoryOptimized
- "Basic"
- Basic
- "General
Purpose" - GeneralPurpose
- "Memory
Optimized" - MemoryOptimized
SingleServerVersion, SingleServerVersionArgs
- Single
Server Version_9_5 - 9.5
- Single
Server Version_9_6 - 9.6
- Single
Server Version_10 - 10
- Single
Server Version_10_0 - 10.0
- Single
Server Version_10_2 - 10.2
- Single
Server Version_11 - 11
- Single
Server Version_9_5 - 9.5
- Single
Server Version_9_6 - 9.6
- Single
Server Version_10 - 10
- Single
Server Version_10_0 - 10.0
- Single
Server Version_10_2 - 10.2
- Single
Server Version_11 - 11
- _9_5
- 9.5
- _9_6
- 9.6
- _10
- 10
- _10_0
- 10.0
- _10_2
- 10.2
- _11
- 11
- Single
Server Version_9_5 - 9.5
- Single
Server Version_9_6 - 9.6
- Single
Server Version_10 - 10
- Single
Server Version_10_0 - 10.0
- Single
Server Version_10_2 - 10.2
- Single
Server Version_11 - 11
- SINGLE_SERVER_VERSION_9_5
- 9.5
- SINGLE_SERVER_VERSION_9_6
- 9.6
- SINGLE_SERVER_VERSION_10
- 10
- SINGLE_SERVER_VERSION_10_0
- 10.0
- SINGLE_SERVER_VERSION_10_2
- 10.2
- SINGLE_SERVER_VERSION_11
- 11
- "9.5"
- 9.5
- "9.6"
- 9.6
- "10"
- 10
- "10.0"
- 10.0
- "10.2"
- 10.2
- "11"
- 11
SslEnforcementEnum, SslEnforcementEnumArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Ssl
Enforcement Enum Enabled - Enabled
- Ssl
Enforcement Enum Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
StorageAutogrow, StorageAutogrowArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Storage
Autogrow Enabled - Enabled
- Storage
Autogrow Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
StorageProfile, StorageProfileArgs
- Backup
Retention intDays - Backup retention days for the server.
- Geo
Redundant string | Pulumi.Backup Azure Native. DBfor Postgre SQL. Geo Redundant Backup - Enable Geo-redundant or not for server backup.
- Storage
Autogrow string | Pulumi.Azure Native. DBfor Postgre SQL. Storage Autogrow - Enable Storage Auto Grow.
- Storage
MB int - Max storage allowed for a server.
- Backup
Retention intDays - Backup retention days for the server.
- Geo
Redundant string | GeoBackup Redundant Backup - Enable Geo-redundant or not for server backup.
- Storage
Autogrow string | StorageAutogrow - Enable Storage Auto Grow.
- Storage
MB int - Max storage allowed for a server.
- backup
Retention IntegerDays - Backup retention days for the server.
- geo
Redundant String | GeoBackup Redundant Backup - Enable Geo-redundant or not for server backup.
- storage
Autogrow String | StorageAutogrow - Enable Storage Auto Grow.
- storage
MB Integer - Max storage allowed for a server.
- backup
Retention numberDays - Backup retention days for the server.
- geo
Redundant string | GeoBackup Redundant Backup - Enable Geo-redundant or not for server backup.
- storage
Autogrow string | StorageAutogrow - Enable Storage Auto Grow.
- storage
MB number - Max storage allowed for a server.
- backup_
retention_ intdays - Backup retention days for the server.
- geo_
redundant_ str | Geobackup Redundant Backup - Enable Geo-redundant or not for server backup.
- storage_
autogrow str | StorageAutogrow - Enable Storage Auto Grow.
- storage_
mb int - Max storage allowed for a server.
- backup
Retention NumberDays - Backup retention days for the server.
- geo
Redundant String | "Enabled" | "Disabled"Backup - Enable Geo-redundant or not for server backup.
- storage
Autogrow String | "Enabled" | "Disabled" - Enable Storage Auto Grow.
- storage
MB Number - Max storage allowed for a server.
StorageProfileResponse, StorageProfileResponseArgs
- Backup
Retention intDays - Backup retention days for the server.
- Geo
Redundant stringBackup - Enable Geo-redundant or not for server backup.
- Storage
Autogrow string - Enable Storage Auto Grow.
- Storage
MB int - Max storage allowed for a server.
- Backup
Retention intDays - Backup retention days for the server.
- Geo
Redundant stringBackup - Enable Geo-redundant or not for server backup.
- Storage
Autogrow string - Enable Storage Auto Grow.
- Storage
MB int - Max storage allowed for a server.
- backup
Retention IntegerDays - Backup retention days for the server.
- geo
Redundant StringBackup - Enable Geo-redundant or not for server backup.
- storage
Autogrow String - Enable Storage Auto Grow.
- storage
MB Integer - Max storage allowed for a server.
- backup
Retention numberDays - Backup retention days for the server.
- geo
Redundant stringBackup - Enable Geo-redundant or not for server backup.
- storage
Autogrow string - Enable Storage Auto Grow.
- storage
MB number - Max storage allowed for a server.
- backup_
retention_ intdays - Backup retention days for the server.
- geo_
redundant_ strbackup - Enable Geo-redundant or not for server backup.
- storage_
autogrow str - Enable Storage Auto Grow.
- storage_
mb int - Max storage allowed for a server.
- backup
Retention NumberDays - Backup retention days for the server.
- geo
Redundant StringBackup - Enable Geo-redundant or not for server backup.
- storage
Autogrow String - Enable Storage Auto Grow.
- storage
MB Number - Max storage allowed for a server.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:dbforpostgresql:SingleServer targetserver /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{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