共用方式為


ArmKubernetesConfigurationModelFactory.KubernetesFluxConfigurationData Method

Definition

Initializes a new instance of KubernetesFluxConfigurationData.

public static Azure.ResourceManager.KubernetesConfiguration.KubernetesFluxConfigurationData KubernetesFluxConfigurationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationScope? scope = default, string namespace = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationSourceKind? sourceKind = default, bool? isReconciliationSuspended = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesGitRepository gitRepository = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesBucket bucket = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesAzureBlob azureBlob = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.KubernetesConfiguration.Models.Kustomization> kustomizations = default, System.Collections.Generic.IDictionary<string,string> configurationProtectedSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectStatus> statuses = default, string repositoryPublicKey = default, string sourceSyncedCommitId = default, DateTimeOffset? sourceUpdatedOn = default, DateTimeOffset? statusUpdatedOn = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesFluxComplianceState? complianceState = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationProvisioningState? provisioningState = default, string errorMessage = default);
static member KubernetesFluxConfigurationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationScope> * string * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationSourceKind> * Nullable<bool> * Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesGitRepository * Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesBucket * Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesAzureBlob * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.KubernetesConfiguration.Models.Kustomization> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectStatus> * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesFluxComplianceState> * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationProvisioningState> * string -> Azure.ResourceManager.KubernetesConfiguration.KubernetesFluxConfigurationData
Public Shared Function KubernetesFluxConfigurationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional scope As Nullable(Of KubernetesConfigurationScope) = Nothing, Optional namespace As String = Nothing, Optional sourceKind As Nullable(Of KubernetesConfigurationSourceKind) = Nothing, Optional isReconciliationSuspended As Nullable(Of Boolean) = Nothing, Optional gitRepository As KubernetesGitRepository = Nothing, Optional bucket As KubernetesBucket = Nothing, Optional azureBlob As KubernetesAzureBlob = Nothing, Optional kustomizations As IDictionary(Of String, Kustomization) = Nothing, Optional configurationProtectedSettings As IDictionary(Of String, String) = Nothing, Optional statuses As IEnumerable(Of KubernetesObjectStatus) = Nothing, Optional repositoryPublicKey As String = Nothing, Optional sourceSyncedCommitId As String = Nothing, Optional sourceUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional statusUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional complianceState As Nullable(Of KubernetesFluxComplianceState) = Nothing, Optional provisioningState As Nullable(Of KubernetesConfigurationProvisioningState) = Nothing, Optional errorMessage As String = Nothing) As KubernetesFluxConfigurationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

scope
Nullable<KubernetesConfigurationScope>

Scope at which the operator will be installed.

namespace
String

The namespace to which this configuration is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.

sourceKind
Nullable<KubernetesConfigurationSourceKind>

Source Kind to pull the configuration data from.

isReconciliationSuspended
Nullable<Boolean>

Whether this configuration should suspend its reconciliation of its kustomizations and sources.

gitRepository
KubernetesGitRepository

Parameters to reconcile to the GitRepository source kind type.

bucket
KubernetesBucket

Parameters to reconcile to the Bucket source kind type.

azureBlob
KubernetesAzureBlob

Parameters to reconcile to the AzureBlob source kind type.

kustomizations
IDictionary<String,Kustomization>

Array of kustomizations used to reconcile the artifact pulled by the source type on the cluster.

configurationProtectedSettings
IDictionary<String,String>

Key-value pairs of protected configuration settings for the configuration.

statuses
IEnumerable<KubernetesObjectStatus>

Statuses of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects provisioned by the fluxConfiguration.

repositoryPublicKey
String

Public Key associated with this fluxConfiguration (either generated within the cluster or provided by the user).

sourceSyncedCommitId
String

Branch and/or SHA of the source commit synced with the cluster.

sourceUpdatedOn
Nullable<DateTimeOffset>

Datetime the fluxConfiguration synced its source on the cluster.

statusUpdatedOn
Nullable<DateTimeOffset>

Datetime the fluxConfiguration synced its status on the cluster with Azure.

complianceState
Nullable<KubernetesFluxComplianceState>

Combined status of the Flux Kubernetes resources created by the fluxConfiguration or created by the managed objects.

provisioningState
Nullable<KubernetesConfigurationProvisioningState>

Status of the creation of the fluxConfiguration.

errorMessage
String

Error message returned to the user in the case of provisioning failure.

Returns

A new KubernetesFluxConfigurationData instance for mocking.

Applies to