ContentPackage

class ContentPackage : KotlinCustomResource

Represents a Package in Azure Security Insights. Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-06-01-preview. 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/#accessing-any-api-version-via-local-packages for details.

Example Usage

Install a package to the workspace.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var contentPackage = new AzureNative.SecurityInsights.ContentPackage("contentPackage", new()
{
ContentId = "str.azure-sentinel-solution-str",
ContentKind = AzureNative.SecurityInsights.PackageKind.Solution,
ContentProductId = "str.azure-sentinel-solution-str-sl-igl6jawr4gwmu",
DisplayName = "str",
PackageId = "str.azure-sentinel-solution-str",
ResourceGroupName = "myRg",
Version = "2.0.0",
WorkspaceName = "myWorkspace",
});
});
package main
import (
securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityinsights.NewContentPackage(ctx, "contentPackage", &securityinsights.ContentPackageArgs{
ContentId: pulumi.String("str.azure-sentinel-solution-str"),
ContentKind: pulumi.String(securityinsights.PackageKindSolution),
ContentProductId: pulumi.String("str.azure-sentinel-solution-str-sl-igl6jawr4gwmu"),
DisplayName: pulumi.String("str"),
PackageId: pulumi.String("str.azure-sentinel-solution-str"),
ResourceGroupName: pulumi.String("myRg"),
Version: pulumi.String("2.0.0"),
WorkspaceName: pulumi.String("myWorkspace"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityinsights.ContentPackage;
import com.pulumi.azurenative.securityinsights.ContentPackageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var contentPackage = new ContentPackage("contentPackage", ContentPackageArgs.builder()
.contentId("str.azure-sentinel-solution-str")
.contentKind("Solution")
.contentProductId("str.azure-sentinel-solution-str-sl-igl6jawr4gwmu")
.displayName("str")
.packageId("str.azure-sentinel-solution-str")
.resourceGroupName("myRg")
.version("2.0.0")
.workspaceName("myWorkspace")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:securityinsights:ContentPackage str.azure-sentinel-solution-str /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentPackages/{packageId}

Properties

Link copied to clipboard

The author of the package

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

The categories of the package

Link copied to clipboard
val contentId: Output<String>

The content id of the package

Link copied to clipboard
val contentKind: Output<String>

The package kind

Link copied to clipboard

Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package

Link copied to clipboard

The version of the content schema.

Link copied to clipboard

The support tier of the package

Link copied to clipboard
val description: Output<String>?

The description of the package

Link copied to clipboard
val displayName: Output<String>

The display name of the package

Link copied to clipboard
val etag: Output<String>?

Etag of the azure resource

Link copied to clipboard
val firstPublishDate: Output<String>?

first publish date package item

Link copied to clipboard
val icon: Output<String>?

the icon identifier. this id can later be fetched from the content metadata

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isDeprecated: Output<String>?

Flag indicates if this template is deprecated

Link copied to clipboard
val isFeatured: Output<String>?

Flag indicates if this package is among the featured list.

Link copied to clipboard
val isNew: Output<String>?

Flag indicates if this is a newly published package.

Link copied to clipboard
val isPreview: Output<String>?

Flag indicates if this package is in preview.

Link copied to clipboard
val lastPublishDate: Output<String>?

last publish date for the package item

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val providers: Output<List<String>>?

Providers for the package item

Link copied to clipboard

The publisher display name of the package

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The source of the package

Link copied to clipboard

The support tier of the package

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard

the tactics the resource covers

Link copied to clipboard

the techniques the resource covers, these have to be aligned with the tactics being used

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val version: Output<String>

the latest version number of the package