ResourceNamePropertyResolver Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides a strategy for resolving Azure names using their resource name as a prefix, the set of valid characters, the max length allowed, and an optional min length.

C#
public abstract class ResourceNamePropertyResolver : Azure.Provisioning.Primitives.InfrastructureResolver
C#
public abstract class ResourceNamePropertyResolver : Azure.Provisioning.Primitives.PropertyResolver
Inheritance
ResourceNamePropertyResolver
Inheritance
ResourceNamePropertyResolver
Derived

Remarks

You can learn more about Azure's resource naming rules at https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules .

Constructors

Methods

GetNestedInfrastructure(Infrastructure, ProvisioningBuildOptions)

Gets any nested infrastructure that should be composed separately.

(Inherited from InfrastructureResolver)
ResolveInfrastructure(Infrastructure, ProvisioningBuildOptions)

Resolve any properties of the infrastructure.

(Inherited from InfrastructureResolver)
ResolveName(ProvisioningBuildOptions, ProvisionableResource, ResourceNameRequirements)

Resolve a name for the given resource.

ResolveName(ProvisioningContext, Resource, ResourceNameRequirements)

Resolve a name for the given resource.

ResolveProperties(ProvisionableConstruct, ProvisioningBuildOptions)

Try to resolve the values of any unset properties in the given construct.

ResolveProperties(ProvisioningContext, ProvisioningConstruct)

Try to resolve the values of any unset properties in the given construct.

ResolveResources(IEnumerable<Provisionable>, ProvisioningBuildOptions)

Process the collection of resources in the infrastructure.

(Inherited from InfrastructureResolver)
SanitizeText(String, ResourceNameCharacters)

Get a sanitized version of the given text according to the set of valid characters. Case will be changed as needed, but any other invalid characters are ignored.

Applies to

Toode Versioonid
Azure SDK for .NET Latest, Preview