@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.37 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a storage insight instance.
*
* Uses Azure REST API version 2023-09-01.
*
* Other available API versions: 2020-03-01-preview, 2020-08-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native operationalinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getStorageInsightConfig(args: GetStorageInsightConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageInsightConfigResult>;
export interface GetStorageInsightConfigArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Name of the storageInsightsConfigs resource
*/
storageInsightName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* The top level storage insight resource container.
*/
export interface GetStorageInsightConfigResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The names of the blob containers that the workspace should read
*/
readonly containers?: string[];
/**
* The ETag of the storage insight.
*/
readonly eTag?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The status of the storage insight
*/
readonly status: outputs.operationalinsights.StorageInsightStatusResponse;
/**
* The storage account connection details
*/
readonly storageAccount: outputs.operationalinsights.StorageAccountResponse;
/**
* The names of the Azure tables that the workspace should read
*/
readonly tables?: string[];
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a storage insight instance.
*
* Uses Azure REST API version 2023-09-01.
*
* Other available API versions: 2020-03-01-preview, 2020-08-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native operationalinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getStorageInsightConfigOutput(args: GetStorageInsightConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageInsightConfigResult>;
export interface GetStorageInsightConfigOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the storageInsightsConfigs resource
*/
storageInsightName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}