@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.93 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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, 2025-04-01-preview, 2025-06-01, 2025-07-01-preview. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getContentPackage(args: GetContentPackageArgs, opts?: pulumi.InvokeOptions): Promise<GetContentPackageResult>;
export interface GetContentPackageArgs {
/**
* package Id
*/
packageId: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* Represents a Package in Azure Security Insights.
*/
export interface GetContentPackageResult {
/**
* The author of the package
*/
readonly author?: outputs.securityinsights.MetadataAuthorResponse;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The categories of the package
*/
readonly categories?: outputs.securityinsights.MetadataCategoriesResponse;
/**
* The content id of the package
*/
readonly contentId: string;
/**
* The package kind
*/
readonly contentKind: string;
/**
* Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package
*/
readonly contentProductId: string;
/**
* The version of the content schema.
*/
readonly contentSchemaVersion?: string;
/**
* The support tier of the package
*/
readonly dependencies?: outputs.securityinsights.MetadataDependenciesResponse;
/**
* The description of the package
*/
readonly description?: string;
/**
* The display name of the package
*/
readonly displayName: string;
/**
* Etag of the azure resource
*/
readonly etag?: string;
/**
* first publish date package item
*/
readonly firstPublishDate?: string;
/**
* the icon identifier. this id can later be fetched from the content metadata
*/
readonly icon?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Flag indicates if this template is deprecated
*/
readonly isDeprecated?: string;
/**
* Flag indicates if this package is among the featured list.
*/
readonly isFeatured?: string;
/**
* Flag indicates if this is a newly published package.
*/
readonly isNew?: string;
/**
* Flag indicates if this package is in preview.
*/
readonly isPreview?: string;
/**
* last publish date for the package item
*/
readonly lastPublishDate?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Providers for the package item
*/
readonly providers?: string[];
/**
* The publisher display name of the package
*/
readonly publisherDisplayName?: string;
/**
* The source of the package
*/
readonly source?: outputs.securityinsights.MetadataSourceResponse;
/**
* The support tier of the package
*/
readonly support?: outputs.securityinsights.MetadataSupportResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.securityinsights.SystemDataResponse;
/**
* the tactics the resource covers
*/
readonly threatAnalysisTactics?: string[];
/**
* the techniques the resource covers, these have to be aligned with the tactics being used
*/
readonly threatAnalysisTechniques?: string[];
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* the latest version number of the package
*/
readonly version: string;
}
/**
* 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, 2025-04-01-preview, 2025-06-01, 2025-07-01-preview. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getContentPackageOutput(args: GetContentPackageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContentPackageResult>;
export interface GetContentPackageOutputArgs {
/**
* package Id
*/
packageId: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}