1. Packages
  2. Azure Native
  3. API Docs
  4. databasefleetmanager
  5. getFleetDatabase
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.databasefleetmanager.getFleetDatabase

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Gets a fleet database.

Uses Azure REST API version 2025-02-01-preview.

Using getFleetDatabase

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 getFleetDatabase(args: GetFleetDatabaseArgs, opts?: InvokeOptions): Promise<GetFleetDatabaseResult>
function getFleetDatabaseOutput(args: GetFleetDatabaseOutputArgs, opts?: InvokeOptions): Output<GetFleetDatabaseResult>
Copy
def get_fleet_database(database_name: Optional[str] = None,
                       fleet_name: Optional[str] = None,
                       fleetspace_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetFleetDatabaseResult
def get_fleet_database_output(database_name: Optional[pulumi.Input[str]] = None,
                       fleet_name: Optional[pulumi.Input[str]] = None,
                       fleetspace_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetFleetDatabaseResult]
Copy
func LookupFleetDatabase(ctx *Context, args *LookupFleetDatabaseArgs, opts ...InvokeOption) (*LookupFleetDatabaseResult, error)
func LookupFleetDatabaseOutput(ctx *Context, args *LookupFleetDatabaseOutputArgs, opts ...InvokeOption) LookupFleetDatabaseResultOutput
Copy

> Note: This function is named LookupFleetDatabase in the Go SDK.

public static class GetFleetDatabase 
{
    public static Task<GetFleetDatabaseResult> InvokeAsync(GetFleetDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetFleetDatabaseResult> Invoke(GetFleetDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFleetDatabaseResult> getFleetDatabase(GetFleetDatabaseArgs args, InvokeOptions options)
public static Output<GetFleetDatabaseResult> getFleetDatabase(GetFleetDatabaseArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:databasefleetmanager:getFleetDatabase
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
Name of the database.
FleetName
This property is required.
Changes to this property will trigger replacement.
string
Name of the database fleet.
FleetspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the fleetspace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
Name of the database.
FleetName
This property is required.
Changes to this property will trigger replacement.
string
Name of the database fleet.
FleetspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the fleetspace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
databaseName
This property is required.
Changes to this property will trigger replacement.
String
Name of the database.
fleetName
This property is required.
Changes to this property will trigger replacement.
String
Name of the database fleet.
fleetspaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the fleetspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
databaseName
This property is required.
Changes to this property will trigger replacement.
string
Name of the database.
fleetName
This property is required.
Changes to this property will trigger replacement.
string
Name of the database fleet.
fleetspaceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the fleetspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
database_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the database.
fleet_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the database fleet.
fleetspace_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the fleetspace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
databaseName
This property is required.
Changes to this property will trigger replacement.
String
Name of the database.
fleetName
This property is required.
Changes to this property will trigger replacement.
String
Name of the database fleet.
fleetspaceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the fleetspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getFleetDatabase Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
Name string
The name of the resource
Properties Pulumi.AzureNative.DatabaseFleetManager.Outputs.FleetDatabasePropertiesResponse
Fleet database properties.
SystemData Pulumi.AzureNative.DatabaseFleetManager.Outputs.SystemDataResponse
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"
AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
Name string
The name of the resource
Properties FleetDatabasePropertiesResponse
Fleet database properties.
SystemData SystemDataResponse
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"
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name String
The name of the resource
properties FleetDatabasePropertiesResponse
Fleet database properties.
systemData SystemDataResponse
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"
azureApiVersion string
The Azure API version of the resource.
id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name string
The name of the resource
properties FleetDatabasePropertiesResponse
Fleet database properties.
systemData SystemDataResponse
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"
azure_api_version str
The Azure API version of the resource.
id str
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name str
The name of the resource
properties FleetDatabasePropertiesResponse
Fleet database properties.
system_data SystemDataResponse
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"
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name String
The name of the resource
properties Property Map
Fleet database properties.
systemData 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"

Supporting Types

DatabaseIdentityResponse

ClientId string
Client Id of the database identity.
PrincipalId string
Principal Id of the database identity.
ResourceId string
Resource Id of the database identity.
ClientId string
Client Id of the database identity.
PrincipalId string
Principal Id of the database identity.
ResourceId string
Resource Id of the database identity.
clientId String
Client Id of the database identity.
principalId String
Principal Id of the database identity.
resourceId String
Resource Id of the database identity.
clientId string
Client Id of the database identity.
principalId string
Principal Id of the database identity.
resourceId string
Resource Id of the database identity.
client_id str
Client Id of the database identity.
principal_id str
Principal Id of the database identity.
resource_id str
Resource Id of the database identity.
clientId String
Client Id of the database identity.
principalId String
Principal Id of the database identity.
resourceId String
Resource Id of the database identity.

FleetDatabasePropertiesResponse

BackupRetentionDays This property is required. int
Backup retention in days.
ConnectionString This property is required. string
Connection string to connect to the database with.
DatabaseSizeGbMax This property is required. int
Maximum database size in Gb.
EarliestRestoreTime This property is required. string
Earliest restore time.
LatestRestoreTime This property is required. string
Latest restore time.
OriginalDatabaseId This property is required. string
Resource identifier for the underlying database resource.
ProvisioningState This property is required. string
Database state.
Recoverable This property is required. bool
If true, database is recoverable.
Collation string
Database collation.
CreateMode string
Create mode. Available options: Default - Create a database. Copy - Copy the source database (source database name must be specified) PointInTimeRestore - Create a database by restoring source database from a point in time (source database name and restore from time must be specified)
Identity Pulumi.AzureNative.DatabaseFleetManager.Inputs.IdentityResponse
Identity property.
ResourceTags Dictionary<string, string>
Additional database properties to be applied as the underlying database resource tags.
RestoreFromTime string
Restore from time when CreateMode is PointInTimeRestore.
SourceDatabaseName string
Source database name used when CreateMode is Copy or PointInTimeRestore.
TierName string
Name of the tier this database belongs to.
TransparentDataEncryption Pulumi.AzureNative.DatabaseFleetManager.Inputs.TransparentDataEncryptionResponse
Transparent Data Encryption properties
BackupRetentionDays This property is required. int
Backup retention in days.
ConnectionString This property is required. string
Connection string to connect to the database with.
DatabaseSizeGbMax This property is required. int
Maximum database size in Gb.
EarliestRestoreTime This property is required. string
Earliest restore time.
LatestRestoreTime This property is required. string
Latest restore time.
OriginalDatabaseId This property is required. string
Resource identifier for the underlying database resource.
ProvisioningState This property is required. string
Database state.
Recoverable This property is required. bool
If true, database is recoverable.
Collation string
Database collation.
CreateMode string
Create mode. Available options: Default - Create a database. Copy - Copy the source database (source database name must be specified) PointInTimeRestore - Create a database by restoring source database from a point in time (source database name and restore from time must be specified)
Identity IdentityResponse
Identity property.
ResourceTags map[string]string
Additional database properties to be applied as the underlying database resource tags.
RestoreFromTime string
Restore from time when CreateMode is PointInTimeRestore.
SourceDatabaseName string
Source database name used when CreateMode is Copy or PointInTimeRestore.
TierName string
Name of the tier this database belongs to.
TransparentDataEncryption TransparentDataEncryptionResponse
Transparent Data Encryption properties
backupRetentionDays This property is required. Integer
Backup retention in days.
connectionString This property is required. String
Connection string to connect to the database with.
databaseSizeGbMax This property is required. Integer
Maximum database size in Gb.
earliestRestoreTime This property is required. String
Earliest restore time.
latestRestoreTime This property is required. String
Latest restore time.
originalDatabaseId This property is required. String
Resource identifier for the underlying database resource.
provisioningState This property is required. String
Database state.
recoverable This property is required. Boolean
If true, database is recoverable.
collation String
Database collation.
createMode String
Create mode. Available options: Default - Create a database. Copy - Copy the source database (source database name must be specified) PointInTimeRestore - Create a database by restoring source database from a point in time (source database name and restore from time must be specified)
identity IdentityResponse
Identity property.
resourceTags Map<String,String>
Additional database properties to be applied as the underlying database resource tags.
restoreFromTime String
Restore from time when CreateMode is PointInTimeRestore.
sourceDatabaseName String
Source database name used when CreateMode is Copy or PointInTimeRestore.
tierName String
Name of the tier this database belongs to.
transparentDataEncryption TransparentDataEncryptionResponse
Transparent Data Encryption properties
backupRetentionDays This property is required. number
Backup retention in days.
connectionString This property is required. string
Connection string to connect to the database with.
databaseSizeGbMax This property is required. number
Maximum database size in Gb.
earliestRestoreTime This property is required. string
Earliest restore time.
latestRestoreTime This property is required. string
Latest restore time.
originalDatabaseId This property is required. string
Resource identifier for the underlying database resource.
provisioningState This property is required. string
Database state.
recoverable This property is required. boolean
If true, database is recoverable.
collation string
Database collation.
createMode string
Create mode. Available options: Default - Create a database. Copy - Copy the source database (source database name must be specified) PointInTimeRestore - Create a database by restoring source database from a point in time (source database name and restore from time must be specified)
identity IdentityResponse
Identity property.
resourceTags {[key: string]: string}
Additional database properties to be applied as the underlying database resource tags.
restoreFromTime string
Restore from time when CreateMode is PointInTimeRestore.
sourceDatabaseName string
Source database name used when CreateMode is Copy or PointInTimeRestore.
tierName string
Name of the tier this database belongs to.
transparentDataEncryption TransparentDataEncryptionResponse
Transparent Data Encryption properties
backup_retention_days This property is required. int
Backup retention in days.
connection_string This property is required. str
Connection string to connect to the database with.
database_size_gb_max This property is required. int
Maximum database size in Gb.
earliest_restore_time This property is required. str
Earliest restore time.
latest_restore_time This property is required. str
Latest restore time.
original_database_id This property is required. str
Resource identifier for the underlying database resource.
provisioning_state This property is required. str
Database state.
recoverable This property is required. bool
If true, database is recoverable.
collation str
Database collation.
create_mode str
Create mode. Available options: Default - Create a database. Copy - Copy the source database (source database name must be specified) PointInTimeRestore - Create a database by restoring source database from a point in time (source database name and restore from time must be specified)
identity IdentityResponse
Identity property.
resource_tags Mapping[str, str]
Additional database properties to be applied as the underlying database resource tags.
restore_from_time str
Restore from time when CreateMode is PointInTimeRestore.
source_database_name str
Source database name used when CreateMode is Copy or PointInTimeRestore.
tier_name str
Name of the tier this database belongs to.
transparent_data_encryption TransparentDataEncryptionResponse
Transparent Data Encryption properties
backupRetentionDays This property is required. Number
Backup retention in days.
connectionString This property is required. String
Connection string to connect to the database with.
databaseSizeGbMax This property is required. Number
Maximum database size in Gb.
earliestRestoreTime This property is required. String
Earliest restore time.
latestRestoreTime This property is required. String
Latest restore time.
originalDatabaseId This property is required. String
Resource identifier for the underlying database resource.
provisioningState This property is required. String
Database state.
recoverable This property is required. Boolean
If true, database is recoverable.
collation String
Database collation.
createMode String
Create mode. Available options: Default - Create a database. Copy - Copy the source database (source database name must be specified) PointInTimeRestore - Create a database by restoring source database from a point in time (source database name and restore from time must be specified)
identity Property Map
Identity property.
resourceTags Map<String>
Additional database properties to be applied as the underlying database resource tags.
restoreFromTime String
Restore from time when CreateMode is PointInTimeRestore.
sourceDatabaseName String
Source database name used when CreateMode is Copy or PointInTimeRestore.
tierName String
Name of the tier this database belongs to.
transparentDataEncryption Property Map
Transparent Data Encryption properties

IdentityResponse

FederatedClientId string
The federated client id for the SQL Database. It is used for cross tenant CMK scenario.
IdentityType string
Identity type of the main principal.
UserAssignedIdentities List<Pulumi.AzureNative.DatabaseFleetManager.Inputs.DatabaseIdentityResponse>
User identity ids
FederatedClientId string
The federated client id for the SQL Database. It is used for cross tenant CMK scenario.
IdentityType string
Identity type of the main principal.
UserAssignedIdentities []DatabaseIdentityResponse
User identity ids
federatedClientId String
The federated client id for the SQL Database. It is used for cross tenant CMK scenario.
identityType String
Identity type of the main principal.
userAssignedIdentities List<DatabaseIdentityResponse>
User identity ids
federatedClientId string
The federated client id for the SQL Database. It is used for cross tenant CMK scenario.
identityType string
Identity type of the main principal.
userAssignedIdentities DatabaseIdentityResponse[]
User identity ids
federated_client_id str
The federated client id for the SQL Database. It is used for cross tenant CMK scenario.
identity_type str
Identity type of the main principal.
user_assigned_identities Sequence[DatabaseIdentityResponse]
User identity ids
federatedClientId String
The federated client id for the SQL Database. It is used for cross tenant CMK scenario.
identityType String
Identity type of the main principal.
userAssignedIdentities List<Property Map>
User identity ids

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
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
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
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
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
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
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
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
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
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
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
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
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TransparentDataEncryptionResponse

EnableAutoRotation bool
Enable key auto rotation
KeyUri string
Customer Managed Key (CMK) Uri.
Keys List<string>
Additional Keys
EnableAutoRotation bool
Enable key auto rotation
KeyUri string
Customer Managed Key (CMK) Uri.
Keys []string
Additional Keys
enableAutoRotation Boolean
Enable key auto rotation
keyUri String
Customer Managed Key (CMK) Uri.
keys List<String>
Additional Keys
enableAutoRotation boolean
Enable key auto rotation
keyUri string
Customer Managed Key (CMK) Uri.
keys string[]
Additional Keys
enable_auto_rotation bool
Enable key auto rotation
key_uri str
Customer Managed Key (CMK) Uri.
keys Sequence[str]
Additional Keys
enableAutoRotation Boolean
Enable key auto rotation
keyUri String
Customer Managed Key (CMK) Uri.
keys List<String>
Additional Keys

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 v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi