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
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)
public static Output<GetSourceControlResult> getSourceControl(GetSourceControlArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:securityinsights:getSourceControl
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OperationalInsights stringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SourceControl stringId 
- Source control Id
- WorkspaceName string
- The name of the workspace.
- OperationalInsights stringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SourceControl stringId 
- Source control Id
- WorkspaceName string
- The name of the workspace.
- operationalInsights StringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- sourceControl StringId 
- Source control Id
- workspaceName String
- The name of the workspace.
- operationalInsights stringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- sourceControl stringId 
- Source control Id
- workspaceName string
- The name of the workspace.
- operational_insights_ strresource_ provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- source_control_ strid 
- Source control Id
- workspace_name str
- The name of the workspace.
- operationalInsights StringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- sourceControl StringId 
- 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.Azure Native. Security Insights. Outputs. Repository Response 
- Repository metadata.
- SystemData Pulumi.Azure Native. Security Insights. Outputs. System Data Response 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- Description string
- A description of the source control
- Etag string
- Etag of the azure resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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 SystemData Response 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- Description string
- A description of the source control
- Etag string
- Etag of the azure resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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 SystemData Response 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- description String
- A description of the source control
- etag String
- Etag of the azure resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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 SystemData Response 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- description string
- A description of the source control
- etag string
- Etag of the azure resource
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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 SystemData Response 
- 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_ strtype 
- 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_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- description String
- A description of the source control
- etag String
- Etag of the azure resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- DeploymentLogs stringUrl 
- Url to access repository action logs.
- DisplayUrl string
- Display url of repository.
- PathMapping List<Pulumi.Azure Native. Security Insights. Inputs. Content Path Map Response> 
- Dictionary of source control content type and path mapping.
- Url string
- Url of repository.
- Branch string
- Branch name of repository.
- DeploymentLogs stringUrl 
- Url to access repository action logs.
- DisplayUrl string
- Display url of repository.
- PathMapping []ContentPath Map Response 
- Dictionary of source control content type and path mapping.
- Url string
- Url of repository.
- branch String
- Branch name of repository.
- deploymentLogs StringUrl 
- Url to access repository action logs.
- displayUrl String
- Display url of repository.
- pathMapping List<ContentPath Map Response> 
- Dictionary of source control content type and path mapping.
- url String
- Url of repository.
- branch string
- Branch name of repository.
- deploymentLogs stringUrl 
- Url to access repository action logs.
- displayUrl string
- Display url of repository.
- pathMapping ContentPath Map Response[] 
- Dictionary of source control content type and path mapping.
- url string
- Url of repository.
- branch str
- Branch name of repository.
- deployment_logs_ strurl 
- Url to access repository action logs.
- display_url str
- Display url of repository.
- path_mapping Sequence[ContentPath Map Response] 
- Dictionary of source control content type and path mapping.
- url str
- Url of repository.
- branch String
- Branch name of repository.
- deploymentLogs StringUrl 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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