published on Saturday, Jul 18, 2026 by Pulumi
published on Saturday, Jul 18, 2026 by Pulumi
Returns overview of a database connection for a static site build by name
Uses Azure REST API version 2025-05-01.
Other available API versions: 2022-09-01, 2023-01-01, 2023-12-01, 2024-04-01, 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the version guide for details.
Using getStaticSiteBuildDatabaseConnection
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 getStaticSiteBuildDatabaseConnection(args: GetStaticSiteBuildDatabaseConnectionArgs, opts?: InvokeOptions): Promise<GetStaticSiteBuildDatabaseConnectionResult>
function getStaticSiteBuildDatabaseConnectionOutput(args: GetStaticSiteBuildDatabaseConnectionOutputArgs, opts?: InvokeOptions): Output<GetStaticSiteBuildDatabaseConnectionResult>def get_static_site_build_database_connection(database_connection_name: Optional[str] = None,
environment_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStaticSiteBuildDatabaseConnectionResult
def get_static_site_build_database_connection_output(database_connection_name: pulumi.Input[Optional[str]] = None,
environment_name: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStaticSiteBuildDatabaseConnectionResult]func LookupStaticSiteBuildDatabaseConnection(ctx *Context, args *LookupStaticSiteBuildDatabaseConnectionArgs, opts ...InvokeOption) (*LookupStaticSiteBuildDatabaseConnectionResult, error)
func LookupStaticSiteBuildDatabaseConnectionOutput(ctx *Context, args *LookupStaticSiteBuildDatabaseConnectionOutputArgs, opts ...InvokeOption) LookupStaticSiteBuildDatabaseConnectionResultOutput> Note: This function is named LookupStaticSiteBuildDatabaseConnection in the Go SDK.
public static class GetStaticSiteBuildDatabaseConnection
{
public static Task<GetStaticSiteBuildDatabaseConnectionResult> InvokeAsync(GetStaticSiteBuildDatabaseConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetStaticSiteBuildDatabaseConnectionResult> Invoke(GetStaticSiteBuildDatabaseConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStaticSiteBuildDatabaseConnectionResult> getStaticSiteBuildDatabaseConnection(GetStaticSiteBuildDatabaseConnectionArgs args, InvokeOptions options)
public static Output<GetStaticSiteBuildDatabaseConnectionResult> getStaticSiteBuildDatabaseConnection(GetStaticSiteBuildDatabaseConnectionArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:getStaticSiteBuildDatabaseConnection
arguments:
# arguments dictionarydata "azure-native_web_get_static_site_build_database_connection" "name" {
# arguments
}The following arguments are supported:
- Database
Connection stringName - Name of the database connection.
- Environment
Name string - The stage site identifier.
- Name string
- Name of the static site
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Database
Connection stringName - Name of the database connection.
- Environment
Name string - The stage site identifier.
- Name string
- Name of the static site
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- database_
connection_ stringname - Name of the database connection.
- environment_
name string - The stage site identifier.
- name string
- Name of the static site
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- database
Connection StringName - Name of the database connection.
- environment
Name String - The stage site identifier.
- name String
- Name of the static site
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- database
Connection stringName - Name of the database connection.
- environment
Name string - The stage site identifier.
- name string
- Name of the static site
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- database_
connection_ strname - Name of the database connection.
- environment_
name str - The stage site identifier.
- name str
- Name of the static site
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- database
Connection StringName - Name of the database connection.
- environment
Name String - The stage site identifier.
- name String
- Name of the static site
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getStaticSiteBuildDatabaseConnection Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
Files List<Pulumi.Azure Native. Web. Outputs. Static Site Database Connection Configuration File Overview Response> - A list of configuration files associated with this database connection.
- 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
- Region string
- The region of the database resource.
- Resource
Id string - The resource id of the database.
- System
Data Pulumi.Azure Native. Web. 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"
- Connection
Identity string - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- Connection
String string - The connection string to use to connect to the database.
- Kind string
- Kind of resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Configuration
Files []StaticSite Database Connection Configuration File Overview Response - A list of configuration files associated with this database connection.
- 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
- Region string
- The region of the database resource.
- Resource
Id string - The resource id of the 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"
- Connection
Identity string - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- Connection
String string - The connection string to use to connect to the database.
- Kind string
- Kind of resource.
- azure_
api_ stringversion - The Azure API version of the resource.
- configuration_
files list(object) - A list of configuration files associated with this database connection.
- 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
- region string
- The region of the database resource.
- resource_
id string - The resource id of the database.
- system_
data object - 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"
- connection_
identity string - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- connection_
string string - The connection string to use to connect to the database.
- kind string
- Kind of resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
Files List<StaticSite Database Connection Configuration File Overview Response> - A list of configuration files associated with this database connection.
- 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
- region String
- The region of the database resource.
- resource
Id String - The resource id of the 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"
- connection
Identity String - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- connection
String String - The connection string to use to connect to the database.
- kind String
- Kind of resource.
- azure
Api stringVersion - The Azure API version of the resource.
- configuration
Files StaticSite Database Connection Configuration File Overview Response[] - A list of configuration files associated with this database connection.
- 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
- region string
- The region of the database resource.
- resource
Id string - The resource id of the 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"
- connection
Identity string - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- connection
String string - The connection string to use to connect to the database.
- kind string
- Kind of resource.
- azure_
api_ strversion - The Azure API version of the resource.
- configuration_
files Sequence[StaticSite Database Connection Configuration File Overview Response] - A list of configuration files associated with this database connection.
- 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
- region str
- The region of the database resource.
- resource_
id str - The resource id of the 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"
- connection_
identity str - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- connection_
string str - The connection string to use to connect to the database.
- kind str
- Kind of resource.
- azure
Api StringVersion - The Azure API version of the resource.
- configuration
Files List<Property Map> - A list of configuration files associated with this database connection.
- 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
- region String
- The region of the database resource.
- resource
Id String - The resource id of the 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"
- connection
Identity String - If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
- connection
String String - The connection string to use to connect to the database.
- kind String
- Kind of resource.
Supporting Types
StaticSiteDatabaseConnectionConfigurationFileOverviewResponse
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 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
published on Saturday, Jul 18, 2026 by Pulumi