azure-native.securityinsights.SourceControl
Explore with Pulumi AI
Represents a SourceControl in Azure Security Insights. API Version: 2021-03-01-preview.
Example Usage
Creates a source control.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var sourceControl = new AzureNative.SecurityInsights.SourceControl("sourceControl", new()
    {
        ContentTypes = new[]
        {
            "AnalyticRules",
            "Workbook",
        },
        Description = "This is a source control",
        DisplayName = "My Source Control",
        OperationalInsightsResourceProvider = "Microsoft.OperationalInsights",
        RepoType = "Github",
        Repository = new AzureNative.SecurityInsights.Inputs.RepositoryArgs
        {
            Branch = "master",
            DisplayUrl = "https://github.com/user/repo",
            PathMapping = new[]
            {
                new AzureNative.SecurityInsights.Inputs.ContentPathMapArgs
                {
                    ContentType = "AnalyticRules",
                    Path = "path/to/rules",
                },
                new AzureNative.SecurityInsights.Inputs.ContentPathMapArgs
                {
                    ContentType = "Workbook",
                    Path = "path/to/workbooks",
                },
            },
            Url = "https://github.com/user/repo",
        },
        ResourceGroupName = "myRg",
        SourceControlId = "789e0c1f-4a3d-43ad-809c-e713b677b04a",
        WorkspaceName = "myWorkspace",
    });
});
package main
import (
	securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := securityinsights.NewSourceControl(ctx, "sourceControl", &securityinsights.SourceControlArgs{
			ContentTypes: pulumi.StringArray{
				pulumi.String("AnalyticRules"),
				pulumi.String("Workbook"),
			},
			Description:                         pulumi.String("This is a source control"),
			DisplayName:                         pulumi.String("My Source Control"),
			OperationalInsightsResourceProvider: pulumi.String("Microsoft.OperationalInsights"),
			RepoType:                            pulumi.String("Github"),
			Repository: securityinsights.RepositoryResponse{
				Branch:     pulumi.String("master"),
				DisplayUrl: pulumi.String("https://github.com/user/repo"),
				PathMapping: securityinsights.ContentPathMapArray{
					&securityinsights.ContentPathMapArgs{
						ContentType: pulumi.String("AnalyticRules"),
						Path:        pulumi.String("path/to/rules"),
					},
					&securityinsights.ContentPathMapArgs{
						ContentType: pulumi.String("Workbook"),
						Path:        pulumi.String("path/to/workbooks"),
					},
				},
				Url: pulumi.String("https://github.com/user/repo"),
			},
			ResourceGroupName: pulumi.String("myRg"),
			SourceControlId:   pulumi.String("789e0c1f-4a3d-43ad-809c-e713b677b04a"),
			WorkspaceName:     pulumi.String("myWorkspace"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityinsights.SourceControl;
import com.pulumi.azurenative.securityinsights.SourceControlArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var sourceControl = new SourceControl("sourceControl", SourceControlArgs.builder()        
            .contentTypes(            
                "AnalyticRules",
                "Workbook")
            .description("This is a source control")
            .displayName("My Source Control")
            .operationalInsightsResourceProvider("Microsoft.OperationalInsights")
            .repoType("Github")
            .repository(Map.ofEntries(
                Map.entry("branch", "master"),
                Map.entry("displayUrl", "https://github.com/user/repo"),
                Map.entry("pathMapping",                 
                    Map.ofEntries(
                        Map.entry("contentType", "AnalyticRules"),
                        Map.entry("path", "path/to/rules")
                    ),
                    Map.ofEntries(
                        Map.entry("contentType", "Workbook"),
                        Map.entry("path", "path/to/workbooks")
                    )),
                Map.entry("url", "https://github.com/user/repo")
            ))
            .resourceGroupName("myRg")
            .sourceControlId("789e0c1f-4a3d-43ad-809c-e713b677b04a")
            .workspaceName("myWorkspace")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sourceControl = new azure_native.securityinsights.SourceControl("sourceControl", {
    contentTypes: [
        "AnalyticRules",
        "Workbook",
    ],
    description: "This is a source control",
    displayName: "My Source Control",
    operationalInsightsResourceProvider: "Microsoft.OperationalInsights",
    repoType: "Github",
    repository: {
        branch: "master",
        displayUrl: "https://github.com/user/repo",
        pathMapping: [
            {
                contentType: "AnalyticRules",
                path: "path/to/rules",
            },
            {
                contentType: "Workbook",
                path: "path/to/workbooks",
            },
        ],
        url: "https://github.com/user/repo",
    },
    resourceGroupName: "myRg",
    sourceControlId: "789e0c1f-4a3d-43ad-809c-e713b677b04a",
    workspaceName: "myWorkspace",
});
import pulumi
import pulumi_azure_native as azure_native
source_control = azure_native.securityinsights.SourceControl("sourceControl",
    content_types=[
        "AnalyticRules",
        "Workbook",
    ],
    description="This is a source control",
    display_name="My Source Control",
    operational_insights_resource_provider="Microsoft.OperationalInsights",
    repo_type="Github",
    repository=azure_native.securityinsights.RepositoryResponseArgs(
        branch="master",
        display_url="https://github.com/user/repo",
        path_mapping=[
            azure_native.securityinsights.ContentPathMapArgs(
                content_type="AnalyticRules",
                path="path/to/rules",
            ),
            azure_native.securityinsights.ContentPathMapArgs(
                content_type="Workbook",
                path="path/to/workbooks",
            ),
        ],
        url="https://github.com/user/repo",
    ),
    resource_group_name="myRg",
    source_control_id="789e0c1f-4a3d-43ad-809c-e713b677b04a",
    workspace_name="myWorkspace")
resources:
  sourceControl:
    type: azure-native:securityinsights:SourceControl
    properties:
      contentTypes:
        - AnalyticRules
        - Workbook
      description: This is a source control
      displayName: My Source Control
      operationalInsightsResourceProvider: Microsoft.OperationalInsights
      repoType: Github
      repository:
        branch: master
        displayUrl: https://github.com/user/repo
        pathMapping:
          - contentType: AnalyticRules
            path: path/to/rules
          - contentType: Workbook
            path: path/to/workbooks
        url: https://github.com/user/repo
      resourceGroupName: myRg
      sourceControlId: 789e0c1f-4a3d-43ad-809c-e713b677b04a
      workspaceName: myWorkspace
Create SourceControl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceControl(name: string, args: SourceControlArgs, opts?: CustomResourceOptions);@overload
def SourceControl(resource_name: str,
                  args: SourceControlArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def SourceControl(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  operational_insights_resource_provider: Optional[str] = None,
                  workspace_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  repository: Optional[RepositoryArgs] = None,
                  content_types: Optional[Sequence[Union[str, ContentType]]] = None,
                  display_name: Optional[str] = None,
                  repo_type: Optional[Union[str, RepoType]] = None,
                  description: Optional[str] = None,
                  last_modified_by: Optional[str] = None,
                  last_modified_by_type: Optional[Union[str, CreatedByType]] = None,
                  last_modified_at: Optional[str] = None,
                  id: Optional[str] = None,
                  created_by_type: Optional[Union[str, CreatedByType]] = None,
                  created_by: Optional[str] = None,
                  source_control_id: Optional[str] = None,
                  created_at: Optional[str] = None)func NewSourceControl(ctx *Context, name string, args SourceControlArgs, opts ...ResourceOption) (*SourceControl, error)public SourceControl(string name, SourceControlArgs args, CustomResourceOptions? opts = null)
public SourceControl(String name, SourceControlArgs args)
public SourceControl(String name, SourceControlArgs args, CustomResourceOptions options)
type: azure-native:securityinsights:SourceControl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SourceControlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SourceControlArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SourceControlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceControlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceControlArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeSourceControlResource = new AzureNative.Securityinsights.SourceControl("azure-nativeSourceControlResource", new()
{
    OperationalInsightsResourceProvider = "string",
    WorkspaceName = "string",
    ResourceGroupName = "string",
    Repository = 
    {
        { "branch", "string" },
        { "deploymentLogsUrl", "string" },
        { "displayUrl", "string" },
        { "pathMapping", new[]
        {
            
            {
                { "contentType", "string" },
                { "path", "string" },
            },
        } },
        { "url", "string" },
    },
    ContentTypes = new[]
    {
        "string",
    },
    DisplayName = "string",
    RepoType = "string",
    Description = "string",
    LastModifiedBy = "string",
    LastModifiedByType = "string",
    LastModifiedAt = "string",
    Id = "string",
    CreatedByType = "string",
    CreatedBy = "string",
    SourceControlId = "string",
    CreatedAt = "string",
});
example, err := securityinsights.NewSourceControl(ctx, "azure-nativeSourceControlResource", &securityinsights.SourceControlArgs{
	OperationalInsightsResourceProvider: "string",
	WorkspaceName:                       "string",
	ResourceGroupName:                   "string",
	Repository: map[string]interface{}{
		"branch":            "string",
		"deploymentLogsUrl": "string",
		"displayUrl":        "string",
		"pathMapping": []map[string]interface{}{
			map[string]interface{}{
				"contentType": "string",
				"path":        "string",
			},
		},
		"url": "string",
	},
	ContentTypes: []string{
		"string",
	},
	DisplayName:        "string",
	RepoType:           "string",
	Description:        "string",
	LastModifiedBy:     "string",
	LastModifiedByType: "string",
	LastModifiedAt:     "string",
	Id:                 "string",
	CreatedByType:      "string",
	CreatedBy:          "string",
	SourceControlId:    "string",
	CreatedAt:          "string",
})
var azure_nativeSourceControlResource = new SourceControl("azure-nativeSourceControlResource", SourceControlArgs.builder()
    .operationalInsightsResourceProvider("string")
    .workspaceName("string")
    .resourceGroupName("string")
    .repository(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .contentTypes("string")
    .displayName("string")
    .repoType("string")
    .description("string")
    .lastModifiedBy("string")
    .lastModifiedByType("string")
    .lastModifiedAt("string")
    .id("string")
    .createdByType("string")
    .createdBy("string")
    .sourceControlId("string")
    .createdAt("string")
    .build());
azure_native_source_control_resource = azure_native.securityinsights.SourceControl("azure-nativeSourceControlResource",
    operational_insights_resource_provider=string,
    workspace_name=string,
    resource_group_name=string,
    repository={
        branch: string,
        deploymentLogsUrl: string,
        displayUrl: string,
        pathMapping: [{
            contentType: string,
            path: string,
        }],
        url: string,
    },
    content_types=[string],
    display_name=string,
    repo_type=string,
    description=string,
    last_modified_by=string,
    last_modified_by_type=string,
    last_modified_at=string,
    id=string,
    created_by_type=string,
    created_by=string,
    source_control_id=string,
    created_at=string)
const azure_nativeSourceControlResource = new azure_native.securityinsights.SourceControl("azure-nativeSourceControlResource", {
    operationalInsightsResourceProvider: "string",
    workspaceName: "string",
    resourceGroupName: "string",
    repository: {
        branch: "string",
        deploymentLogsUrl: "string",
        displayUrl: "string",
        pathMapping: [{
            contentType: "string",
            path: "string",
        }],
        url: "string",
    },
    contentTypes: ["string"],
    displayName: "string",
    repoType: "string",
    description: "string",
    lastModifiedBy: "string",
    lastModifiedByType: "string",
    lastModifiedAt: "string",
    id: "string",
    createdByType: "string",
    createdBy: "string",
    sourceControlId: "string",
    createdAt: "string",
});
type: azure-native:securityinsights:SourceControl
properties:
    contentTypes:
        - string
    createdAt: string
    createdBy: string
    createdByType: string
    description: string
    displayName: string
    id: string
    lastModifiedAt: string
    lastModifiedBy: string
    lastModifiedByType: string
    operationalInsightsResourceProvider: string
    repoType: string
    repository:
        branch: string
        deploymentLogsUrl: string
        displayUrl: string
        pathMapping:
            - contentType: string
              path: string
        url: string
    resourceGroupName: string
    sourceControlId: string
    workspaceName: string
SourceControl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SourceControl resource accepts the following input properties:
- ContentTypes List<Union<string, Pulumi.Azure Native. Security Insights. Content Type>> 
- Array of source control content types.
- DisplayName string
- The display name of the source control
- OperationalInsights stringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- RepoType string | Pulumi.Azure Native. Security Insights. Repo Type 
- The repository type of the source control
- Repository
Pulumi.Azure Native. Security Insights. Inputs. Repository 
- Repository metadata.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the workspace.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy string | Pulumi.Type Azure Native. Security Insights. Created By Type 
- The type of identity that created the resource.
- Description string
- A description of the source control
- Id string
- The id (a Guid) of the source control
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified string | Pulumi.By Type Azure Native. Security Insights. Created By Type 
- The type of identity that last modified the resource.
- SourceControl stringId 
- Source control Id
- ContentTypes []string
- Array of source control content types.
- DisplayName string
- The display name of the source control
- OperationalInsights stringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- RepoType string | RepoType 
- The repository type of the source control
- Repository
RepositoryArgs 
- Repository metadata.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the workspace.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy string | CreatedType By Type 
- The type of identity that created the resource.
- Description string
- A description of the source control
- Id string
- The id (a Guid) of the source control
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified string | CreatedBy Type By Type 
- The type of identity that last modified the resource.
- SourceControl stringId 
- Source control Id
- contentTypes List<Either<String,ContentType>> 
- Array of source control content types.
- displayName String
- The display name of the source control
- operationalInsights StringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- repoType String | RepoType 
- The repository type of the source control
- repository Repository
- Repository metadata.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the workspace.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy String | CreatedType By Type 
- The type of identity that created the resource.
- description String
- A description of the source control
- id String
- The id (a Guid) of the source control
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified String | CreatedBy Type By Type 
- The type of identity that last modified the resource.
- sourceControl StringId 
- Source control Id
- contentTypes (string | ContentType)[] 
- Array of source control content types.
- displayName string
- The display name of the source control
- operationalInsights stringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- repoType string | RepoType 
- The repository type of the source control
- repository Repository
- Repository metadata.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- workspaceName string
- The name of the workspace.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy string | CreatedType By Type 
- The type of identity that created the resource.
- description string
- A description of the source control
- id string
- The id (a Guid) of the source control
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified string | CreatedBy Type By Type 
- The type of identity that last modified the resource.
- sourceControl stringId 
- Source control Id
- content_types Sequence[Union[str, ContentType]] 
- Array of source control content types.
- display_name str
- The display name of the source control
- operational_insights_ strresource_ provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- repo_type str | RepoType 
- The repository type of the source control
- repository
RepositoryArgs 
- Repository metadata.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- workspace_name str
- The name of the workspace.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ str | Createdtype By Type 
- The type of identity that created the resource.
- description str
- A description of the source control
- id str
- The id (a Guid) of the source control
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ str | Createdby_ type By Type 
- The type of identity that last modified the resource.
- source_control_ strid 
- Source control Id
- contentTypes List<String | "AnalyticRule" | "Workbook"> 
- Array of source control content types.
- displayName String
- The display name of the source control
- operationalInsights StringResource Provider 
- The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- repoType String | "Github" | "DevOps" 
- The repository type of the source control
- repository Property Map
- Repository metadata.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the workspace.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy String | "User" | "Application" | "ManagedType Identity" | "Key" 
- The type of identity that created the resource.
- description String
- A description of the source control
- id String
- The id (a Guid) of the source control
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified String | "User" | "Application" | "ManagedBy Type Identity" | "Key" 
- The type of identity that last modified the resource.
- sourceControl StringId 
- Source control Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SourceControl resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Azure resource name
- SystemData Pulumi.Azure Native. Security Insights. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Azure resource type
- Etag string
- Etag of the azure resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Azure resource name
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Azure resource type
- Etag string
- Etag of the azure resource
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Azure resource name
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Azure resource type
- etag String
- Etag of the azure resource
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Azure resource name
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- Azure resource type
- etag string
- Etag of the azure resource
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Azure resource name
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- Azure resource type
- etag str
- Etag of the azure resource
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Azure resource name
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Azure resource type
- etag String
- Etag of the azure resource
Supporting Types
ContentPathMap, ContentPathMapArgs      
- ContentType string | Pulumi.Azure Native. Security Insights. Content Type 
- Content type.
- Path string
- The path to the content.
- ContentType string | ContentType 
- Content type.
- Path string
- The path to the content.
- contentType String | ContentType 
- Content type.
- path String
- The path to the content.
- contentType string | ContentType 
- Content type.
- path string
- The path to the content.
- content_type str | ContentType 
- Content type.
- path str
- The path to the content.
- contentType String | "AnalyticRule" | "Workbook" 
- Content type.
- path String
- The path to the content.
ContentPathMapResponse, ContentPathMapResponseArgs        
- 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.
ContentType, ContentTypeArgs    
- AnalyticRule 
- AnalyticRule
- Workbook
- Workbook
- ContentType Analytic Rule 
- AnalyticRule
- ContentType Workbook 
- Workbook
- AnalyticRule 
- AnalyticRule
- Workbook
- Workbook
- AnalyticRule 
- AnalyticRule
- Workbook
- Workbook
- ANALYTIC_RULE
- AnalyticRule
- WORKBOOK
- Workbook
- "AnalyticRule" 
- AnalyticRule
- "Workbook"
- Workbook
CreatedByType, CreatedByTypeArgs      
- User
- User
- Application
- Application
- ManagedIdentity 
- ManagedIdentity
- Key
- Key
- CreatedBy Type User 
- User
- CreatedBy Type Application 
- Application
- CreatedBy Type Managed Identity 
- ManagedIdentity
- CreatedBy Type Key 
- Key
- User
- User
- Application
- Application
- ManagedIdentity 
- ManagedIdentity
- Key
- Key
- User
- User
- Application
- Application
- ManagedIdentity 
- ManagedIdentity
- Key
- Key
- USER
- User
- APPLICATION
- Application
- MANAGED_IDENTITY
- ManagedIdentity
- KEY
- Key
- "User"
- User
- "Application"
- Application
- "ManagedIdentity" 
- ManagedIdentity
- "Key"
- Key
RepoType, RepoTypeArgs    
- Github
- Github
- DevOps 
- DevOps
- RepoType Github 
- Github
- RepoType Dev Ops 
- DevOps
- Github
- Github
- DevOps 
- DevOps
- Github
- Github
- DevOps 
- DevOps
- GITHUB
- Github
- DEV_OPS
- DevOps
- "Github"
- Github
- "DevOps" 
- DevOps
Repository, RepositoryArgs  
- 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> 
- 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 
- 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> 
- 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[] 
- 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] 
- 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.
RepositoryResponse, RepositoryResponseArgs    
- 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, SystemDataResponseArgs      
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:securityinsights:SourceControl 789e0c1f-4a3d-43ad-809c-e713b677b04a /subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/sourcecontrols/789e0c1f-4a3d-43ad-809c-e713b677b04a 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0