azure-native.securityinsights.getContentPackage
Explore with Pulumi AI
Gets an installed packages by its id.
Uses Azure REST API version 2024-09-01.
Other available API versions: 2023-04-01-preview, 2023-05-01-preview, 2023-06-01-preview, 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-10-01-preview, 2025-01-01-preview, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native securityinsights [ApiVersion]. See the version guide for details.
Using getContentPackage
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 getContentPackage(args: GetContentPackageArgs, opts?: InvokeOptions): Promise<GetContentPackageResult>
function getContentPackageOutput(args: GetContentPackageOutputArgs, opts?: InvokeOptions): Output<GetContentPackageResult>def get_content_package(package_id: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetContentPackageResult
def get_content_package_output(package_id: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        workspace_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetContentPackageResult]func LookupContentPackage(ctx *Context, args *LookupContentPackageArgs, opts ...InvokeOption) (*LookupContentPackageResult, error)
func LookupContentPackageOutput(ctx *Context, args *LookupContentPackageOutputArgs, opts ...InvokeOption) LookupContentPackageResultOutput> Note: This function is named LookupContentPackage in the Go SDK.
public static class GetContentPackage 
{
    public static Task<GetContentPackageResult> InvokeAsync(GetContentPackageArgs args, InvokeOptions? opts = null)
    public static Output<GetContentPackageResult> Invoke(GetContentPackageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContentPackageResult> getContentPackage(GetContentPackageArgs args, InvokeOptions options)
public static Output<GetContentPackageResult> getContentPackage(GetContentPackageArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:securityinsights:getContentPackage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Package
Id string - package Id
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Workspace
Name string - The name of the workspace.
 
- Package
Id string - package Id
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Workspace
Name string - The name of the workspace.
 
- package
Id String - package Id
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - workspace
Name String - The name of the workspace.
 
- package
Id string - package Id
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - workspace
Name string - The name of the workspace.
 
- package_
id str - package Id
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 - workspace_
name str - The name of the workspace.
 
- package
Id String - package Id
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - workspace
Name String - The name of the workspace.
 
getContentPackage Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Content
Id string - The content id of the package
 - Content
Kind string - The package kind
 - Content
Product stringId  - Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
 - Display
Name string - The display name of the package
 - 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
 - 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
 - the latest version number of the package
 - 
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Author Response  - The author of the package
 - Categories
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Categories Response  - The categories of the package
 - Content
Schema stringVersion  - The version of the content schema.
 - Dependencies
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Dependencies Response  - The support tier of the package
 - Description string
 - The description of the package
 - Etag string
 - Etag of the azure resource
 - First
Publish stringDate  - first publish date package item
 - Icon string
 - the icon identifier. this id can later be fetched from the content metadata
 - Is
Deprecated string - Flag indicates if this template is deprecated
 - Is
Featured string - Flag indicates if this package is among the featured list.
 - Is
New string - Flag indicates if this is a newly published package.
 - Is
Preview string - Flag indicates if this package is in preview.
 - Last
Publish stringDate  - last publish date for the package item
 - Providers List<string>
 - Providers for the package item
 - Publisher
Display stringName  - The publisher display name of the package
 - Source
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Source Response  - The source of the package
 - Support
Pulumi.
Azure Native. Security Insights. Outputs. Metadata Support Response  - The support tier of the package
 - 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
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Content
Id string - The content id of the package
 - Content
Kind string - The package kind
 - Content
Product stringId  - Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
 - Display
Name string - The display name of the package
 - 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
 - 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
 - the latest version number of the package
 - 
Metadata
Author Response  - The author of the package
 - Categories
Metadata
Categories Response  - The categories of the package
 - Content
Schema stringVersion  - The version of the content schema.
 - Dependencies
Metadata
Dependencies Response  - The support tier of the package
 - Description string
 - The description of the package
 - Etag string
 - Etag of the azure resource
 - First
Publish stringDate  - first publish date package item
 - Icon string
 - the icon identifier. this id can later be fetched from the content metadata
 - Is
Deprecated string - Flag indicates if this template is deprecated
 - Is
Featured string - Flag indicates if this package is among the featured list.
 - Is
New string - Flag indicates if this is a newly published package.
 - Is
Preview string - Flag indicates if this package is in preview.
 - Last
Publish stringDate  - last publish date for the package item
 - Providers []string
 - Providers for the package item
 - Publisher
Display stringName  - The publisher display name of the package
 - Source
Metadata
Source Response  - The source of the package
 - Support
Metadata
Support Response  - The support tier of the package
 - 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
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - content
Id String - The content id of the package
 - content
Kind String - The package kind
 - content
Product StringId  - Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
 - display
Name String - The display name of the package
 - 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
 - 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
 - the latest version number of the package
 - 
Metadata
Author Response  - The author of the package
 - categories
Metadata
Categories Response  - The categories of the package
 - content
Schema StringVersion  - The version of the content schema.
 - dependencies
Metadata
Dependencies Response  - The support tier of the package
 - description String
 - The description of the package
 - etag String
 - Etag of the azure resource
 - first
Publish StringDate  - first publish date package item
 - icon String
 - the icon identifier. this id can later be fetched from the content metadata
 - is
Deprecated String - Flag indicates if this template is deprecated
 - is
Featured String - Flag indicates if this package is among the featured list.
 - is
New String - Flag indicates if this is a newly published package.
 - is
Preview String - Flag indicates if this package is in preview.
 - last
Publish StringDate  - last publish date for the package item
 - providers List<String>
 - Providers for the package item
 - publisher
Display StringName  - The publisher display name of the package
 - source
Metadata
Source Response  - The source of the package
 - support
Metadata
Support Response  - The support tier of the package
 - 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
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - content
Id string - The content id of the package
 - content
Kind string - The package kind
 - content
Product stringId  - Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
 - display
Name string - The display name of the package
 - 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
 - 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
 - the latest version number of the package
 - 
Metadata
Author Response  - The author of the package
 - categories
Metadata
Categories Response  - The categories of the package
 - content
Schema stringVersion  - The version of the content schema.
 - dependencies
Metadata
Dependencies Response  - The support tier of the package
 - description string
 - The description of the package
 - etag string
 - Etag of the azure resource
 - first
Publish stringDate  - first publish date package item
 - icon string
 - the icon identifier. this id can later be fetched from the content metadata
 - is
Deprecated string - Flag indicates if this template is deprecated
 - is
Featured string - Flag indicates if this package is among the featured list.
 - is
New string - Flag indicates if this is a newly published package.
 - is
Preview string - Flag indicates if this package is in preview.
 - last
Publish stringDate  - last publish date for the package item
 - providers string[]
 - Providers for the package item
 - publisher
Display stringName  - The publisher display name of the package
 - source
Metadata
Source Response  - The source of the package
 - support
Metadata
Support Response  - The support tier of the package
 - 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
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - content_
id str - The content id of the package
 - content_
kind str - The package kind
 - content_
product_ strid  - Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
 - display_
name str - The display name of the package
 - 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
 - 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
 - the latest version number of the package
 - 
Metadata
Author Response  - The author of the package
 - categories
Metadata
Categories Response  - The categories of the package
 - content_
schema_ strversion  - The version of the content schema.
 - dependencies
Metadata
Dependencies Response  - The support tier of the package
 - description str
 - The description of the package
 - etag str
 - Etag of the azure resource
 - first_
publish_ strdate  - first publish date package item
 - icon str
 - the icon identifier. this id can later be fetched from the content metadata
 - is_
deprecated str - Flag indicates if this template is deprecated
 - is_
featured str - Flag indicates if this package is among the featured list.
 - is_
new str - Flag indicates if this is a newly published package.
 - is_
preview str - Flag indicates if this package is in preview.
 - last_
publish_ strdate  - last publish date for the package item
 - providers Sequence[str]
 - Providers for the package item
 - publisher_
display_ strname  - The publisher display name of the package
 - source
Metadata
Source Response  - The source of the package
 - support
Metadata
Support Response  - The support tier of the package
 - 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
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - content
Id String - The content id of the package
 - content
Kind String - The package kind
 - content
Product StringId  - Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
 - display
Name String - The display name of the package
 - 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
 - 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
 - the latest version number of the package
 - Property Map
 - The author of the package
 - categories Property Map
 - The categories of the package
 - content
Schema StringVersion  - The version of the content schema.
 - dependencies Property Map
 - The support tier of the package
 - description String
 - The description of the package
 - etag String
 - Etag of the azure resource
 - first
Publish StringDate  - first publish date package item
 - icon String
 - the icon identifier. this id can later be fetched from the content metadata
 - is
Deprecated String - Flag indicates if this template is deprecated
 - is
Featured String - Flag indicates if this package is among the featured list.
 - is
New String - Flag indicates if this is a newly published package.
 - is
Preview String - Flag indicates if this package is in preview.
 - last
Publish StringDate  - last publish date for the package item
 - providers List<String>
 - Providers for the package item
 - publisher
Display StringName  - The publisher display name of the package
 - source Property Map
 - The source of the package
 - support Property Map
 - The support tier of the package
 - 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