forked from Azure/azure-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Resource Configurations
Xiaolu Dai edited this page Dec 6, 2024
·
8 revisions
In azure.yaml, there are some configuration options for each resource type, here is the detailed list of the configuration properties:
- databaseName. The name of the database. Not database server name. This url can explain the difference: jdbc:mysql://databaseServerName:3306/databaseName.
-
authType. The authentication type. Here is the list of supported types:
- userAssignedManagedIdentity. This will use user assigned managed identity to access the database.
- password. This option will use username and password to access the database.
- databaseName. The name of the database. Not database server name. This url can explain the difference: jdbc:mysql://databaseServerName:3306/databaseName.
-
authType. The authentication type. Here is the list of supported types:
- userAssignedManagedIdentity. This will use user assigned managed identity to access the database.
- password. This option will use username and password to access the database.
No configuration options for Azure Cache for Redis now.
- databaseName. The name of the database. Not database server name. This url can explain the difference: jdbc:mysql://databaseServerName:3306/databaseName.
- databaseName. The name of the database. Not database server name. This url can explain the difference: jdbc:mysql://databaseServerName:3306/databaseName.
-
containers. The containers in Cosmos DB, it's a list. Each Container contains these properties:
- containerName. The name of the container.
- partitionKeyPaths. The paths to partition key.
- queues. The name of queue in Azure Service Bus. It's a list.
- isJms. Whether the Azure Service Bus is used as JMS mode. Its type is boolean.
-
authType. The authentication type. Here is the list of supported types:
- userAssignedManagedIdentity. This will use user assigned managed identity to access Azure Service Bus.
- connectionString. This option will use connection string to access the Azure Service Bus.
- eventHubNames. The name of event hubs.
-
authType. The authentication type. Here is the list of supported types:
- userAssignedManagedIdentity. This will use user assigned managed identity to access Azure Event Hubs.
- connectionString. This option will use connection string to access the Azure Event Hubs.
- topics. The name of kafka topics.
-
authType. The authentication type. Here is the list of supported types:
- userAssignedManagedIdentity. This will use user assigned managed identity to access Azure Event Hubs.
- connectionString. This option will use connection string to access the Azure Event Hubs.
- springBootVersion. The supported spring boot versions are 2.x and 3.x.
- containers. The containers in Azure Storage Account.
-
authType. The authentication type. Here is the list of supported types:
- userAssignedManagedIdentity. This will use user assigned managed identity to access Azure Storage Account.
- connectionString. This option will use connection string to access the Azure Storage Account.
- port. The exposed port of your application that will deploy to Azure Container Apps .
- uses. The "uses" relationship between Azure Container Apps and other services. For example, When your application deployed into Azure Container App, your application need to read and write data in Azure Database for PostgreSQL, then the "uses" relationship exists between Azure Container Apps and Azure Database for PostgreSQL. Here is an example:
resources:
app:
type: host.containerapp
uses:
- postgres
port: 3100
postgres:
type: db.postgres
databaseName: test