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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.securityinsights.getContentTemplate
Explore with Pulumi AI
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets a template byt its identifier. Azure REST API version: 2023-06-01-preview.
Other available API versions: 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-11-01, 2023-12-01-preview, 2024-01-01-preview, 2024-03-01.
Using getContentTemplate
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 getContentTemplate(args: GetContentTemplateArgs, opts?: InvokeOptions): Promise<GetContentTemplateResult>
function getContentTemplateOutput(args: GetContentTemplateOutputArgs, opts?: InvokeOptions): Output<GetContentTemplateResult>
def get_content_template(resource_group_name: Optional[str] = None,
template_id: Optional[str] = None,
workspace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContentTemplateResult
def get_content_template_output(resource_group_name: Optional[pulumi.Input[str]] = None,
template_id: Optional[pulumi.Input[str]] = None,
workspace_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContentTemplateResult]
func LookupContentTemplate(ctx *Context, args *LookupContentTemplateArgs, opts ...InvokeOption) (*LookupContentTemplateResult, error)
func LookupContentTemplateOutput(ctx *Context, args *LookupContentTemplateOutputArgs, opts ...InvokeOption) LookupContentTemplateResultOutput
> Note: This function is named LookupContentTemplate
in the Go SDK.
public static class GetContentTemplate
{
public static Task<GetContentTemplateResult> InvokeAsync(GetContentTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetContentTemplateResult> Invoke(GetContentTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContentTemplateResult> getContentTemplate(GetContentTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:securityinsights:getContentTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Template
Id string - template Id
- Workspace
Name string - The name of the workspace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Template
Id string - template Id
- Workspace
Name string - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- template
Id String - template Id
- workspace
Name String - The name of the workspace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- template
Id string - template Id
- workspace
Name string - The name of the workspace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- template_
id str - template Id
- workspace_
name str - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- template
Id String - template Id
- workspace
Name String - The name of the workspace.
getContentTemplate Result
The following output properties are available:
- Content
Id string - Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
- Content
Kind string - The kind of content the template is for.
- Display
Name string - The display name of the template
- 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
- Package
Id string - the package Id contains this template
- Source
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Source Response - Source of the content. This is where/how it was created.
- System
Data Pulumi.Azure Native. Security Insights. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Version string
- Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
- Pulumi.
Azure Native. Security Insights. Outputs. Metadata Author Response - The creator of the content item.
- Categories
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Categories Response - Categories for the item
- Content
Schema stringVersion - Schema version of the content. Can be used to distinguish between different flow based on the schema version
- Custom
Version string - The custom version of the content. A optional free text
- Dependencies
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Dependencies Response - Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
- Etag string
- Etag of the azure resource
- First
Publish stringDate - first publish date content item
- Icon string
- the icon identifier. this id can later be fetched from the content metadata
- Last
Publish stringDate - last publish date for the content item
- Main
Template object - The JSON of the ARM template to deploy active content
- Package
Kind string - the packageKind of the package contains this template
- Package
Name string - the name of the package contains this template
- Preview
Images List<string> - preview image file names. These will be taken from the solution artifacts
- Preview
Images List<string>Dark - preview image file names. These will be taken from the solution artifacts. used for dark theme support
- Providers List<string>
- Providers for the content item
- Support
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Support Response - Support information for the template - type, name, contact information
- Threat
Analysis List<string>Tactics - the tactics the resource covers
- Threat
Analysis List<string>Techniques - the techniques the resource covers, these have to be aligned with the tactics being used
- Content
Id string - Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
- Content
Kind string - The kind of content the template is for.
- Display
Name string - The display name of the template
- 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
- Package
Id string - the package Id contains this template
- Source
Metadata
Source Response - Source of the content. This is where/how it was created.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Version string
- Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
- Metadata
Author Response - The creator of the content item.
- Categories
Metadata
Categories Response - Categories for the item
- Content
Schema stringVersion - Schema version of the content. Can be used to distinguish between different flow based on the schema version
- Custom
Version string - The custom version of the content. A optional free text
- Dependencies
Metadata
Dependencies Response - Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
- Etag string
- Etag of the azure resource
- First
Publish stringDate - first publish date content item
- Icon string
- the icon identifier. this id can later be fetched from the content metadata
- Last
Publish stringDate - last publish date for the content item
- Main
Template interface{} - The JSON of the ARM template to deploy active content
- Package
Kind string - the packageKind of the package contains this template
- Package
Name string - the name of the package contains this template
- Preview
Images []string - preview image file names. These will be taken from the solution artifacts
- Preview
Images []stringDark - preview image file names. These will be taken from the solution artifacts. used for dark theme support
- Providers []string
- Providers for the content item
- Support
Metadata
Support Response - Support information for the template - type, name, contact information
- Threat
Analysis []stringTactics - the tactics the resource covers
- Threat
Analysis []stringTechniques - the techniques the resource covers, these have to be aligned with the tactics being used
- content
Id String - Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
- content
Kind String - The kind of content the template is for.
- display
Name String - The display name of the template
- 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
- package
Id String - the package Id contains this template
- source
Metadata
Source Response - Source of the content. This is where/how it was created.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version String
- Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
- Metadata
Author Response - The creator of the content item.
- categories
Metadata
Categories Response - Categories for the item
- content
Schema StringVersion - Schema version of the content. Can be used to distinguish between different flow based on the schema version
- custom
Version String - The custom version of the content. A optional free text
- dependencies
Metadata
Dependencies Response - Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
- etag String
- Etag of the azure resource
- first
Publish StringDate - first publish date content item
- icon String
- the icon identifier. this id can later be fetched from the content metadata
- last
Publish StringDate - last publish date for the content item
- main
Template Object - The JSON of the ARM template to deploy active content
- package
Kind String - the packageKind of the package contains this template
- package
Name String - the name of the package contains this template
- preview
Images List<String> - preview image file names. These will be taken from the solution artifacts
- preview
Images List<String>Dark - preview image file names. These will be taken from the solution artifacts. used for dark theme support
- providers List<String>
- Providers for the content item
- support
Metadata
Support Response - Support information for the template - type, name, contact information
- threat
Analysis List<String>Tactics - the tactics the resource covers
- threat
Analysis List<String>Techniques - the techniques the resource covers, these have to be aligned with the tactics being used
- content
Id string - Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
- content
Kind string - The kind of content the template is for.
- display
Name string - The display name of the template
- 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
- package
Id string - the package Id contains this template
- source
Metadata
Source Response - Source of the content. This is where/how it was created.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version string
- Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
- Metadata
Author Response - The creator of the content item.
- categories
Metadata
Categories Response - Categories for the item
- content
Schema stringVersion - Schema version of the content. Can be used to distinguish between different flow based on the schema version
- custom
Version string - The custom version of the content. A optional free text
- dependencies
Metadata
Dependencies Response - Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
- etag string
- Etag of the azure resource
- first
Publish stringDate - first publish date content item
- icon string
- the icon identifier. this id can later be fetched from the content metadata
- last
Publish stringDate - last publish date for the content item
- main
Template any - The JSON of the ARM template to deploy active content
- package
Kind string - the packageKind of the package contains this template
- package
Name string - the name of the package contains this template
- preview
Images string[] - preview image file names. These will be taken from the solution artifacts
- preview
Images string[]Dark - preview image file names. These will be taken from the solution artifacts. used for dark theme support
- providers string[]
- Providers for the content item
- support
Metadata
Support Response - Support information for the template - type, name, contact information
- threat
Analysis string[]Tactics - the tactics the resource covers
- threat
Analysis string[]Techniques - the techniques the resource covers, these have to be aligned with the tactics being used
- content_
id str - Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
- content_
kind str - The kind of content the template is for.
- display_
name str - The display name of the template
- 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
- package_
id str - the package Id contains this template
- source
Metadata
Source Response - Source of the content. This is where/how it was created.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version str
- Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
- Metadata
Author Response - The creator of the content item.
- categories
Metadata
Categories Response - Categories for the item
- content_
schema_ strversion - Schema version of the content. Can be used to distinguish between different flow based on the schema version
- custom_
version str - The custom version of the content. A optional free text
- dependencies
Metadata
Dependencies Response - Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
- etag str
- Etag of the azure resource
- first_
publish_ strdate - first publish date content item
- icon str
- the icon identifier. this id can later be fetched from the content metadata
- last_
publish_ strdate - last publish date for the content item
- main_
template Any - The JSON of the ARM template to deploy active content
- package_
kind str - the packageKind of the package contains this template
- package_
name str - the name of the package contains this template
- preview_
images Sequence[str] - preview image file names. These will be taken from the solution artifacts
- preview_
images_ Sequence[str]dark - preview image file names. These will be taken from the solution artifacts. used for dark theme support
- providers Sequence[str]
- Providers for the content item
- support
Metadata
Support Response - Support information for the template - type, name, contact information
- threat_
analysis_ Sequence[str]tactics - the tactics the resource covers
- threat_
analysis_ Sequence[str]techniques - the techniques the resource covers, these have to be aligned with the tactics being used
- content
Id String - Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
- content
Kind String - The kind of content the template is for.
- display
Name String - The display name of the template
- 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
- package
Id String - the package Id contains this template
- source Property Map
- Source of the content. This is where/how it was created.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- version String
- Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
- Property Map
- The creator of the content item.
- categories Property Map
- Categories for the item
- content
Schema StringVersion - Schema version of the content. Can be used to distinguish between different flow based on the schema version
- custom
Version String - The custom version of the content. A optional free text
- dependencies Property Map
- Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
- etag String
- Etag of the azure resource
- first
Publish StringDate - first publish date content item
- icon String
- the icon identifier. this id can later be fetched from the content metadata
- last
Publish StringDate - last publish date for the content item
- main
Template Any - The JSON of the ARM template to deploy active content
- package
Kind String - the packageKind of the package contains this template
- package
Name String - the name of the package contains this template
- preview
Images List<String> - preview image file names. These will be taken from the solution artifacts
- preview
Images List<String>Dark - preview image file names. These will be taken from the solution artifacts. used for dark theme support
- providers List<String>
- Providers for the content item
- support Property Map
- Support information for the template - type, name, contact information
- threat
Analysis List<String>Tactics - the tactics the resource covers
- threat
Analysis List<String>Techniques - the techniques the resource covers, these have to be aligned with the tactics being used
Supporting Types
MetadataAuthorResponse
MetadataCategoriesResponse
MetadataDependenciesResponse
- Content
Id string - Id of the content item we depend on
- Criteria
List<Pulumi.
Azure Native. Security Insights. Inputs. Metadata Dependencies Response> - This is the list of dependencies we must fulfill, according to the AND/OR operator
- Kind string
- Type of the content item we depend on
- Name string
- Name of the content item
- Operator string
- Operator used for list of dependencies in criteria array.
- Version string
- Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
- Content
Id string - Id of the content item we depend on
- Criteria
[]Metadata
Dependencies Response - This is the list of dependencies we must fulfill, according to the AND/OR operator
- Kind string
- Type of the content item we depend on
- Name string
- Name of the content item
- Operator string
- Operator used for list of dependencies in criteria array.
- Version string
- Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
- content
Id String - Id of the content item we depend on
- criteria
List<Metadata
Dependencies Response> - This is the list of dependencies we must fulfill, according to the AND/OR operator
- kind String
- Type of the content item we depend on
- name String
- Name of the content item
- operator String
- Operator used for list of dependencies in criteria array.
- version String
- Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
- content
Id string - Id of the content item we depend on
- criteria
Metadata
Dependencies Response[] - This is the list of dependencies we must fulfill, according to the AND/OR operator
- kind string
- Type of the content item we depend on
- name string
- Name of the content item
- operator string
- Operator used for list of dependencies in criteria array.
- version string
- Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
- content_
id str - Id of the content item we depend on
- criteria
Sequence[Metadata
Dependencies Response] - This is the list of dependencies we must fulfill, according to the AND/OR operator
- kind str
- Type of the content item we depend on
- name str
- Name of the content item
- operator str
- Operator used for list of dependencies in criteria array.
- version str
- Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
- content
Id String - Id of the content item we depend on
- criteria List<Property Map>
- This is the list of dependencies we must fulfill, according to the AND/OR operator
- kind String
- Type of the content item we depend on
- name String
- Name of the content item
- operator String
- Operator used for list of dependencies in criteria array.
- version String
- Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
MetadataSourceResponse
MetadataSupportResponse
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
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.47.1 published on Monday, Jun 24, 2024 by Pulumi