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

Kustomization Class

Definition

The Kustomization defining how to reconcile the artifact pulled by the source type on the cluster.

public class Kustomization : Azure.Provisioning.Primitives.ProvisionableConstruct
type Kustomization = class
    inherit ProvisionableConstruct
Public Class Kustomization
Inherits ProvisionableConstruct
Inheritance

Constructors

Kustomization()

Creates a new Kustomization.

Properties

DependsOn

Specifies other Kustomizations that this Kustomization depends on. This Kustomization will not reconcile until all dependencies have completed their reconciliation.

Force

Enable/disable re-creating Kubernetes resources on the cluster when patching fails due to an immutable field change.

Name

Name of the Kustomization, matching the key in the Kustomizations object map.

Path

The path in the source reference to reconcile on the cluster.

Prune

Enable/disable garbage collections of Kubernetes objects created by this Kustomization.

RetryIntervalInSeconds

The interval at which to re-reconcile the Kustomization on the cluster in the event of failure on reconciliation.

SyncIntervalInSeconds

The interval at which to re-reconcile the Kustomization on the cluster.

TimeoutInSeconds

The maximum time to attempt to reconcile the Kustomization on the cluster.

Methods

AssignOrReplace<T>(T, T) (Inherited from ProvisionableConstruct)
Compile()

Compile the resource into a set of Bicep statements.

(Inherited from ProvisionableConstruct)
DefineDictionaryProperty<T>(String, String[], Boolean, Boolean) (Inherited from ProvisionableConstruct)
DefineListProperty<T>(String, String[], Boolean, Boolean) (Inherited from ProvisionableConstruct)
DefineModelProperty<T>(String, String[], Boolean, Boolean, Boolean, String) (Inherited from ProvisionableConstruct)
DefineProperty<T>(String, String[], Boolean, Boolean, Boolean, BicepValue<T>, String) (Inherited from ProvisionableConstruct)
DefineProvisionableProperties()

Define all the provisionable properties of Kustomization.

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)
Initialize()

Initialize this construct.

(Inherited from ProvisionableConstruct)
OverrideWithExpression(BicepExpression) (Inherited from ProvisionableConstruct)
Resolve(ProvisioningBuildOptions)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisionableConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from Provisionable)
Validate(ProvisioningBuildOptions)

Validate the presence of any required members.

(Inherited from ProvisionableConstruct)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Provisionable)

Applies to