azure-native.azurearcdata.PostgresInstance
Explore with Pulumi AI
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.
Azure Native. Azure Arc Data. Inputs. Postgres Instance Properties - null
- Resource
Group stringName - The name of the Azure resource group
- Extended
Location Pulumi.Azure Native. Azure Arc Data. Inputs. Extended Location - The extendedLocation of the resource.
- Location string
- The geo-location where the resource lives
- Postgres
Instance stringName - Name of PostgresInstance
- Sku
Pulumi.
Azure Native. Azure Arc Data. Inputs. Postgres Instance Sku - Resource sku.
- Dictionary<string, string>
- Resource tags.
- Properties
Postgres
Instance Properties Args - null
- Resource
Group stringName - The name of the Azure resource group
- Extended
Location ExtendedLocation Args - The extendedLocation of the resource.
- Location string
- The geo-location where the resource lives
- Postgres
Instance stringName - Name of PostgresInstance
- Sku
Postgres
Instance Sku Args - Resource sku.
- map[string]string
- Resource tags.
- properties
Postgres
Instance Properties - null
- resource
Group StringName - The name of the Azure resource group
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- location String
- The geo-location where the resource lives
- postgres
Instance StringName - Name of PostgresInstance
- sku
Postgres
Instance Sku - Resource sku.
- Map<String,String>
- Resource tags.
- properties
Postgres
Instance Properties - null
- resource
Group stringName - The name of the Azure resource group
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- location string
- The geo-location where the resource lives
- postgres
Instance stringName - Name of PostgresInstance
- sku
Postgres
Instance Sku - Resource sku.
- {[key: string]: string}
- Resource tags.
- properties
Postgres
Instance Properties Args - null
- resource_
group_ strname - The name of the Azure resource group
- extended_
location ExtendedLocation Args - The extendedLocation of the resource.
- location str
- The geo-location where the resource lives
- postgres_
instance_ strname - Name of PostgresInstance
- sku
Postgres
Instance Sku Args - Resource sku.
- Mapping[str, str]
- Resource tags.
- properties Property Map
- null
- resource
Group StringName - The name of the Azure resource group
- extended
Location Property Map - The extendedLocation of the resource.
- location String
- The geo-location where the resource lives
- postgres
Instance StringName - Name of PostgresInstance
- sku Property Map
- Resource sku.
- 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
- System
Data Pulumi.Azure Native. Azure Arc Data. Outputs. System Data Response - 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
- System
Data SystemData Response - 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
- system
Data SystemData Response - 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
- system
Data SystemData Response - 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 SystemData Response - 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
- system
Data 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
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.
Azure Native. Azure Arc Data. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location - CustomLocation
- Extended
Location Types Custom Location - CustomLocation
- Custom
Location - CustomLocation
- Custom
Location - CustomLocation
- CUSTOM_LOCATION
- CustomLocation
- "Custom
Location" - CustomLocation
PostgresInstanceProperties, PostgresInstancePropertiesArgs
- Admin string
- The instance admin
- Basic
Login Pulumi.Information Azure Native. Azure Arc Data. Inputs. Basic Login Information - Username and password for basic authentication.
- Data
Controller stringId - The data controller id
- K8s
Raw object - The raw kubernetes information
- Last
Uploaded stringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- Admin string
- The instance admin
- Basic
Login BasicInformation Login Information - Username and password for basic authentication.
- Data
Controller stringId - The data controller id
- K8s
Raw interface{} - The raw kubernetes information
- Last
Uploaded stringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- admin String
- The instance admin
- basic
Login BasicInformation Login Information - Username and password for basic authentication.
- data
Controller StringId - The data controller id
- k8s
Raw Object - The raw kubernetes information
- last
Uploaded StringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- admin string
- The instance admin
- basic
Login BasicInformation Login Information - Username and password for basic authentication.
- data
Controller stringId - The data controller id
- k8s
Raw any - The raw kubernetes information
- last
Uploaded stringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- admin str
- The instance admin
- basic_
login_ Basicinformation Login Information - Username and password for basic authentication.
- data_
controller_ strid - The data controller id
- k8s_
raw Any - The raw kubernetes information
- last_
uploaded_ strdate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- admin String
- The instance admin
- basic
Login Property MapInformation - Username and password for basic authentication.
- data
Controller StringId - The data controller id
- k8s
Raw Any - The raw kubernetes information
- last
Uploaded StringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
PostgresInstancePropertiesResponse, PostgresInstancePropertiesResponseArgs
- Provisioning
State string - Admin string
- The instance admin
- Basic
Login Pulumi.Information Azure Native. Azure Arc Data. Inputs. Basic Login Information Response - Username and password for basic authentication.
- Data
Controller stringId - The data controller id
- K8s
Raw object - The raw kubernetes information
- Last
Uploaded stringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- Provisioning
State string - Admin string
- The instance admin
- Basic
Login BasicInformation Login Information Response - Username and password for basic authentication.
- Data
Controller stringId - The data controller id
- K8s
Raw interface{} - The raw kubernetes information
- Last
Uploaded stringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- provisioning
State String - admin String
- The instance admin
- basic
Login BasicInformation Login Information Response - Username and password for basic authentication.
- data
Controller StringId - The data controller id
- k8s
Raw Object - The raw kubernetes information
- last
Uploaded StringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- provisioning
State string - admin string
- The instance admin
- basic
Login BasicInformation Login Information Response - Username and password for basic authentication.
- data
Controller stringId - The data controller id
- k8s
Raw any - The raw kubernetes information
- last
Uploaded stringDate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- provisioning_
state str - admin str
- The instance admin
- basic_
login_ Basicinformation Login Information Response - Username and password for basic authentication.
- data_
controller_ strid - The data controller id
- k8s_
raw Any - The raw kubernetes information
- last_
uploaded_ strdate - Last uploaded date from Kubernetes cluster. Defaults to current date time
- provisioning
State String - admin String
- The instance admin
- basic
Login Property MapInformation - Username and password for basic authentication.
- data
Controller StringId - The data controller id
- k8s
Raw Any - The raw kubernetes information
- last
Uploaded StringDate - 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.
Azure Native. Azure Arc Data. Postgres Instance Sku Tier - 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
Postgres
Instance Sku Tier - 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
Postgres
Instance Sku Tier - 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
Postgres
Instance Sku Tier - 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
Postgres
Instance Sku Tier - 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
- Postgres
Instance Sku Tier Hyperscale - Hyperscale
- Hyperscale
- Hyperscale
- Hyperscale
- Hyperscale
- HYPERSCALE
- Hyperscale
- "Hyperscale"
- Hyperscale
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - An identifier for the identity that created the resource
- created
By stringType - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - An identifier for the identity that last modified the resource
- last
Modified stringBy Type - The type of identity that last modified the resource
- created_
at str - The timestamp of resource creation (UTC)
- created_
by str - An identifier for the identity that created the resource
- created_
by_ strtype - The type of identity that created the resource
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - An identifier for the identity that last modified the resource
- last_
modified_ strby_ type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - 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