This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.azurearcdata.getPostgresInstance
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Retrieves a postgres Instance resource Azure REST API version: 2023-01-15-preview.
Other available API versions: 2024-01-01.
Using getPostgresInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPostgresInstance(args: GetPostgresInstanceArgs, opts?: InvokeOptions): Promise<GetPostgresInstanceResult>
function getPostgresInstanceOutput(args: GetPostgresInstanceOutputArgs, opts?: InvokeOptions): Output<GetPostgresInstanceResult>
def get_postgres_instance(postgres_instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresInstanceResult
def get_postgres_instance_output(postgres_instance_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresInstanceResult]
func LookupPostgresInstance(ctx *Context, args *LookupPostgresInstanceArgs, opts ...InvokeOption) (*LookupPostgresInstanceResult, error)
func LookupPostgresInstanceOutput(ctx *Context, args *LookupPostgresInstanceOutputArgs, opts ...InvokeOption) LookupPostgresInstanceResultOutput
> Note: This function is named LookupPostgresInstance
in the Go SDK.
public static class GetPostgresInstance
{
public static Task<GetPostgresInstanceResult> InvokeAsync(GetPostgresInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresInstanceResult> Invoke(GetPostgresInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPostgresInstanceResult> getPostgresInstance(GetPostgresInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:azurearcdata:getPostgresInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Postgres
Instance stringName - Name of Postgres Instance
- Resource
Group stringName - The name of the Azure resource group
- Postgres
Instance stringName - Name of Postgres Instance
- Resource
Group stringName - The name of the Azure resource group
- postgres
Instance StringName - Name of Postgres Instance
- resource
Group StringName - The name of the Azure resource group
- postgres
Instance stringName - Name of Postgres Instance
- resource
Group stringName - The name of the Azure resource group
- postgres_
instance_ strname - Name of Postgres Instance
- resource_
group_ strname - The name of the Azure resource group
- postgres
Instance StringName - Name of Postgres Instance
- resource
Group StringName - The name of the Azure resource group
getPostgresInstance Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Azure Arc Data. Outputs. Postgres Instance Properties Response - null
- System
Data Pulumi.Azure Native. Azure Arc Data. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Extended
Location Pulumi.Azure Native. Azure Arc Data. Outputs. Extended Location Response - The extendedLocation of the resource.
- Sku
Pulumi.
Azure Native. Azure Arc Data. Outputs. Postgres Instance Sku Response - Resource sku.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Postgres
Instance Properties Response - null
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- Sku
Postgres
Instance Sku Response - Resource sku.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Postgres
Instance Properties Response - null
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- sku
Postgres
Instance Sku Response - Resource sku.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Postgres
Instance Properties Response - null
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- sku
Postgres
Instance Sku Response - Resource sku.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Postgres
Instance Properties Response - null
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended_
location ExtendedLocation Response - The extendedLocation of the resource.
- sku
Postgres
Instance Sku Response - Resource sku.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- null
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location Property Map - The extendedLocation of the resource.
- sku Property Map
- Resource sku.
- Map<String>
- Resource tags.
Supporting Types
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.
ExtendedLocationResponse
PostgresInstancePropertiesResponse
- Provisioning
State string - The provisioning state of the Azure Arc-enabled PostgreSQL instance.
- 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 - The provisioning state of the Azure Arc-enabled PostgreSQL instance.
- 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 - The provisioning state of the Azure Arc-enabled PostgreSQL instance.
- 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 - The provisioning state of the Azure Arc-enabled PostgreSQL instance.
- 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 - The provisioning state of the Azure Arc-enabled PostgreSQL instance.
- 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 - The provisioning state of the Azure Arc-enabled PostgreSQL instance.
- 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
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.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi