Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.securityinsights.getSourceControl
Explore with Pulumi AI
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:
- Operational
Insights stringResource Provider The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Source
Control stringId Source control Id
- Workspace
Name string The name of the workspace.
- Operational
Insights stringResource Provider The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Source
Control stringId Source control Id
- Workspace
Name string The name of the workspace.
- operational
Insights StringResource Provider The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- source
Control StringId Source control Id
- workspace
Name String The name of the workspace.
- operational
Insights stringResource Provider The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- source
Control stringId Source control Id
- workspace
Name 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.
- operational
Insights StringResource Provider The namespace of workspaces resource provider- Microsoft.OperationalInsights.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- source
Control StringId Source control Id
- workspace
Name String The name of the workspace.
getSourceControl Result
The following output properties are available:
- Content
Types List<string> Array of source control content types.
- Display
Name string The display name of the source control
- Id string
Azure resource Id
- Name string
Azure resource name
- Repo
Type string The repository type of the source control
- Repository
Pulumi.
Azure Native. Security Insights. Outputs. Repository Response Repository metadata.
- System
Data Pulumi.Azure Native. Security Insights. Outputs. System Data Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
Azure resource type
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Description string
A description of the source control
- Etag string
Etag of the azure resource
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Content
Types []string Array of source control content types.
- Display
Name string The display name of the source control
- Id string
Azure resource Id
- Name string
Azure resource name
- Repo
Type string The repository type of the source control
- Repository
Repository
Response Repository metadata.
- System
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
Azure resource type
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Description string
A description of the source control
- Etag string
Etag of the azure resource
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- content
Types List<String> Array of source control content types.
- display
Name String The display name of the source control
- id String
Azure resource Id
- name String
Azure resource name
- repo
Type String The repository type of the source control
- repository
Repository
Response Repository metadata.
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
Azure resource type
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- description String
A description of the source control
- etag String
Etag of the azure resource
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- content
Types string[] Array of source control content types.
- display
Name string The display name of the source control
- id string
Azure resource Id
- name string
Azure resource name
- repo
Type string The repository type of the source control
- repository
Repository
Response Repository metadata.
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
Azure resource type
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- description string
A description of the source control
- etag string
Etag of the azure resource
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified 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
Repository
Response 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.
- content
Types List<String> Array of source control content types.
- display
Name String The display name of the source control
- id String
Azure resource Id
- name String
Azure resource name
- repo
Type String The repository type of the source control
- repository Property Map
Repository metadata.
- system
Data Property Map Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
Azure resource type
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- description String
A description of the source control
- etag String
Etag of the azure resource
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Supporting Types
ContentPathMapResponse
- Content
Type string Content type.
- Path string
The path to the content.
- Content
Type string Content type.
- Path string
The path to the content.
- content
Type String Content type.
- path String
The path to the content.
- content
Type string Content type.
- path string
The path to the content.
- content_
type str Content type.
- path str
The path to the content.
- content
Type String Content type.
- path String
The path to the content.
RepositoryResponse
- Branch string
Branch name of repository.
- Deployment
Logs stringUrl Url to access repository action logs.
- Display
Url string Display url of repository.
- Path
Mapping 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.
- Deployment
Logs stringUrl Url to access repository action logs.
- Display
Url string Display url of repository.
- Path
Mapping []ContentPath Map Response Dictionary of source control content type and path mapping.
- Url string
Url of repository.
- branch String
Branch name of repository.
- deployment
Logs StringUrl Url to access repository action logs.
- display
Url String Display url of repository.
- path
Mapping List<ContentPath Map Response> Dictionary of source control content type and path mapping.
- url String
Url of repository.
- branch string
Branch name of repository.
- deployment
Logs stringUrl Url to access repository action logs.
- display
Url string Display url of repository.
- path
Mapping 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.
- deployment
Logs StringUrl Url to access repository action logs.
- display
Url String Display url of repository.
- path
Mapping List<Property Map> Dictionary of source control content type and path mapping.
- url String
Url of repository.
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified 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.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0