你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NamedProvisioningConstruct Class

Definition

A named Bicep entity, like a resource or parameter.

public abstract class NamedProvisioningConstruct : Azure.Provisioning.Primitives.ProvisioningConstruct
type NamedProvisioningConstruct = class
    inherit ProvisioningConstruct
Public MustInherit Class NamedProvisioningConstruct
Inherits ProvisioningConstruct
Inheritance
NamedProvisioningConstruct
Derived

Constructors

NamedProvisioningConstruct(String)

Creates a named Bicep entity, like a resource or parameter.

Properties

IdentifierName

Gets or sets the the Bicep identifier name of the resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

Methods

Compile()

Compile the resource into a set of Bicep statements.

(Inherited from ProvisioningConstruct)
GetProvisionableResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
OverrideWithExpression(Expression)

Set this construct to represent the result of an expression. This is primarily meant to be called via FromExpression static methods on specific resources or constructs.

(Inherited from ProvisioningConstruct)
Resolve(ProvisioningBuildOptions)

Resolve any resources or properties that were not explicitly specified.

(Inherited from Provisionable)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisioningConstruct)
Validate(ProvisioningBuildOptions)

Validate the presence of any required members.

(Inherited from Provisionable)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from ProvisioningConstruct)

Applies to