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.web.getStaticSiteBuildDatabaseConnection
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
Static Site Database Connection resource. Azure REST API version: 2022-09-01.
Other available API versions: 2023-01-01, 2023-12-01, 2024-04-01.
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: Optional[pulumi.Input[str]] = None,
environment_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:web:getStaticSiteBuildDatabaseConnection
arguments:
# arguments dictionary
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 - Name of the resource group to which the resource belongs.
- 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 - Name of the resource group to which the resource belongs.
- 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 - Name of the resource group to which the resource belongs.
- 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 - Name of the resource group to which the resource belongs.
- 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 - Name of the resource group to which the resource belongs.
- 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 - Name of the resource group to which the resource belongs.
getStaticSiteBuildDatabaseConnection Result
The following output properties are available:
- 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
- Resource Id.
- Name string
- Resource Name.
- Region string
- The region of the database resource.
- Resource
Id string - The resource id of the database.
- Type string
- Resource type.
- 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.
- Configuration
Files []StaticSite Database Connection Configuration File Overview Response - A list of configuration files associated with this database connection.
- Id string
- Resource Id.
- Name string
- Resource Name.
- Region string
- The region of the database resource.
- Resource
Id string - The resource id of the database.
- Type string
- Resource type.
- 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.
- configuration
Files List<StaticSite Database Connection Configuration File Overview Response> - A list of configuration files associated with this database connection.
- id String
- Resource Id.
- name String
- Resource Name.
- region String
- The region of the database resource.
- resource
Id String - The resource id of the database.
- type String
- Resource type.
- 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.
- configuration
Files StaticSite Database Connection Configuration File Overview Response[] - A list of configuration files associated with this database connection.
- id string
- Resource Id.
- name string
- Resource Name.
- region string
- The region of the database resource.
- resource
Id string - The resource id of the database.
- type string
- Resource type.
- 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.
- configuration_
files Sequence[StaticSite Database Connection Configuration File Overview Response] - A list of configuration files associated with this database connection.
- id str
- Resource Id.
- name str
- Resource Name.
- region str
- The region of the database resource.
- resource_
id str - The resource id of the database.
- type str
- Resource type.
- 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.
- configuration
Files List<Property Map> - A list of configuration files associated with this database connection.
- id String
- Resource Id.
- name String
- Resource Name.
- region String
- The region of the database resource.
- resource
Id String - The resource id of the database.
- type String
- Resource type.
- 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
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