/// <summary>
 /// Initializes a new instance of the SourceControlConfiguration class.
 /// </summary>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="repositoryUrl">Url of the SourceControl
 /// Repository.</param>
 /// <param name="operatorNamespace">The namespace to which this
 /// operator is installed to. Maximum of 253 lower case alphanumeric
 /// characters, hyphen and period only.</param>
 /// <param name="operatorInstanceName">Instance name of the operator -
 /// identifying the specific configuration.</param>
 /// <param name="operatorType">Type of the operator. Possible values
 /// include: 'Flux'</param>
 /// <param name="operatorParams">Any Parameters for the Operator
 /// instance in string format.</param>
 /// <param name="operatorScope">Scope at which the operator will be
 /// installed. Possible values include: 'cluster', 'namespace'</param>
 /// <param name="repositoryPublicKey">Public Key associated with this
 /// SourceControl configuration (either generated within the cluster or
 /// provided by the user).</param>
 /// <param name="enableHelmOperator">Option to enable Helm Operator for
 /// this git configuration. Possible values include: 'true',
 /// 'false'</param>
 /// <param name="helmOperatorProperties">Properties for Helm
 /// operator.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource provider. Possible values include: 'Accepted', 'Deleting',
 /// 'Running', 'Succeeded', 'Failed'</param>
 /// <param name="complianceStatus">Compliance Status of the
 /// Configuration</param>
 public SourceControlConfiguration(string id = default(string), string name = default(string), string type = default(string), string repositoryUrl = default(string), string operatorNamespace = default(string), string operatorInstanceName = default(string), OperatorType?operatorType = default(OperatorType?), string operatorParams = default(string), OperatorScope?operatorScope = default(OperatorScope?), string repositoryPublicKey = default(string), EnableHelmOperator?enableHelmOperator = default(EnableHelmOperator?), HelmOperatorProperties helmOperatorProperties = default(HelmOperatorProperties), ProvisioningState?provisioningState = default(ProvisioningState?), ComplianceStatus complianceStatus = default(ComplianceStatus))
     : base(id, name, type)
 {
     RepositoryUrl          = repositoryUrl;
     OperatorNamespace      = operatorNamespace;
     OperatorInstanceName   = operatorInstanceName;
     OperatorType           = operatorType;
     OperatorParams         = operatorParams;
     OperatorScope          = operatorScope;
     RepositoryPublicKey    = repositoryPublicKey;
     EnableHelmOperator     = enableHelmOperator;
     HelmOperatorProperties = helmOperatorProperties;
     ProvisioningState      = provisioningState;
     ComplianceStatus       = complianceStatus;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the SourceControlConfiguration class.
 /// </summary>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="systemData">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</param>
 /// <param name="repositoryUrl">Url of the SourceControl
 /// Repository.</param>
 /// <param name="operatorNamespace">The namespace to which this
 /// operator is installed to. Maximum of 253 lower case alphanumeric
 /// characters, hyphen and period only.</param>
 /// <param name="operatorInstanceName">Instance name of the operator -
 /// identifying the specific configuration.</param>
 /// <param name="operatorType">Type of the operator. Possible values
 /// include: 'Flux'</param>
 /// <param name="operatorParams">Any Parameters for the Operator
 /// instance in string format.</param>
 /// <param name="configurationProtectedSettings">Name-value pairs of
 /// protected configuration settings for the configuration</param>
 /// <param name="operatorScope">Scope at which the operator will be
 /// installed. Possible values include: 'cluster', 'namespace'</param>
 /// <param name="repositoryPublicKey">Public Key associated with this
 /// SourceControl configuration (either generated within the cluster or
 /// provided by the user).</param>
 /// <param name="sshKnownHostsContents">Base64-encoded known_hosts
 /// contents containing public SSH keys required to access private Git
 /// instances</param>
 /// <param name="enableHelmOperator">Option to enable Helm Operator for
 /// this git configuration.</param>
 /// <param name="helmOperatorProperties">Properties for Helm
 /// operator.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource provider. Possible values include: 'Accepted', 'Deleting',
 /// 'Running', 'Succeeded', 'Failed'</param>
 /// <param name="complianceStatus">Compliance Status of the
 /// Configuration</param>
 public SourceControlConfiguration(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string repositoryUrl = default(string), string operatorNamespace = default(string), string operatorInstanceName = default(string), string operatorType = default(string), string operatorParams = default(string), IDictionary <string, string> configurationProtectedSettings = default(IDictionary <string, string>), string operatorScope = default(string), string repositoryPublicKey = default(string), string sshKnownHostsContents = default(string), bool?enableHelmOperator = default(bool?), HelmOperatorProperties helmOperatorProperties = default(HelmOperatorProperties), string provisioningState = default(string), ComplianceStatus complianceStatus = default(ComplianceStatus))
     : base(id, name, type, systemData)
 {
     RepositoryUrl                  = repositoryUrl;
     OperatorNamespace              = operatorNamespace;
     OperatorInstanceName           = operatorInstanceName;
     OperatorType                   = operatorType;
     OperatorParams                 = operatorParams;
     ConfigurationProtectedSettings = configurationProtectedSettings;
     OperatorScope                  = operatorScope;
     RepositoryPublicKey            = repositoryPublicKey;
     SshKnownHostsContents          = sshKnownHostsContents;
     EnableHelmOperator             = enableHelmOperator;
     HelmOperatorProperties         = helmOperatorProperties;
     ProvisioningState              = provisioningState;
     ComplianceStatus               = complianceStatus;
     CustomInit();
 }