1. Packages
  2. Azure Native v1
  3. API Docs
  4. securityinsights
  5. getSourceControl
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.securityinsights.getSourceControl

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets a source control byt its identifier. API Version: 2021-03-01-preview.

    Using getSourceControl

    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 getSourceControl(args: GetSourceControlArgs, opts?: InvokeOptions): Promise<GetSourceControlResult>
    function getSourceControlOutput(args: GetSourceControlOutputArgs, opts?: InvokeOptions): Output<GetSourceControlResult>
    def get_source_control(operational_insights_resource_provider: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           source_control_id: Optional[str] = None,
                           workspace_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSourceControlResult
    def get_source_control_output(operational_insights_resource_provider: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           source_control_id: Optional[pulumi.Input[str]] = None,
                           workspace_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSourceControlResult]
    func LookupSourceControl(ctx *Context, args *LookupSourceControlArgs, opts ...InvokeOption) (*LookupSourceControlResult, error)
    func LookupSourceControlOutput(ctx *Context, args *LookupSourceControlOutputArgs, opts ...InvokeOption) LookupSourceControlResultOutput

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

    public static class GetSourceControl 
    {
        public static Task<GetSourceControlResult> InvokeAsync(GetSourceControlArgs args, InvokeOptions? opts = null)
        public static Output<GetSourceControlResult> Invoke(GetSourceControlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSourceControlResult> getSourceControl(GetSourceControlArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:securityinsights:getSourceControl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OperationalInsightsResourceProvider string
    The namespace of workspaces resource provider- Microsoft.OperationalInsights.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SourceControlId string
    Source control Id
    WorkspaceName string
    The name of the workspace.
    OperationalInsightsResourceProvider string
    The namespace of workspaces resource provider- Microsoft.OperationalInsights.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SourceControlId string
    Source control Id
    WorkspaceName string
    The name of the workspace.
    operationalInsightsResourceProvider String
    The namespace of workspaces resource provider- Microsoft.OperationalInsights.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sourceControlId String
    Source control Id
    workspaceName String
    The name of the workspace.
    operationalInsightsResourceProvider string
    The namespace of workspaces resource provider- Microsoft.OperationalInsights.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sourceControlId string
    Source control Id
    workspaceName string
    The name of the workspace.
    operational_insights_resource_provider str
    The namespace of workspaces resource provider- Microsoft.OperationalInsights.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    source_control_id str
    Source control Id
    workspace_name str
    The name of the workspace.
    operationalInsightsResourceProvider String
    The namespace of workspaces resource provider- Microsoft.OperationalInsights.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sourceControlId String
    Source control Id
    workspaceName String
    The name of the workspace.

    getSourceControl Result

    The following output properties are available:

    ContentTypes List<string>
    Array of source control content types.
    DisplayName string
    The display name of the source control
    Id string
    Azure resource Id
    Name string
    Azure resource name
    RepoType string
    The repository type of the source control
    Repository Pulumi.AzureNative.SecurityInsights.Outputs.RepositoryResponse
    Repository metadata.
    SystemData Pulumi.AzureNative.SecurityInsights.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    Azure resource type
    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.
    Description string
    A description of the source control
    Etag string
    Etag of the azure 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.
    ContentTypes []string
    Array of source control content types.
    DisplayName string
    The display name of the source control
    Id string
    Azure resource Id
    Name string
    Azure resource name
    RepoType string
    The repository type of the source control
    Repository RepositoryResponse
    Repository metadata.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    Azure resource type
    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.
    Description string
    A description of the source control
    Etag string
    Etag of the azure 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.
    contentTypes List<String>
    Array of source control content types.
    displayName String
    The display name of the source control
    id String
    Azure resource Id
    name String
    Azure resource name
    repoType String
    The repository type of the source control
    repository RepositoryResponse
    Repository metadata.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    Azure resource type
    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.
    description String
    A description of the source control
    etag String
    Etag of the azure 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.
    contentTypes string[]
    Array of source control content types.
    displayName string
    The display name of the source control
    id string
    Azure resource Id
    name string
    Azure resource name
    repoType string
    The repository type of the source control
    repository RepositoryResponse
    Repository metadata.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    Azure resource type
    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.
    description string
    A description of the source control
    etag string
    Etag of the azure 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.
    content_types Sequence[str]
    Array of source control content types.
    display_name str
    The display name of the source control
    id str
    Azure resource Id
    name str
    Azure resource name
    repo_type str
    The repository type of the source control
    repository RepositoryResponse
    Repository metadata.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    Azure resource type
    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.
    description str
    A description of the source control
    etag str
    Etag of the azure 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.
    contentTypes List<String>
    Array of source control content types.
    displayName String
    The display name of the source control
    id String
    Azure resource Id
    name String
    Azure resource name
    repoType String
    The repository type of the source control
    repository Property Map
    Repository metadata.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    Azure resource type
    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.
    description String
    A description of the source control
    etag String
    Etag of the azure 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.

    Supporting Types

    ContentPathMapResponse

    ContentType string
    Content type.
    Path string
    The path to the content.
    ContentType string
    Content type.
    Path string
    The path to the content.
    contentType String
    Content type.
    path String
    The path to the content.
    contentType string
    Content type.
    path string
    The path to the content.
    content_type str
    Content type.
    path str
    The path to the content.
    contentType String
    Content type.
    path String
    The path to the content.

    RepositoryResponse

    Branch string
    Branch name of repository.
    DeploymentLogsUrl string
    Url to access repository action logs.
    DisplayUrl string
    Display url of repository.
    PathMapping List<Pulumi.AzureNative.SecurityInsights.Inputs.ContentPathMapResponse>
    Dictionary of source control content type and path mapping.
    Url string
    Url of repository.
    Branch string
    Branch name of repository.
    DeploymentLogsUrl string
    Url to access repository action logs.
    DisplayUrl string
    Display url of repository.
    PathMapping []ContentPathMapResponse
    Dictionary of source control content type and path mapping.
    Url string
    Url of repository.
    branch String
    Branch name of repository.
    deploymentLogsUrl String
    Url to access repository action logs.
    displayUrl String
    Display url of repository.
    pathMapping List<ContentPathMapResponse>
    Dictionary of source control content type and path mapping.
    url String
    Url of repository.
    branch string
    Branch name of repository.
    deploymentLogsUrl string
    Url to access repository action logs.
    displayUrl string
    Display url of repository.
    pathMapping ContentPathMapResponse[]
    Dictionary of source control content type and path mapping.
    url string
    Url of repository.
    branch str
    Branch name of repository.
    deployment_logs_url str
    Url to access repository action logs.
    display_url str
    Display url of repository.
    path_mapping Sequence[ContentPathMapResponse]
    Dictionary of source control content type and path mapping.
    url str
    Url of repository.
    branch String
    Branch name of repository.
    deploymentLogsUrl String
    Url to access repository action logs.
    displayUrl String
    Display url of repository.
    pathMapping List<Property Map>
    Dictionary of source control content type and path mapping.
    url String
    Url of repository.

    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi