class Azure::KubernetesConfiguration::Mgmt::V2019_11_01_preview::Models::SourceControlConfiguration

The SourceControl Configuration object.

Attributes

compliance_status[RW]

@return [ComplianceStatus] Compliance Status of the Configuration

enable_helm_operator[RW]

@return [EnableHelmOperator] Option to enable Helm Operator for this git configuration. Possible values include: 'true', 'false'

helm_operator_properties[RW]

@return [HelmOperatorProperties] Properties for Helm operator.

operator_instance_name[RW]

@return [String] Instance name of the operator - identifying the specific configuration.

operator_namespace[RW]

@return [String] The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only. Default value: 'default' .

operator_params[RW]

@return [String] Any Parameters for the Operator instance in string format.

operator_scope[RW]

@return [OperatorScope] Scope at which the operator will be installed. Possible values include: 'cluster', 'namespace'. Default value: 'cluster' .

operator_type[RW]

@return [OperatorType] Type of the operator. Possible values include: 'Flux'

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the resource provider. Possible values include: 'Accepted', 'Deleting', 'Running', 'Succeeded', 'Failed'

repository_public_key[RW]

@return [String] Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).

repository_url[RW]

@return [String] Url of the SourceControl Repository.

Public Class Methods

mapper() click to toggle source

Mapper for SourceControlConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-11-01-preview/generated/azure_mgmt_kubernetes_configuration/models/source_control_configuration.rb, line 65
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SourceControlConfiguration',
    type: {
      name: 'Composite',
      class_name: 'SourceControlConfiguration',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        repository_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.repositoryUrl',
          type: {
            name: 'String'
          }
        },
        operator_namespace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.operatorNamespace',
          default_value: 'default',
          type: {
            name: 'String'
          }
        },
        operator_instance_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.operatorInstanceName',
          type: {
            name: 'String'
          }
        },
        operator_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.operatorType',
          type: {
            name: 'String'
          }
        },
        operator_params: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.operatorParams',
          type: {
            name: 'String'
          }
        },
        operator_scope: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.operatorScope',
          default_value: 'cluster',
          type: {
            name: 'String'
          }
        },
        repository_public_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.repositoryPublicKey',
          type: {
            name: 'String'
          }
        },
        enable_helm_operator: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableHelmOperator',
          type: {
            name: 'String'
          }
        },
        helm_operator_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.helmOperatorProperties',
          type: {
            name: 'Composite',
            class_name: 'HelmOperatorProperties'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        compliance_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.complianceStatus',
          type: {
            name: 'Composite',
            class_name: 'ComplianceStatus'
          }
        }
      }
    }
  }
end