1. Packages
  2. Azure Native
  3. API Docs
  4. kubernetesconfiguration
  5. getSourceControlConfiguration
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

azure-native.kubernetesconfiguration.getSourceControlConfiguration

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

    Gets details of the Source Control Configuration. Azure REST API version: 2023-05-01.

    Other available API versions: 2019-11-01-preview.

    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>
    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]
    func LookupSourceControlConfiguration(ctx *Context, args *LookupSourceControlConfigurationArgs, opts ...InvokeOption) (*LookupSourceControlConfigurationResult, error)
    func LookupSourceControlConfigurationOutput(ctx *Context, args *LookupSourceControlConfigurationOutputArgs, opts ...InvokeOption) LookupSourceControlConfigurationResultOutput

    > 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)
    }
    public static CompletableFuture<GetSourceControlConfigurationResult> getSourceControlConfiguration(GetSourceControlConfigurationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:kubernetesconfiguration:getSourceControlConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getSourceControlConfiguration Result

    The following output properties are available:

    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
    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
    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
    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
    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
    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 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 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 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 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 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 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi