Partage via


SourceControlConfigurationInner Class

public final class SourceControlConfigurationInner
extends ProxyResource

The SourceControl Configuration object returned in Get & Put response.

Constructor Summary

Constructor Description
SourceControlConfigurationInner()

Creates an instance of SourceControlConfigurationInner class.

Method Summary

Modifier and Type Method and 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.

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.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SourceControlConfigurationInner

public SourceControlConfigurationInner()

Creates an instance of SourceControlConfigurationInner class.

Method Details

complianceStatus

public ComplianceStatus complianceStatus()

Get the complianceStatus property: Compliance Status of the Configuration.

Returns:

the complianceStatus value.

configurationProtectedSettings

public Map<String,String> configurationProtectedSettings()

Get the configurationProtectedSettings property: Name-value pairs of protected configuration settings for the configuration.

Returns:

the configurationProtectedSettings value.

enableHelmOperator

public Boolean enableHelmOperator()

Get the enableHelmOperator property: Option to enable Helm Operator for this git configuration.

Returns:

the enableHelmOperator value.

helmOperatorProperties

public HelmOperatorProperties helmOperatorProperties()

Get the helmOperatorProperties property: Properties for Helm operator.

Returns:

the helmOperatorProperties value.

operatorInstanceName

public String operatorInstanceName()

Get the operatorInstanceName property: Instance name of the operator - identifying the specific configuration.

Returns:

the operatorInstanceName value.

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.

operatorParams

public String operatorParams()

Get the operatorParams property: Any Parameters for the Operator instance in string format.

Returns:

the operatorParams value.

operatorScope

public OperatorScopeType operatorScope()

Get the operatorScope property: Scope at which the operator will be installed.

Returns:

the operatorScope value.

operatorType

public OperatorType operatorType()

Get the operatorType property: Type of the operator.

Returns:

the operatorType value.

provisioningState

public ProvisioningStateType provisioningState()

Get the provisioningState property: The provisioning state of the resource provider.

Returns:

the provisioningState value.

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.

repositoryUrl

public String repositoryUrl()

Get the repositoryUrl property: Url of the SourceControl Repository.

Returns:

the repositoryUrl 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.

systemData

public 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.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Applies to