共用方式為


ResourceNamePropertyResolver Class

Definition

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.

public abstract class ResourceNamePropertyResolver : Azure.Provisioning.Primitives.InfrastructureResolver
public abstract class ResourceNamePropertyResolver : Azure.Provisioning.Primitives.PropertyResolver
type ResourceNamePropertyResolver = class
    inherit InfrastructureResolver
type ResourceNamePropertyResolver = class
    inherit PropertyResolver
Public MustInherit Class ResourceNamePropertyResolver
Inherits InfrastructureResolver
Public MustInherit Class ResourceNamePropertyResolver
Inherits 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

ResourceNamePropertyResolver()

Methods

GetNestedInfrastructure(Infrastructure, ProvisioningBuildOptions)

Gets any nested infrastructure that should be composed separately.

(Inherited from InfrastructureResolver)
GetNestedInfrastructure(ProvisioningContext, Infrastructure)

Gets any nested infrastructure that should be composed separately.

(Inherited from InfrastructureResolver)
ResolveInfrastructure(Infrastructure, ProvisioningBuildOptions)

Resolve any properties of the infrastructure.

(Inherited from InfrastructureResolver)
ResolveInfrastructure(ProvisioningContext, Infrastructure)

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)
ResolveResources(ProvisioningContext, IEnumerable<Provisionable>)

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