azure-native.securityinsights.getContentTemplate
Explore with Pulumi AI
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, 2024-04-01-preview, 2024-09-01, 2024-10-01-preview, 2025-01-01-preview.
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)
public static Output<GetContentTemplateResult> getContentTemplate(GetContentTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:securityinsights:getContentTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- TemplateId string
- template Id
- WorkspaceName string
- The name of the workspace.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- TemplateId string
- template Id
- WorkspaceName string
- The name of the workspace.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- templateId String
- template Id
- workspaceName String
- The name of the workspace.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- templateId string
- template Id
- workspaceName 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- templateId String
- template Id
- workspaceName String
- The name of the workspace.
getContentTemplate Result
The following output properties are available:
- ContentId 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
- ContentKind string
- The kind of content the template is for.
- DisplayName string
- The display name of the template
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- PackageId 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.
- SystemData 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
- ContentSchema stringVersion 
- Schema version of the content. Can be used to distinguish between different flow based on the schema version
- CustomVersion 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
- FirstPublish stringDate 
- first publish date content item
- Icon string
- the icon identifier. this id can later be fetched from the content metadata
- LastPublish stringDate 
- last publish date for the content item
- MainTemplate object
- The JSON of the ARM template to deploy active content
- PackageKind string
- the packageKind of the package contains this template
- PackageName string
- the name of the package contains this template
- PreviewImages List<string>
- preview image file names. These will be taken from the solution artifacts
- PreviewImages 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
- ThreatAnalysis List<string>Tactics 
- the tactics the resource covers
- ThreatAnalysis List<string>Techniques 
- the techniques the resource covers, these have to be aligned with the tactics being used
- ContentId 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
- ContentKind string
- The kind of content the template is for.
- DisplayName string
- The display name of the template
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- PackageId string
- the package Id contains this template
- Source
MetadataSource Response 
- Source of the content. This is where/how it was created.
- SystemData 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
- 
MetadataAuthor Response 
- The creator of the content item.
- Categories
MetadataCategories Response 
- Categories for the item
- ContentSchema stringVersion 
- Schema version of the content. Can be used to distinguish between different flow based on the schema version
- CustomVersion string
- The custom version of the content. A optional free text
- Dependencies
MetadataDependencies 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
- FirstPublish stringDate 
- first publish date content item
- Icon string
- the icon identifier. this id can later be fetched from the content metadata
- LastPublish stringDate 
- last publish date for the content item
- MainTemplate interface{}
- The JSON of the ARM template to deploy active content
- PackageKind string
- the packageKind of the package contains this template
- PackageName string
- the name of the package contains this template
- PreviewImages []string
- preview image file names. These will be taken from the solution artifacts
- PreviewImages []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
MetadataSupport Response 
- Support information for the template - type, name, contact information
- ThreatAnalysis []stringTactics 
- the tactics the resource covers
- ThreatAnalysis []stringTechniques 
- the techniques the resource covers, these have to be aligned with the tactics being used
- contentId 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
- contentKind String
- The kind of content the template is for.
- displayName String
- The display name of the template
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- packageId String
- the package Id contains this template
- source
MetadataSource Response 
- Source of the content. This is where/how it was created.
- systemData 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
- 
MetadataAuthor Response 
- The creator of the content item.
- categories
MetadataCategories Response 
- Categories for the item
- contentSchema StringVersion 
- Schema version of the content. Can be used to distinguish between different flow based on the schema version
- customVersion String
- The custom version of the content. A optional free text
- dependencies
MetadataDependencies 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
- firstPublish StringDate 
- first publish date content item
- icon String
- the icon identifier. this id can later be fetched from the content metadata
- lastPublish StringDate 
- last publish date for the content item
- mainTemplate Object
- The JSON of the ARM template to deploy active content
- packageKind String
- the packageKind of the package contains this template
- packageName String
- the name of the package contains this template
- previewImages List<String>
- preview image file names. These will be taken from the solution artifacts
- previewImages 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
MetadataSupport Response 
- Support information for the template - type, name, contact information
- threatAnalysis List<String>Tactics 
- the tactics the resource covers
- threatAnalysis List<String>Techniques 
- the techniques the resource covers, these have to be aligned with the tactics being used
- contentId 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
- contentKind string
- The kind of content the template is for.
- displayName string
- The display name of the template
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- packageId string
- the package Id contains this template
- source
MetadataSource Response 
- Source of the content. This is where/how it was created.
- systemData 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
- 
MetadataAuthor Response 
- The creator of the content item.
- categories
MetadataCategories Response 
- Categories for the item
- contentSchema stringVersion 
- Schema version of the content. Can be used to distinguish between different flow based on the schema version
- customVersion string
- The custom version of the content. A optional free text
- dependencies
MetadataDependencies 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
- firstPublish stringDate 
- first publish date content item
- icon string
- the icon identifier. this id can later be fetched from the content metadata
- lastPublish stringDate 
- last publish date for the content item
- mainTemplate any
- The JSON of the ARM template to deploy active content
- packageKind string
- the packageKind of the package contains this template
- packageName string
- the name of the package contains this template
- previewImages string[]
- preview image file names. These will be taken from the solution artifacts
- previewImages 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
MetadataSupport Response 
- Support information for the template - type, name, contact information
- threatAnalysis string[]Tactics 
- the tactics the resource covers
- threatAnalysis 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. E.g. "/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
MetadataSource 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
- 
MetadataAuthor Response 
- The creator of the content item.
- categories
MetadataCategories 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
MetadataDependencies 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
MetadataSupport 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
- contentId 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
- contentKind String
- The kind of content the template is for.
- displayName String
- The display name of the template
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- packageId String
- the package Id contains this template
- source Property Map
- Source of the content. This is where/how it was created.
- systemData 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
- contentSchema StringVersion 
- Schema version of the content. Can be used to distinguish between different flow based on the schema version
- customVersion 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
- firstPublish StringDate 
- first publish date content item
- icon String
- the icon identifier. this id can later be fetched from the content metadata
- lastPublish StringDate 
- last publish date for the content item
- mainTemplate Any
- The JSON of the ARM template to deploy active content
- packageKind String
- the packageKind of the package contains this template
- packageName String
- the name of the package contains this template
- previewImages List<String>
- preview image file names. These will be taken from the solution artifacts
- previewImages 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
- threatAnalysis List<String>Tactics 
- the tactics the resource covers
- threatAnalysis List<String>Techniques 
- the techniques the resource covers, these have to be aligned with the tactics being used
Supporting Types
MetadataAuthorResponse  
MetadataCategoriesResponse  
MetadataDependenciesResponse  
- ContentId 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.
- ContentId string
- Id of the content item we depend on
- Criteria
[]MetadataDependencies 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.
- contentId String
- Id of the content item we depend on
- criteria
List<MetadataDependencies 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.
- contentId string
- Id of the content item we depend on
- criteria
MetadataDependencies 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[MetadataDependencies 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.
- contentId 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  
- 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 pulumi/pulumi-azure-native
- License
- Apache-2.0