Class SourceControlConfigurationProperties
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.fluent.models.SourceControlConfigurationProperties
-
public final class SourceControlConfigurationProperties extends Object
Properties to create a Source Control Configuration resource.
-
-
Constructor Summary
Constructors Constructor Description SourceControlConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplianceStatus
complianceStatus()
Get the complianceStatus property: Compliance Status of the Configuration.Map<String,String>
configurationProtectedSettings()
Get the configurationProtectedSettings property: Name-value pairs of protected configuration settings for the configuration.Boolean
enableHelmOperator()
Get the enableHelmOperator property: Option to enable Helm Operator for this git configuration.HelmOperatorProperties
helmOperatorProperties()
Get the helmOperatorProperties property: Properties for Helm operator.String
operatorInstanceName()
Get the operatorInstanceName property: Instance name of the operator - identifying the specific configuration.String
operatorNamespace()
Get the operatorNamespace property: The namespace to which this operator is installed to.String
operatorParams()
Get the operatorParams property: Any Parameters for the Operator instance in string format.OperatorScopeType
operatorScope()
Get the operatorScope property: Scope at which the operator will be installed.OperatorType
operatorType()
Get the operatorType property: Type of the operator.ProvisioningStateType
provisioningState()
Get the provisioningState property: The provisioning state of the resource provider.String
repositoryPublicKey()
Get the repositoryPublicKey property: Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).String
repositoryUrl()
Get the repositoryUrl property: Url of the SourceControl Repository.String
sshKnownHostsContents()
Get the sshKnownHostsContents property: Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances.void
validate()
Validates the instance.SourceControlConfigurationProperties
withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Name-value pairs of protected configuration settings for the configuration.SourceControlConfigurationProperties
withEnableHelmOperator(Boolean enableHelmOperator)
Set the enableHelmOperator property: Option to enable Helm Operator for this git configuration.SourceControlConfigurationProperties
withHelmOperatorProperties(HelmOperatorProperties helmOperatorProperties)
Set the helmOperatorProperties property: Properties for Helm operator.SourceControlConfigurationProperties
withOperatorInstanceName(String operatorInstanceName)
Set the operatorInstanceName property: Instance name of the operator - identifying the specific configuration.SourceControlConfigurationProperties
withOperatorNamespace(String operatorNamespace)
Set the operatorNamespace property: The namespace to which this operator is installed to.SourceControlConfigurationProperties
withOperatorParams(String operatorParams)
Set the operatorParams property: Any Parameters for the Operator instance in string format.SourceControlConfigurationProperties
withOperatorScope(OperatorScopeType operatorScope)
Set the operatorScope property: Scope at which the operator will be installed.SourceControlConfigurationProperties
withOperatorType(OperatorType operatorType)
Set the operatorType property: Type of the operator.SourceControlConfigurationProperties
withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: Url of the SourceControl Repository.SourceControlConfigurationProperties
withSshKnownHostsContents(String sshKnownHostsContents)
Set the sshKnownHostsContents property: Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances.
-
-
-
Method Detail
-
repositoryUrl
public String repositoryUrl()
Get the repositoryUrl property: Url of the SourceControl Repository.- Returns:
- the repositoryUrl value.
-
withRepositoryUrl
public SourceControlConfigurationProperties withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: Url of the SourceControl Repository.- Parameters:
repositoryUrl
- the repositoryUrl value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
operatorNamespace
public String operatorNamespace()
Get the operatorNamespace property: The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.- Returns:
- the operatorNamespace value.
-
withOperatorNamespace
public SourceControlConfigurationProperties withOperatorNamespace(String operatorNamespace)
Set the operatorNamespace property: The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.- Parameters:
operatorNamespace
- the operatorNamespace value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
operatorInstanceName
public String operatorInstanceName()
Get the operatorInstanceName property: Instance name of the operator - identifying the specific configuration.- Returns:
- the operatorInstanceName value.
-
withOperatorInstanceName
public SourceControlConfigurationProperties withOperatorInstanceName(String operatorInstanceName)
Set the operatorInstanceName property: Instance name of the operator - identifying the specific configuration.- Parameters:
operatorInstanceName
- the operatorInstanceName value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
operatorType
public OperatorType operatorType()
Get the operatorType property: Type of the operator.- Returns:
- the operatorType value.
-
withOperatorType
public SourceControlConfigurationProperties withOperatorType(OperatorType operatorType)
Set the operatorType property: Type of the operator.- Parameters:
operatorType
- the operatorType value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
operatorParams
public String operatorParams()
Get the operatorParams property: Any Parameters for the Operator instance in string format.- Returns:
- the operatorParams value.
-
withOperatorParams
public SourceControlConfigurationProperties withOperatorParams(String operatorParams)
Set the operatorParams property: Any Parameters for the Operator instance in string format.- Parameters:
operatorParams
- the operatorParams value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
configurationProtectedSettings
public Map<String,String> configurationProtectedSettings()
Get the configurationProtectedSettings property: Name-value pairs of protected configuration settings for the configuration.- Returns:
- the configurationProtectedSettings value.
-
withConfigurationProtectedSettings
public SourceControlConfigurationProperties withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Name-value pairs of protected configuration settings for the configuration.- Parameters:
configurationProtectedSettings
- the configurationProtectedSettings value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
operatorScope
public OperatorScopeType operatorScope()
Get the operatorScope property: Scope at which the operator will be installed.- Returns:
- the operatorScope value.
-
withOperatorScope
public SourceControlConfigurationProperties withOperatorScope(OperatorScopeType operatorScope)
Set the operatorScope property: Scope at which the operator will be installed.- Parameters:
operatorScope
- the operatorScope value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
repositoryPublicKey
public String repositoryPublicKey()
Get the repositoryPublicKey property: Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).- Returns:
- the repositoryPublicKey value.
-
sshKnownHostsContents
public String sshKnownHostsContents()
Get the sshKnownHostsContents property: Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances.- Returns:
- the sshKnownHostsContents value.
-
withSshKnownHostsContents
public SourceControlConfigurationProperties withSshKnownHostsContents(String sshKnownHostsContents)
Set the sshKnownHostsContents property: Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances.- Parameters:
sshKnownHostsContents
- the sshKnownHostsContents value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
enableHelmOperator
public Boolean enableHelmOperator()
Get the enableHelmOperator property: Option to enable Helm Operator for this git configuration.- Returns:
- the enableHelmOperator value.
-
withEnableHelmOperator
public SourceControlConfigurationProperties withEnableHelmOperator(Boolean enableHelmOperator)
Set the enableHelmOperator property: Option to enable Helm Operator for this git configuration.- Parameters:
enableHelmOperator
- the enableHelmOperator value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
helmOperatorProperties
public HelmOperatorProperties helmOperatorProperties()
Get the helmOperatorProperties property: Properties for Helm operator.- Returns:
- the helmOperatorProperties value.
-
withHelmOperatorProperties
public SourceControlConfigurationProperties withHelmOperatorProperties(HelmOperatorProperties helmOperatorProperties)
Set the helmOperatorProperties property: Properties for Helm operator.- Parameters:
helmOperatorProperties
- the helmOperatorProperties value to set.- Returns:
- the SourceControlConfigurationProperties object itself.
-
provisioningState
public ProvisioningStateType provisioningState()
Get the provisioningState property: The provisioning state of the resource provider.- Returns:
- the provisioningState value.
-
complianceStatus
public ComplianceStatus complianceStatus()
Get the complianceStatus property: Compliance Status of the Configuration.- Returns:
- the complianceStatus value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-