1. Packages
  2. Azure Native v2
  3. API Docs
  4. securityinsights
  5. getContentPackage
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.securityinsights.getContentPackage

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets an installed packages by its id. 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.

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>
Copy
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]
Copy
func LookupContentPackage(ctx *Context, args *LookupContentPackageArgs, opts ...InvokeOption) (*LookupContentPackageResult, error)
func LookupContentPackageOutput(ctx *Context, args *LookupContentPackageOutputArgs, opts ...InvokeOption) LookupContentPackageResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetContentPackageResult> getContentPackage(GetContentPackageArgs args, InvokeOptions options)
public static Output<GetContentPackageResult> getContentPackage(GetContentPackageArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:securityinsights:getContentPackage
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PackageId
This property is required.
Changes to this property will trigger replacement.
string
package Id
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
PackageId
This property is required.
Changes to this property will trigger replacement.
string
package Id
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
packageId
This property is required.
Changes to this property will trigger replacement.
String
package Id
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
packageId
This property is required.
Changes to this property will trigger replacement.
string
package Id
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
package_id
This property is required.
Changes to this property will trigger replacement.
str
package Id
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workspace.
packageId
This property is required.
Changes to this property will trigger replacement.
String
package Id
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.

getContentPackage Result

The following output properties are available:

ContentId string
The package id
ContentKind string
The package kind
DisplayName 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
SystemData Pulumi.AzureNative.SecurityInsights.Outputs.SystemDataResponse
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
Author Pulumi.AzureNative.SecurityInsights.Outputs.MetadataAuthorResponse
The author of the package
Categories Pulumi.AzureNative.SecurityInsights.Outputs.MetadataCategoriesResponse
The categories of the package
ContentSchemaVersion string
The version of the content schema.
Dependencies Pulumi.AzureNative.SecurityInsights.Outputs.MetadataDependenciesResponse
The support tier of the package
Description string
The description of the package
Etag string
Etag of the azure resource
FirstPublishDate string
first publish date package item
Icon string
the icon identifier. this id can later be fetched from the content metadata
IsFeatured string
Flag indicates if this package is among the featured list.
IsNew string
Flag indicates if this is a newly published package.
IsPreview string
Flag indicates if this package is in preview.
LastPublishDate string
last publish date for the package item
Providers List<string>
Providers for the package item
PublisherDisplayName string
The publisher display name of the package
Source Pulumi.AzureNative.SecurityInsights.Outputs.MetadataSourceResponse
The source of the package
Support Pulumi.AzureNative.SecurityInsights.Outputs.MetadataSupportResponse
The support tier of the package
ThreatAnalysisTactics List<string>
the tactics the resource covers
ThreatAnalysisTechniques List<string>
the techniques the resource covers, these have to be aligned with the tactics being used
ContentId string
The package id
ContentKind string
The package kind
DisplayName 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
SystemData SystemDataResponse
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
Author MetadataAuthorResponse
The author of the package
Categories MetadataCategoriesResponse
The categories of the package
ContentSchemaVersion string
The version of the content schema.
Dependencies MetadataDependenciesResponse
The support tier of the package
Description string
The description of the package
Etag string
Etag of the azure resource
FirstPublishDate string
first publish date package item
Icon string
the icon identifier. this id can later be fetched from the content metadata
IsFeatured string
Flag indicates if this package is among the featured list.
IsNew string
Flag indicates if this is a newly published package.
IsPreview string
Flag indicates if this package is in preview.
LastPublishDate string
last publish date for the package item
Providers []string
Providers for the package item
PublisherDisplayName string
The publisher display name of the package
Source MetadataSourceResponse
The source of the package
Support MetadataSupportResponse
The support tier of the package
ThreatAnalysisTactics []string
the tactics the resource covers
ThreatAnalysisTechniques []string
the techniques the resource covers, these have to be aligned with the tactics being used
contentId String
The package id
contentKind String
The package kind
displayName 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
systemData SystemDataResponse
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
author MetadataAuthorResponse
The author of the package
categories MetadataCategoriesResponse
The categories of the package
contentSchemaVersion String
The version of the content schema.
dependencies MetadataDependenciesResponse
The support tier of the package
description String
The description of the package
etag String
Etag of the azure resource
firstPublishDate String
first publish date package item
icon String
the icon identifier. this id can later be fetched from the content metadata
isFeatured String
Flag indicates if this package is among the featured list.
isNew String
Flag indicates if this is a newly published package.
isPreview String
Flag indicates if this package is in preview.
lastPublishDate String
last publish date for the package item
providers List<String>
Providers for the package item
publisherDisplayName String
The publisher display name of the package
source MetadataSourceResponse
The source of the package
support MetadataSupportResponse
The support tier of the package
threatAnalysisTactics List<String>
the tactics the resource covers
threatAnalysisTechniques List<String>
the techniques the resource covers, these have to be aligned with the tactics being used
contentId string
The package id
contentKind string
The package kind
displayName 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
systemData SystemDataResponse
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
author MetadataAuthorResponse
The author of the package
categories MetadataCategoriesResponse
The categories of the package
contentSchemaVersion string
The version of the content schema.
dependencies MetadataDependenciesResponse
The support tier of the package
description string
The description of the package
etag string
Etag of the azure resource
firstPublishDate string
first publish date package item
icon string
the icon identifier. this id can later be fetched from the content metadata
isFeatured string
Flag indicates if this package is among the featured list.
isNew string
Flag indicates if this is a newly published package.
isPreview string
Flag indicates if this package is in preview.
lastPublishDate string
last publish date for the package item
providers string[]
Providers for the package item
publisherDisplayName string
The publisher display name of the package
source MetadataSourceResponse
The source of the package
support MetadataSupportResponse
The support tier of the package
threatAnalysisTactics string[]
the tactics the resource covers
threatAnalysisTechniques string[]
the techniques the resource covers, these have to be aligned with the tactics being used
content_id str
The package id
content_kind str
The package kind
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 SystemDataResponse
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
author MetadataAuthorResponse
The author of the package
categories MetadataCategoriesResponse
The categories of the package
content_schema_version str
The version of the content schema.
dependencies MetadataDependenciesResponse
The support tier of the package
description str
The description of the package
etag str
Etag of the azure resource
first_publish_date str
first publish date package item
icon str
the icon identifier. this id can later be fetched from the content metadata
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_date str
last publish date for the package item
providers Sequence[str]
Providers for the package item
publisher_display_name str
The publisher display name of the package
source MetadataSourceResponse
The source of the package
support MetadataSupportResponse
The support tier of the package
threat_analysis_tactics Sequence[str]
the tactics the resource covers
threat_analysis_techniques Sequence[str]
the techniques the resource covers, these have to be aligned with the tactics being used
contentId String
The package id
contentKind String
The package kind
displayName 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
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
the latest version number of the package
author Property Map
The author of the package
categories Property Map
The categories of the package
contentSchemaVersion String
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
firstPublishDate String
first publish date package item
icon String
the icon identifier. this id can later be fetched from the content metadata
isFeatured String
Flag indicates if this package is among the featured list.
isNew String
Flag indicates if this is a newly published package.
isPreview String
Flag indicates if this package is in preview.
lastPublishDate String
last publish date for the package item
providers List<String>
Providers for the package item
publisherDisplayName String
The publisher display name of the package
source Property Map
The source of the package
support Property Map
The support tier of the package
threatAnalysisTactics List<String>
the tactics the resource covers
threatAnalysisTechniques List<String>
the techniques the resource covers, these have to be aligned with the tactics being used

Supporting Types

MetadataAuthorResponse

Email string
Email of author contact
Link string
Link for author/vendor page
Name string
Name of the author. Company or person.
Email string
Email of author contact
Link string
Link for author/vendor page
Name string
Name of the author. Company or person.
email String
Email of author contact
link String
Link for author/vendor page
name String
Name of the author. Company or person.
email string
Email of author contact
link string
Link for author/vendor page
name string
Name of the author. Company or person.
email str
Email of author contact
link str
Link for author/vendor page
name str
Name of the author. Company or person.
email String
Email of author contact
link String
Link for author/vendor page
name String
Name of the author. Company or person.

MetadataCategoriesResponse

Domains List<string>
domain for the solution content item
Verticals List<string>
Industry verticals for the solution content item
Domains []string
domain for the solution content item
Verticals []string
Industry verticals for the solution content item
domains List<String>
domain for the solution content item
verticals List<String>
Industry verticals for the solution content item
domains string[]
domain for the solution content item
verticals string[]
Industry verticals for the solution content item
domains Sequence[str]
domain for the solution content item
verticals Sequence[str]
Industry verticals for the solution content item
domains List<String>
domain for the solution content item
verticals List<String>
Industry verticals for the solution content item

MetadataDependenciesResponse

ContentId string
Id of the content item we depend on
Criteria List<Pulumi.AzureNative.SecurityInsights.Inputs.MetadataDependenciesResponse>
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 []MetadataDependenciesResponse
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<MetadataDependenciesResponse>
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 MetadataDependenciesResponse[]
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[MetadataDependenciesResponse]
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

Kind This property is required. string
Source type of the content
Name string
Name of the content source. The repo name, solution name, LA workspace name etc.
SourceId string
ID of the content source. The solution ID, workspace ID, etc
Kind This property is required. string
Source type of the content
Name string
Name of the content source. The repo name, solution name, LA workspace name etc.
SourceId string
ID of the content source. The solution ID, workspace ID, etc
kind This property is required. String
Source type of the content
name String
Name of the content source. The repo name, solution name, LA workspace name etc.
sourceId String
ID of the content source. The solution ID, workspace ID, etc
kind This property is required. string
Source type of the content
name string
Name of the content source. The repo name, solution name, LA workspace name etc.
sourceId string
ID of the content source. The solution ID, workspace ID, etc
kind This property is required. str
Source type of the content
name str
Name of the content source. The repo name, solution name, LA workspace name etc.
source_id str
ID of the content source. The solution ID, workspace ID, etc
kind This property is required. String
Source type of the content
name String
Name of the content source. The repo name, solution name, LA workspace name etc.
sourceId String
ID of the content source. The solution ID, workspace ID, etc

MetadataSupportResponse

Tier This property is required. string
Type of support for content item
Email string
Email of support contact
Link string
Link for support help, like to support page to open a ticket etc.
Name string
Name of the support contact. Company or person.
Tier This property is required. string
Type of support for content item
Email string
Email of support contact
Link string
Link for support help, like to support page to open a ticket etc.
Name string
Name of the support contact. Company or person.
tier This property is required. String
Type of support for content item
email String
Email of support contact
link String
Link for support help, like to support page to open a ticket etc.
name String
Name of the support contact. Company or person.
tier This property is required. string
Type of support for content item
email string
Email of support contact
link string
Link for support help, like to support page to open a ticket etc.
name string
Name of the support contact. Company or person.
tier This property is required. str
Type of support for content item
email str
Email of support contact
link str
Link for support help, like to support page to open a ticket etc.
name str
Name of the support contact. Company or person.
tier This property is required. String
Type of support for content item
email String
Email of support contact
link String
Link for support help, like to support page to open a ticket etc.
name String
Name of the support contact. Company or person.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
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.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
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.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
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.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
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.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi