@pulumi/azure 5.10.0 → 5.11.0
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/appconfiguration/configurationKey.d.ts +1 -1
- package/appconfiguration/configurationKey.js +1 -1
- package/appservice/linuxWebAppSlot.d.ts +1 -1
- package/appservice/linuxWebAppSlot.js +1 -1
- package/appservice/windowsWebAppSlot.d.ts +1 -1
- package/appservice/windowsWebAppSlot.js +1 -1
- package/backup/policyFileShare.d.ts +1 -1
- package/backup/policyFileShare.js +1 -1
- package/backup/protectedFileShare.d.ts +4 -1
- package/backup/protectedFileShare.js +4 -1
- package/backup/protectedFileShare.js.map +1 -1
- package/backup/protectedVM.d.ts +5 -1
- package/backup/protectedVM.js +5 -1
- package/backup/protectedVM.js.map +1 -1
- package/cognitive/accountCustomerManagedKey.d.ts +4 -4
- package/cognitive/accountCustomerManagedKey.js +4 -4
- package/compute/diskEncryptionSet.d.ts +17 -5
- package/compute/diskEncryptionSet.js +17 -5
- package/compute/diskEncryptionSet.js.map +1 -1
- package/compute/diskPoolIscsiTarget.d.ts +71 -0
- package/compute/diskPoolIscsiTarget.js +71 -0
- package/compute/diskPoolIscsiTarget.js.map +1 -1
- package/compute/diskPoolIscsiTargetLun.d.ts +75 -0
- package/compute/diskPoolIscsiTargetLun.js +75 -0
- package/compute/diskPoolIscsiTargetLun.js.map +1 -1
- package/compute/diskPoolManagedDiskAttachment.d.ts +64 -0
- package/compute/diskPoolManagedDiskAttachment.js +64 -0
- package/compute/diskPoolManagedDiskAttachment.js.map +1 -1
- package/compute/getManagedDisk.d.ts +8 -0
- package/compute/getManagedDisk.js.map +1 -1
- package/compute/sharedImage.d.ts +3 -3
- package/confidentialledger/ledger.d.ts +20 -0
- package/confidentialledger/ledger.js +20 -0
- package/confidentialledger/ledger.js.map +1 -1
- package/containerservice/kubernetesCluster.d.ts +3 -3
- package/containerservice/registry.d.ts +1 -0
- package/containerservice/registry.js +1 -0
- package/containerservice/registry.js.map +1 -1
- package/containerservice/registryScopeMap.d.ts +7 -3
- package/containerservice/registryScopeMap.js +7 -3
- package/containerservice/registryScopeMap.js.map +1 -1
- package/containerservice/registryToken.d.ts +9 -5
- package/containerservice/registryToken.js +9 -5
- package/containerservice/registryToken.js.map +1 -1
- package/core/getResourceGroupTemplateDeployment.d.ts +47 -0
- package/core/getResourceGroupTemplateDeployment.js +26 -0
- package/core/getResourceGroupTemplateDeployment.js.map +1 -0
- package/core/getSubscriptionTemplateDeployment.d.ts +38 -0
- package/core/getSubscriptionTemplateDeployment.js +25 -0
- package/core/getSubscriptionTemplateDeployment.js.map +1 -0
- package/core/getTenantTemplateDeployment.d.ts +38 -0
- package/core/getTenantTemplateDeployment.js +25 -0
- package/core/getTenantTemplateDeployment.js.map +1 -0
- package/core/index.d.ts +3 -0
- package/core/index.js +3 -0
- package/core/index.js.map +1 -1
- package/cosmosdb/account.d.ts +2 -2
- package/cosmosdb/account.js +2 -2
- package/cosmosdb/gremlinGraph.d.ts +3 -3
- package/cosmosdb/gremlinGraph.js +3 -3
- package/cosmosdb/sqlContainer.d.ts +13 -5
- package/cosmosdb/sqlContainer.js +13 -5
- package/cosmosdb/sqlContainer.js.map +1 -1
- package/cosmosdb/sqlFunction.d.ts +2 -2
- package/cosmosdb/sqlFunction.js +2 -2
- package/cosmosdb/sqlStoredProcedure.d.ts +4 -4
- package/cosmosdb/sqlStoredProcedure.js +4 -4
- package/cosmosdb/sqlTrigger.d.ts +2 -2
- package/cosmosdb/sqlTrigger.js +2 -2
- package/databoxedge/order.d.ts +8 -8
- package/databoxedge/order.js +8 -8
- package/datafactory/customDataset.d.ts +9 -5
- package/datafactory/customDataset.js +9 -5
- package/datafactory/customDataset.js.map +1 -1
- package/datafactory/datasetCosmosDBApi.d.ts +27 -0
- package/datafactory/datasetCosmosDBApi.js +27 -0
- package/datafactory/datasetCosmosDBApi.js.map +1 -1
- package/datafactory/datasetSnowflake.d.ts +2 -2
- package/datafactory/datasetSnowflake.js +2 -2
- package/datafactory/linkedCustomService.d.ts +2 -2
- package/datafactory/linkedCustomService.js +2 -2
- package/datafactory/linkedServiceCosmosDb.d.ts +1 -1
- package/datafactory/linkedServiceCosmosDb.js +1 -1
- package/datafactory/triggerBlobEvent.d.ts +47 -0
- package/datafactory/triggerBlobEvent.js +47 -0
- package/datafactory/triggerBlobEvent.js.map +1 -1
- package/datafactory/triggerCustomEvent.d.ts +44 -0
- package/datafactory/triggerCustomEvent.js +44 -0
- package/datafactory/triggerCustomEvent.js.map +1 -1
- package/datashare/share.d.ts +3 -0
- package/datashare/share.js +3 -0
- package/datashare/share.js.map +1 -1
- package/devtest/globalVMShutdownSchedule.d.ts +3 -3
- package/devtest/globalVMShutdownSchedule.js +3 -3
- package/eventgrid/eventSubscription.d.ts +9 -9
- package/eventgrid/eventSubscription.js +9 -9
- package/eventhub/cluster.d.ts +2 -2
- package/eventhub/cluster.js +2 -2
- package/eventhub/eventSubscription.d.ts +9 -9
- package/eventhub/eventSubscription.js +9 -9
- package/iot/timeSeriesInsightsGen2Environment.d.ts +3 -3
- package/loganalytics/savedSearch.d.ts +1 -1
- package/loganalytics/savedSearch.js +1 -1
- package/logicapps/integrationAccountSession.d.ts +22 -0
- package/logicapps/integrationAccountSession.js +22 -0
- package/logicapps/integrationAccountSession.js.map +1 -1
- package/machinelearning/inferenceCluster.d.ts +1 -0
- package/machinelearning/inferenceCluster.js +1 -0
- package/machinelearning/inferenceCluster.js.map +1 -1
- package/machinelearning/synapseSpark.d.ts +3 -0
- package/machinelearning/synapseSpark.js +3 -0
- package/machinelearning/synapseSpark.js.map +1 -1
- package/maintenance/assignmentVirtualMachineScaleSet.d.ts +126 -0
- package/maintenance/assignmentVirtualMachineScaleSet.js +126 -0
- package/maintenance/assignmentVirtualMachineScaleSet.js.map +1 -1
- package/managedapplication/getDefinition.d.ts +2 -2
- package/managedapplication/getDefinition.js +2 -2
- package/management/getGroupTemplateDeployment.d.ts +47 -0
- package/management/getGroupTemplateDeployment.js +26 -0
- package/management/getGroupTemplateDeployment.js.map +1 -0
- package/management/groupPolicyAssignment.d.ts +31 -0
- package/management/groupPolicyAssignment.js +31 -0
- package/management/groupPolicyAssignment.js.map +1 -1
- package/management/index.d.ts +1 -0
- package/management/index.js +1 -0
- package/management/index.js.map +1 -1
- package/mariadb/configuration.d.ts +24 -0
- package/mariadb/configuration.js +24 -0
- package/mariadb/configuration.js.map +1 -1
- package/mariadb/virtualNetworkRule.d.ts +34 -0
- package/mariadb/virtualNetworkRule.js +34 -0
- package/mariadb/virtualNetworkRule.js.map +1 -1
- package/media/liveEventOutput.d.ts +51 -0
- package/media/liveEventOutput.js +51 -0
- package/media/liveEventOutput.js.map +1 -1
- package/monitoring/actionGroup.d.ts +6 -1
- package/monitoring/actionGroup.js +6 -1
- package/monitoring/actionGroup.js.map +1 -1
- package/monitoring/actionRuleActionGroup.d.ts +1 -1
- package/monitoring/actionRuleActionGroup.js +1 -1
- package/monitoring/autoscaleSetting.d.ts +105 -7
- package/monitoring/autoscaleSetting.js +105 -7
- package/monitoring/autoscaleSetting.js.map +1 -1
- package/monitoring/logzMonitor.d.ts +2 -2
- package/monitoring/logzMonitor.js +2 -2
- package/monitoring/logzTagRule.d.ts +2 -2
- package/monitoring/logzTagRule.js +2 -2
- package/monitoring/smartDetectorAlertRule.d.ts +2 -2
- package/monitoring/smartDetectorAlertRule.js +2 -2
- package/mssql/getDatabase.d.ts +11 -3
- package/mssql/getDatabase.js +11 -3
- package/mssql/getDatabase.js.map +1 -1
- package/mssql/managedDatabase.d.ts +23 -1
- package/mssql/managedDatabase.js +23 -1
- package/mssql/managedDatabase.js.map +1 -1
- package/mssql/managedInstanceVulnerabilityAssessment.d.ts +11 -1
- package/mssql/managedInstanceVulnerabilityAssessment.js +11 -1
- package/mssql/managedInstanceVulnerabilityAssessment.js.map +1 -1
- package/mssql/serverTransparentDataEncryption.d.ts +24 -0
- package/mssql/serverTransparentDataEncryption.js +24 -0
- package/mssql/serverTransparentDataEncryption.js.map +1 -1
- package/mysql/firewallRule.d.ts +7 -2
- package/mysql/firewallRule.js +7 -2
- package/mysql/firewallRule.js.map +1 -1
- package/mysql/flexibleDatabase.d.ts +4 -4
- package/mysql/flexibleDatabase.js +4 -4
- package/mysql/flexibleServerConfiguration.d.ts +2 -2
- package/mysql/flexibleServerConfiguration.js +2 -2
- package/mysql/flexibleServerFirewallRule.d.ts +12 -6
- package/mysql/flexibleServerFirewallRule.js +12 -6
- package/mysql/flexibleServerFirewallRule.js.map +1 -1
- package/mysql/serverKey.d.ts +18 -18
- package/mysql/serverKey.js +18 -18
- package/netapp/volume.d.ts +0 -64
- package/netapp/volume.js +0 -64
- package/netapp/volume.js.map +1 -1
- package/network/networkConnectionMonitor.d.ts +109 -0
- package/network/networkConnectionMonitor.js +109 -0
- package/network/networkConnectionMonitor.js.map +1 -1
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.d.ts +0 -93
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js +0 -93
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js.map +1 -1
- package/network/networkInterfaceBackendAddressPoolAssociation.d.ts +47 -0
- package/network/networkInterfaceBackendAddressPoolAssociation.js +47 -0
- package/network/networkInterfaceBackendAddressPoolAssociation.js.map +1 -1
- package/network/networkPacketCapture.d.ts +83 -0
- package/network/networkPacketCapture.js +83 -0
- package/network/networkPacketCapture.js.map +1 -1
- package/operationalinsights/analyticsWorkspace.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/policy/getPolicyAssignment.d.ts +97 -0
- package/policy/getPolicyAssignment.js +39 -0
- package/policy/getPolicyAssignment.js.map +1 -0
- package/policy/index.d.ts +1 -0
- package/policy/index.js +1 -0
- package/policy/index.js.map +1 -1
- package/privatedns/srvrecord.d.ts +5 -5
- package/privatedns/srvrecord.js +5 -5
- package/privatedns/txtRecord.d.ts +5 -5
- package/privatedns/txtRecord.js +5 -5
- package/privatedns/zoneVirtualNetworkLink.d.ts +6 -1
- package/privatedns/zoneVirtualNetworkLink.js +6 -1
- package/privatedns/zoneVirtualNetworkLink.js.map +1 -1
- package/securitycenter/serverVulnerabilityAssessmentVirtualMachine.d.ts +48 -0
- package/securitycenter/serverVulnerabilityAssessmentVirtualMachine.js +48 -0
- package/securitycenter/serverVulnerabilityAssessmentVirtualMachine.js.map +1 -1
- package/servicebus/namespaceNetworkRuleSet.d.ts +1 -1
- package/servicebus/namespaceNetworkRuleSet.js +1 -1
- package/storage/getAccount.d.ts +4 -0
- package/storage/getAccount.js.map +1 -1
- package/types/input.d.ts +55 -40
- package/types/output.d.ts +79 -12
|
@@ -33,7 +33,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
33
33
|
* Linux Web Apps can be imported using the `resource id`, e.g.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
* $ pulumi import azure:appservice/linuxWebAppSlot:LinuxWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1
|
|
36
|
+
* $ pulumi import azure:appservice/linuxWebAppSlot:LinuxWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1/slots/slot1
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
export declare class LinuxWebAppSlot extends pulumi.CustomResource {
|
|
@@ -38,7 +38,7 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* Linux Web Apps can be imported using the `resource id`, e.g.
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
|
-
* $ pulumi import azure:appservice/linuxWebAppSlot:LinuxWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1
|
|
41
|
+
* $ pulumi import azure:appservice/linuxWebAppSlot:LinuxWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1/slots/slot1
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
class LinuxWebAppSlot extends pulumi.CustomResource {
|
|
@@ -33,7 +33,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
33
33
|
* Windows Web Apps can be imported using the `resource id`, e.g.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
|
-
* $ pulumi import azure:appservice/windowsWebAppSlot:WindowsWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1
|
|
36
|
+
* $ pulumi import azure:appservice/windowsWebAppSlot:WindowsWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1/slots/slot1
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
export declare class WindowsWebAppSlot extends pulumi.CustomResource {
|
|
@@ -38,7 +38,7 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* Windows Web Apps can be imported using the `resource id`, e.g.
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
|
-
* $ pulumi import azure:appservice/windowsWebAppSlot:WindowsWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1
|
|
41
|
+
* $ pulumi import azure:appservice/windowsWebAppSlot:WindowsWebAppSlot example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Web/sites/site1/slots/slot1
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
class WindowsWebAppSlot extends pulumi.CustomResource {
|
|
@@ -17,7 +17,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
17
17
|
* });
|
|
18
18
|
* const policy = new azure.backup.PolicyFileShare("policy", {
|
|
19
19
|
* resourceGroupName: exampleResourceGroup.name,
|
|
20
|
-
* recoveryVaultName:
|
|
20
|
+
* recoveryVaultName: exampleVault.name,
|
|
21
21
|
* timezone: "UTC",
|
|
22
22
|
* backup: {
|
|
23
23
|
* frequency: "Daily",
|
|
@@ -22,7 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* });
|
|
23
23
|
* const policy = new azure.backup.PolicyFileShare("policy", {
|
|
24
24
|
* resourceGroupName: exampleResourceGroup.name,
|
|
25
|
-
* recoveryVaultName:
|
|
25
|
+
* recoveryVaultName: exampleVault.name,
|
|
26
26
|
* timezone: "UTC",
|
|
27
27
|
* backup: {
|
|
28
28
|
* frequency: "Daily",
|
|
@@ -20,7 +20,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* accountTier: "Standard",
|
|
21
21
|
* accountReplicationType: "LRS",
|
|
22
22
|
* });
|
|
23
|
-
* const exampleShare = new azure.storage.Share("exampleShare", {
|
|
23
|
+
* const exampleShare = new azure.storage.Share("exampleShare", {
|
|
24
|
+
* storageAccountName: sa.name,
|
|
25
|
+
* quota: 1,
|
|
26
|
+
* });
|
|
24
27
|
* const protection_container = new azure.backup.ContainerStorageAccount("protection-container", {
|
|
25
28
|
* resourceGroupName: exampleResourceGroup.name,
|
|
26
29
|
* recoveryVaultName: vault.name,
|
|
@@ -26,7 +26,10 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* accountTier: "Standard",
|
|
27
27
|
* accountReplicationType: "LRS",
|
|
28
28
|
* });
|
|
29
|
-
* const exampleShare = new azure.storage.Share("exampleShare", {
|
|
29
|
+
* const exampleShare = new azure.storage.Share("exampleShare", {
|
|
30
|
+
* storageAccountName: sa.name,
|
|
31
|
+
* quota: 1,
|
|
32
|
+
* });
|
|
30
33
|
* const protection_container = new azure.backup.ContainerStorageAccount("protection-container", {
|
|
31
34
|
* resourceGroupName: exampleResourceGroup.name,
|
|
32
35
|
* recoveryVaultName: vault.name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protectedFileShare.js","sourceRoot":"","sources":["../../backup/protectedFileShare.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iF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AI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IA3FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA6FC;AA/EG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/backup/protectedVM.d.ts
CHANGED
|
@@ -22,10 +22,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* time: "23:00",
|
|
23
23
|
* },
|
|
24
24
|
* });
|
|
25
|
+
* const exampleVirtualMachine = azure.compute.getVirtualMachineOutput({
|
|
26
|
+
* name: "production",
|
|
27
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
28
|
+
* });
|
|
25
29
|
* const vm1 = new azure.backup.ProtectedVM("vm1", {
|
|
26
30
|
* resourceGroupName: exampleResourceGroup.name,
|
|
27
31
|
* recoveryVaultName: exampleVault.name,
|
|
28
|
-
* sourceVmId:
|
|
32
|
+
* sourceVmId: exampleVirtualMachine.apply(exampleVirtualMachine => exampleVirtualMachine.id),
|
|
29
33
|
* backupPolicyId: examplePolicyVM.id,
|
|
30
34
|
* });
|
|
31
35
|
* ```
|
package/backup/protectedVM.js
CHANGED
|
@@ -28,10 +28,14 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* time: "23:00",
|
|
29
29
|
* },
|
|
30
30
|
* });
|
|
31
|
+
* const exampleVirtualMachine = azure.compute.getVirtualMachineOutput({
|
|
32
|
+
* name: "production",
|
|
33
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
34
|
+
* });
|
|
31
35
|
* const vm1 = new azure.backup.ProtectedVM("vm1", {
|
|
32
36
|
* resourceGroupName: exampleResourceGroup.name,
|
|
33
37
|
* recoveryVaultName: exampleVault.name,
|
|
34
|
-
* sourceVmId:
|
|
38
|
+
* sourceVmId: exampleVirtualMachine.apply(exampleVirtualMachine => exampleVirtualMachine.id),
|
|
35
39
|
* backupPolicyId: examplePolicyVM.id,
|
|
36
40
|
* });
|
|
37
41
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protectedVM.js","sourceRoot":"","sources":["../../backup/protectedVM.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"protectedVM.js","sourceRoot":"","sources":["../../backup/protectedVM.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6DlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,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AW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA6FC;AA/EG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -33,8 +33,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* purgeProtectionEnabled: true,
|
|
34
34
|
* accessPolicies: [
|
|
35
35
|
* {
|
|
36
|
-
* tenantId:
|
|
37
|
-
* objectId:
|
|
36
|
+
* tenantId: exampleAccount.identity.apply(identity => identity?.tenantId),
|
|
37
|
+
* objectId: exampleAccount.identity.apply(identity => identity?.principalId),
|
|
38
38
|
* keyPermissions: [
|
|
39
39
|
* "Get",
|
|
40
40
|
* "Create",
|
|
@@ -72,8 +72,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
72
72
|
* secretPermissions: ["Get"],
|
|
73
73
|
* },
|
|
74
74
|
* {
|
|
75
|
-
* tenantId:
|
|
76
|
-
* objectId:
|
|
75
|
+
* tenantId: exampleUserAssignedIdentity.tenantId,
|
|
76
|
+
* objectId: exampleUserAssignedIdentity.principalId,
|
|
77
77
|
* keyPermissions: [
|
|
78
78
|
* "Get",
|
|
79
79
|
* "Create",
|
|
@@ -39,8 +39,8 @@ const utilities = require("../utilities");
|
|
|
39
39
|
* purgeProtectionEnabled: true,
|
|
40
40
|
* accessPolicies: [
|
|
41
41
|
* {
|
|
42
|
-
* tenantId:
|
|
43
|
-
* objectId:
|
|
42
|
+
* tenantId: exampleAccount.identity.apply(identity => identity?.tenantId),
|
|
43
|
+
* objectId: exampleAccount.identity.apply(identity => identity?.principalId),
|
|
44
44
|
* keyPermissions: [
|
|
45
45
|
* "Get",
|
|
46
46
|
* "Create",
|
|
@@ -78,8 +78,8 @@ const utilities = require("../utilities");
|
|
|
78
78
|
* secretPermissions: ["Get"],
|
|
79
79
|
* },
|
|
80
80
|
* {
|
|
81
|
-
* tenantId:
|
|
82
|
-
* objectId:
|
|
81
|
+
* tenantId: exampleUserAssignedIdentity.tenantId,
|
|
82
|
+
* objectId: exampleUserAssignedIdentity.principalId,
|
|
83
83
|
* keyPermissions: [
|
|
84
84
|
* "Get",
|
|
85
85
|
* "Create",
|
|
@@ -26,9 +26,15 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
26
26
|
* tenantId: current.then(current => current.tenantId),
|
|
27
27
|
* objectId: current.then(current => current.objectId),
|
|
28
28
|
* keyPermissions: [
|
|
29
|
-
* "
|
|
30
|
-
* "
|
|
31
|
-
* "
|
|
29
|
+
* "Create",
|
|
30
|
+
* "Delete",
|
|
31
|
+
* "Get",
|
|
32
|
+
* "Purge",
|
|
33
|
+
* "Recover",
|
|
34
|
+
* "Update",
|
|
35
|
+
* "List",
|
|
36
|
+
* "Decrypt",
|
|
37
|
+
* "Sign",
|
|
32
38
|
* ],
|
|
33
39
|
* });
|
|
34
40
|
* const exampleKey = new azure.keyvault.Key("exampleKey", {
|
|
@@ -59,9 +65,15 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
59
65
|
* tenantId: exampleDiskEncryptionSet.identity.apply(identity => identity.tenantId),
|
|
60
66
|
* objectId: exampleDiskEncryptionSet.identity.apply(identity => identity.principalId),
|
|
61
67
|
* keyPermissions: [
|
|
68
|
+
* "Create",
|
|
69
|
+
* "Delete",
|
|
62
70
|
* "Get",
|
|
63
|
-
* "
|
|
64
|
-
* "
|
|
71
|
+
* "Purge",
|
|
72
|
+
* "Recover",
|
|
73
|
+
* "Update",
|
|
74
|
+
* "List",
|
|
75
|
+
* "Decrypt",
|
|
76
|
+
* "Sign",
|
|
65
77
|
* ],
|
|
66
78
|
* });
|
|
67
79
|
* ```
|
|
@@ -31,9 +31,15 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* tenantId: current.then(current => current.tenantId),
|
|
32
32
|
* objectId: current.then(current => current.objectId),
|
|
33
33
|
* keyPermissions: [
|
|
34
|
-
* "
|
|
35
|
-
* "
|
|
36
|
-
* "
|
|
34
|
+
* "Create",
|
|
35
|
+
* "Delete",
|
|
36
|
+
* "Get",
|
|
37
|
+
* "Purge",
|
|
38
|
+
* "Recover",
|
|
39
|
+
* "Update",
|
|
40
|
+
* "List",
|
|
41
|
+
* "Decrypt",
|
|
42
|
+
* "Sign",
|
|
37
43
|
* ],
|
|
38
44
|
* });
|
|
39
45
|
* const exampleKey = new azure.keyvault.Key("exampleKey", {
|
|
@@ -64,9 +70,15 @@ const utilities = require("../utilities");
|
|
|
64
70
|
* tenantId: exampleDiskEncryptionSet.identity.apply(identity => identity.tenantId),
|
|
65
71
|
* objectId: exampleDiskEncryptionSet.identity.apply(identity => identity.principalId),
|
|
66
72
|
* keyPermissions: [
|
|
73
|
+
* "Create",
|
|
74
|
+
* "Delete",
|
|
67
75
|
* "Get",
|
|
68
|
-
* "
|
|
69
|
-
* "
|
|
76
|
+
* "Purge",
|
|
77
|
+
* "Recover",
|
|
78
|
+
* "Update",
|
|
79
|
+
* "List",
|
|
80
|
+
* "Decrypt",
|
|
81
|
+
* "Sign",
|
|
70
82
|
* ],
|
|
71
83
|
* });
|
|
72
84
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diskEncryptionSet.js","sourceRoot":"","sources":["../../compute/diskEncryptionSet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"diskEncryptionSet.js","sourceRoot":"","sources":["../../compute/diskEncryptionSet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAqExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IA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AAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAvGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAyGC;AA3FG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -4,6 +4,77 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* !> **Note:** Each Disk Pool can have a maximum of 1 iSCSI Target.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
* import * as azuread from "@pulumi/azuread";
|
|
13
|
+
*
|
|
14
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
15
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
|
16
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
17
|
+
* location: exampleResourceGroup.location,
|
|
18
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
19
|
+
* });
|
|
20
|
+
* const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
|
|
21
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
22
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
23
|
+
* addressPrefixes: ["10.0.0.0/24"],
|
|
24
|
+
* delegations: [{
|
|
25
|
+
* name: "diskspool",
|
|
26
|
+
* serviceDelegation: {
|
|
27
|
+
* actions: ["Microsoft.Network/virtualNetworks/read"],
|
|
28
|
+
* name: "Microsoft.StoragePool/diskPools",
|
|
29
|
+
* },
|
|
30
|
+
* }],
|
|
31
|
+
* });
|
|
32
|
+
* const exampleDiskPool = new azure.compute.DiskPool("exampleDiskPool", {
|
|
33
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
34
|
+
* location: exampleResourceGroup.location,
|
|
35
|
+
* subnetId: exampleSubnet.id,
|
|
36
|
+
* zones: ["1"],
|
|
37
|
+
* skuName: "Basic_B1",
|
|
38
|
+
* });
|
|
39
|
+
* const exampleManagedDisk = new azure.compute.ManagedDisk("exampleManagedDisk", {
|
|
40
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
41
|
+
* location: exampleResourceGroup.location,
|
|
42
|
+
* createOption: "Empty",
|
|
43
|
+
* storageAccountType: "Premium_LRS",
|
|
44
|
+
* diskSizeGb: 4,
|
|
45
|
+
* maxShares: 2,
|
|
46
|
+
* zone: "1",
|
|
47
|
+
* });
|
|
48
|
+
* const exampleServicePrincipal = azuread.getServicePrincipal({
|
|
49
|
+
* displayName: "StoragePool Resource Provider",
|
|
50
|
+
* });
|
|
51
|
+
* const roles = [
|
|
52
|
+
* "Disk Pool Operator",
|
|
53
|
+
* "Virtual Machine Contributor",
|
|
54
|
+
* ];
|
|
55
|
+
* const exampleAssignment: azure.authorization.Assignment[];
|
|
56
|
+
* for (const range = {value: 0}; range.value < roles.length; range.value++) {
|
|
57
|
+
* exampleAssignment.push(new azure.authorization.Assignment(`exampleAssignment-${range.value}`, {
|
|
58
|
+
* principalId: exampleServicePrincipal.then(exampleServicePrincipal => exampleServicePrincipal.id),
|
|
59
|
+
* roleDefinitionName: roles[range.value],
|
|
60
|
+
* scope: exampleManagedDisk.id,
|
|
61
|
+
* }));
|
|
62
|
+
* }
|
|
63
|
+
* const exampleDiskPoolManagedDiskAttachment = new azure.compute.DiskPoolManagedDiskAttachment("exampleDiskPoolManagedDiskAttachment", {
|
|
64
|
+
* diskPoolId: exampleDiskPool.id,
|
|
65
|
+
* managedDiskId: exampleManagedDisk.id,
|
|
66
|
+
* }, {
|
|
67
|
+
* dependsOn: [exampleAssignment],
|
|
68
|
+
* });
|
|
69
|
+
* const exampleDiskPoolIscsiTarget = new azure.compute.DiskPoolIscsiTarget("exampleDiskPoolIscsiTarget", {
|
|
70
|
+
* aclMode: "Dynamic",
|
|
71
|
+
* disksPoolId: exampleDiskPool.id,
|
|
72
|
+
* targetIqn: "iqn.2021-11.com.microsoft:test",
|
|
73
|
+
* }, {
|
|
74
|
+
* dependsOn: [exampleDiskPoolManagedDiskAttachment],
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
7
78
|
* ## Import
|
|
8
79
|
*
|
|
9
80
|
* iSCSI Targets can be imported using the `resource id`, e.g.
|
|
@@ -10,6 +10,77 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* !> **Note:** Each Disk Pool can have a maximum of 1 iSCSI Target.
|
|
12
12
|
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
* import * as azuread from "@pulumi/azuread";
|
|
19
|
+
*
|
|
20
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
21
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
|
22
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
23
|
+
* location: exampleResourceGroup.location,
|
|
24
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
25
|
+
* });
|
|
26
|
+
* const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
|
|
27
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
28
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
29
|
+
* addressPrefixes: ["10.0.0.0/24"],
|
|
30
|
+
* delegations: [{
|
|
31
|
+
* name: "diskspool",
|
|
32
|
+
* serviceDelegation: {
|
|
33
|
+
* actions: ["Microsoft.Network/virtualNetworks/read"],
|
|
34
|
+
* name: "Microsoft.StoragePool/diskPools",
|
|
35
|
+
* },
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* const exampleDiskPool = new azure.compute.DiskPool("exampleDiskPool", {
|
|
39
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
40
|
+
* location: exampleResourceGroup.location,
|
|
41
|
+
* subnetId: exampleSubnet.id,
|
|
42
|
+
* zones: ["1"],
|
|
43
|
+
* skuName: "Basic_B1",
|
|
44
|
+
* });
|
|
45
|
+
* const exampleManagedDisk = new azure.compute.ManagedDisk("exampleManagedDisk", {
|
|
46
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
47
|
+
* location: exampleResourceGroup.location,
|
|
48
|
+
* createOption: "Empty",
|
|
49
|
+
* storageAccountType: "Premium_LRS",
|
|
50
|
+
* diskSizeGb: 4,
|
|
51
|
+
* maxShares: 2,
|
|
52
|
+
* zone: "1",
|
|
53
|
+
* });
|
|
54
|
+
* const exampleServicePrincipal = azuread.getServicePrincipal({
|
|
55
|
+
* displayName: "StoragePool Resource Provider",
|
|
56
|
+
* });
|
|
57
|
+
* const roles = [
|
|
58
|
+
* "Disk Pool Operator",
|
|
59
|
+
* "Virtual Machine Contributor",
|
|
60
|
+
* ];
|
|
61
|
+
* const exampleAssignment: azure.authorization.Assignment[];
|
|
62
|
+
* for (const range = {value: 0}; range.value < roles.length; range.value++) {
|
|
63
|
+
* exampleAssignment.push(new azure.authorization.Assignment(`exampleAssignment-${range.value}`, {
|
|
64
|
+
* principalId: exampleServicePrincipal.then(exampleServicePrincipal => exampleServicePrincipal.id),
|
|
65
|
+
* roleDefinitionName: roles[range.value],
|
|
66
|
+
* scope: exampleManagedDisk.id,
|
|
67
|
+
* }));
|
|
68
|
+
* }
|
|
69
|
+
* const exampleDiskPoolManagedDiskAttachment = new azure.compute.DiskPoolManagedDiskAttachment("exampleDiskPoolManagedDiskAttachment", {
|
|
70
|
+
* diskPoolId: exampleDiskPool.id,
|
|
71
|
+
* managedDiskId: exampleManagedDisk.id,
|
|
72
|
+
* }, {
|
|
73
|
+
* dependsOn: [exampleAssignment],
|
|
74
|
+
* });
|
|
75
|
+
* const exampleDiskPoolIscsiTarget = new azure.compute.DiskPoolIscsiTarget("exampleDiskPoolIscsiTarget", {
|
|
76
|
+
* aclMode: "Dynamic",
|
|
77
|
+
* disksPoolId: exampleDiskPool.id,
|
|
78
|
+
* targetIqn: "iqn.2021-11.com.microsoft:test",
|
|
79
|
+
* }, {
|
|
80
|
+
* dependsOn: [exampleDiskPoolManagedDiskAttachment],
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
13
84
|
* ## Import
|
|
14
85
|
*
|
|
15
86
|
* iSCSI Targets can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diskPoolIscsiTarget.js","sourceRoot":"","sources":["../../compute/diskPoolIscsiTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"diskPoolIscsiTarget.js","sourceRoot":"","sources":["../../compute/diskPoolIscsiTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDA0FC;AA5EG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -2,6 +2,81 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages an iSCSI Target lun.
|
|
4
4
|
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
* import * as azuread from "@pulumi/azuread";
|
|
11
|
+
*
|
|
12
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
13
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
|
14
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
15
|
+
* location: exampleResourceGroup.location,
|
|
16
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
17
|
+
* });
|
|
18
|
+
* const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
|
|
19
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
20
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
21
|
+
* addressPrefixes: ["10.0.0.0/24"],
|
|
22
|
+
* delegations: [{
|
|
23
|
+
* name: "diskspool",
|
|
24
|
+
* serviceDelegation: {
|
|
25
|
+
* actions: ["Microsoft.Network/virtualNetworks/read"],
|
|
26
|
+
* name: "Microsoft.StoragePool/diskPools",
|
|
27
|
+
* },
|
|
28
|
+
* }],
|
|
29
|
+
* });
|
|
30
|
+
* const exampleDiskPool = new azure.compute.DiskPool("exampleDiskPool", {
|
|
31
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
32
|
+
* location: exampleResourceGroup.location,
|
|
33
|
+
* subnetId: exampleSubnet.id,
|
|
34
|
+
* zones: ["1"],
|
|
35
|
+
* skuName: "Basic_B1",
|
|
36
|
+
* });
|
|
37
|
+
* const exampleManagedDisk = new azure.compute.ManagedDisk("exampleManagedDisk", {
|
|
38
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
39
|
+
* location: exampleResourceGroup.location,
|
|
40
|
+
* createOption: "Empty",
|
|
41
|
+
* storageAccountType: "Premium_LRS",
|
|
42
|
+
* diskSizeGb: 4,
|
|
43
|
+
* maxShares: 2,
|
|
44
|
+
* zone: "1",
|
|
45
|
+
* });
|
|
46
|
+
* const exampleServicePrincipal = azuread.getServicePrincipal({
|
|
47
|
+
* displayName: "StoragePool Resource Provider",
|
|
48
|
+
* });
|
|
49
|
+
* const roles = [
|
|
50
|
+
* "Disk Pool Operator",
|
|
51
|
+
* "Virtual Machine Contributor",
|
|
52
|
+
* ];
|
|
53
|
+
* const exampleAssignment: azure.authorization.Assignment[];
|
|
54
|
+
* for (const range = {value: 0}; range.value < roles.length; range.value++) {
|
|
55
|
+
* exampleAssignment.push(new azure.authorization.Assignment(`exampleAssignment-${range.value}`, {
|
|
56
|
+
* principalId: exampleServicePrincipal.then(exampleServicePrincipal => exampleServicePrincipal.id),
|
|
57
|
+
* roleDefinitionName: roles[range.value],
|
|
58
|
+
* scope: exampleManagedDisk.id,
|
|
59
|
+
* }));
|
|
60
|
+
* }
|
|
61
|
+
* const exampleDiskPoolManagedDiskAttachment = new azure.compute.DiskPoolManagedDiskAttachment("exampleDiskPoolManagedDiskAttachment", {
|
|
62
|
+
* diskPoolId: exampleDiskPool.id,
|
|
63
|
+
* managedDiskId: exampleManagedDisk.id,
|
|
64
|
+
* }, {
|
|
65
|
+
* dependsOn: [exampleAssignment],
|
|
66
|
+
* });
|
|
67
|
+
* const exampleDiskPoolIscsiTarget = new azure.compute.DiskPoolIscsiTarget("exampleDiskPoolIscsiTarget", {
|
|
68
|
+
* aclMode: "Dynamic",
|
|
69
|
+
* disksPoolId: exampleDiskPool.id,
|
|
70
|
+
* targetIqn: "iqn.2021-11.com.microsoft:test",
|
|
71
|
+
* }, {
|
|
72
|
+
* dependsOn: [exampleDiskPoolManagedDiskAttachment],
|
|
73
|
+
* });
|
|
74
|
+
* const exampleDiskPoolIscsiTargetLun = new azure.compute.DiskPoolIscsiTargetLun("exampleDiskPoolIscsiTargetLun", {
|
|
75
|
+
* iscsiTargetId: exampleDiskPoolIscsiTarget.id,
|
|
76
|
+
* diskPoolManagedDiskAttachmentId: exampleDiskPoolManagedDiskAttachment.id,
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
5
80
|
* ## Import
|
|
6
81
|
*
|
|
7
82
|
* iSCSI Target Luns can be imported using the `resource id`, e.g.
|
|
@@ -8,6 +8,81 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages an iSCSI Target lun.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
* import * as azuread from "@pulumi/azuread";
|
|
17
|
+
*
|
|
18
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
|
|
20
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
21
|
+
* location: exampleResourceGroup.location,
|
|
22
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
23
|
+
* });
|
|
24
|
+
* const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
|
|
25
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
26
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
27
|
+
* addressPrefixes: ["10.0.0.0/24"],
|
|
28
|
+
* delegations: [{
|
|
29
|
+
* name: "diskspool",
|
|
30
|
+
* serviceDelegation: {
|
|
31
|
+
* actions: ["Microsoft.Network/virtualNetworks/read"],
|
|
32
|
+
* name: "Microsoft.StoragePool/diskPools",
|
|
33
|
+
* },
|
|
34
|
+
* }],
|
|
35
|
+
* });
|
|
36
|
+
* const exampleDiskPool = new azure.compute.DiskPool("exampleDiskPool", {
|
|
37
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
38
|
+
* location: exampleResourceGroup.location,
|
|
39
|
+
* subnetId: exampleSubnet.id,
|
|
40
|
+
* zones: ["1"],
|
|
41
|
+
* skuName: "Basic_B1",
|
|
42
|
+
* });
|
|
43
|
+
* const exampleManagedDisk = new azure.compute.ManagedDisk("exampleManagedDisk", {
|
|
44
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
45
|
+
* location: exampleResourceGroup.location,
|
|
46
|
+
* createOption: "Empty",
|
|
47
|
+
* storageAccountType: "Premium_LRS",
|
|
48
|
+
* diskSizeGb: 4,
|
|
49
|
+
* maxShares: 2,
|
|
50
|
+
* zone: "1",
|
|
51
|
+
* });
|
|
52
|
+
* const exampleServicePrincipal = azuread.getServicePrincipal({
|
|
53
|
+
* displayName: "StoragePool Resource Provider",
|
|
54
|
+
* });
|
|
55
|
+
* const roles = [
|
|
56
|
+
* "Disk Pool Operator",
|
|
57
|
+
* "Virtual Machine Contributor",
|
|
58
|
+
* ];
|
|
59
|
+
* const exampleAssignment: azure.authorization.Assignment[];
|
|
60
|
+
* for (const range = {value: 0}; range.value < roles.length; range.value++) {
|
|
61
|
+
* exampleAssignment.push(new azure.authorization.Assignment(`exampleAssignment-${range.value}`, {
|
|
62
|
+
* principalId: exampleServicePrincipal.then(exampleServicePrincipal => exampleServicePrincipal.id),
|
|
63
|
+
* roleDefinitionName: roles[range.value],
|
|
64
|
+
* scope: exampleManagedDisk.id,
|
|
65
|
+
* }));
|
|
66
|
+
* }
|
|
67
|
+
* const exampleDiskPoolManagedDiskAttachment = new azure.compute.DiskPoolManagedDiskAttachment("exampleDiskPoolManagedDiskAttachment", {
|
|
68
|
+
* diskPoolId: exampleDiskPool.id,
|
|
69
|
+
* managedDiskId: exampleManagedDisk.id,
|
|
70
|
+
* }, {
|
|
71
|
+
* dependsOn: [exampleAssignment],
|
|
72
|
+
* });
|
|
73
|
+
* const exampleDiskPoolIscsiTarget = new azure.compute.DiskPoolIscsiTarget("exampleDiskPoolIscsiTarget", {
|
|
74
|
+
* aclMode: "Dynamic",
|
|
75
|
+
* disksPoolId: exampleDiskPool.id,
|
|
76
|
+
* targetIqn: "iqn.2021-11.com.microsoft:test",
|
|
77
|
+
* }, {
|
|
78
|
+
* dependsOn: [exampleDiskPoolManagedDiskAttachment],
|
|
79
|
+
* });
|
|
80
|
+
* const exampleDiskPoolIscsiTargetLun = new azure.compute.DiskPoolIscsiTargetLun("exampleDiskPoolIscsiTargetLun", {
|
|
81
|
+
* iscsiTargetId: exampleDiskPoolIscsiTarget.id,
|
|
82
|
+
* diskPoolManagedDiskAttachmentId: exampleDiskPoolManagedDiskAttachment.id,
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
11
86
|
* ## Import
|
|
12
87
|
*
|
|
13
88
|
* iSCSI Target Luns can be imported using the `resource id`, e.g.
|