AzureContainerAppEnvironmentResource
type AzureContainerAppEnvironmentResource interface { ComputeEnvironmentResource Resource}Methods
AsExpress() AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource The resource builder for chaining.
Returns a handle; failures surface later via Err().
AzureUserAssignedIdentityResource as the managed identity that container apps in the environment use to pull images from the configured container registry (the AcrPull identity), instead of having Aspire create a new identity and a new AcrPull role assignment.WithAcrPullIdentity(identityBuilder AzureUserAssignedIdentityResource) AzureContainerAppEnvironmentResourceParameters
identityBuilder AzureUserAssignedIdentityResource The resource builder for the user-assigned identity that should be used for image pulls. This identity is only used for the AcrPull role; it is not assigned to individual container apps in the environment.Returns
AzureContainerAppEnvironmentResource The I for chaining.
Returns a handle; failures surface later via Err().
WithAzdResourceNaming() AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().
WithAzureLogAnalyticsWorkspace(workspaceBuilder AzureLogAnalyticsWorkspaceResource) AzureContainerAppEnvironmentResourceParameters
workspaceBuilder AzureLogAnalyticsWorkspaceResource The resource builder for the AzureLogAnalyticsWorkspaceResource to use.Returns
AzureContainerAppEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().
uniqueString suffix for length-constrained Azure resources such as storage accounts.WithCompactResourceNaming() AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().
WithDashboard(options ...*WithDashboardOptions) AzureContainerAppEnvironmentResourceParameters
options...*WithDashboardOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDashboardOptions argument.
Enable*boolWhether to include the Aspire dashboard. Default is true.Returns
AzureContainerAppEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().
WithHttpsUpgrade(options ...*WithHttpsUpgradeOptions) AzureContainerAppEnvironmentResourceParameters
options...*WithHttpsUpgradeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithHttpsUpgradeOptions argument.
Upgrade*boolWhether to upgrade HTTP endpoints to HTTPS. Default is true.Returns
AzureContainerAppEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().
name, so that multiple environments in the same resource group get distinct names.WithUniqueResourceNaming() AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource The resource builder.
Returns a handle; failures surface later via Err().