@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the Defender for Storage settings for the specified storage account.
*
* Uses Azure REST API version 2024-10-01-preview.
*
* Other available API versions: 2022-12-01-preview, 2024-08-01-preview, 2025-01-01, 2025-02-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 security [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDefenderForStorage(args: GetDefenderForStorageArgs, opts?: pulumi.InvokeOptions): Promise<GetDefenderForStorageResult>;
export interface GetDefenderForStorageArgs {
/**
* The identifier of the resource.
*/
resourceId: string;
/**
* Defender for Storage setting name.
*/
settingName: string;
}
/**
* The Defender for Storage resource.
*/
export interface GetDefenderForStorageResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Resource name
*/
readonly name: string;
/**
* Defender for Storage resource properties.
*/
readonly properties: outputs.security.DefenderForStorageSettingPropertiesResponse;
/**
* Resource type
*/
readonly type: string;
}
/**
* Gets the Defender for Storage settings for the specified storage account.
*
* Uses Azure REST API version 2024-10-01-preview.
*
* Other available API versions: 2022-12-01-preview, 2024-08-01-preview, 2025-01-01, 2025-02-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 security [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDefenderForStorageOutput(args: GetDefenderForStorageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDefenderForStorageResult>;
export interface GetDefenderForStorageOutputArgs {
/**
* The identifier of the resource.
*/
resourceId: pulumi.Input<string>;
/**
* Defender for Storage setting name.
*/
settingName: pulumi.Input<string>;
}