@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.
Files changed (58) hide show
  1. package/appservice/activeSlot.d.ts +1 -1
  2. package/appservice/activeSlot.js +1 -1
  3. package/appservice/appService.d.ts +1 -1
  4. package/appservice/appService.js +1 -1
  5. package/appservice/functionApp.d.ts +1 -1
  6. package/appservice/functionApp.js +1 -1
  7. package/appservice/functionAppSlot.d.ts +1 -1
  8. package/appservice/functionAppSlot.js +1 -1
  9. package/appservice/hybridConnection.d.ts +1 -1
  10. package/appservice/hybridConnection.js +1 -1
  11. package/appservice/plan.d.ts +1 -1
  12. package/appservice/plan.js +1 -1
  13. package/appservice/slot.d.ts +1 -1
  14. package/appservice/slot.js +1 -1
  15. package/appservice/sourceCodeToken.d.ts +1 -1
  16. package/appservice/sourceCodeToken.js +1 -1
  17. package/batch/getAccount.d.ts +1 -10
  18. package/batch/getAccount.js +0 -1
  19. package/batch/getAccount.js.map +1 -1
  20. package/compute/linuxVirtualMachine.d.ts +3 -3
  21. package/compute/scaleSet.d.ts +1 -1
  22. package/compute/virtualMachine.d.ts +1 -1
  23. package/graph/account.d.ts +1 -1
  24. package/graph/account.js +1 -1
  25. package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.d.ts +31 -2
  26. package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.js +27 -0
  27. package/keyvault/getManagedHardwareSecurityModuleRoleDefinition.js.map +1 -1
  28. package/keyvault/managedHardwareSecurityModuleRoleAssignment.d.ts +21 -6
  29. package/keyvault/managedHardwareSecurityModuleRoleAssignment.js +2 -3
  30. package/keyvault/managedHardwareSecurityModuleRoleAssignment.js.map +1 -1
  31. package/keyvault/managedHardwareSecurityModuleRoleDefinition.d.ts +5 -2
  32. package/keyvault/managedHardwareSecurityModuleRoleDefinition.js +2 -3
  33. package/keyvault/managedHardwareSecurityModuleRoleDefinition.js.map +1 -1
  34. package/loadtest/loadTest.d.ts +12 -14
  35. package/loadtest/loadTest.js +2 -14
  36. package/loadtest/loadTest.js.map +1 -1
  37. package/monitoring/actionRuleActionGroup.d.ts +1 -1
  38. package/monitoring/actionRuleActionGroup.js +1 -1
  39. package/monitoring/actionRuleSuppression.d.ts +1 -1
  40. package/monitoring/actionRuleSuppression.js +1 -1
  41. package/package.json +1 -1
  42. package/storage/containerImmutabilityPolicy.d.ts +146 -0
  43. package/storage/containerImmutabilityPolicy.js +107 -0
  44. package/storage/containerImmutabilityPolicy.js.map +1 -0
  45. package/storage/customerManagedKey.d.ts +15 -3
  46. package/storage/customerManagedKey.js +2 -0
  47. package/storage/customerManagedKey.js.map +1 -1
  48. package/storage/index.d.ts +6 -0
  49. package/storage/index.js +12 -2
  50. package/storage/index.js.map +1 -1
  51. package/storage/sync.d.ts +8 -0
  52. package/storage/sync.js +2 -0
  53. package/storage/sync.js.map +1 -1
  54. package/storage/syncServerEndpoint.d.ts +205 -0
  55. package/storage/syncServerEndpoint.js +129 -0
  56. package/storage/syncServerEndpoint.js.map +1 -0
  57. package/types/input.d.ts +51 -30
  58. package/types/output.d.ts +53 -20
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Promotes an App Service Slot to Production within an App Service.
4
4
  *
5
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.WebAppActiveSlot` resource instead.
5
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.WebAppActiveSlot` resource instead.
6
6
  *
7
7
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
8
8
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Promotes an App Service Slot to Production within an App Service.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.WebAppActiveSlot` resource instead.
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.appservice.WebAppActiveSlot` resource instead.
12
12
  *
13
13
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
14
14
  *
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Manages an App Service (within an App Service Plan).
6
6
  *
7
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxWebApp` resources instead.
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.appservice.LinuxWebApp` resources instead.
8
8
  *
9
9
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
10
10
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages an App Service (within an App Service Plan).
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxWebApp` resources instead.
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.appservice.LinuxWebApp` resources instead.
12
12
  *
13
13
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
14
14
  *
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Manages a Function App.
6
6
  *
7
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxFunctionApp` resources instead.
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.appservice.LinuxFunctionApp` resources instead.
8
8
  *
9
9
  * > **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used.
10
10
  * For an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation.
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages a Function App.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxFunctionApp` resources instead.
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.appservice.LinuxFunctionApp` resources instead.
12
12
  *
13
13
  * > **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used.
14
14
  * For an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation.
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Manages a Function App deployment Slot.
6
6
  *
7
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxFunctionAppSlot` resources instead.
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.appservice.LinuxFunctionAppSlot` resources instead.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages a Function App deployment Slot.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxFunctionAppSlot` resources instead.
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.appservice.LinuxFunctionAppSlot` resources instead.
12
12
  *
13
13
  * ## Example Usage
14
14
  *
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.
4
4
  *
5
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead.
5
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead.
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.appservice.FunctionAppHybridConnection` resources instead.
12
12
  *
13
13
  * ## Example Usage
14
14
  *
@@ -5,7 +5,7 @@ import { Kind } from "./index";
5
5
  /**
6
6
  * Manages an App Service Plan component.
7
7
  *
8
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.ServicePlan` resource instead.
8
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.ServicePlan` resource instead.
9
9
  *
10
10
  * ## Example Usage
11
11
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages an App Service Plan component.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.ServicePlan` resource instead.
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.appservice.ServicePlan` 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 an App Service Slot (within an App Service).
6
6
  *
7
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxWebAppSlot` resources instead.
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.appservice.LinuxWebAppSlot` resources instead.
8
8
  *
9
9
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
10
10
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages an App Service Slot (within an App Service).
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.LinuxWebAppSlot` resources instead.
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.appservice.LinuxWebAppSlot` resources instead.
12
12
  *
13
13
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
14
14
  *
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Manages an App Service source control token.
4
4
  *
5
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.ServicePlan` resource instead.
5
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.ServicePlan` resource instead.
6
6
  *
7
7
  * > **NOTE:** Source Control Tokens are configured at the subscription level, not on each App Service - as such this can only be configured Subscription-wide
8
8
  *
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages an App Service source control token.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.appservice.ServicePlan` resource instead.
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.appservice.ServicePlan` resource instead.
12
12
  *
13
13
  * > **NOTE:** Source Control Tokens are configured at the subscription level, not on each App Service - as such this can only be configured Subscription-wide
14
14
  *
@@ -1,5 +1,4 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
2
  import * as outputs from "../types/output";
4
3
  /**
5
4
  * Use this data source to access information about an existing Batch Account.
@@ -22,10 +21,6 @@ export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOpt
22
21
  * A collection of arguments for invoking getAccount.
23
22
  */
24
23
  export interface GetAccountArgs {
25
- /**
26
- * The `encryption` block that describes the Azure KeyVault key reference used to encrypt data for the Azure Batch account.
27
- */
28
- encryption?: inputs.batch.GetAccountEncryption;
29
24
  /**
30
25
  * The name of the Batch account.
31
26
  */
@@ -46,7 +41,7 @@ export interface GetAccountResult {
46
41
  /**
47
42
  * The `encryption` block that describes the Azure KeyVault key reference used to encrypt data for the Azure Batch account.
48
43
  */
49
- readonly encryption?: outputs.batch.GetAccountEncryption;
44
+ readonly encryption: outputs.batch.GetAccountEncryption;
50
45
  /**
51
46
  * The provider-assigned unique ID for this managed resource.
52
47
  */
@@ -108,10 +103,6 @@ export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulu
108
103
  * A collection of arguments for invoking getAccount.
109
104
  */
110
105
  export interface GetAccountOutputArgs {
111
- /**
112
- * The `encryption` block that describes the Azure KeyVault key reference used to encrypt data for the Azure Batch account.
113
- */
114
- encryption?: pulumi.Input<inputs.batch.GetAccountEncryptionArgs>;
115
106
  /**
116
107
  * The name of the Batch account.
117
108
  */
@@ -24,7 +24,6 @@ const utilities = require("../utilities");
24
24
  function getAccount(args, opts) {
25
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
26
  return pulumi.runtime.invoke("azure:batch/getAccount:getAccount", {
27
- "encryption": args.encryption,
28
27
  "name": args.name,
29
28
  "resourceGroupName": args.resourceGroupName,
30
29
  }, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../../batch/getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAsED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../../batch/getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAkED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -201,7 +201,7 @@ export declare class LinuxVirtualMachine extends pulumi.CustomResource {
201
201
  */
202
202
  readonly identity: pulumi.Output<outputs.compute.LinuxVirtualMachineIdentity | undefined>;
203
203
  /**
204
- * Specifies the BYOL Type for this Virtual Machine. Possible values are `RHEL_BYOS` and `SLES_BYOS`.
204
+ * Specifies the License Type for this Virtual Machine. Possible values are `RHEL_BYOS`, `RHEL_BASE` and `SLES_BYOS`.
205
205
  */
206
206
  readonly licenseType: pulumi.Output<string | undefined>;
207
207
  /**
@@ -465,7 +465,7 @@ export interface LinuxVirtualMachineState {
465
465
  */
466
466
  identity?: pulumi.Input<inputs.compute.LinuxVirtualMachineIdentity>;
467
467
  /**
468
- * Specifies the BYOL Type for this Virtual Machine. Possible values are `RHEL_BYOS` and `SLES_BYOS`.
468
+ * Specifies the License Type for this Virtual Machine. Possible values are `RHEL_BYOS`, `RHEL_BASE` and `SLES_BYOS`.
469
469
  */
470
470
  licenseType?: pulumi.Input<string>;
471
471
  /**
@@ -721,7 +721,7 @@ export interface LinuxVirtualMachineArgs {
721
721
  */
722
722
  identity?: pulumi.Input<inputs.compute.LinuxVirtualMachineIdentity>;
723
723
  /**
724
- * Specifies the BYOL Type for this Virtual Machine. Possible values are `RHEL_BYOS` and `SLES_BYOS`.
724
+ * Specifies the License Type for this Virtual Machine. Possible values are `RHEL_BYOS`, `RHEL_BASE` and `SLES_BYOS`.
725
725
  */
726
726
  licenseType?: pulumi.Input<string>;
727
727
  /**
@@ -284,7 +284,7 @@ export declare class ScaleSet extends pulumi.CustomResource {
284
284
  /**
285
285
  * An `identity` block as defined below.
286
286
  */
287
- readonly identity: pulumi.Output<outputs.compute.ScaleSetIdentity>;
287
+ readonly identity: pulumi.Output<outputs.compute.ScaleSetIdentity | undefined>;
288
288
  /**
289
289
  * (Optional, when a Windows machine) Specifies the Windows OS license type. If supplied, the only allowed values are `Windows_Client` and `Windows_Server`.
290
290
  */
@@ -131,7 +131,7 @@ export declare class VirtualMachine extends pulumi.CustomResource {
131
131
  /**
132
132
  * An `identity` block as defined below.
133
133
  */
134
- readonly identity: pulumi.Output<outputs.compute.VirtualMachineIdentity>;
134
+ readonly identity: pulumi.Output<outputs.compute.VirtualMachineIdentity | undefined>;
135
135
  /**
136
136
  * Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.
137
137
  */
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Manages a Microsoft Graph Services Account.
4
4
  *
5
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.graph.ServicesAccount` resource instead.
5
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.graph.ServicesAccount` resource instead.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
package/graph/account.js CHANGED
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Manages a Microsoft Graph Services Account.
10
10
  *
11
- * !> **NOTE:** This resource has been deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use `azure.graph.ServicesAccount` resource instead.
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.graph.ServicesAccount` resource instead.
12
12
  *
13
13
  * ## Example Usage
14
14
  *
@@ -2,12 +2,26 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "../types/output";
3
3
  /**
4
4
  * Use this data source to access information about an existing KeyVault Role Definition.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as azure from "@pulumi/azure";
11
+ *
12
+ * const example = azure.keyvault.getManagedHardwareSecurityModuleRoleDefinition({
13
+ * vaultBaseUrl: test.hsmUri,
14
+ * name: "21dbd100-6940-42c2-9190-5d6cb909625b",
15
+ * });
16
+ * export const id = example.then(example => example.resourceManagerId);
17
+ * ```
5
18
  */
6
19
  export declare function getManagedHardwareSecurityModuleRoleDefinition(args: GetManagedHardwareSecurityModuleRoleDefinitionArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedHardwareSecurityModuleRoleDefinitionResult>;
7
20
  /**
8
21
  * A collection of arguments for invoking getManagedHardwareSecurityModuleRoleDefinition.
9
22
  */
10
23
  export interface GetManagedHardwareSecurityModuleRoleDefinitionArgs {
24
+ managedHsmId?: string;
11
25
  /**
12
26
  * The name in UUID notation of this KeyVault Role Definition.
13
27
  */
@@ -15,7 +29,7 @@ export interface GetManagedHardwareSecurityModuleRoleDefinitionArgs {
15
29
  /**
16
30
  * Specify the base URL of the Managed HSM resource.
17
31
  */
18
- vaultBaseUrl: string;
32
+ vaultBaseUrl?: string;
19
33
  }
20
34
  /**
21
35
  * A collection of values returned by getManagedHardwareSecurityModuleRoleDefinition.
@@ -33,6 +47,7 @@ export interface GetManagedHardwareSecurityModuleRoleDefinitionResult {
33
47
  * The provider-assigned unique ID for this managed resource.
34
48
  */
35
49
  readonly id: string;
50
+ readonly managedHsmId: string;
36
51
  readonly name: string;
37
52
  /**
38
53
  * A `permission` block as defined below.
@@ -54,12 +69,26 @@ export interface GetManagedHardwareSecurityModuleRoleDefinitionResult {
54
69
  }
55
70
  /**
56
71
  * Use this data source to access information about an existing KeyVault Role Definition.
72
+ *
73
+ * ## Example Usage
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as azure from "@pulumi/azure";
78
+ *
79
+ * const example = azure.keyvault.getManagedHardwareSecurityModuleRoleDefinition({
80
+ * vaultBaseUrl: test.hsmUri,
81
+ * name: "21dbd100-6940-42c2-9190-5d6cb909625b",
82
+ * });
83
+ * export const id = example.then(example => example.resourceManagerId);
84
+ * ```
57
85
  */
58
86
  export declare function getManagedHardwareSecurityModuleRoleDefinitionOutput(args: GetManagedHardwareSecurityModuleRoleDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetManagedHardwareSecurityModuleRoleDefinitionResult>;
59
87
  /**
60
88
  * A collection of arguments for invoking getManagedHardwareSecurityModuleRoleDefinition.
61
89
  */
62
90
  export interface GetManagedHardwareSecurityModuleRoleDefinitionOutputArgs {
91
+ managedHsmId?: pulumi.Input<string>;
63
92
  /**
64
93
  * The name in UUID notation of this KeyVault Role Definition.
65
94
  */
@@ -67,5 +96,5 @@ export interface GetManagedHardwareSecurityModuleRoleDefinitionOutputArgs {
67
96
  /**
68
97
  * Specify the base URL of the Managed HSM resource.
69
98
  */
70
- vaultBaseUrl: pulumi.Input<string>;
99
+ vaultBaseUrl?: pulumi.Input<string>;
71
100
  }
@@ -7,10 +7,24 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Use this data source to access information about an existing KeyVault Role Definition.
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 = azure.keyvault.getManagedHardwareSecurityModuleRoleDefinition({
18
+ * vaultBaseUrl: test.hsmUri,
19
+ * name: "21dbd100-6940-42c2-9190-5d6cb909625b",
20
+ * });
21
+ * export const id = example.then(example => example.resourceManagerId);
22
+ * ```
10
23
  */
11
24
  function getManagedHardwareSecurityModuleRoleDefinition(args, opts) {
12
25
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
26
  return pulumi.runtime.invoke("azure:keyvault/getManagedHardwareSecurityModuleRoleDefinition:getManagedHardwareSecurityModuleRoleDefinition", {
27
+ "managedHsmId": args.managedHsmId,
14
28
  "name": args.name,
15
29
  "vaultBaseUrl": args.vaultBaseUrl,
16
30
  }, opts);
@@ -18,6 +32,19 @@ function getManagedHardwareSecurityModuleRoleDefinition(args, opts) {
18
32
  exports.getManagedHardwareSecurityModuleRoleDefinition = getManagedHardwareSecurityModuleRoleDefinition;
19
33
  /**
20
34
  * Use this data source to access information about an existing KeyVault Role Definition.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as azure from "@pulumi/azure";
41
+ *
42
+ * const example = azure.keyvault.getManagedHardwareSecurityModuleRoleDefinition({
43
+ * vaultBaseUrl: test.hsmUri,
44
+ * name: "21dbd100-6940-42c2-9190-5d6cb909625b",
45
+ * });
46
+ * export const id = example.then(example => example.resourceManagerId);
47
+ * ```
21
48
  */
22
49
  function getManagedHardwareSecurityModuleRoleDefinitionOutput(args, opts) {
23
50
  return pulumi.output(args).apply((a) => getManagedHardwareSecurityModuleRoleDefinition(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getManagedHardwareSecurityModuleRoleDefinition.js","sourceRoot":"","sources":["../../keyvault/getManagedHardwareSecurityModuleRoleDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,8CAA8C,CAAC,IAAwD,EAAE,IAA2B;IAEhJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8GAA8G,EAAE;QACzI,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wGAOC;AAmDD;;GAEG;AACH,SAAgB,oDAAoD,CAAC,IAA8D,EAAE,IAA2B;IAC5J,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,8CAA8C,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzG,CAAC;AAFD,oHAEC"}
1
+ {"version":3,"file":"getManagedHardwareSecurityModuleRoleDefinition.js","sourceRoot":"","sources":["../../keyvault/getManagedHardwareSecurityModuleRoleDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,8CAA8C,CAAC,IAAwD,EAAE,IAA2B;IAEhJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8GAA8G,EAAE;QACzI,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wGAQC;AAqDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oDAAoD,CAAC,IAA8D,EAAE,IAA2B;IAC5J,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,8CAA8C,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzG,CAAC;AAFD,oHAEC"}
@@ -26,6 +26,11 @@ export declare class ManagedHardwareSecurityModuleRoleAssignment extends pulumi.
26
26
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
27
  */
28
28
  static isInstance(obj: any): obj is ManagedHardwareSecurityModuleRoleAssignment;
29
+ /**
30
+ * The ID of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.
31
+ * *
32
+ */
33
+ readonly managedHsmId: pulumi.Output<string>;
29
34
  /**
30
35
  * The name in GUID notation which should be used for this Managed Hardware Security Module Role Assignment. Changing this forces a new Managed Hardware Security Module to be created.
31
36
  */
@@ -35,7 +40,7 @@ export declare class ManagedHardwareSecurityModuleRoleAssignment extends pulumi.
35
40
  */
36
41
  readonly principalId: pulumi.Output<string>;
37
42
  /**
38
- * The resource id of created assignment resource.
43
+ * (Deprecated) The resource id of created assignment resource.
39
44
  */
40
45
  readonly resourceId: pulumi.Output<string>;
41
46
  /**
@@ -47,7 +52,7 @@ export declare class ManagedHardwareSecurityModuleRoleAssignment extends pulumi.
47
52
  */
48
53
  readonly scope: pulumi.Output<string>;
49
54
  /**
50
- * The HSM URI of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.
55
+ * @deprecated The field `vaultBaseUrl` has been deprecated in favour of `managedHsmId` and will be removed in 4.0 of the Azure Provider
51
56
  */
52
57
  readonly vaultBaseUrl: pulumi.Output<string>;
53
58
  /**
@@ -63,6 +68,11 @@ export declare class ManagedHardwareSecurityModuleRoleAssignment extends pulumi.
63
68
  * Input properties used for looking up and filtering ManagedHardwareSecurityModuleRoleAssignment resources.
64
69
  */
65
70
  export interface ManagedHardwareSecurityModuleRoleAssignmentState {
71
+ /**
72
+ * The ID of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.
73
+ * *
74
+ */
75
+ managedHsmId?: pulumi.Input<string>;
66
76
  /**
67
77
  * The name in GUID notation which should be used for this Managed Hardware Security Module Role Assignment. Changing this forces a new Managed Hardware Security Module to be created.
68
78
  */
@@ -72,7 +82,7 @@ export interface ManagedHardwareSecurityModuleRoleAssignmentState {
72
82
  */
73
83
  principalId?: pulumi.Input<string>;
74
84
  /**
75
- * The resource id of created assignment resource.
85
+ * (Deprecated) The resource id of created assignment resource.
76
86
  */
77
87
  resourceId?: pulumi.Input<string>;
78
88
  /**
@@ -84,7 +94,7 @@ export interface ManagedHardwareSecurityModuleRoleAssignmentState {
84
94
  */
85
95
  scope?: pulumi.Input<string>;
86
96
  /**
87
- * The HSM URI of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.
97
+ * @deprecated The field `vaultBaseUrl` has been deprecated in favour of `managedHsmId` and will be removed in 4.0 of the Azure Provider
88
98
  */
89
99
  vaultBaseUrl?: pulumi.Input<string>;
90
100
  }
@@ -92,6 +102,11 @@ export interface ManagedHardwareSecurityModuleRoleAssignmentState {
92
102
  * The set of arguments for constructing a ManagedHardwareSecurityModuleRoleAssignment resource.
93
103
  */
94
104
  export interface ManagedHardwareSecurityModuleRoleAssignmentArgs {
105
+ /**
106
+ * The ID of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.
107
+ * *
108
+ */
109
+ managedHsmId?: pulumi.Input<string>;
95
110
  /**
96
111
  * The name in GUID notation which should be used for this Managed Hardware Security Module Role Assignment. Changing this forces a new Managed Hardware Security Module to be created.
97
112
  */
@@ -109,7 +124,7 @@ export interface ManagedHardwareSecurityModuleRoleAssignmentArgs {
109
124
  */
110
125
  scope: pulumi.Input<string>;
111
126
  /**
112
- * The HSM URI of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.
127
+ * @deprecated The field `vaultBaseUrl` has been deprecated in favour of `managedHsmId` and will be removed in 4.0 of the Azure Provider
113
128
  */
114
- vaultBaseUrl: pulumi.Input<string>;
129
+ vaultBaseUrl?: pulumi.Input<string>;
115
130
  }
@@ -22,6 +22,7 @@ class ManagedHardwareSecurityModuleRoleAssignment extends pulumi.CustomResource
22
22
  opts = opts || {};
23
23
  if (opts.id) {
24
24
  const state = argsOrState;
25
+ resourceInputs["managedHsmId"] = state ? state.managedHsmId : undefined;
25
26
  resourceInputs["name"] = state ? state.name : undefined;
26
27
  resourceInputs["principalId"] = state ? state.principalId : undefined;
27
28
  resourceInputs["resourceId"] = state ? state.resourceId : undefined;
@@ -40,9 +41,7 @@ class ManagedHardwareSecurityModuleRoleAssignment extends pulumi.CustomResource
40
41
  if ((!args || args.scope === undefined) && !opts.urn) {
41
42
  throw new Error("Missing required property 'scope'");
42
43
  }
43
- if ((!args || args.vaultBaseUrl === undefined) && !opts.urn) {
44
- throw new Error("Missing required property 'vaultBaseUrl'");
45
- }
44
+ resourceInputs["managedHsmId"] = args ? args.managedHsmId : undefined;
46
45
  resourceInputs["name"] = args ? args.name : undefined;
47
46
  resourceInputs["principalId"] = args ? args.principalId : undefined;
48
47
  resourceInputs["roleDefinitionId"] = args ? args.roleDefinitionId : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"managedHardwareSecurityModuleRoleAssignment.js","sourceRoot":"","sources":["../../keyvault/managedHardwareSecurityModuleRoleAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,2CAA4C,SAAQ,MAAM,CAAC,cAAc;IA6DlF,YAAY,IAAY,EAAE,WAAgH,EAAE,IAAmC;QAC3K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2E,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS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1
+ {"version":3,"file":"managedHardwareSecurityModuleRoleAssignment.js","sourceRoot":"","sources":["../../keyvault/managedHardwareSecurityModuleRoleAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,2CAA4C,SAAQ,MAAM,CAAC,cAAc;IAkElF,YAAY,IAAY,EAAE,WAAgH,EAAE,IAAmC;QAC3K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2E,CAAC;YAC1F,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,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,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IA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CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2CAA2C,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChG,CAAC;IAlGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwD,EAAE,IAAmC;QACtJ,OAAO,IAAI,2CAA2C,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClG,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,2CAA2C,CAAC,YAAY,CAAC;IAC5F,CAAC;;AA1BL,kGAoGC;AAtFG,gBAAgB;AACO,wDAAY,GAAG,wGAAwG,CAAC"}
@@ -32,6 +32,7 @@ export declare class ManagedHardwareSecurityModuleRoleDefinition extends pulumi.
32
32
  * Specifies a text description about this KeyVault Role Definition.
33
33
  */
34
34
  readonly description: pulumi.Output<string | undefined>;
35
+ readonly managedHsmId: pulumi.Output<string>;
35
36
  /**
36
37
  * The name which should be used for this KeyVault Role Definition. Changing this forces a new KeyVault Role Definition to be created.
37
38
  */
@@ -63,7 +64,7 @@ export declare class ManagedHardwareSecurityModuleRoleDefinition extends pulumi.
63
64
  * @param args The arguments to use to populate this resource's properties.
64
65
  * @param opts A bag of options that control this resource's behavior.
65
66
  */
66
- constructor(name: string, args: ManagedHardwareSecurityModuleRoleDefinitionArgs, opts?: pulumi.CustomResourceOptions);
67
+ constructor(name: string, args?: ManagedHardwareSecurityModuleRoleDefinitionArgs, opts?: pulumi.CustomResourceOptions);
67
68
  }
68
69
  /**
69
70
  * Input properties used for looking up and filtering ManagedHardwareSecurityModuleRoleDefinition resources.
@@ -73,6 +74,7 @@ export interface ManagedHardwareSecurityModuleRoleDefinitionState {
73
74
  * Specifies a text description about this KeyVault Role Definition.
74
75
  */
75
76
  description?: pulumi.Input<string>;
77
+ managedHsmId?: pulumi.Input<string>;
76
78
  /**
77
79
  * The name which should be used for this KeyVault Role Definition. Changing this forces a new KeyVault Role Definition to be created.
78
80
  */
@@ -106,6 +108,7 @@ export interface ManagedHardwareSecurityModuleRoleDefinitionArgs {
106
108
  * Specifies a text description about this KeyVault Role Definition.
107
109
  */
108
110
  description?: pulumi.Input<string>;
111
+ managedHsmId?: pulumi.Input<string>;
109
112
  /**
110
113
  * The name which should be used for this KeyVault Role Definition. Changing this forces a new KeyVault Role Definition to be created.
111
114
  */
@@ -121,5 +124,5 @@ export interface ManagedHardwareSecurityModuleRoleDefinitionArgs {
121
124
  /**
122
125
  * The base URL of the managed hardware security module resource. Changing this forces a new KeyVault Role Definition to be created.
123
126
  */
124
- vaultBaseUrl: pulumi.Input<string>;
127
+ vaultBaseUrl?: pulumi.Input<string>;
125
128
  }
@@ -23,6 +23,7 @@ class ManagedHardwareSecurityModuleRoleDefinition extends pulumi.CustomResource
23
23
  if (opts.id) {
24
24
  const state = argsOrState;
25
25
  resourceInputs["description"] = state ? state.description : undefined;
26
+ resourceInputs["managedHsmId"] = state ? state.managedHsmId : undefined;
26
27
  resourceInputs["name"] = state ? state.name : undefined;
27
28
  resourceInputs["permissions"] = state ? state.permissions : undefined;
28
29
  resourceInputs["resourceManagerId"] = state ? state.resourceManagerId : undefined;
@@ -32,10 +33,8 @@ class ManagedHardwareSecurityModuleRoleDefinition extends pulumi.CustomResource
32
33
  }
33
34
  else {
34
35
  const args = argsOrState;
35
- if ((!args || args.vaultBaseUrl === undefined) && !opts.urn) {
36
- throw new Error("Missing required property 'vaultBaseUrl'");
37
- }
38
36
  resourceInputs["description"] = args ? args.description : undefined;
37
+ resourceInputs["managedHsmId"] = args ? args.managedHsmId : undefined;
39
38
  resourceInputs["name"] = args ? args.name : undefined;
40
39
  resourceInputs["permissions"] = args ? args.permissions : undefined;
41
40
  resourceInputs["roleName"] = args ? args.roleName : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"managedHardwareSecurityModuleRoleDefinition.js","sourceRoot":"","sources":["../../keyvault/managedHardwareSecurityModuleRoleDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,2CAA4C,SAAQ,MAAM,CAAC,cAAc;IAiElF,YAAY,IAAY,EAAE,WAAgH,EAAE,IAAmC;QAC3K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2E,CAAC;YAC1F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,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,C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ACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwD,EAAE,IAAmC;QACtJ,OAAO,IAAI,2CAA2C,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClG,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,2CAA2C,CAAC,YAAY,CAAC;IAC5F,CAAC;;AA1BL,kGA6FC;AA/EG,gBAAgB;AACO,wDAAY,GAAG,wGAAwG,CAAC"}
1
+ {"version":3,"file":"managedHardwareSecurityModuleRoleDefinition.js","sourceRoot":"","sources":["../../keyvault/managedHardwareSecurityModuleRoleDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,2CAA4C,SAAQ,MAAM,CAAC,cAAc;IAkElF,YAAY,IAAY,EAAE,WAAgH,EAAE,IAAmC;QAC3K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2E,CAAC;YAC1F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,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