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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.azurearcdata.getSqlServerDatabase
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Retrieves an Arc Sql Server database. Azure REST API version: 2023-01-15-preview.
Other available API versions: 2024-01-01, 2024-05-01-preview.
Using getSqlServerDatabase
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 getSqlServerDatabase(args: GetSqlServerDatabaseArgs, opts?: InvokeOptions): Promise<GetSqlServerDatabaseResult>
function getSqlServerDatabaseOutput(args: GetSqlServerDatabaseOutputArgs, opts?: InvokeOptions): Output<GetSqlServerDatabaseResult>
def get_sql_server_database(database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
sql_server_instance_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlServerDatabaseResult
def get_sql_server_database_output(database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
sql_server_instance_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlServerDatabaseResult]
func LookupSqlServerDatabase(ctx *Context, args *LookupSqlServerDatabaseArgs, opts ...InvokeOption) (*LookupSqlServerDatabaseResult, error)
func LookupSqlServerDatabaseOutput(ctx *Context, args *LookupSqlServerDatabaseOutputArgs, opts ...InvokeOption) LookupSqlServerDatabaseResultOutput
> Note: This function is named LookupSqlServerDatabase
in the Go SDK.
public static class GetSqlServerDatabase
{
public static Task<GetSqlServerDatabaseResult> InvokeAsync(GetSqlServerDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetSqlServerDatabaseResult> Invoke(GetSqlServerDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlServerDatabaseResult> getSqlServerDatabase(GetSqlServerDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:azurearcdata:getSqlServerDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Name string - Name of the database
- Resource
Group stringName - The name of the Azure resource group
- Sql
Server stringInstance Name - Name of SQL Server Instance
- Database
Name string - Name of the database
- Resource
Group stringName - The name of the Azure resource group
- Sql
Server stringInstance Name - Name of SQL Server Instance
- database
Name String - Name of the database
- resource
Group StringName - The name of the Azure resource group
- sql
Server StringInstance Name - Name of SQL Server Instance
- database
Name string - Name of the database
- resource
Group stringName - The name of the Azure resource group
- sql
Server stringInstance Name - Name of SQL Server Instance
- database_
name str - Name of the database
- resource_
group_ strname - The name of the Azure resource group
- sql_
server_ strinstance_ name - Name of SQL Server Instance
- database
Name String - Name of the database
- resource
Group StringName - The name of the Azure resource group
- sql
Server StringInstance Name - Name of SQL Server Instance
getSqlServerDatabase 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. Sql Server Database Resource Properties Response - Properties of Arc Sql Server database
- 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"
- 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
Sql
Server Database Resource Properties Response - Properties of Arc Sql Server database
- 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"
- 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
Sql
Server Database Resource Properties Response - Properties of Arc Sql Server database
- 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"
- 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
Sql
Server Database Resource Properties Response - Properties of Arc Sql Server database
- 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"
- {[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
Sql
Server Database Resource Properties Response - Properties of Arc Sql Server database
- 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"
- 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
- Properties of Arc Sql Server database
- 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"
- Map<String>
- Resource tags.
Supporting Types
SqlServerDatabaseResourcePropertiesResponse
- Provisioning
State string - The provisioning state of the Arc-enabled SQL Server database resource.
- Backup
Information Pulumi.Azure Native. Azure Arc Data. Inputs. Sql Server Database Resource Properties Response Backup Information - Collation
Name string - Collation of the database.
- Compatibility
Level int - Compatibility level of the database
- Database
Creation stringDate - Creation date of the database.
- Database
Options Pulumi.Azure Native. Azure Arc Data. Inputs. Sql Server Database Resource Properties Response Database Options - List of features that are enabled for the database
- Is
Read boolOnly - Whether the database is read only or not.
- Recovery
Mode string - Status of the database.
- Size
MB double - Size of the database.
- Space
Available doubleMB - Space left of the database.
- State string
- State of the database.
- Provisioning
State string - The provisioning state of the Arc-enabled SQL Server database resource.
- Backup
Information SqlServer Database Resource Properties Response Backup Information - Collation
Name string - Collation of the database.
- Compatibility
Level int - Compatibility level of the database
- Database
Creation stringDate - Creation date of the database.
- Database
Options SqlServer Database Resource Properties Response Database Options - List of features that are enabled for the database
- Is
Read boolOnly - Whether the database is read only or not.
- Recovery
Mode string - Status of the database.
- Size
MB float64 - Size of the database.
- Space
Available float64MB - Space left of the database.
- State string
- State of the database.
- provisioning
State String - The provisioning state of the Arc-enabled SQL Server database resource.
- backup
Information SqlServer Database Resource Properties Response Backup Information - collation
Name String - Collation of the database.
- compatibility
Level Integer - Compatibility level of the database
- database
Creation StringDate - Creation date of the database.
- database
Options SqlServer Database Resource Properties Response Database Options - List of features that are enabled for the database
- is
Read BooleanOnly - Whether the database is read only or not.
- recovery
Mode String - Status of the database.
- size
MB Double - Size of the database.
- space
Available DoubleMB - Space left of the database.
- state String
- State of the database.
- provisioning
State string - The provisioning state of the Arc-enabled SQL Server database resource.
- backup
Information SqlServer Database Resource Properties Response Backup Information - collation
Name string - Collation of the database.
- compatibility
Level number - Compatibility level of the database
- database
Creation stringDate - Creation date of the database.
- database
Options SqlServer Database Resource Properties Response Database Options - List of features that are enabled for the database
- is
Read booleanOnly - Whether the database is read only or not.
- recovery
Mode string - Status of the database.
- size
MB number - Size of the database.
- space
Available numberMB - Space left of the database.
- state string
- State of the database.
- provisioning_
state str - The provisioning state of the Arc-enabled SQL Server database resource.
- backup_
information SqlServer Database Resource Properties Response Backup Information - collation_
name str - Collation of the database.
- compatibility_
level int - Compatibility level of the database
- database_
creation_ strdate - Creation date of the database.
- database_
options SqlServer Database Resource Properties Response Database Options - List of features that are enabled for the database
- is_
read_ boolonly - Whether the database is read only or not.
- recovery_
mode str - Status of the database.
- size_
mb float - Size of the database.
- space_
available_ floatmb - Space left of the database.
- state str
- State of the database.
- provisioning
State String - The provisioning state of the Arc-enabled SQL Server database resource.
- backup
Information Property Map - collation
Name String - Collation of the database.
- compatibility
Level Number - Compatibility level of the database
- database
Creation StringDate - Creation date of the database.
- database
Options Property Map - List of features that are enabled for the database
- is
Read BooleanOnly - Whether the database is read only or not.
- recovery
Mode String - Status of the database.
- size
MB Number - Size of the database.
- space
Available NumberMB - Space left of the database.
- state String
- State of the database.
SqlServerDatabaseResourcePropertiesResponseBackupInformation
- Last
Full stringBackup - Date time of last full backup.
- Last
Log stringBackup - Date time of last log backup.
- Last
Full stringBackup - Date time of last full backup.
- Last
Log stringBackup - Date time of last log backup.
- last
Full StringBackup - Date time of last full backup.
- last
Log StringBackup - Date time of last log backup.
- last
Full stringBackup - Date time of last full backup.
- last
Log stringBackup - Date time of last log backup.
- last_
full_ strbackup - Date time of last full backup.
- last_
log_ strbackup - Date time of last log backup.
- last
Full StringBackup - Date time of last full backup.
- last
Log StringBackup - Date time of last log backup.
SqlServerDatabaseResourcePropertiesResponseDatabaseOptions
- Is
Auto boolClose On - Is
Auto boolCreate Stats On - Is
Auto boolShrink On - Is
Auto boolUpdate Stats On - Is
Encrypted bool - Is
Memory boolOptimization Enabled - Is
Remote boolData Archive Enabled - Is
Trustworthy boolOn
- Is
Auto boolClose On - Is
Auto boolCreate Stats On - Is
Auto boolShrink On - Is
Auto boolUpdate Stats On - Is
Encrypted bool - Is
Memory boolOptimization Enabled - Is
Remote boolData Archive Enabled - Is
Trustworthy boolOn
- is
Auto BooleanClose On - is
Auto BooleanCreate Stats On - is
Auto BooleanShrink On - is
Auto BooleanUpdate Stats On - is
Encrypted Boolean - is
Memory BooleanOptimization Enabled - is
Remote BooleanData Archive Enabled - is
Trustworthy BooleanOn
- is
Auto booleanClose On - is
Auto booleanCreate Stats On - is
Auto booleanShrink On - is
Auto booleanUpdate Stats On - is
Encrypted boolean - is
Memory booleanOptimization Enabled - is
Remote booleanData Archive Enabled - is
Trustworthy booleanOn
- is
Auto BooleanClose On - is
Auto BooleanCreate Stats On - is
Auto BooleanShrink On - is
Auto BooleanUpdate Stats On - is
Encrypted Boolean - is
Memory BooleanOptimization Enabled - is
Remote BooleanData Archive Enabled - is
Trustworthy BooleanOn
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi