Partager via


AspireV8ResourceNamePropertyResolver.ResolveName Method

Definition

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.

public override Azure.Provisioning.BicepValue<string>? ResolveName (Azure.Provisioning.ProvisioningBuildOptions options, Azure.Provisioning.Primitives.ProvisionableResource resource, Azure.Provisioning.Primitives.ResourceNameRequirements requirements);
override this.ResolveName : Azure.Provisioning.ProvisioningBuildOptions * Azure.Provisioning.Primitives.ProvisionableResource * Azure.Provisioning.Primitives.ResourceNameRequirements -> Azure.Provisioning.BicepValue<string>
Public Overrides Function ResolveName (options As ProvisioningBuildOptions, resource As ProvisionableResource, requirements As ResourceNameRequirements) As BicepValue(Of String)

Parameters

Returns

Applies to