1. Packages
  2. Azure Native
  3. API Docs
  4. kubernetesconfiguration
  5. getSourceControlConfiguration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.kubernetesconfiguration.getSourceControlConfiguration

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Gets details of the Source Control Configuration.

Uses Azure REST API version 2023-05-01.

Other available API versions: 2022-07-01, 2022-11-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native kubernetesconfiguration [ApiVersion]. See the version guide for details.

Using getSourceControlConfiguration

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSourceControlConfiguration(args: GetSourceControlConfigurationArgs, opts?: InvokeOptions): Promise<GetSourceControlConfigurationResult>
function getSourceControlConfigurationOutput(args: GetSourceControlConfigurationOutputArgs, opts?: InvokeOptions): Output<GetSourceControlConfigurationResult>
Copy
def get_source_control_configuration(cluster_name: Optional[str] = None,
                                     cluster_resource_name: Optional[str] = None,
                                     cluster_rp: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     source_control_configuration_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetSourceControlConfigurationResult
def get_source_control_configuration_output(cluster_name: Optional[pulumi.Input[str]] = None,
                                     cluster_resource_name: Optional[pulumi.Input[str]] = None,
                                     cluster_rp: Optional[pulumi.Input[str]] = None,
                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                     source_control_configuration_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetSourceControlConfigurationResult]
Copy
func LookupSourceControlConfiguration(ctx *Context, args *LookupSourceControlConfigurationArgs, opts ...InvokeOption) (*LookupSourceControlConfigurationResult, error)
func LookupSourceControlConfigurationOutput(ctx *Context, args *LookupSourceControlConfigurationOutputArgs, opts ...InvokeOption) LookupSourceControlConfigurationResultOutput
Copy

> Note: This function is named LookupSourceControlConfiguration in the Go SDK.

public static class GetSourceControlConfiguration 
{
    public static Task<GetSourceControlConfigurationResult> InvokeAsync(GetSourceControlConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetSourceControlConfigurationResult> Invoke(GetSourceControlConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSourceControlConfigurationResult> getSourceControlConfiguration(GetSourceControlConfigurationArgs args, InvokeOptions options)
public static Output<GetSourceControlConfigurationResult> getSourceControlConfiguration(GetSourceControlConfigurationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:kubernetesconfiguration:getSourceControlConfiguration
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the kubernetes cluster.
ClusterResourceName
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
ClusterRp
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SourceControlConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Source Control Configuration.
ClusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the kubernetes cluster.
ClusterResourceName
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
ClusterRp
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SourceControlConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Source Control Configuration.
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the kubernetes cluster.
clusterResourceName
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
clusterRp
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sourceControlConfigurationName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Source Control Configuration.
clusterName
This property is required.
Changes to this property will trigger replacement.
string
The name of the kubernetes cluster.
clusterResourceName
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
clusterRp
This property is required.
Changes to this property will trigger replacement.
string
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
sourceControlConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Source Control Configuration.
cluster_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the kubernetes cluster.
cluster_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
cluster_rp
This property is required.
Changes to this property will trigger replacement.
str
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
source_control_configuration_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Source Control Configuration.
clusterName
This property is required.
Changes to this property will trigger replacement.
String
The name of the kubernetes cluster.
clusterResourceName
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
clusterRp
This property is required.
Changes to this property will trigger replacement.
String
The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sourceControlConfigurationName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Source Control Configuration.

getSourceControlConfiguration Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
ComplianceStatus Pulumi.AzureNative.KubernetesConfiguration.Outputs.ComplianceStatusResponse
Compliance Status of the Configuration
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
ProvisioningState string
The provisioning state of the resource provider.
RepositoryPublicKey string
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
SystemData Pulumi.AzureNative.KubernetesConfiguration.Outputs.SystemDataResponse
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
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
ConfigurationProtectedSettings Dictionary<string, string>
Name-value pairs of protected configuration settings for the configuration
EnableHelmOperator bool
Option to enable Helm Operator for this git configuration.
HelmOperatorProperties Pulumi.AzureNative.KubernetesConfiguration.Outputs.HelmOperatorPropertiesResponse
Properties for Helm operator.
OperatorInstanceName string
Instance name of the operator - identifying the specific configuration.
OperatorNamespace string
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
OperatorParams string
Any Parameters for the Operator instance in string format.
OperatorScope string
Scope at which the operator will be installed.
OperatorType string
Type of the operator
RepositoryUrl string
Url of the SourceControl Repository.
SshKnownHostsContents string
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
AzureApiVersion string
The Azure API version of the resource.
ComplianceStatus ComplianceStatusResponse
Compliance Status of the Configuration
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
ProvisioningState string
The provisioning state of the resource provider.
RepositoryPublicKey string
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
SystemData SystemDataResponse
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
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
ConfigurationProtectedSettings map[string]string
Name-value pairs of protected configuration settings for the configuration
EnableHelmOperator bool
Option to enable Helm Operator for this git configuration.
HelmOperatorProperties HelmOperatorPropertiesResponse
Properties for Helm operator.
OperatorInstanceName string
Instance name of the operator - identifying the specific configuration.
OperatorNamespace string
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
OperatorParams string
Any Parameters for the Operator instance in string format.
OperatorScope string
Scope at which the operator will be installed.
OperatorType string
Type of the operator
RepositoryUrl string
Url of the SourceControl Repository.
SshKnownHostsContents string
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
azureApiVersion String
The Azure API version of the resource.
complianceStatus ComplianceStatusResponse
Compliance Status of the Configuration
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
provisioningState String
The provisioning state of the resource provider.
repositoryPublicKey String
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
systemData SystemDataResponse
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
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
configurationProtectedSettings Map<String,String>
Name-value pairs of protected configuration settings for the configuration
enableHelmOperator Boolean
Option to enable Helm Operator for this git configuration.
helmOperatorProperties HelmOperatorPropertiesResponse
Properties for Helm operator.
operatorInstanceName String
Instance name of the operator - identifying the specific configuration.
operatorNamespace String
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operatorParams String
Any Parameters for the Operator instance in string format.
operatorScope String
Scope at which the operator will be installed.
operatorType String
Type of the operator
repositoryUrl String
Url of the SourceControl Repository.
sshKnownHostsContents String
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
azureApiVersion string
The Azure API version of the resource.
complianceStatus ComplianceStatusResponse
Compliance Status of the Configuration
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
provisioningState string
The provisioning state of the resource provider.
repositoryPublicKey string
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
systemData SystemDataResponse
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
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
configurationProtectedSettings {[key: string]: string}
Name-value pairs of protected configuration settings for the configuration
enableHelmOperator boolean
Option to enable Helm Operator for this git configuration.
helmOperatorProperties HelmOperatorPropertiesResponse
Properties for Helm operator.
operatorInstanceName string
Instance name of the operator - identifying the specific configuration.
operatorNamespace string
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operatorParams string
Any Parameters for the Operator instance in string format.
operatorScope string
Scope at which the operator will be installed.
operatorType string
Type of the operator
repositoryUrl string
Url of the SourceControl Repository.
sshKnownHostsContents string
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
azure_api_version str
The Azure API version of the resource.
compliance_status ComplianceStatusResponse
Compliance Status of the Configuration
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
provisioning_state str
The provisioning state of the resource provider.
repository_public_key str
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
system_data SystemDataResponse
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
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
configuration_protected_settings Mapping[str, str]
Name-value pairs of protected configuration settings for the configuration
enable_helm_operator bool
Option to enable Helm Operator for this git configuration.
helm_operator_properties HelmOperatorPropertiesResponse
Properties for Helm operator.
operator_instance_name str
Instance name of the operator - identifying the specific configuration.
operator_namespace str
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operator_params str
Any Parameters for the Operator instance in string format.
operator_scope str
Scope at which the operator will be installed.
operator_type str
Type of the operator
repository_url str
Url of the SourceControl Repository.
ssh_known_hosts_contents str
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances
azureApiVersion String
The Azure API version of the resource.
complianceStatus Property Map
Compliance Status of the Configuration
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
provisioningState String
The provisioning state of the resource provider.
repositoryPublicKey String
Public Key associated with this SourceControl configuration (either generated within the cluster or provided by the user).
systemData Property Map
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
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
configurationProtectedSettings Map<String>
Name-value pairs of protected configuration settings for the configuration
enableHelmOperator Boolean
Option to enable Helm Operator for this git configuration.
helmOperatorProperties Property Map
Properties for Helm operator.
operatorInstanceName String
Instance name of the operator - identifying the specific configuration.
operatorNamespace String
The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only.
operatorParams String
Any Parameters for the Operator instance in string format.
operatorScope String
Scope at which the operator will be installed.
operatorType String
Type of the operator
repositoryUrl String
Url of the SourceControl Repository.
sshKnownHostsContents String
Base64-encoded known_hosts contents containing public SSH keys required to access private Git instances

Supporting Types

ComplianceStatusResponse

ComplianceState This property is required. string
The compliance state of the configuration.
LastConfigApplied string
Datetime the configuration was last applied.
Message string
Message from when the configuration was applied.
MessageLevel string
Level of the message.
ComplianceState This property is required. string
The compliance state of the configuration.
LastConfigApplied string
Datetime the configuration was last applied.
Message string
Message from when the configuration was applied.
MessageLevel string
Level of the message.
complianceState This property is required. String
The compliance state of the configuration.
lastConfigApplied String
Datetime the configuration was last applied.
message String
Message from when the configuration was applied.
messageLevel String
Level of the message.
complianceState This property is required. string
The compliance state of the configuration.
lastConfigApplied string
Datetime the configuration was last applied.
message string
Message from when the configuration was applied.
messageLevel string
Level of the message.
compliance_state This property is required. str
The compliance state of the configuration.
last_config_applied str
Datetime the configuration was last applied.
message str
Message from when the configuration was applied.
message_level str
Level of the message.
complianceState This property is required. String
The compliance state of the configuration.
lastConfigApplied String
Datetime the configuration was last applied.
message String
Message from when the configuration was applied.
messageLevel String
Level of the message.

HelmOperatorPropertiesResponse

ChartValues string
Values override for the operator Helm chart.
ChartVersion string
Version of the operator Helm chart.
ChartValues string
Values override for the operator Helm chart.
ChartVersion string
Version of the operator Helm chart.
chartValues String
Values override for the operator Helm chart.
chartVersion String
Version of the operator Helm chart.
chartValues string
Values override for the operator Helm chart.
chartVersion string
Version of the operator Helm chart.
chart_values str
Values override for the operator Helm chart.
chart_version str
Version of the operator Helm chart.
chartValues String
Values override for the operator Helm chart.
chartVersion String
Version of the operator Helm chart.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi