Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

PostgresInstance

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

Example Usage

Create or update a Postgres Instance.

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var postgresInstance = new AzureNative.AzureArcData.PostgresInstance("postgresInstance", new AzureNative.AzureArcData.PostgresInstanceArgs
        {
            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", 
                            {
                                
                                {
                                    { "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 = 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/go/azure/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.PostgresInstancePropertiesArgs{
				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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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", PostgresInstanceProperties.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", PostgresInstanceProperties.builder()
                        .backups(Map.ofEntries(
                            Map.entry("deltaMinutes", 3),
                            Map.entry("fullMinutes", 10),
                            Map.entry("tiers", Map.ofEntries(
                                Map.entry("retention", Map.ofEntries(
                                    Map.entry("maximums",                                     
                                        "6",
                                        "512MB"),
                                    Map.entry("minimums", "3")
                                )),
                                Map.entry("storage", Map.of("volumeSize", "1Gi"))
                            ))
                        ))
                        .engine(Map.of("extensions", Map.of("name", "citus")))
                        .scale(Map.of("shards", 3))
                        .scheduling(Map.of("default", Map.of("resources", Map.of("requests", Map.of("memory", "256Mi")))))
                        .service(Map.of("type", "NodePort"))
                        .storage(Map.ofEntries(
                            Map.entry("data", Map.ofEntries(
                                Map.entry("className", "local-storage"),
                                Map.entry("size", "5Gi")
                            )),
                            Map.entry("logs", Map.ofEntries(
                                Map.entry("className", "local-storage"),
                                Map.entry("size", "5Gi")
                            ))
                        ))
                        .build()),
                    Map.entry("status", PostgresInstanceProperties.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.PostgresInstancePropertiesArgs(
        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 a PostgresInstance Resource

new PostgresInstance(name: string, args: PostgresInstanceArgs, opts?: CustomResourceOptions);
@overload
def PostgresInstance(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     extended_location: Optional[ExtendedLocationArgs] = None,
                     location: Optional[str] = None,
                     postgres_instance_name: Optional[str] = None,
                     properties: Optional[PostgresInstancePropertiesArgs] = None,
                     resource_group_name: Optional[str] = None,
                     sku: Optional[PostgresInstanceSkuArgs] = None,
                     tags: Optional[Mapping[str, str]] = None)
@overload
def PostgresInstance(resource_name: str,
                     args: PostgresInstanceArgs,
                     opts: Optional[ResourceOptions] = 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.

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.

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

The PostgresInstance resource accepts the following input properties:

Properties Pulumi.AzureNative.AzureArcData.Inputs.PostgresInstancePropertiesArgs

null

ResourceGroupName string

The name of the Azure resource group

ExtendedLocation Pulumi.AzureNative.AzureArcData.Inputs.ExtendedLocationArgs

The extendedLocation of the resource.

Location string

The geo-location where the resource lives

PostgresInstanceName string

Name of PostgresInstance

Sku Pulumi.AzureNative.AzureArcData.Inputs.PostgresInstanceSkuArgs

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 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

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 {[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

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

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

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

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

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

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

PostgresInstanceProperties

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

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

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

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

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

SystemDataResponse

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 testsqlregistration /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0