共用方式為


ArmKubernetesConfigurationModelFactory.KubernetesSourceControlConfigurationData Method

Definition

Initializes a new instance of KubernetesSourceControlConfigurationData.

public static Azure.ResourceManager.KubernetesConfiguration.KubernetesSourceControlConfigurationData KubernetesSourceControlConfigurationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Uri repositoryUri = default, string operatorNamespace = default, string operatorInstanceName = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesOperator? operatorType = default, string operatorParams = default, System.Collections.Generic.IDictionary<string,string> configurationProtectedSettings = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesOperatorScope? operatorScope = default, string repositoryPublicKey = default, string sshKnownHostsContents = default, bool? isHelmOperatorEnabled = default, Azure.ResourceManager.KubernetesConfiguration.Models.HelmOperatorProperties helmOperatorProperties = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationProvisioningStateType? provisioningState = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationComplianceStatus complianceStatus = default);
static member KubernetesSourceControlConfigurationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Uri * string * string * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesOperator> * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesOperatorScope> * string * string * Nullable<bool> * Azure.ResourceManager.KubernetesConfiguration.Models.HelmOperatorProperties * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationProvisioningStateType> * Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesConfigurationComplianceStatus -> Azure.ResourceManager.KubernetesConfiguration.KubernetesSourceControlConfigurationData
Public Shared Function KubernetesSourceControlConfigurationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional repositoryUri As Uri = Nothing, Optional operatorNamespace As String = Nothing, Optional operatorInstanceName As String = Nothing, Optional operatorType As Nullable(Of KubernetesOperator) = Nothing, Optional operatorParams As String = Nothing, Optional configurationProtectedSettings As IDictionary(Of String, String) = Nothing, Optional operatorScope As Nullable(Of KubernetesOperatorScope) = Nothing, Optional repositoryPublicKey As String = Nothing, Optional sshKnownHostsContents As String = Nothing, Optional isHelmOperatorEnabled As Nullable(Of Boolean) = Nothing, Optional helmOperatorProperties As HelmOperatorProperties = Nothing, Optional provisioningState As Nullable(Of KubernetesConfigurationProvisioningStateType) = Nothing, Optional complianceStatus As KubernetesConfigurationComplianceStatus = Nothing) As KubernetesSourceControlConfigurationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

repositoryUri
Uri

Url of the SourceControl Repository.

operatorNamespace
String

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

operatorInstanceName
String

Instance name of the operator - identifying the specific configuration.

operatorType
Nullable<KubernetesOperator>

Type of the operator.

operatorParams
String

Any Parameters for the Operator instance in string format.

configurationProtectedSettings
IDictionary<String,String>

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

operatorScope
Nullable<KubernetesOperatorScope>

Scope at which the operator will be installed.

repositoryPublicKey
String

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

sshKnownHostsContents
String

Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances.

isHelmOperatorEnabled
Nullable<Boolean>

Option to enable Helm Operator for this git configuration.

helmOperatorProperties
HelmOperatorProperties

Properties for Helm operator.

provisioningState
Nullable<KubernetesConfigurationProvisioningStateType>

The provisioning state of the resource provider.

complianceStatus
KubernetesConfigurationComplianceStatus

Compliance Status of the Configuration.

Returns

A new KubernetesSourceControlConfigurationData instance for mocking.

Applies to