These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.sql.getManagedDatabase
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a managed database. API Version: 2020-11-01-preview.
Using getManagedDatabase
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 getManagedDatabase(args: GetManagedDatabaseArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseResult>
function getManagedDatabaseOutput(args: GetManagedDatabaseOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseResult>
def get_managed_database(database_name: Optional[str] = None,
managed_instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseResult
def get_managed_database_output(database_name: Optional[pulumi.Input[str]] = None,
managed_instance_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseResult]
func LookupManagedDatabase(ctx *Context, args *LookupManagedDatabaseArgs, opts ...InvokeOption) (*LookupManagedDatabaseResult, error)
func LookupManagedDatabaseOutput(ctx *Context, args *LookupManagedDatabaseOutputArgs, opts ...InvokeOption) LookupManagedDatabaseResultOutput
> Note: This function is named LookupManagedDatabase
in the Go SDK.
public static class GetManagedDatabase
{
public static Task<GetManagedDatabaseResult> InvokeAsync(GetManagedDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseResult> Invoke(GetManagedDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseResult> getManagedDatabase(GetManagedDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getManagedDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Name string - The name of the database.
- Managed
Instance stringName - The name of the managed instance.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Database
Name string - The name of the database.
- Managed
Instance stringName - The name of the managed instance.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- database
Name String - The name of the database.
- managed
Instance StringName - The name of the managed instance.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- database
Name string - The name of the database.
- managed
Instance stringName - The name of the managed instance.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- database_
name str - The name of the database.
- managed_
instance_ strname - The name of the managed instance.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- database
Name String - The name of the database.
- managed
Instance StringName - The name of the managed instance.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
getManagedDatabase Result
The following output properties are available:
- Creation
Date string - Creation date of the database.
- Default
Secondary stringLocation - Geo paired region.
- Earliest
Restore stringPoint - Earliest restore point in time for point in time restore.
- Failover
Group stringId - Instance Failover Group resource identifier that this managed database belongs to.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- Status string
- Status of the database.
- Type string
- Resource type.
- Catalog
Collation string - Collation of the metadata catalog.
- Collation string
- Collation of the managed database.
- Dictionary<string, string>
- Resource tags.
- Creation
Date string - Creation date of the database.
- Default
Secondary stringLocation - Geo paired region.
- Earliest
Restore stringPoint - Earliest restore point in time for point in time restore.
- Failover
Group stringId - Instance Failover Group resource identifier that this managed database belongs to.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- Status string
- Status of the database.
- Type string
- Resource type.
- Catalog
Collation string - Collation of the metadata catalog.
- Collation string
- Collation of the managed database.
- map[string]string
- Resource tags.
- creation
Date String - Creation date of the database.
- default
Secondary StringLocation - Geo paired region.
- earliest
Restore StringPoint - Earliest restore point in time for point in time restore.
- failover
Group StringId - Instance Failover Group resource identifier that this managed database belongs to.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- status String
- Status of the database.
- type String
- Resource type.
- catalog
Collation String - Collation of the metadata catalog.
- collation String
- Collation of the managed database.
- Map<String,String>
- Resource tags.
- creation
Date string - Creation date of the database.
- default
Secondary stringLocation - Geo paired region.
- earliest
Restore stringPoint - Earliest restore point in time for point in time restore.
- failover
Group stringId - Instance Failover Group resource identifier that this managed database belongs to.
- id string
- Resource ID.
- location string
- Resource location.
- name string
- Resource name.
- status string
- Status of the database.
- type string
- Resource type.
- catalog
Collation string - Collation of the metadata catalog.
- collation string
- Collation of the managed database.
- {[key: string]: string}
- Resource tags.
- creation_
date str - Creation date of the database.
- default_
secondary_ strlocation - Geo paired region.
- earliest_
restore_ strpoint - Earliest restore point in time for point in time restore.
- failover_
group_ strid - Instance Failover Group resource identifier that this managed database belongs to.
- id str
- Resource ID.
- location str
- Resource location.
- name str
- Resource name.
- status str
- Status of the database.
- type str
- Resource type.
- catalog_
collation str - Collation of the metadata catalog.
- collation str
- Collation of the managed database.
- Mapping[str, str]
- Resource tags.
- creation
Date String - Creation date of the database.
- default
Secondary StringLocation - Geo paired region.
- earliest
Restore StringPoint - Earliest restore point in time for point in time restore.
- failover
Group StringId - Instance Failover Group resource identifier that this managed database belongs to.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- status String
- Status of the database.
- type String
- Resource type.
- catalog
Collation String - Collation of the metadata catalog.
- collation String
- Collation of the managed database.
- Map<String>
- Resource tags.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi