共用方式為


AspireV8ResourceNamePropertyResolver Class

Definition

Uses the .NET Aspire v8.x naming scheme to provide default names for Azure resources.

public sealed class AspireV8ResourceNamePropertyResolver : Azure.Provisioning.Primitives.DynamicResourceNamePropertyResolver
type AspireV8ResourceNamePropertyResolver = class
    inherit DynamicResourceNamePropertyResolver
Public NotInheritable Class AspireV8ResourceNamePropertyResolver
Inherits DynamicResourceNamePropertyResolver
Inheritance
AspireV8ResourceNamePropertyResolver

Remarks

Can be used to keep consistent Azure resource names with .NET Aspire 8.x.

Constructors

AspireV8ResourceNamePropertyResolver()

Methods

ResolveName(ProvisioningBuildOptions, ProvisionableResource, ResourceNameRequirements)

Generate a unique name for a resource by combining the resource's BicepIdentifier as a prefix and a unique suffix based on the current resource group's ID.

Applies to