@pulumi/azure-native 2.26.0 → 2.26.1-alpha.1706107653

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,63 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../../types/output";
3
+ /**
4
+ * Gets the Defender for Storage settings for the specified storage account.
5
+ */
6
+ export declare function getDefenderForStorage(args: GetDefenderForStorageArgs, opts?: pulumi.InvokeOptions): Promise<GetDefenderForStorageResult>;
7
+ export interface GetDefenderForStorageArgs {
8
+ /**
9
+ * The identifier of the resource.
10
+ */
11
+ resourceId: string;
12
+ /**
13
+ * Defender for Storage setting name.
14
+ */
15
+ settingName: string;
16
+ }
17
+ /**
18
+ * The Defender for Storage resource.
19
+ */
20
+ export interface GetDefenderForStorageResult {
21
+ /**
22
+ * Resource Id
23
+ */
24
+ readonly id: string;
25
+ /**
26
+ * Indicates whether Defender for Storage is enabled on this storage account.
27
+ */
28
+ readonly isEnabled?: boolean;
29
+ /**
30
+ * Properties of Malware Scanning.
31
+ */
32
+ readonly malwareScanning?: outputs.security.v20221201preview.MalwareScanningPropertiesResponse;
33
+ /**
34
+ * Resource name
35
+ */
36
+ readonly name: string;
37
+ /**
38
+ * Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
39
+ */
40
+ readonly overrideSubscriptionLevelSettings?: boolean;
41
+ /**
42
+ * Properties of Sensitive Data Discovery.
43
+ */
44
+ readonly sensitiveDataDiscovery?: outputs.security.v20221201preview.SensitiveDataDiscoveryPropertiesResponse;
45
+ /**
46
+ * Resource type
47
+ */
48
+ readonly type: string;
49
+ }
50
+ /**
51
+ * Gets the Defender for Storage settings for the specified storage account.
52
+ */
53
+ export declare function getDefenderForStorageOutput(args: GetDefenderForStorageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDefenderForStorageResult>;
54
+ export interface GetDefenderForStorageOutputArgs {
55
+ /**
56
+ * The identifier of the resource.
57
+ */
58
+ resourceId: pulumi.Input<string>;
59
+ /**
60
+ * Defender for Storage setting name.
61
+ */
62
+ settingName: pulumi.Input<string>;
63
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getDefenderForStorageOutput = exports.getDefenderForStorage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Gets the Defender for Storage settings for the specified storage account.
10
+ */
11
+ function getDefenderForStorage(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("azure-native:security/v20221201preview:getDefenderForStorage", {
14
+ "resourceId": args.resourceId,
15
+ "settingName": args.settingName,
16
+ }, opts);
17
+ }
18
+ exports.getDefenderForStorage = getDefenderForStorage;
19
+ /**
20
+ * Gets the Defender for Storage settings for the specified storage account.
21
+ */
22
+ function getDefenderForStorageOutput(args, opts) {
23
+ return pulumi.output(args).apply((a) => getDefenderForStorage(a, opts));
24
+ }
25
+ exports.getDefenderForStorageOutput = getDefenderForStorageOutput;
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RGVmZW5kZXJGb3JTdG9yYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc2VjdXJpdHkvdjIwMjIxMjAxcHJldmlldy9nZXREZWZlbmRlckZvclN0b3JhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsU0FBZ0IscUJBQXFCLENBQUMsSUFBK0IsRUFBRSxJQUEyQjtJQUU5RixJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyw4REFBOEQsRUFBRTtRQUN6RixZQUFZLEVBQUUsSUFBSSxDQUFDLFVBQVU7UUFDN0IsYUFBYSxFQUFFLElBQUksQ0FBQyxXQUFXO0tBQ2xDLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFDYixDQUFDO0FBUEQsc0RBT0M7QUE4Q0Q7O0dBRUc7QUFDSCxTQUFnQiwyQkFBMkIsQ0FBQyxJQUFxQyxFQUFFLElBQTJCO0lBQzFHLE9BQU8sTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFNLEVBQUUsRUFBRSxDQUFDLHFCQUFxQixDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQ2hGLENBQUM7QUFGRCxrRUFFQyJ9
@@ -0,0 +1,6 @@
1
+ export { DefenderForStorageArgs } from "./defenderForStorage";
2
+ export type DefenderForStorage = import("./defenderForStorage").DefenderForStorage;
3
+ export declare const DefenderForStorage: typeof import("./defenderForStorage").DefenderForStorage;
4
+ export { GetDefenderForStorageArgs, GetDefenderForStorageResult, GetDefenderForStorageOutputArgs } from "./getDefenderForStorage";
5
+ export declare const getDefenderForStorage: typeof import("./getDefenderForStorage").getDefenderForStorage;
6
+ export declare const getDefenderForStorageOutput: typeof import("./getDefenderForStorage").getDefenderForStorageOutput;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getDefenderForStorageOutput = exports.getDefenderForStorage = exports.DefenderForStorage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ exports.DefenderForStorage = null;
9
+ utilities.lazyLoad(exports, ["DefenderForStorage"], () => require("./defenderForStorage"));
10
+ exports.getDefenderForStorage = null;
11
+ exports.getDefenderForStorageOutput = null;
12
+ utilities.lazyLoad(exports, ["getDefenderForStorage", "getDefenderForStorageOutput"], () => require("./getDefenderForStorage"));
13
+ const _module = {
14
+ version: utilities.getVersion(),
15
+ construct: (name, type, urn) => {
16
+ switch (type) {
17
+ case "azure-native:security/v20221201preview:DefenderForStorage":
18
+ return new exports.DefenderForStorage(name, undefined, { urn });
19
+ default:
20
+ throw new Error(`unknown resource type ${type}`);
21
+ }
22
+ },
23
+ };
24
+ pulumi.runtime.registerResourceModule("azure-native", "security/v20221201preview", _module);
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zZWN1cml0eS92MjAyMjEyMDFwcmV2aWV3L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzRUFBc0U7QUFDdEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBQ3pDLDZDQUE2QztBQUtoQyxRQUFBLGtCQUFrQixHQUE2RCxJQUFXLENBQUM7QUFDeEcsU0FBUyxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQyxFQUFFLEdBQUcsRUFBRSxDQUFDLE9BQU8sQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDLENBQUM7QUFHOUUsUUFBQSxxQkFBcUIsR0FBbUUsSUFBVyxDQUFDO0FBQ3BHLFFBQUEsMkJBQTJCLEdBQXlFLElBQVcsQ0FBQztBQUM3SCxTQUFTLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRSxDQUFDLHVCQUF1QixFQUFDLDZCQU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