@pulumi/azure 5.74.0 → 5.75.0-alpha.1715170917
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.
- package/appservice/activeSlot.d.ts +1 -1
- package/appservice/activeSlot.js +1 -1
- package/appservice/appService.d.ts +1 -1
- package/appservice/appService.js +1 -1
- package/appservice/functionApp.d.ts +1 -1
- package/appservice/functionApp.js +1 -1
- package/appservice/functionAppSlot.d.ts +1 -1
- package/appservice/functionAppSlot.js +1 -1
- package/appservice/hybridConnection.d.ts +1 -1
- package/appservice/hybridConnection.js +1 -1
- package/appservice/plan.d.ts +1 -1
- package/appservice/plan.js +1 -1
- package/appservice/slot.d.ts +1 -1
- package/appservice/slot.js +1 -1
- package/appservice/sourceCodeToken.d.ts +1 -1
- package/appservice/sourceCodeToken.js +1 -1
- package/batch/getAccount.d.ts +1 -10
- package/batch/getAccount.js +0 -1
- package/batch/getAccount.js.map +1 -1
- package/compute/linuxVirtualMachine.d.ts +3 -3
- package/compute/scaleSet.d.ts +1 -1
- package/compute/virtualMachine.d.ts +1 -1
- package/graph/account.d.ts +1 -1
- package/graph/account.js +1 -1
- package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.d.ts +31 -2
- package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.js +27 -0
- package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.d.ts +21 -6
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.js +2 -3
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.d.ts +5 -2
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js +2 -3
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js.map +1 -1
- package/loadtest/loadTest.d.ts +12 -14
- package/loadtest/loadTest.js +2 -14
- package/loadtest/loadTest.js.map +1 -1
- package/monitoring/actionRuleActionGroup.d.ts +1 -1
- package/monitoring/actionRuleActionGroup.js +1 -1
- package/monitoring/actionRuleSuppression.d.ts +1 -1
- package/monitoring/actionRuleSuppression.js +1 -1
- package/package.json +1 -1
- package/storage/containerImmutabilityPolicy.d.ts +146 -0
- package/storage/containerImmutabilityPolicy.js +107 -0
- package/storage/containerImmutabilityPolicy.js.map +1 -0
- package/storage/customerManagedKey.d.ts +15 -3
- package/storage/customerManagedKey.js +2 -0
- package/storage/customerManagedKey.js.map +1 -1
- package/storage/index.d.ts +6 -0
- package/storage/index.js +12 -2
- package/storage/index.js.map +1 -1
- package/storage/sync.d.ts +8 -0
- package/storage/sync.js +2 -0
- package/storage/sync.js.map +1 -1
- package/storage/syncServerEndpoint.d.ts +205 -0
- package/storage/syncServerEndpoint.js +129 -0
- package/storage/syncServerEndpoint.js.map +1 -0
- package/types/input.d.ts +51 -30
- package/types/output.d.ts +53 -20
package/loadtest/loadTest.d.ts
CHANGED
|
@@ -28,20 +28,6 @@ import * as outputs from "../types/output";
|
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
31
|
-
* ## Blocks Reference
|
|
32
|
-
*
|
|
33
|
-
* ### `identity` Block
|
|
34
|
-
*
|
|
35
|
-
* The `identity` block supports the following arguments:
|
|
36
|
-
*
|
|
37
|
-
* * `type` - (Required) Specifies the type of Managed Identity that should be assigned to this Load Test. Possible values are `SystemAssigned`, `SystemAssigned, UserAssigned` and `UserAssigned`.
|
|
38
|
-
* * `identityIds` - (Optional) A list of the User Assigned Identity IDs that should be assigned to this Load Test.
|
|
39
|
-
*
|
|
40
|
-
* In addition to the arguments defined above, the `identity` block exports the following attributes:
|
|
41
|
-
*
|
|
42
|
-
* * `principalId` - The Principal ID for the System-Assigned Managed Identity assigned to this Load Test.
|
|
43
|
-
* * `tenantId` - The Tenant ID for the System-Assigned Managed Identity assigned to this Load Test.
|
|
44
|
-
*
|
|
45
31
|
* ## Import
|
|
46
32
|
*
|
|
47
33
|
* An existing Load Test can be imported into Terraform using the `resource id`, e.g.
|
|
@@ -80,6 +66,10 @@ export declare class LoadTest extends pulumi.CustomResource {
|
|
|
80
66
|
* Description of the resource. Changing this forces a new Load Test to be created.
|
|
81
67
|
*/
|
|
82
68
|
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* An `encryption` block as defined below. Changing this forces a new Load Test to be created.
|
|
71
|
+
*/
|
|
72
|
+
readonly encryption: pulumi.Output<outputs.loadtest.LoadTestEncryption | undefined>;
|
|
83
73
|
/**
|
|
84
74
|
* An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
|
|
85
75
|
*/
|
|
@@ -123,6 +113,10 @@ export interface LoadTestState {
|
|
|
123
113
|
* Description of the resource. Changing this forces a new Load Test to be created.
|
|
124
114
|
*/
|
|
125
115
|
description?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* An `encryption` block as defined below. Changing this forces a new Load Test to be created.
|
|
118
|
+
*/
|
|
119
|
+
encryption?: pulumi.Input<inputs.loadtest.LoadTestEncryption>;
|
|
126
120
|
/**
|
|
127
121
|
* An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
|
|
128
122
|
*/
|
|
@@ -154,6 +148,10 @@ export interface LoadTestArgs {
|
|
|
154
148
|
* Description of the resource. Changing this forces a new Load Test to be created.
|
|
155
149
|
*/
|
|
156
150
|
description?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* An `encryption` block as defined below. Changing this forces a new Load Test to be created.
|
|
153
|
+
*/
|
|
154
|
+
encryption?: pulumi.Input<inputs.loadtest.LoadTestEncryption>;
|
|
157
155
|
/**
|
|
158
156
|
* An `identity` block as defined below. Specifies the Managed Identity which should be assigned to this Load Test.
|
|
159
157
|
*/
|
package/loadtest/loadTest.js
CHANGED
|
@@ -32,20 +32,6 @@ const utilities = require("../utilities");
|
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
|
-
* ## Blocks Reference
|
|
36
|
-
*
|
|
37
|
-
* ### `identity` Block
|
|
38
|
-
*
|
|
39
|
-
* The `identity` block supports the following arguments:
|
|
40
|
-
*
|
|
41
|
-
* * `type` - (Required) Specifies the type of Managed Identity that should be assigned to this Load Test. Possible values are `SystemAssigned`, `SystemAssigned, UserAssigned` and `UserAssigned`.
|
|
42
|
-
* * `identityIds` - (Optional) A list of the User Assigned Identity IDs that should be assigned to this Load Test.
|
|
43
|
-
*
|
|
44
|
-
* In addition to the arguments defined above, the `identity` block exports the following attributes:
|
|
45
|
-
*
|
|
46
|
-
* * `principalId` - The Principal ID for the System-Assigned Managed Identity assigned to this Load Test.
|
|
47
|
-
* * `tenantId` - The Tenant ID for the System-Assigned Managed Identity assigned to this Load Test.
|
|
48
|
-
*
|
|
49
35
|
* ## Import
|
|
50
36
|
*
|
|
51
37
|
* An existing Load Test can be imported into Terraform using the `resource id`, e.g.
|
|
@@ -68,6 +54,7 @@ class LoadTest extends pulumi.CustomResource {
|
|
|
68
54
|
const state = argsOrState;
|
|
69
55
|
resourceInputs["dataPlaneUri"] = state ? state.dataPlaneUri : undefined;
|
|
70
56
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
57
|
+
resourceInputs["encryption"] = state ? state.encryption : undefined;
|
|
71
58
|
resourceInputs["identity"] = state ? state.identity : undefined;
|
|
72
59
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
73
60
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -80,6 +67,7 @@ class LoadTest extends pulumi.CustomResource {
|
|
|
80
67
|
throw new Error("Missing required property 'resourceGroupName'");
|
|
81
68
|
}
|
|
82
69
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
70
|
+
resourceInputs["encryption"] = args ? args.encryption : undefined;
|
|
83
71
|
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
84
72
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
85
73
|
resourceInputs["name"] = args ? args.name : undefined;
|
package/loadtest/loadTest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadTest.js","sourceRoot":"","sources":["../../loadtest/loadTest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"loadTest.js","sourceRoot":"","sources":["../../loadtest/loadTest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAqE/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CA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C,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAjGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAmGC;AArFG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages a Monitor Action Rule which type is action group.
|
|
6
6
|
*
|
|
7
|
-
* !> **NOTE:** This resource has been deprecated in version
|
|
7
|
+
* !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.monitoring.AlertProcessingRuleActionGroup` resource instead.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a Monitor Action Rule which type is action group.
|
|
10
10
|
*
|
|
11
|
-
* !> **NOTE:** This resource has been deprecated in version
|
|
11
|
+
* !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.monitoring.AlertProcessingRuleActionGroup` resource instead.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages a Monitor Action Rule which type is suppression.
|
|
6
6
|
*
|
|
7
|
-
* !> **NOTE:** This resource has been deprecated in version
|
|
7
|
+
* !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.monitoring.AlertProcessingRuleSuppression` resource instead.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a Monitor Action Rule which type is suppression.
|
|
10
10
|
*
|
|
11
|
-
* !> **NOTE:** This resource has been deprecated in version
|
|
11
|
+
* !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.monitoring.AlertProcessingRuleSuppression` resource instead.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azure",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.75.0-alpha.1715170917+6c5ab4f",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an Immutability Policy for a Container within an Azure Storage Account.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
16
|
+
* name: "examplestoraccount",
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* accountTier: "Standard",
|
|
20
|
+
* accountReplicationType: "LRS",
|
|
21
|
+
* tags: {
|
|
22
|
+
* environment: "staging",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* const exampleContainer = new azure.storage.Container("example", {
|
|
26
|
+
* name: "example",
|
|
27
|
+
* storageAccountName: exampleAccount.name,
|
|
28
|
+
* containerAccessType: "private",
|
|
29
|
+
* });
|
|
30
|
+
* const exampleContainerImmutabilityPolicy = new azure.storage.ContainerImmutabilityPolicy("example", {
|
|
31
|
+
* storageContainerResourceManagerId: exampleContainer.resourceManagerId,
|
|
32
|
+
* immutabilityPeriodInDays: 14,
|
|
33
|
+
* protectedAppendWritesAllEnabled: false,
|
|
34
|
+
* protectedAppendWritesEnabled: true,
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* Storage Container Immutability Policies can be imported using the `resource id`, e.g.
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import azure:storage/containerImmutabilityPolicy:ContainerImmutabilityPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount/blobServices/default/containers/mycontainer/immutabilityPolicies/default
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class ContainerImmutabilityPolicy extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing ContainerImmutabilityPolicy resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContainerImmutabilityPolicyState, opts?: pulumi.CustomResourceOptions): ContainerImmutabilityPolicy;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of ContainerImmutabilityPolicy. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is ContainerImmutabilityPolicy;
|
|
62
|
+
/**
|
|
63
|
+
* The time interval in days that the data needs to be kept in a non-erasable and non-modifiable state.
|
|
64
|
+
*/
|
|
65
|
+
readonly immutabilityPeriodInDays: pulumi.Output<number>;
|
|
66
|
+
/**
|
|
67
|
+
* Whether to lock this immutability policy. Cannot be set to `false` once the policy has been locked.
|
|
68
|
+
*
|
|
69
|
+
* !> **Locking an Immutability Policy** Once an Immutability Policy has been locked, it cannot be unlocked. After locking, it will only be possible to increase the value for `retentionPeriodInDays` up to 5 times for the lifetime of the policy. No other properties will be updateable. Furthermore, the Storage Container and the Storage Account in which it resides will become protected by the policy. It will no longer be possible to delete the Storage Container or the Storage Account. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-policy-configure-container-scope?tabs=azure-portal#lock-a-time-based-retention-policy) for more information.
|
|
70
|
+
*/
|
|
71
|
+
readonly locked: pulumi.Output<boolean | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Whether to allow protected append writes to block and append blobs to the container. Defaults to `false`. Cannot be set with `protectedAppendWritesEnabled`.
|
|
74
|
+
*/
|
|
75
|
+
readonly protectedAppendWritesAllEnabled: pulumi.Output<boolean | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Whether to allow protected append writes to append blobs to the container. Defaults to `false`. Cannot be set with `protectedAppendWritesAllEnabled`.
|
|
78
|
+
*/
|
|
79
|
+
readonly protectedAppendWritesEnabled: pulumi.Output<boolean | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The Resource Manager ID of the Storage Container where this Immutability Policy should be applied. Changing this forces a new resource to be created.
|
|
82
|
+
*/
|
|
83
|
+
readonly storageContainerResourceManagerId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a ContainerImmutabilityPolicy resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args: ContainerImmutabilityPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering ContainerImmutabilityPolicy resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface ContainerImmutabilityPolicyState {
|
|
97
|
+
/**
|
|
98
|
+
* The time interval in days that the data needs to be kept in a non-erasable and non-modifiable state.
|
|
99
|
+
*/
|
|
100
|
+
immutabilityPeriodInDays?: pulumi.Input<number>;
|
|
101
|
+
/**
|
|
102
|
+
* Whether to lock this immutability policy. Cannot be set to `false` once the policy has been locked.
|
|
103
|
+
*
|
|
104
|
+
* !> **Locking an Immutability Policy** Once an Immutability Policy has been locked, it cannot be unlocked. After locking, it will only be possible to increase the value for `retentionPeriodInDays` up to 5 times for the lifetime of the policy. No other properties will be updateable. Furthermore, the Storage Container and the Storage Account in which it resides will become protected by the policy. It will no longer be possible to delete the Storage Container or the Storage Account. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-policy-configure-container-scope?tabs=azure-portal#lock-a-time-based-retention-policy) for more information.
|
|
105
|
+
*/
|
|
106
|
+
locked?: pulumi.Input<boolean>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether to allow protected append writes to block and append blobs to the container. Defaults to `false`. Cannot be set with `protectedAppendWritesEnabled`.
|
|
109
|
+
*/
|
|
110
|
+
protectedAppendWritesAllEnabled?: pulumi.Input<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* Whether to allow protected append writes to append blobs to the container. Defaults to `false`. Cannot be set with `protectedAppendWritesAllEnabled`.
|
|
113
|
+
*/
|
|
114
|
+
protectedAppendWritesEnabled?: pulumi.Input<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* The Resource Manager ID of the Storage Container where this Immutability Policy should be applied. Changing this forces a new resource to be created.
|
|
117
|
+
*/
|
|
118
|
+
storageContainerResourceManagerId?: pulumi.Input<string>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The set of arguments for constructing a ContainerImmutabilityPolicy resource.
|
|
122
|
+
*/
|
|
123
|
+
export interface ContainerImmutabilityPolicyArgs {
|
|
124
|
+
/**
|
|
125
|
+
* The time interval in days that the data needs to be kept in a non-erasable and non-modifiable state.
|
|
126
|
+
*/
|
|
127
|
+
immutabilityPeriodInDays: pulumi.Input<number>;
|
|
128
|
+
/**
|
|
129
|
+
* Whether to lock this immutability policy. Cannot be set to `false` once the policy has been locked.
|
|
130
|
+
*
|
|
131
|
+
* !> **Locking an Immutability Policy** Once an Immutability Policy has been locked, it cannot be unlocked. After locking, it will only be possible to increase the value for `retentionPeriodInDays` up to 5 times for the lifetime of the policy. No other properties will be updateable. Furthermore, the Storage Container and the Storage Account in which it resides will become protected by the policy. It will no longer be possible to delete the Storage Container or the Storage Account. Please refer to [official documentation](https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-policy-configure-container-scope?tabs=azure-portal#lock-a-time-based-retention-policy) for more information.
|
|
132
|
+
*/
|
|
133
|
+
locked?: pulumi.Input<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* Whether to allow protected append writes to block and append blobs to the container. Defaults to `false`. Cannot be set with `protectedAppendWritesEnabled`.
|
|
136
|
+
*/
|
|
137
|
+
protectedAppendWritesAllEnabled?: pulumi.Input<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* Whether to allow protected append writes to append blobs to the container. Defaults to `false`. Cannot be set with `protectedAppendWritesAllEnabled`.
|
|
140
|
+
*/
|
|
141
|
+
protectedAppendWritesEnabled?: pulumi.Input<boolean>;
|
|
142
|
+
/**
|
|
143
|
+
* The Resource Manager ID of the Storage Container where this Immutability Policy should be applied. Changing this forces a new resource to be created.
|
|
144
|
+
*/
|
|
145
|
+
storageContainerResourceManagerId: pulumi.Input<string>;
|
|
146
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.ContainerImmutabilityPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Immutability Policy for a Container within an Azure Storage Account.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
22
|
+
* name: "examplestoraccount",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* accountTier: "Standard",
|
|
26
|
+
* accountReplicationType: "LRS",
|
|
27
|
+
* tags: {
|
|
28
|
+
* environment: "staging",
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* const exampleContainer = new azure.storage.Container("example", {
|
|
32
|
+
* name: "example",
|
|
33
|
+
* storageAccountName: exampleAccount.name,
|
|
34
|
+
* containerAccessType: "private",
|
|
35
|
+
* });
|
|
36
|
+
* const exampleContainerImmutabilityPolicy = new azure.storage.ContainerImmutabilityPolicy("example", {
|
|
37
|
+
* storageContainerResourceManagerId: exampleContainer.resourceManagerId,
|
|
38
|
+
* immutabilityPeriodInDays: 14,
|
|
39
|
+
* protectedAppendWritesAllEnabled: false,
|
|
40
|
+
* protectedAppendWritesEnabled: true,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* Storage Container Immutability Policies can be imported using the `resource id`, e.g.
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import azure:storage/containerImmutabilityPolicy:ContainerImmutabilityPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount/blobServices/default/containers/mycontainer/immutabilityPolicies/default
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class ContainerImmutabilityPolicy extends pulumi.CustomResource {
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["immutabilityPeriodInDays"] = state ? state.immutabilityPeriodInDays : undefined;
|
|
59
|
+
resourceInputs["locked"] = state ? state.locked : undefined;
|
|
60
|
+
resourceInputs["protectedAppendWritesAllEnabled"] = state ? state.protectedAppendWritesAllEnabled : undefined;
|
|
61
|
+
resourceInputs["protectedAppendWritesEnabled"] = state ? state.protectedAppendWritesEnabled : undefined;
|
|
62
|
+
resourceInputs["storageContainerResourceManagerId"] = state ? state.storageContainerResourceManagerId : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.immutabilityPeriodInDays === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'immutabilityPeriodInDays'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.storageContainerResourceManagerId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'storageContainerResourceManagerId'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["immutabilityPeriodInDays"] = args ? args.immutabilityPeriodInDays : undefined;
|
|
73
|
+
resourceInputs["locked"] = args ? args.locked : undefined;
|
|
74
|
+
resourceInputs["protectedAppendWritesAllEnabled"] = args ? args.protectedAppendWritesAllEnabled : undefined;
|
|
75
|
+
resourceInputs["protectedAppendWritesEnabled"] = args ? args.protectedAppendWritesEnabled : undefined;
|
|
76
|
+
resourceInputs["storageContainerResourceManagerId"] = args ? args.storageContainerResourceManagerId : undefined;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(ContainerImmutabilityPolicy.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing ContainerImmutabilityPolicy resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name, id, state, opts) {
|
|
91
|
+
return new ContainerImmutabilityPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of ContainerImmutabilityPolicy. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj) {
|
|
98
|
+
if (obj === undefined || obj === null) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
return obj['__pulumiType'] === ContainerImmutabilityPolicy.__pulumiType;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ContainerImmutabilityPolicy = ContainerImmutabilityPolicy;
|
|
105
|
+
/** @internal */
|
|
106
|
+
ContainerImmutabilityPolicy.__pulumiType = 'azure:storage/containerImmutabilityPolicy:ContainerImmutabilityPolicy';
|
|
107
|
+
//# sourceMappingURL=containerImmutabilityPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerImmutabilityPolicy.js","sourceRoot":"","sources":["../../storage/containerImmutabilityPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IA2DlE,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,QAAQ,CAAC,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,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,mCAAmC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC,CAAC,SAAS,CAAC;SACnH;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;IApFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;;AA1BL,kEAsFC;AAxEG,gBAAgB;AACO,wCAAY,GAAG,uEAAuE,CAAC"}
|
|
@@ -122,13 +122,17 @@ export declare class CustomerManagedKey extends pulumi.CustomResource {
|
|
|
122
122
|
readonly keyName: pulumi.Output<string>;
|
|
123
123
|
readonly keyVaultId: pulumi.Output<string | undefined>;
|
|
124
124
|
/**
|
|
125
|
-
* URI pointing at the Key Vault. Required when using `federatedIdentityClientId`. Exactly one of `keyVaultId`, or `keyVaultUri` must be specified.
|
|
125
|
+
* URI pointing at the Key Vault. Required when using `federatedIdentityClientId`. Exactly one of `managedHsmKeyId`, `keyVaultId`, or `keyVaultUri` must be specified.
|
|
126
126
|
*/
|
|
127
127
|
readonly keyVaultUri: pulumi.Output<string>;
|
|
128
128
|
/**
|
|
129
129
|
* The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.
|
|
130
130
|
*/
|
|
131
131
|
readonly keyVersion: pulumi.Output<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Key ID of a key in a managed HSM. Exactly one of `managedHsmKeyId`, `keyVaultId`, or `keyVaultUri` must be specified.
|
|
134
|
+
*/
|
|
135
|
+
readonly managedHsmKeyId: pulumi.Output<string | undefined>;
|
|
132
136
|
/**
|
|
133
137
|
* The ID of the Storage Account. Changing this forces a new resource to be created.
|
|
134
138
|
*/
|
|
@@ -160,13 +164,17 @@ export interface CustomerManagedKeyState {
|
|
|
160
164
|
keyName?: pulumi.Input<string>;
|
|
161
165
|
keyVaultId?: pulumi.Input<string>;
|
|
162
166
|
/**
|
|
163
|
-
* URI pointing at the Key Vault. Required when using `federatedIdentityClientId`. Exactly one of `keyVaultId`, or `keyVaultUri` must be specified.
|
|
167
|
+
* URI pointing at the Key Vault. Required when using `federatedIdentityClientId`. Exactly one of `managedHsmKeyId`, `keyVaultId`, or `keyVaultUri` must be specified.
|
|
164
168
|
*/
|
|
165
169
|
keyVaultUri?: pulumi.Input<string>;
|
|
166
170
|
/**
|
|
167
171
|
* The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.
|
|
168
172
|
*/
|
|
169
173
|
keyVersion?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Key ID of a key in a managed HSM. Exactly one of `managedHsmKeyId`, `keyVaultId`, or `keyVaultUri` must be specified.
|
|
176
|
+
*/
|
|
177
|
+
managedHsmKeyId?: pulumi.Input<string>;
|
|
170
178
|
/**
|
|
171
179
|
* The ID of the Storage Account. Changing this forces a new resource to be created.
|
|
172
180
|
*/
|
|
@@ -190,13 +198,17 @@ export interface CustomerManagedKeyArgs {
|
|
|
190
198
|
keyName: pulumi.Input<string>;
|
|
191
199
|
keyVaultId?: pulumi.Input<string>;
|
|
192
200
|
/**
|
|
193
|
-
* URI pointing at the Key Vault. Required when using `federatedIdentityClientId`. Exactly one of `keyVaultId`, or `keyVaultUri` must be specified.
|
|
201
|
+
* URI pointing at the Key Vault. Required when using `federatedIdentityClientId`. Exactly one of `managedHsmKeyId`, `keyVaultId`, or `keyVaultUri` must be specified.
|
|
194
202
|
*/
|
|
195
203
|
keyVaultUri?: pulumi.Input<string>;
|
|
196
204
|
/**
|
|
197
205
|
* The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.
|
|
198
206
|
*/
|
|
199
207
|
keyVersion?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Key ID of a key in a managed HSM. Exactly one of `managedHsmKeyId`, `keyVaultId`, or `keyVaultUri` must be specified.
|
|
210
|
+
*/
|
|
211
|
+
managedHsmKeyId?: pulumi.Input<string>;
|
|
200
212
|
/**
|
|
201
213
|
* The ID of the Storage Account. Changing this forces a new resource to be created.
|
|
202
214
|
*/
|
|
@@ -113,6 +113,7 @@ class CustomerManagedKey extends pulumi.CustomResource {
|
|
|
113
113
|
resourceInputs["keyVaultId"] = state ? state.keyVaultId : undefined;
|
|
114
114
|
resourceInputs["keyVaultUri"] = state ? state.keyVaultUri : undefined;
|
|
115
115
|
resourceInputs["keyVersion"] = state ? state.keyVersion : undefined;
|
|
116
|
+
resourceInputs["managedHsmKeyId"] = state ? state.managedHsmKeyId : undefined;
|
|
116
117
|
resourceInputs["storageAccountId"] = state ? state.storageAccountId : undefined;
|
|
117
118
|
resourceInputs["userAssignedIdentityId"] = state ? state.userAssignedIdentityId : undefined;
|
|
118
119
|
}
|
|
@@ -129,6 +130,7 @@ class CustomerManagedKey extends pulumi.CustomResource {
|
|
|
129
130
|
resourceInputs["keyVaultId"] = args ? args.keyVaultId : undefined;
|
|
130
131
|
resourceInputs["keyVaultUri"] = args ? args.keyVaultUri : undefined;
|
|
131
132
|
resourceInputs["keyVersion"] = args ? args.keyVersion : undefined;
|
|
133
|
+
resourceInputs["managedHsmKeyId"] = args ? args.managedHsmKeyId : undefined;
|
|
132
134
|
resourceInputs["storageAccountId"] = args ? args.storageAccountId : undefined;
|
|
133
135
|
resourceInputs["userAssignedIdentityId"] = args ? args.userAssignedIdentityId : undefined;
|
|
134
136
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerManagedKey.js","sourceRoot":"","sources":["../../storage/customerManagedKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"customerManagedKey.js","sourceRoot":"","sources":["../../storage/customerManagedKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAkEzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,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;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAmGC;AArFG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
package/storage/index.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ export declare const BlobInventoryPolicy: typeof import("./blobInventoryPolicy")
|
|
|
13
13
|
export { ContainerArgs, ContainerState } from "./container";
|
|
14
14
|
export declare type Container = import("./container").Container;
|
|
15
15
|
export declare const Container: typeof import("./container").Container;
|
|
16
|
+
export { ContainerImmutabilityPolicyArgs, ContainerImmutabilityPolicyState } from "./containerImmutabilityPolicy";
|
|
17
|
+
export declare type ContainerImmutabilityPolicy = import("./containerImmutabilityPolicy").ContainerImmutabilityPolicy;
|
|
18
|
+
export declare const ContainerImmutabilityPolicy: typeof import("./containerImmutabilityPolicy").ContainerImmutabilityPolicy;
|
|
16
19
|
export { CustomerManagedKeyArgs, CustomerManagedKeyState } from "./customerManagedKey";
|
|
17
20
|
export declare type CustomerManagedKey = import("./customerManagedKey").CustomerManagedKey;
|
|
18
21
|
export declare const CustomerManagedKey: typeof import("./customerManagedKey").CustomerManagedKey;
|
|
@@ -112,6 +115,9 @@ export declare const SyncCloudEndpoint: typeof import("./syncCloudEndpoint").Syn
|
|
|
112
115
|
export { SyncGroupArgs, SyncGroupState } from "./syncGroup";
|
|
113
116
|
export declare type SyncGroup = import("./syncGroup").SyncGroup;
|
|
114
117
|
export declare const SyncGroup: typeof import("./syncGroup").SyncGroup;
|
|
118
|
+
export { SyncServerEndpointArgs, SyncServerEndpointState } from "./syncServerEndpoint";
|
|
119
|
+
export declare type SyncServerEndpoint = import("./syncServerEndpoint").SyncServerEndpoint;
|
|
120
|
+
export declare const SyncServerEndpoint: typeof import("./syncServerEndpoint").SyncServerEndpoint;
|
|
115
121
|
export { TableArgs, TableState } from "./table";
|
|
116
122
|
export declare type Table = import("./table").Table;
|
|
117
123
|
export declare const Table: typeof import("./table").Table;
|
package/storage/index.js
CHANGED
|
@@ -16,8 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.ZipBlob = exports.TableEntity = exports.Table = exports.SyncGroup = void 0;
|
|
19
|
+
exports.Sync = exports.ShareFile = exports.ShareDirectory = exports.Share = exports.Queue = exports.ObjectReplication = exports.MoverTargetEndpoint = exports.MoverSourceEndpoint = exports.MoverProject = exports.MoverJobDefinition = exports.MoverAgent = exports.Mover = exports.ManagementPolicy = exports.LocalUser = exports.getTableEntityOutput = exports.getTableEntity = exports.getTableEntitiesOutput = exports.getTableEntities = exports.getSyncGroupOutput = exports.getSyncGroup = exports.getSyncOutput = exports.getSync = exports.getStorageContainerOutput = exports.getStorageContainer = exports.getShareOutput = exports.getShare = exports.getPolicyOutput = exports.getPolicy = exports.getEncryptionScopeOutput = exports.getEncryptionScope = exports.getContainersOutput = exports.getContainers = exports.getBlobOutput = exports.getBlob = exports.getAccountSASOutput = exports.getAccountSAS = exports.getAccountBlobContainerSASOutput = exports.getAccountBlobContainerSAS = exports.getAccountOutput = exports.getAccount = exports.EncryptionScope = exports.DataLakeGen2Path = exports.DataLakeGen2Filesystem = exports.CustomerManagedKey = exports.ContainerImmutabilityPolicy = exports.Container = exports.BlobInventoryPolicy = exports.Blob = exports.AccountNetworkRules = exports.Account = void 0;
|
|
20
|
+
exports.ZipBlob = exports.TableEntity = exports.Table = exports.SyncServerEndpoint = exports.SyncGroup = exports.SyncCloudEndpoint = void 0;
|
|
21
21
|
const pulumi = require("@pulumi/pulumi");
|
|
22
22
|
const utilities = require("../utilities");
|
|
23
23
|
exports.Account = null;
|
|
@@ -30,6 +30,8 @@ exports.BlobInventoryPolicy = null;
|
|
|
30
30
|
utilities.lazyLoad(exports, ["BlobInventoryPolicy"], () => require("./blobInventoryPolicy"));
|
|
31
31
|
exports.Container = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["Container"], () => require("./container"));
|
|
33
|
+
exports.ContainerImmutabilityPolicy = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["ContainerImmutabilityPolicy"], () => require("./containerImmutabilityPolicy"));
|
|
33
35
|
exports.CustomerManagedKey = null;
|
|
34
36
|
utilities.lazyLoad(exports, ["CustomerManagedKey"], () => require("./customerManagedKey"));
|
|
35
37
|
exports.DataLakeGen2Filesystem = null;
|
|
@@ -109,6 +111,8 @@ exports.SyncCloudEndpoint = null;
|
|
|
109
111
|
utilities.lazyLoad(exports, ["SyncCloudEndpoint"], () => require("./syncCloudEndpoint"));
|
|
110
112
|
exports.SyncGroup = null;
|
|
111
113
|
utilities.lazyLoad(exports, ["SyncGroup"], () => require("./syncGroup"));
|
|
114
|
+
exports.SyncServerEndpoint = null;
|
|
115
|
+
utilities.lazyLoad(exports, ["SyncServerEndpoint"], () => require("./syncServerEndpoint"));
|
|
112
116
|
exports.Table = null;
|
|
113
117
|
utilities.lazyLoad(exports, ["Table"], () => require("./table"));
|
|
114
118
|
exports.TableEntity = null;
|
|
@@ -130,6 +134,8 @@ const _module = {
|
|
|
130
134
|
return new exports.BlobInventoryPolicy(name, undefined, { urn });
|
|
131
135
|
case "azure:storage/container:Container":
|
|
132
136
|
return new exports.Container(name, undefined, { urn });
|
|
137
|
+
case "azure:storage/containerImmutabilityPolicy:ContainerImmutabilityPolicy":
|
|
138
|
+
return new exports.ContainerImmutabilityPolicy(name, undefined, { urn });
|
|
133
139
|
case "azure:storage/customerManagedKey:CustomerManagedKey":
|
|
134
140
|
return new exports.CustomerManagedKey(name, undefined, { urn });
|
|
135
141
|
case "azure:storage/dataLakeGen2Filesystem:DataLakeGen2Filesystem":
|
|
@@ -170,6 +176,8 @@ const _module = {
|
|
|
170
176
|
return new exports.SyncCloudEndpoint(name, undefined, { urn });
|
|
171
177
|
case "azure:storage/syncGroup:SyncGroup":
|
|
172
178
|
return new exports.SyncGroup(name, undefined, { urn });
|
|
179
|
+
case "azure:storage/syncServerEndpoint:SyncServerEndpoint":
|
|
180
|
+
return new exports.SyncServerEndpoint(name, undefined, { urn });
|
|
173
181
|
case "azure:storage/table:Table":
|
|
174
182
|
return new exports.Table(name, undefined, { urn });
|
|
175
183
|
case "azure:storage/tableEntity:TableEntity":
|
|
@@ -186,6 +194,7 @@ pulumi.runtime.registerResourceModule("azure", "storage/accountNetworkRules", _m
|
|
|
186
194
|
pulumi.runtime.registerResourceModule("azure", "storage/blob", _module);
|
|
187
195
|
pulumi.runtime.registerResourceModule("azure", "storage/blobInventoryPolicy", _module);
|
|
188
196
|
pulumi.runtime.registerResourceModule("azure", "storage/container", _module);
|
|
197
|
+
pulumi.runtime.registerResourceModule("azure", "storage/containerImmutabilityPolicy", _module);
|
|
189
198
|
pulumi.runtime.registerResourceModule("azure", "storage/customerManagedKey", _module);
|
|
190
199
|
pulumi.runtime.registerResourceModule("azure", "storage/dataLakeGen2Filesystem", _module);
|
|
191
200
|
pulumi.runtime.registerResourceModule("azure", "storage/dataLakeGen2Path", _module);
|
|
@@ -206,6 +215,7 @@ pulumi.runtime.registerResourceModule("azure", "storage/shareFile", _module);
|
|
|
206
215
|
pulumi.runtime.registerResourceModule("azure", "storage/sync", _module);
|
|
207
216
|
pulumi.runtime.registerResourceModule("azure", "storage/syncCloudEndpoint", _module);
|
|
208
217
|
pulumi.runtime.registerResourceModule("azure", "storage/syncGroup", _module);
|
|
218
|
+
pulumi.runtime.registerResourceModule("azure", "storage/syncServerEndpoint", _module);
|
|
209
219
|
pulumi.runtime.registerResourceModule("azure", "storage/table", _module);
|
|
210
220
|
pulumi.runtime.registerResourceModule("azure", "storage/tableEntity", _module);
|
|
211
221
|
pulumi.runtime.registerResourceModule("azure", "storage/zipBlob", _module);
|