Class SourceControlConfigurationInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.kubernetesconfiguration.fluent.models.SourceControlConfigurationInner
-
public final class SourceControlConfigurationInner extends com.azure.core.management.ProxyResource
The SourceControl Configuration object returned in Get & Put response.
-
-
Constructor Summary
Constructors Constructor Description SourceControlConfigurationInner()
-
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.com.azure.core.management.SystemData
systemData()
Get the systemData property: Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources.void
validate()
Validates the instance.SourceControlConfigurationInner
withConfigurationProtectedSettings(Map<String,String> configurationProtectedSettings)
Set the configurationProtectedSettings property: Name-value pairs of protected configuration settings for the configuration.SourceControlConfigurationInner
withEnableHelmOperator(Boolean enableHelmOperator)
Set the enableHelmOperator property: Option to enable Helm Operator for this git configuration.SourceControlConfigurationInner
withHelmOperatorProperties(HelmOperatorProperties helmOperatorProperties)
Set the helmOperatorProperties property: Properties for Helm operator.SourceControlConfigurationInner
withOperatorInstanceName(String operatorInstanceName)
Set the operatorInstanceName property: Instance name of the operator - identifying the specific configuration.SourceControlConfigurationInner
withOperatorNamespace(String operatorNamespace)
Set the operatorNamespace property: The namespace to which this operator is installed to.SourceControlConfigurationInner
withOperatorParams(String operatorParams)
Set the operatorParams property: Any Parameters for the Operator instance in string format.SourceControlConfigurationInner
withOperatorScope(OperatorScopeType operatorScope)
Set the operatorScope property: Scope at which the operator will be installed.SourceControlConfigurationInner
withOperatorType(OperatorType operatorType)
Set the operatorType property: Type of the operator.SourceControlConfigurationInner
withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: Url of the SourceControl Repository.SourceControlConfigurationInner
withSshKnownHostsContents(String sshKnownHostsContents)
Set the sshKnownHostsContents property: Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources.- Returns:
- the systemData value.
-
repositoryUrl
public String repositoryUrl()
Get the repositoryUrl property: Url of the SourceControl Repository.- Returns:
- the repositoryUrl value.
-
withRepositoryUrl
public SourceControlConfigurationInner withRepositoryUrl(String repositoryUrl)
Set the repositoryUrl property: Url of the SourceControl Repository.- Parameters:
repositoryUrl
- the repositoryUrl value to set.- Returns:
- the SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner object itself.
-
operatorType
public OperatorType operatorType()
Get the operatorType property: Type of the operator.- Returns:
- the operatorType value.
-
withOperatorType
public SourceControlConfigurationInner withOperatorType(OperatorType operatorType)
Set the operatorType property: Type of the operator.- Parameters:
operatorType
- the operatorType value to set.- Returns:
- the SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner object itself.
-
operatorScope
public OperatorScopeType operatorScope()
Get the operatorScope property: Scope at which the operator will be installed.- Returns:
- the operatorScope value.
-
withOperatorScope
public SourceControlConfigurationInner withOperatorScope(OperatorScopeType operatorScope)
Set the operatorScope property: Scope at which the operator will be installed.- Parameters:
operatorScope
- the operatorScope value to set.- Returns:
- the SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner 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 SourceControlConfigurationInner object itself.
-
helmOperatorProperties
public HelmOperatorProperties helmOperatorProperties()
Get the helmOperatorProperties property: Properties for Helm operator.- Returns:
- the helmOperatorProperties value.
-
withHelmOperatorProperties
public SourceControlConfigurationInner withHelmOperatorProperties(HelmOperatorProperties helmOperatorProperties)
Set the helmOperatorProperties property: Properties for Helm operator.- Parameters:
helmOperatorProperties
- the helmOperatorProperties value to set.- Returns:
- the SourceControlConfigurationInner 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.
-
-