共用方式為


ArmKubernetesConfigurationModelFactory.Kustomization Method

Definition

Initializes a new instance of Kustomization.

public static Azure.ResourceManager.KubernetesConfiguration.Models.Kustomization Kustomization (string name = default, string path = default, System.Collections.Generic.IEnumerable<string> dependsOn = default, long? timeoutInSeconds = default, long? syncIntervalInSeconds = default, long? retryIntervalInSeconds = default, bool? prune = default, bool? force = default);
static member Kustomization : string * string * seq<string> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.KubernetesConfiguration.Models.Kustomization
Public Shared Function Kustomization (Optional name As String = Nothing, Optional path As String = Nothing, Optional dependsOn As IEnumerable(Of String) = Nothing, Optional timeoutInSeconds As Nullable(Of Long) = Nothing, Optional syncIntervalInSeconds As Nullable(Of Long) = Nothing, Optional retryIntervalInSeconds As Nullable(Of Long) = Nothing, Optional prune As Nullable(Of Boolean) = Nothing, Optional force As Nullable(Of Boolean) = Nothing) As Kustomization

Parameters

name
String

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

path
String

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

dependsOn
IEnumerable<String>

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

timeoutInSeconds
Nullable<Int64>

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

syncIntervalInSeconds
Nullable<Int64>

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

retryIntervalInSeconds
Nullable<Int64>

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

prune
Nullable<Boolean>

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

force
Nullable<Boolean>

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

Returns

A new Kustomization instance for mocking.

Applies to