1. Packages
  2. Azure Native v1
  3. API Docs
  4. azurearcdata
  5. PostgresInstance
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.azurearcdata.PostgresInstance

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A Postgres Instance. API Version: 2021-06-01-preview.

    Example Usage

    Create or update a Postgres Instance.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var postgresInstance = new AzureNative.AzureArcData.PostgresInstance("postgresInstance", new()
        {
            ExtendedLocation = new AzureNative.AzureArcData.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation",
                Type = "CustomLocation",
            },
            Location = "eastus",
            PostgresInstanceName = "testpostgresInstance",
            Properties = new AzureNative.AzureArcData.Inputs.PostgresInstancePropertiesArgs
            {
                Admin = "admin",
                BasicLoginInformation = new AzureNative.AzureArcData.Inputs.BasicLoginInformationArgs
                {
                    Password = "********",
                    Username = "username",
                },
                DataControllerId = "dataControllerId",
                K8sRaw = 
                {
                    { "apiVersion", "apiVersion" },
                    { "kind", "postgresql-12" },
                    { "metadata", 
                    {
                        { "creationTimestamp", "2020-08-25T14:55:10Z" },
                        { "generation", 1 },
                        { "name", "pg1" },
                        { "namespace", "test" },
                        { "resourceVersion", "527780" },
                        { "selfLink", "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1" },
                        { "uid", "1111aaaa-ffff-ffff-ffff-99999aaaaaaa" },
                    } },
                    { "spec", 
                    {
                        { "backups", 
                        {
                            { "deltaMinutes", 3 },
                            { "fullMinutes", 10 },
                            { "tiers", new[]
                            {
                                
                                {
                                    { "retention", 
                                    {
                                        { "maximums", new[]
                                        {
                                            "6",
                                            "512MB",
                                        } },
                                        { "minimums", new[]
                                        {
                                            "3",
                                        } },
                                    } },
                                    { "storage", 
                                    {
                                        { "volumeSize", "1Gi" },
                                    } },
                                },
                            } },
                        } },
                        { "engine", 
                        {
                            { "extensions", new[]
                            {
                                
                                {
                                    { "name", "citus" },
                                },
                            } },
                        } },
                        { "scale", 
                        {
                            { "shards", 3 },
                        } },
                        { "scheduling", 
                        {
                            { "default", 
                            {
                                { "resources", 
                                {
                                    { "requests", 
                                    {
                                        { "memory", "256Mi" },
                                    } },
                                } },
                            } },
                        } },
                        { "service", 
                        {
                            { "type", "NodePort" },
                        } },
                        { "storage", 
                        {
                            { "data", 
                            {
                                { "className", "local-storage" },
                                { "size", "5Gi" },
                            } },
                            { "logs", 
                            {
                                { "className", "local-storage" },
                                { "size", "5Gi" },
                            } },
                        } },
                    } },
                    { "status", 
                    {
                        { "externalEndpoint", null },
                        { "readyPods", "4/4" },
                        { "state", "Ready" },
                    } },
                },
            },
            ResourceGroupName = "testrg",
            Sku = new AzureNative.AzureArcData.Inputs.PostgresInstanceSkuArgs
            {
                Dev = true,
                Name = "default",
                Tier = AzureNative.AzureArcData.PostgresInstanceSkuTier.Hyperscale,
            },
        });
    
    });
    
    package main
    
    import (
    	azurearcdata "github.com/pulumi/pulumi-azure-native-sdk/azurearcdata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurearcdata.NewPostgresInstance(ctx, "postgresInstance", &azurearcdata.PostgresInstanceArgs{
    			ExtendedLocation: &azurearcdata.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			Location:             pulumi.String("eastus"),
    			PostgresInstanceName: pulumi.String("testpostgresInstance"),
    			Properties: azurearcdata.PostgresInstancePropertiesResponse{
    				Admin: pulumi.String("admin"),
    				BasicLoginInformation: &azurearcdata.BasicLoginInformationArgs{
    					Password: pulumi.String("********"),
    					Username: pulumi.String("username"),
    				},
    				DataControllerId: pulumi.String("dataControllerId"),
    				K8sRaw: pulumi.Any{
    					ApiVersion: "apiVersion",
    					Kind:       "postgresql-12",
    					Metadata: map[string]interface{}{
    						"creationTimestamp": "2020-08-25T14:55:10Z",
    						"generation":        1,
    						"name":              "pg1",
    						"namespace":         "test",
    						"resourceVersion":   "527780",
    						"selfLink":          "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1",
    						"uid":               "1111aaaa-ffff-ffff-ffff-99999aaaaaaa",
    					},
    					Spec: map[string]interface{}{
    						"backups": map[string]interface{}{
    							"deltaMinutes": 3,
    							"fullMinutes":  10,
    							"tiers": []map[string]interface{}{
    								map[string]interface{}{
    									"retention": map[string]interface{}{
    										"maximums": []string{
    											"6",
    											"512MB",
    										},
    										"minimums": []string{
    											"3",
    										},
    									},
    									"storage": map[string]interface{}{
    										"volumeSize": "1Gi",
    									},
    								},
    							},
    						},
    						"engine": map[string]interface{}{
    							"extensions": []map[string]interface{}{
    								map[string]interface{}{
    									"name": "citus",
    								},
    							},
    						},
    						"scale": map[string]interface{}{
    							"shards": 3,
    						},
    						"scheduling": map[string]interface{}{
    							"default": map[string]interface{}{
    								"resources": map[string]interface{}{
    									"requests": map[string]interface{}{
    										"memory": "256Mi",
    									},
    								},
    							},
    						},
    						"service": map[string]interface{}{
    							"type": "NodePort",
    						},
    						"storage": map[string]interface{}{
    							"data": map[string]interface{}{
    								"className": "local-storage",
    								"size":      "5Gi",
    							},
    							"logs": map[string]interface{}{
    								"className": "local-storage",
    								"size":      "5Gi",
    							},
    						},
    					},
    					Status: map[string]interface{}{
    						"externalEndpoint": nil,
    						"readyPods":        "4/4",
    						"state":            "Ready",
    					},
    				},
    			},
    			ResourceGroupName: pulumi.String("testrg"),
    			Sku: &azurearcdata.PostgresInstanceSkuArgs{
    				Dev:  pulumi.Bool(true),
    				Name: pulumi.String("default"),
    				Tier: azurearcdata.PostgresInstanceSkuTierHyperscale,
    			},
    		})
    		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.azurearcdata.PostgresInstance;
    import com.pulumi.azurenative.azurearcdata.PostgresInstanceArgs;
    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 postgresInstance = new PostgresInstance("postgresInstance", PostgresInstanceArgs.builder()        
                .extendedLocation(Map.ofEntries(
                    Map.entry("name", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"),
                    Map.entry("type", "CustomLocation")
                ))
                .location("eastus")
                .postgresInstanceName("testpostgresInstance")
                .properties(Map.ofEntries(
                    Map.entry("admin", "admin"),
                    Map.entry("basicLoginInformation", Map.ofEntries(
                        Map.entry("password", "********"),
                        Map.entry("username", "username")
                    )),
                    Map.entry("dataControllerId", "dataControllerId"),
                    Map.entry("k8sRaw", Map.ofEntries(
                        Map.entry("apiVersion", "apiVersion"),
                        Map.entry("kind", "postgresql-12"),
                        Map.entry("metadata", PostgresInstancePropertiesArgs.builder()
                            .creationTimestamp("2020-08-25T14:55:10Z")
                            .generation(1)
                            .name("pg1")
                            .namespace("test")
                            .resourceVersion("527780")
                            .selfLink("/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1")
                            .uid("1111aaaa-ffff-ffff-ffff-99999aaaaaaa")
                            .build()),
                        Map.entry("spec", PostgresInstancePropertiesArgs.builder()
                            .backups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .engine(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .scale(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .scheduling(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .service(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .storage(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .build()),
                        Map.entry("status", PostgresInstancePropertiesArgs.builder()
                            .externalEndpoint(null)
                            .readyPods("4/4")
                            .state("Ready")
                            .build())
                    ))
                ))
                .resourceGroupName("testrg")
                .sku(Map.ofEntries(
                    Map.entry("dev", true),
                    Map.entry("name", "default"),
                    Map.entry("tier", "Hyperscale")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    postgres_instance = azure_native.azurearcdata.PostgresInstance("postgresInstance",
        extended_location=azure_native.azurearcdata.ExtendedLocationArgs(
            name="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation",
            type="CustomLocation",
        ),
        location="eastus",
        postgres_instance_name="testpostgresInstance",
        properties=azure_native.azurearcdata.PostgresInstancePropertiesResponseArgs(
            admin="admin",
            basic_login_information=azure_native.azurearcdata.BasicLoginInformationArgs(
                password="********",
                username="username",
            ),
            data_controller_id="dataControllerId",
            k8s_raw={
                "apiVersion": "apiVersion",
                "kind": "postgresql-12",
                "metadata": {
                    "creationTimestamp": "2020-08-25T14:55:10Z",
                    "generation": 1,
                    "name": "pg1",
                    "namespace": "test",
                    "resourceVersion": "527780",
                    "selfLink": "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1",
                    "uid": "1111aaaa-ffff-ffff-ffff-99999aaaaaaa",
                },
                "spec": {
                    "backups": {
                        "deltaMinutes": 3,
                        "fullMinutes": 10,
                        "tiers": [{
                            "retention": {
                                "maximums": [
                                    "6",
                                    "512MB",
                                ],
                                "minimums": ["3"],
                            },
                            "storage": {
                                "volumeSize": "1Gi",
                            },
                        }],
                    },
                    "engine": {
                        "extensions": [{
                            "name": "citus",
                        }],
                    },
                    "scale": {
                        "shards": 3,
                    },
                    "scheduling": {
                        "default": {
                            "resources": {
                                "requests": {
                                    "memory": "256Mi",
                                },
                            },
                        },
                    },
                    "service": {
                        "type": "NodePort",
                    },
                    "storage": {
                        "data": {
                            "className": "local-storage",
                            "size": "5Gi",
                        },
                        "logs": {
                            "className": "local-storage",
                            "size": "5Gi",
                        },
                    },
                },
                "status": {
                    "externalEndpoint": None,
                    "readyPods": "4/4",
                    "state": "Ready",
                },
            },
        ),
        resource_group_name="testrg",
        sku=azure_native.azurearcdata.PostgresInstanceSkuArgs(
            dev=True,
            name="default",
            tier=azure_native.azurearcdata.PostgresInstanceSkuTier.HYPERSCALE,
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const postgresInstance = new azure_native.azurearcdata.PostgresInstance("postgresInstance", {
        extendedLocation: {
            name: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation",
            type: "CustomLocation",
        },
        location: "eastus",
        postgresInstanceName: "testpostgresInstance",
        properties: {
            admin: "admin",
            basicLoginInformation: {
                password: "********",
                username: "username",
            },
            dataControllerId: "dataControllerId",
            k8sRaw: {
                apiVersion: "apiVersion",
                kind: "postgresql-12",
                metadata: {
                    creationTimestamp: "2020-08-25T14:55:10Z",
                    generation: 1,
                    name: "pg1",
                    namespace: "test",
                    resourceVersion: "527780",
                    selfLink: "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1",
                    uid: "1111aaaa-ffff-ffff-ffff-99999aaaaaaa",
                },
                spec: {
                    backups: {
                        deltaMinutes: 3,
                        fullMinutes: 10,
                        tiers: [{
                            retention: {
                                maximums: [
                                    "6",
                                    "512MB",
                                ],
                                minimums: ["3"],
                            },
                            storage: {
                                volumeSize: "1Gi",
                            },
                        }],
                    },
                    engine: {
                        extensions: [{
                            name: "citus",
                        }],
                    },
                    scale: {
                        shards: 3,
                    },
                    scheduling: {
                        "default": {
                            resources: {
                                requests: {
                                    memory: "256Mi",
                                },
                            },
                        },
                    },
                    service: {
                        type: "NodePort",
                    },
                    storage: {
                        data: {
                            className: "local-storage",
                            size: "5Gi",
                        },
                        logs: {
                            className: "local-storage",
                            size: "5Gi",
                        },
                    },
                },
                status: {
                    externalEndpoint: undefined,
                    readyPods: "4/4",
                    state: "Ready",
                },
            },
        },
        resourceGroupName: "testrg",
        sku: {
            dev: true,
            name: "default",
            tier: azure_native.azurearcdata.PostgresInstanceSkuTier.Hyperscale,
        },
    });
    
    resources:
      postgresInstance:
        type: azure-native:azurearcdata:PostgresInstance
        properties:
          extendedLocation:
            name: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation
            type: CustomLocation
          location: eastus
          postgresInstanceName: testpostgresInstance
          properties:
            admin: admin
            basicLoginInformation:
              password: '********'
              username: username
            dataControllerId: dataControllerId
            k8sRaw:
              apiVersion: apiVersion
              kind: postgresql-12
              metadata:
                creationTimestamp: 2020-08-25T14:55:10Z
                generation: 1
                name: pg1
                namespace: test
                resourceVersion: '527780'
                selfLink: /apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1
                uid: 1111aaaa-ffff-ffff-ffff-99999aaaaaaa
              spec:
                backups:
                  deltaMinutes: 3
                  fullMinutes: 10
                  tiers:
                    - retention:
                        maximums:
                          - '6'
                          - 512MB
                        minimums:
                          - '3'
                      storage:
                        volumeSize: 1Gi
                engine:
                  extensions:
                    - name: citus
                scale:
                  shards: 3
                scheduling:
                  default:
                    resources:
                      requests:
                        memory: 256Mi
                service:
                  type: NodePort
                storage:
                  data:
                    className: local-storage
                    size: 5Gi
                  logs:
                    className: local-storage
                    size: 5Gi
              status:
                externalEndpoint: null
                readyPods: 4/4
                state: Ready
          resourceGroupName: testrg
          sku:
            dev: true
            name: default
            tier: Hyperscale
    

    Create PostgresInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PostgresInstance(name: string, args: PostgresInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def PostgresInstance(resource_name: str,
                         args: PostgresInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PostgresInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         properties: Optional[PostgresInstancePropertiesArgs] = None,
                         resource_group_name: Optional[str] = None,
                         extended_location: Optional[ExtendedLocationArgs] = None,
                         location: Optional[str] = None,
                         postgres_instance_name: Optional[str] = None,
                         sku: Optional[PostgresInstanceSkuArgs] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewPostgresInstance(ctx *Context, name string, args PostgresInstanceArgs, opts ...ResourceOption) (*PostgresInstance, error)
    public PostgresInstance(string name, PostgresInstanceArgs args, CustomResourceOptions? opts = null)
    public PostgresInstance(String name, PostgresInstanceArgs args)
    public PostgresInstance(String name, PostgresInstanceArgs args, CustomResourceOptions options)
    
    type: azure-native:azurearcdata:PostgresInstance
    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 PostgresInstanceArgs
    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 PostgresInstanceArgs
    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 PostgresInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PostgresInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PostgresInstanceArgs
    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 postgresInstanceResource = new AzureNative.Azurearcdata.PostgresInstance("postgresInstanceResource", new()
    {
        Properties = 
        {
            { "admin", "string" },
            { "basicLoginInformation", 
            {
                { "password", "string" },
                { "username", "string" },
            } },
            { "dataControllerId", "string" },
            { "k8sRaw", "any" },
            { "lastUploadedDate", "string" },
        },
        ResourceGroupName = "string",
        ExtendedLocation = 
        {
            { "name", "string" },
            { "type", "string" },
        },
        Location = "string",
        PostgresInstanceName = "string",
        Sku = 
        {
            { "name", "string" },
            { "capacity", 0 },
            { "dev", false },
            { "family", "string" },
            { "size", "string" },
            { "tier", "Hyperscale" },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := azurearcdata.NewPostgresInstance(ctx, "postgresInstanceResource", &azurearcdata.PostgresInstanceArgs{
    	Properties: map[string]interface{}{
    		"admin": "string",
    		"basicLoginInformation": map[string]interface{}{
    			"password": "string",
    			"username": "string",
    		},
    		"dataControllerId": "string",
    		"k8sRaw":           "any",
    		"lastUploadedDate": "string",
    	},
    	ResourceGroupName: "string",
    	ExtendedLocation: map[string]interface{}{
    		"name": "string",
    		"type": "string",
    	},
    	Location:             "string",
    	PostgresInstanceName: "string",
    	Sku: map[string]interface{}{
    		"name":     "string",
    		"capacity": 0,
    		"dev":      false,
    		"family":   "string",
    		"size":     "string",
    		"tier":     "Hyperscale",
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var postgresInstanceResource = new PostgresInstance("postgresInstanceResource", PostgresInstanceArgs.builder()
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .resourceGroupName("string")
        .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .postgresInstanceName("string")
        .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    postgres_instance_resource = azure_native.azurearcdata.PostgresInstance("postgresInstanceResource",
        properties={
            admin: string,
            basicLoginInformation: {
                password: string,
                username: string,
            },
            dataControllerId: string,
            k8sRaw: any,
            lastUploadedDate: string,
        },
        resource_group_name=string,
        extended_location={
            name: string,
            type: string,
        },
        location=string,
        postgres_instance_name=string,
        sku={
            name: string,
            capacity: 0,
            dev: False,
            family: string,
            size: string,
            tier: Hyperscale,
        },
        tags={
            string: string,
        })
    
    const postgresInstanceResource = new azure_native.azurearcdata.PostgresInstance("postgresInstanceResource", {
        properties: {
            admin: "string",
            basicLoginInformation: {
                password: "string",
                username: "string",
            },
            dataControllerId: "string",
            k8sRaw: "any",
            lastUploadedDate: "string",
        },
        resourceGroupName: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        location: "string",
        postgresInstanceName: "string",
        sku: {
            name: "string",
            capacity: 0,
            dev: false,
            family: "string",
            size: "string",
            tier: "Hyperscale",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:azurearcdata:PostgresInstance
    properties:
        extendedLocation:
            name: string
            type: string
        location: string
        postgresInstanceName: string
        properties:
            admin: string
            basicLoginInformation:
                password: string
                username: string
            dataControllerId: string
            k8sRaw: any
            lastUploadedDate: string
        resourceGroupName: string
        sku:
            capacity: 0
            dev: false
            family: string
            name: string
            size: string
            tier: Hyperscale
        tags:
            string: string
    

    PostgresInstance 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 PostgresInstance resource accepts the following input properties:

    Properties Pulumi.AzureNative.AzureArcData.Inputs.PostgresInstanceProperties
    null
    ResourceGroupName string
    The name of the Azure resource group
    ExtendedLocation Pulumi.AzureNative.AzureArcData.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    Location string
    The geo-location where the resource lives
    PostgresInstanceName string
    Name of PostgresInstance
    Sku Pulumi.AzureNative.AzureArcData.Inputs.PostgresInstanceSku
    Resource sku.
    Tags Dictionary<string, string>
    Resource tags.
    Properties PostgresInstancePropertiesArgs
    null
    ResourceGroupName string
    The name of the Azure resource group
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    Location string
    The geo-location where the resource lives
    PostgresInstanceName string
    Name of PostgresInstance
    Sku PostgresInstanceSkuArgs
    Resource sku.
    Tags map[string]string
    Resource tags.
    properties PostgresInstanceProperties
    null
    resourceGroupName String
    The name of the Azure resource group
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    location String
    The geo-location where the resource lives
    postgresInstanceName String
    Name of PostgresInstance
    sku PostgresInstanceSku
    Resource sku.
    tags Map<String,String>
    Resource tags.
    properties PostgresInstanceProperties
    null
    resourceGroupName string
    The name of the Azure resource group
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    location string
    The geo-location where the resource lives
    postgresInstanceName string
    Name of PostgresInstance
    sku PostgresInstanceSku
    Resource sku.
    tags {[key: string]: string}
    Resource tags.
    properties PostgresInstancePropertiesArgs
    null
    resource_group_name str
    The name of the Azure resource group
    extended_location ExtendedLocationArgs
    The extendedLocation of the resource.
    location str
    The geo-location where the resource lives
    postgres_instance_name str
    Name of PostgresInstance
    sku PostgresInstanceSkuArgs
    Resource sku.
    tags Mapping[str, str]
    Resource tags.
    properties Property Map
    null
    resourceGroupName String
    The name of the Azure resource group
    extendedLocation Property Map
    The extendedLocation of the resource.
    location String
    The geo-location where the resource lives
    postgresInstanceName String
    Name of PostgresInstance
    sku Property Map
    Resource sku.
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PostgresInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.AzureArcData.Outputs.SystemDataResponse
    Read only system data
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Read only system data
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Read only system data
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Read only system data
    type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Read only system data
    type str
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Read only system data
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

    Supporting Types

    BasicLoginInformation, BasicLoginInformationArgs

    Password string
    Login password.
    Username string
    Login username.
    Password string
    Login password.
    Username string
    Login username.
    password String
    Login password.
    username String
    Login username.
    password string
    Login password.
    username string
    Login username.
    password str
    Login password.
    username str
    Login username.
    password String
    Login password.
    username String
    Login username.

    BasicLoginInformationResponse, BasicLoginInformationResponseArgs

    Username string
    Login username.
    Username string
    Login username.
    username String
    Login username.
    username string
    Login username.
    username str
    Login username.
    username String
    Login username.

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.AzureArcData.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation
    ExtendedLocationTypesCustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CUSTOM_LOCATION
    CustomLocation
    "CustomLocation"
    CustomLocation

    PostgresInstanceProperties, PostgresInstancePropertiesArgs

    Admin string
    The instance admin
    BasicLoginInformation Pulumi.AzureNative.AzureArcData.Inputs.BasicLoginInformation
    Username and password for basic authentication.
    DataControllerId string
    The data controller id
    K8sRaw object
    The raw kubernetes information
    LastUploadedDate string
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    Admin string
    The instance admin
    BasicLoginInformation BasicLoginInformation
    Username and password for basic authentication.
    DataControllerId string
    The data controller id
    K8sRaw interface{}
    The raw kubernetes information
    LastUploadedDate string
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    admin String
    The instance admin
    basicLoginInformation BasicLoginInformation
    Username and password for basic authentication.
    dataControllerId String
    The data controller id
    k8sRaw Object
    The raw kubernetes information
    lastUploadedDate String
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    admin string
    The instance admin
    basicLoginInformation BasicLoginInformation
    Username and password for basic authentication.
    dataControllerId string
    The data controller id
    k8sRaw any
    The raw kubernetes information
    lastUploadedDate string
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    admin str
    The instance admin
    basic_login_information BasicLoginInformation
    Username and password for basic authentication.
    data_controller_id str
    The data controller id
    k8s_raw Any
    The raw kubernetes information
    last_uploaded_date str
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    admin String
    The instance admin
    basicLoginInformation Property Map
    Username and password for basic authentication.
    dataControllerId String
    The data controller id
    k8sRaw Any
    The raw kubernetes information
    lastUploadedDate String
    Last uploaded date from Kubernetes cluster. Defaults to current date time

    PostgresInstancePropertiesResponse, PostgresInstancePropertiesResponseArgs

    ProvisioningState string
    Admin string
    The instance admin
    BasicLoginInformation Pulumi.AzureNative.AzureArcData.Inputs.BasicLoginInformationResponse
    Username and password for basic authentication.
    DataControllerId string
    The data controller id
    K8sRaw object
    The raw kubernetes information
    LastUploadedDate string
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    ProvisioningState string
    Admin string
    The instance admin
    BasicLoginInformation BasicLoginInformationResponse
    Username and password for basic authentication.
    DataControllerId string
    The data controller id
    K8sRaw interface{}
    The raw kubernetes information
    LastUploadedDate string
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    provisioningState String
    admin String
    The instance admin
    basicLoginInformation BasicLoginInformationResponse
    Username and password for basic authentication.
    dataControllerId String
    The data controller id
    k8sRaw Object
    The raw kubernetes information
    lastUploadedDate String
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    provisioningState string
    admin string
    The instance admin
    basicLoginInformation BasicLoginInformationResponse
    Username and password for basic authentication.
    dataControllerId string
    The data controller id
    k8sRaw any
    The raw kubernetes information
    lastUploadedDate string
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    provisioning_state str
    admin str
    The instance admin
    basic_login_information BasicLoginInformationResponse
    Username and password for basic authentication.
    data_controller_id str
    The data controller id
    k8s_raw Any
    The raw kubernetes information
    last_uploaded_date str
    Last uploaded date from Kubernetes cluster. Defaults to current date time
    provisioningState String
    admin String
    The instance admin
    basicLoginInformation Property Map
    Username and password for basic authentication.
    dataControllerId String
    The data controller id
    k8sRaw Any
    The raw kubernetes information
    lastUploadedDate String
    Last uploaded date from Kubernetes cluster. Defaults to current date time

    PostgresInstanceSku, PostgresInstanceSkuArgs

    Name string
    The name of the SKU. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Dev bool
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier Pulumi.AzureNative.AzureArcData.PostgresInstanceSkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    Name string
    The name of the SKU. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Dev bool
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier PostgresInstanceSkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name String
    The name of the SKU. It is typically a letter+number code
    capacity Integer
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev Boolean
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family String
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size String
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier PostgresInstanceSkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name string
    The name of the SKU. It is typically a letter+number code
    capacity number
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev boolean
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier PostgresInstanceSkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name str
    The name of the SKU. It is typically a letter+number code
    capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev bool
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family str
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size str
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier PostgresInstanceSkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name String
    The name of the SKU. It is typically a letter+number code
    capacity Number
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev Boolean
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family String
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size String
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier "Hyperscale"
    This field is required to be implemented by the Resource Provider if the service has more than one tier.

    PostgresInstanceSkuResponse, PostgresInstanceSkuResponseArgs

    Name string
    The name of the SKU. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Dev bool
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier string
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    Name string
    The name of the SKU. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Dev bool
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier string
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name String
    The name of the SKU. It is typically a letter+number code
    capacity Integer
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev Boolean
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family String
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size String
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier String
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name string
    The name of the SKU. It is typically a letter+number code
    capacity number
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev boolean
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier string
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name str
    The name of the SKU. It is typically a letter+number code
    capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev bool
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family str
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size str
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier str
    This field is required to be implemented by the Resource Provider if the service has more than one tier.
    name String
    The name of the SKU. It is typically a letter+number code
    capacity Number
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    dev Boolean
    Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
    family String
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size String
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier String
    This field is required to be implemented by the Resource Provider if the service has more than one tier.

    PostgresInstanceSkuTier, PostgresInstanceSkuTierArgs

    Hyperscale
    Hyperscale
    PostgresInstanceSkuTierHyperscale
    Hyperscale
    Hyperscale
    Hyperscale
    Hyperscale
    Hyperscale
    HYPERSCALE
    Hyperscale
    "Hyperscale"
    Hyperscale

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC)
    CreatedBy string
    An identifier for the identity that created the resource
    CreatedByType string
    The type of identity that created the resource
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    An identifier for the identity that last modified the resource
    LastModifiedByType string
    The type of identity that last modified the resource
    CreatedAt string
    The timestamp of resource creation (UTC)
    CreatedBy string
    An identifier for the identity that created the resource
    CreatedByType string
    The type of identity that created the resource
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    An identifier for the identity that last modified the resource
    LastModifiedByType string
    The type of identity that last modified the resource
    createdAt String
    The timestamp of resource creation (UTC)
    createdBy String
    An identifier for the identity that created the resource
    createdByType String
    The type of identity that created the resource
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    The type of identity that last modified the resource
    createdAt string
    The timestamp of resource creation (UTC)
    createdBy string
    An identifier for the identity that created the resource
    createdByType string
    The type of identity that created the resource
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    An identifier for the identity that last modified the resource
    lastModifiedByType string
    The type of identity that last modified the resource
    created_at str
    The timestamp of resource creation (UTC)
    created_by str
    An identifier for the identity that created the resource
    created_by_type str
    The type of identity that created the resource
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    An identifier for the identity that last modified the resource
    last_modified_by_type str
    The type of identity that last modified the resource
    createdAt String
    The timestamp of resource creation (UTC)
    createdBy String
    An identifier for the identity that created the resource
    createdByType String
    The type of identity that created the resource
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    The type of identity that last modified the resource

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:azurearcdata:PostgresInstance testpostgresInstance /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi