你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FluxConfiguration 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FluxConfiguration()
初始化 FluxConfiguration 类的新实例。
public FluxConfiguration();
Public Sub New ()
适用于
FluxConfiguration(String, String, String, String, String, String, Nullable<Boolean>, GitRepositoryDefinition, BucketDefinition, IDictionary<String,KustomizationDefinition>, IDictionary<String, String>, IList<ObjectStatusDefinition>, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, SystemData)
初始化 FluxConfiguration 类的新实例。
public FluxConfiguration(string id = default, string name = default, string type = default, string scope = default, string namespaceProperty = default, string sourceKind = default, bool? suspend = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.GitRepositoryDefinition gitRepository = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.BucketDefinition bucket = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.KubernetesConfiguration.Models.KustomizationDefinition> kustomizations = default, System.Collections.Generic.IDictionary<string,string> configurationProtectedSettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KubernetesConfiguration.Models.ObjectStatusDefinition> statuses = default, string repositoryPublicKey = default, string sourceSyncedCommitId = default, DateTime? sourceUpdatedAt = default, DateTime? statusUpdatedAt = default, string complianceState = default, string provisioningState = default, string errorMessage = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.SystemData systemData = default);
new Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration : string * string * string * string * string * string * Nullable<bool> * Microsoft.Azure.Management.KubernetesConfiguration.Models.GitRepositoryDefinition * Microsoft.Azure.Management.KubernetesConfiguration.Models.BucketDefinition * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.KubernetesConfiguration.Models.KustomizationDefinition> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.KubernetesConfiguration.Models.ObjectStatusDefinition> * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string * Microsoft.Azure.Management.KubernetesConfiguration.Models.SystemData -> Microsoft.Azure.Management.KubernetesConfiguration.Models.FluxConfiguration
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional scope As String = Nothing, Optional namespaceProperty As String = Nothing, Optional sourceKind As String = Nothing, Optional suspend As Nullable(Of Boolean) = Nothing, Optional gitRepository As GitRepositoryDefinition = Nothing, Optional bucket As BucketDefinition = Nothing, Optional kustomizations As IDictionary(Of String, KustomizationDefinition) = Nothing, Optional configurationProtectedSettings As IDictionary(Of String, String) = Nothing, Optional statuses As IList(Of ObjectStatusDefinition) = Nothing, Optional repositoryPublicKey As String = Nothing, Optional sourceSyncedCommitId As String = Nothing, Optional sourceUpdatedAt As Nullable(Of DateTime) = Nothing, Optional statusUpdatedAt As Nullable(Of DateTime) = Nothing, Optional complianceState As String = Nothing, Optional provisioningState As String = Nothing, Optional errorMessage As String = Nothing, Optional systemData As SystemData = Nothing)
参数
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”
- scope
- String
将安装运算符的范围。 可能的值包括:“cluster”、“namespace”
- namespaceProperty
- String
此配置安装到的命名空间。 最多 253 个小写字母数字字符、连字符和句点。
- sourceKind
- String
要从中拉取配置数据的源类型。 可能的值包括:“GitRepository”、“Bucket”
- gitRepository
- GitRepositoryDefinition
用于与 GitRepository 源类型协调的参数。
- bucket
- BucketDefinition
用于与 Bucket 源类型协调的参数。
- kustomizations
- IDictionary<String,KustomizationDefinition>
用于协调群集上源类型拉取的项目的自定义数组。
- configurationProtectedSettings
- IDictionary<String,String>
配置的受保护配置设置的键值对
- statuses
- IList<ObjectStatusDefinition>
FluxConfiguration 创建的或由 fluxConfiguration 预配的托管对象创建的 Flux Kubernetes 资源的状态。
- repositoryPublicKey
- String
与此 fluxConfiguration 关联的公钥 (群集内生成,或者由用户) 提供。
- sourceSyncedCommitId
- String
与群集同步的源提交的分支和/或 SHA。
- complianceState
- String
fluxConfiguration 创建或托管对象创建的 Flux Kubernetes 资源的组合状态。 可能的值包括:“Compliant”、“Non-Compliant”、“Pending”、“Suspended”、“Unknown”
- provisioningState
- String
fluxConfiguration 的创建状态。 可能的值包括:“Succeeded”、“Failed”、“Canceled”、“Creating”、“Updating”、“Deleting”
- errorMessage
- String
预配失败时返回给用户的错误消息。
- systemData
- SystemData