@pulumi/azure 6.29.0-alpha.1762841784 → 6.29.0-alpha.1763187052
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/apimanagement/apiOperationPolicy.d.ts +1 -1
- package/apimanagement/apiOperationPolicy.js +1 -1
- package/apimanagement/apiPolicy.d.ts +1 -1
- package/apimanagement/apiPolicy.js +1 -1
- package/apimanagement/apiTagDescription.d.ts +41 -0
- package/apimanagement/apiTagDescription.js +41 -0
- package/apimanagement/apiTagDescription.js.map +1 -1
- package/apimanagement/emailTemplate.d.ts +2 -2
- package/apimanagement/emailTemplate.js +2 -2
- package/apimanagement/getUser.d.ts +42 -0
- package/apimanagement/getUser.js +42 -0
- package/apimanagement/getUser.js.map +1 -1
- package/apimanagement/productPolicy.d.ts +1 -1
- package/apimanagement/productPolicy.js +1 -1
- package/apimanagement/redisCache.d.ts +37 -0
- package/apimanagement/redisCache.js +37 -0
- package/apimanagement/redisCache.js.map +1 -1
- package/apimanagement/workspacePolicy.d.ts +1 -1
- package/apimanagement/workspacePolicy.js +1 -1
- package/appinsights/webTest.d.ts +2 -2
- package/appinsights/webTest.js +2 -2
- package/appplatform/springCloudAppRedisAssociation.d.ts +36 -0
- package/appplatform/springCloudAppRedisAssociation.js +36 -0
- package/appplatform/springCloudAppRedisAssociation.js.map +1 -1
- package/appplatform/springCloudCertificate.d.ts +0 -99
- package/appplatform/springCloudCertificate.js +0 -99
- package/appplatform/springCloudCertificate.js.map +1 -1
- package/appplatform/springCloudConnection.d.ts +64 -0
- package/appplatform/springCloudConnection.js +64 -0
- package/appplatform/springCloudConnection.js.map +1 -1
- package/appservice/activeSlot.d.ts +1 -1
- package/appservice/activeSlot.js +1 -1
- package/appservice/appConnection.d.ts +69 -0
- package/appservice/appConnection.js +69 -0
- package/appservice/appConnection.js.map +1 -1
- package/appservice/connection.d.ts +61 -0
- package/appservice/connection.js +61 -0
- package/appservice/connection.js.map +1 -1
- package/appservice/customHostnameBinding.d.ts +2 -2
- package/appservice/customHostnameBinding.js +2 -2
- package/appservice/slot.d.ts +4 -4
- package/appservice/slot.js +4 -4
- package/appservice/webAppActiveSlot.d.ts +32 -0
- package/appservice/webAppActiveSlot.js +32 -0
- package/appservice/webAppActiveSlot.js.map +1 -1
- package/automation/dscNodeConfiguration.d.ts +15 -15
- package/automation/dscNodeConfiguration.js +15 -15
- package/automation/getVariableObject.d.ts +34 -0
- package/automation/getVariableObject.js +34 -0
- package/automation/getVariableObject.js.map +1 -1
- package/blueprint/assignment.d.ts +4 -4
- package/blueprint/assignment.js +4 -4
- package/cdn/endpointCustomDomain.d.ts +1 -1
- package/cdn/endpointCustomDomain.js +1 -1
- package/cdn/frontdoorSecret.d.ts +0 -72
- package/cdn/frontdoorSecret.js +0 -72
- package/cdn/frontdoorSecret.js.map +1 -1
- package/compute/extension.d.ts +1 -1
- package/compute/extension.js +1 -1
- package/containerapp/customDomain.d.ts +81 -0
- package/containerapp/customDomain.js +81 -0
- package/containerapp/customDomain.js.map +1 -1
- package/containerservice/tokenPassword.d.ts +42 -0
- package/containerservice/tokenPassword.js +42 -0
- package/containerservice/tokenPassword.js.map +1 -1
- package/core/getResourceGroupTemplateDeployment.d.ts +34 -0
- package/core/getResourceGroupTemplateDeployment.js +34 -0
- package/core/getResourceGroupTemplateDeployment.js.map +1 -1
- package/core/getSubscriptionTemplateDeployment.d.ts +32 -0
- package/core/getSubscriptionTemplateDeployment.js +32 -0
- package/core/getSubscriptionTemplateDeployment.js.map +1 -1
- package/core/getTenantTemplateDeployment.d.ts +32 -0
- package/core/getTenantTemplateDeployment.js +32 -0
- package/core/getTenantTemplateDeployment.js.map +1 -1
- package/core/resourceDeploymentScriptAzureCli.d.ts +1 -1
- package/core/resourceDeploymentScriptAzureCli.js +1 -1
- package/core/resourceGroupPolicyAssignment.d.ts +4 -4
- package/core/resourceGroupPolicyAssignment.js +4 -4
- package/core/resourceGroupPolicyRemediation.d.ts +6 -6
- package/core/resourceGroupPolicyRemediation.js +6 -6
- package/core/resourceGroupTemplateDeployment.d.ts +75 -0
- package/core/resourceGroupTemplateDeployment.js +75 -0
- package/core/resourceGroupTemplateDeployment.js.map +1 -1
- package/core/subscriptionTemplateDeployment.d.ts +10 -10
- package/core/subscriptionTemplateDeployment.js +10 -10
- package/cosmosdb/account.d.ts +2 -2
- package/cosmosdb/account.js +2 -2
- package/cosmosdb/cassandraCluster.d.ts +0 -49
- package/cosmosdb/cassandraCluster.js +0 -49
- package/cosmosdb/cassandraCluster.js.map +1 -1
- package/cosmosdb/cassandraDatacenter.d.ts +0 -59
- package/cosmosdb/cassandraDatacenter.js +0 -59
- package/cosmosdb/cassandraDatacenter.js.map +1 -1
- package/cosmosdb/sqlFunction.d.ts +28 -0
- package/cosmosdb/sqlFunction.js +28 -0
- package/cosmosdb/sqlFunction.js.map +1 -1
- package/cosmosdb/sqlStoredProcedure.d.ts +31 -0
- package/cosmosdb/sqlStoredProcedure.js +31 -0
- package/cosmosdb/sqlStoredProcedure.js.map +1 -1
- package/cosmosdb/sqlTrigger.d.ts +30 -0
- package/cosmosdb/sqlTrigger.js +30 -0
- package/cosmosdb/sqlTrigger.js.map +1 -1
- package/datafactory/customDataset.d.ts +18 -18
- package/datafactory/customDataset.js +18 -18
- package/datafactory/dataFlow.d.ts +1 -1
- package/datafactory/dataFlow.js +1 -1
- package/datafactory/flowletDataFlow.d.ts +1 -1
- package/datafactory/flowletDataFlow.js +1 -1
- package/datafactory/linkedCustomService.d.ts +1 -1
- package/datafactory/linkedCustomService.js +1 -1
- package/datafactory/pipeline.d.ts +7 -7
- package/datafactory/pipeline.js +7 -7
- package/dataprotection/backupPolicyKubernetesCluster.d.ts +42 -0
- package/dataprotection/backupPolicyKubernetesCluster.js +42 -0
- package/dataprotection/backupPolicyKubernetesCluster.js.map +1 -1
- package/datashare/datasetBlobStorage.d.ts +0 -66
- package/datashare/datasetBlobStorage.js +0 -66
- package/datashare/datasetBlobStorage.js.map +1 -1
- package/datashare/datasetDataLakeGen2.d.ts +0 -62
- package/datashare/datasetDataLakeGen2.js +0 -62
- package/datashare/datasetDataLakeGen2.js.map +1 -1
- package/desktopvirtualization/scalingPlan.d.ts +0 -103
- package/desktopvirtualization/scalingPlan.js +0 -103
- package/desktopvirtualization/scalingPlan.js.map +1 -1
- package/desktopvirtualization/scalingPlanHostPoolAssociation.d.ts +0 -79
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js +0 -79
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js.map +1 -1
- package/dynatrace/monitor.d.ts +33 -0
- package/dynatrace/monitor.js +33 -0
- package/dynatrace/monitor.js.map +1 -1
- package/dynatrace/tagRules.d.ts +54 -0
- package/dynatrace/tagRules.js +54 -0
- package/dynatrace/tagRules.js.map +1 -1
- package/eventhub/queueAuthorizationRule.d.ts +31 -0
- package/eventhub/queueAuthorizationRule.js +31 -0
- package/eventhub/queueAuthorizationRule.js.map +1 -1
- package/eventhub/subscriptionRule.d.ts +76 -0
- package/eventhub/subscriptionRule.js +76 -0
- package/eventhub/subscriptionRule.js.map +1 -1
- package/hpc/cacheBlobTarget.d.ts +0 -71
- package/hpc/cacheBlobTarget.js +0 -71
- package/hpc/cacheBlobTarget.js.map +1 -1
- package/iot/endpointCosmosdbAccount.d.ts +58 -0
- package/iot/endpointCosmosdbAccount.js +58 -0
- package/iot/endpointCosmosdbAccount.js.map +1 -1
- package/iot/endpointServicebusQueue.d.ts +46 -0
- package/iot/endpointServicebusQueue.js +46 -0
- package/iot/endpointServicebusQueue.js.map +1 -1
- package/keyvault/accessPolicy.d.ts +0 -42
- package/keyvault/accessPolicy.js +0 -42
- package/keyvault/accessPolicy.js.map +1 -1
- package/keyvault/getCertificates.d.ts +36 -0
- package/keyvault/getCertificates.js +36 -0
- package/keyvault/getCertificates.js.map +1 -1
- package/keyvault/getSecrets.d.ts +36 -0
- package/keyvault/getSecrets.js +36 -0
- package/keyvault/getSecrets.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleKey.d.ts +52 -0
- package/keyvault/managedHardwareSecurityModuleKey.js +52 -0
- package/keyvault/managedHardwareSecurityModuleKey.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.d.ts +19 -0
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.js +19 -0
- package/keyvault/managedHardwareSecurityModuleRoleAssignment.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.d.ts +31 -0
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js +31 -0
- package/keyvault/managedHardwareSecurityModuleRoleDefinition.js.map +1 -1
- package/keyvault/managedStorageAccount.d.ts +0 -64
- package/keyvault/managedStorageAccount.js +0 -64
- package/keyvault/managedStorageAccount.js.map +1 -1
- package/kusto/clusterPrincipalAssignment.d.ts +38 -0
- package/kusto/clusterPrincipalAssignment.js +38 -0
- package/kusto/clusterPrincipalAssignment.js.map +1 -1
- package/kusto/cosmosdbDataConnection.d.ts +102 -0
- package/kusto/cosmosdbDataConnection.js +102 -0
- package/kusto/cosmosdbDataConnection.js.map +1 -1
- package/logicapps/actionCustom.d.ts +8 -8
- package/logicapps/actionCustom.js +8 -8
- package/logicapps/integrationAccountSession.d.ts +1 -1
- package/logicapps/integrationAccountSession.js +1 -1
- package/logicapps/triggerCustom.d.ts +4 -4
- package/logicapps/triggerCustom.js +4 -4
- package/logicapps/triggerHttpRequest.d.ts +4 -4
- package/logicapps/triggerHttpRequest.js +4 -4
- package/machinelearning/workspace.d.ts +0 -167
- package/machinelearning/workspace.js +0 -167
- package/machinelearning/workspace.js.map +1 -1
- package/managedlustre/fileSystem.d.ts +35 -0
- package/managedlustre/fileSystem.js +35 -0
- package/managedlustre/fileSystem.js.map +1 -1
- package/management/getGroupTemplateDeployment.d.ts +34 -0
- package/management/getGroupTemplateDeployment.js +34 -0
- package/management/getGroupTemplateDeployment.js.map +1 -1
- package/management/groupPolicySetDefinition.d.ts +7 -7
- package/management/groupPolicySetDefinition.js +7 -7
- package/management/groupTemplateDeployment.d.ts +24 -24
- package/management/groupTemplateDeployment.js +24 -24
- package/management/privateLinkAssociation.d.ts +2 -2
- package/management/privateLinkAssociation.js +2 -2
- package/mobile/networkAttachedDataNetwork.d.ts +79 -0
- package/mobile/networkAttachedDataNetwork.js +79 -0
- package/mobile/networkAttachedDataNetwork.js.map +1 -1
- package/mobile/networkPacketCoreDataPlane.d.ts +50 -0
- package/mobile/networkPacketCoreDataPlane.js +50 -0
- package/mobile/networkPacketCoreDataPlane.js.map +1 -1
- package/monitoring/alertPrometheusRuleGroup.d.ts +2 -2
- package/monitoring/alertPrometheusRuleGroup.js +2 -2
- package/monitoring/scheduledQueryRulesAlert.d.ts +94 -0
- package/monitoring/scheduledQueryRulesAlert.js +94 -0
- package/monitoring/scheduledQueryRulesAlert.js.map +1 -1
- package/mssql/managedInstanceSecurityAlertPolicy.d.ts +197 -0
- package/mssql/managedInstanceSecurityAlertPolicy.js +197 -0
- package/mssql/managedInstanceSecurityAlertPolicy.js.map +1 -1
- package/mssql/managedInstanceStartStopSchedule.d.ts +203 -0
- package/mssql/managedInstanceStartStopSchedule.js +203 -0
- package/mssql/managedInstanceStartStopSchedule.js.map +1 -1
- package/mssql/serverExtendedAuditingPolicy.d.ts +90 -0
- package/mssql/serverExtendedAuditingPolicy.js +90 -0
- package/mssql/serverExtendedAuditingPolicy.js.map +1 -1
- package/mssql/serverMicrosoftSupportAuditingPolicy.d.ts +88 -0
- package/mssql/serverMicrosoftSupportAuditingPolicy.js +88 -0
- package/mssql/serverMicrosoftSupportAuditingPolicy.js.map +1 -1
- package/mssql/virtualMachineAvailabilityGroupListener.d.ts +84 -0
- package/mssql/virtualMachineAvailabilityGroupListener.js +84 -0
- package/mssql/virtualMachineAvailabilityGroupListener.js.map +1 -1
- package/netapp/volumeGroupSapHana.d.ts +1 -1
- package/netapp/volumeGroupSapHana.js +1 -1
- package/network/getVirtualWan.d.ts +56 -0
- package/network/getVirtualWan.js +56 -0
- package/network/getVirtualWan.js.map +1 -1
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.d.ts +110 -0
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js +110 -0
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js.map +1 -1
- package/network/trafficManagerProfile.d.ts +2 -2
- package/network/trafficManagerProfile.js +2 -2
- package/network/virtualNetworkDnsServers.d.ts +28 -0
- package/network/virtualNetworkDnsServers.js +28 -0
- package/network/virtualNetworkDnsServers.js.map +1 -1
- package/network/virtualNetworkPeering.d.ts +60 -0
- package/network/virtualNetworkPeering.js +60 -0
- package/network/virtualNetworkPeering.js.map +1 -1
- package/nginx/configuration.d.ts +2 -2
- package/nginx/configuration.js +2 -2
- package/operationalinsights/analyticsSolution.d.ts +3 -3
- package/operationalinsights/analyticsSolution.js +3 -3
- package/oracle/autonomousDatabase.d.ts +27 -0
- package/oracle/autonomousDatabase.js +27 -0
- package/oracle/autonomousDatabase.js.map +1 -1
- package/oracle/autonomousDatabaseBackup.d.ts +21 -0
- package/oracle/autonomousDatabaseBackup.js +21 -0
- package/oracle/autonomousDatabaseBackup.js.map +1 -1
- package/package.json +2 -2
- package/pim/roleManagementPolicy.d.ts +0 -56
- package/pim/roleManagementPolicy.js +0 -56
- package/pim/roleManagementPolicy.js.map +1 -1
- package/policy/definition.d.ts +7 -7
- package/policy/definition.js +7 -7
- package/policy/policySetDefinition.d.ts +7 -7
- package/policy/policySetDefinition.js +7 -7
- package/postgresql/flexibleServerActiveDirectoryAdministrator.d.ts +0 -47
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js +0 -47
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js.map +1 -1
- package/privatedns/linkService.d.ts +64 -0
- package/privatedns/linkService.js +64 -0
- package/privatedns/linkService.js.map +1 -1
- package/privatelink/applicationSecurityGroupAssociation.d.ts +81 -0
- package/privatelink/applicationSecurityGroupAssociation.js +81 -0
- package/privatelink/applicationSecurityGroupAssociation.js.map +1 -1
- package/privatelink/endpoint.d.ts +69 -0
- package/privatelink/endpoint.js +69 -0
- package/privatelink/endpoint.js.map +1 -1
- package/qumulo/fileSystem.d.ts +42 -0
- package/qumulo/fileSystem.js +42 -0
- package/qumulo/fileSystem.js.map +1 -1
- package/redhatopenshift/cluster.d.ts +0 -103
- package/redhatopenshift/cluster.js +0 -103
- package/redhatopenshift/cluster.js.map +1 -1
- package/redis/cacheAccessPolicy.d.ts +29 -0
- package/redis/cacheAccessPolicy.js +29 -0
- package/redis/cacheAccessPolicy.js.map +1 -1
- package/redis/cacheAccessPolicyAssignment.d.ts +32 -0
- package/redis/cacheAccessPolicyAssignment.js +32 -0
- package/redis/cacheAccessPolicyAssignment.js.map +1 -1
- package/redis/firewallRule.d.ts +38 -0
- package/redis/firewallRule.js +38 -0
- package/redis/firewallRule.js.map +1 -1
- package/redis/linkedServer.d.ts +49 -0
- package/redis/linkedServer.js +49 -0
- package/redis/linkedServer.js.map +1 -1
- package/sentinel/alertRuleNrt.d.ts +2 -2
- package/sentinel/alertRuleNrt.js +2 -2
- package/sentinel/alertRuleScheduled.d.ts +2 -2
- package/sentinel/alertRuleScheduled.js +2 -2
- package/sentinel/metadata.d.ts +2 -2
- package/sentinel/metadata.js +2 -2
- package/servicebus/queueAuthorizationRule.d.ts +31 -0
- package/servicebus/queueAuthorizationRule.js +31 -0
- package/servicebus/queueAuthorizationRule.js.map +1 -1
- package/servicebus/subscriptionRule.d.ts +76 -0
- package/servicebus/subscriptionRule.js +76 -0
- package/servicebus/subscriptionRule.js.map +1 -1
- package/signalr/serviceNetworkAcl.d.ts +55 -0
- package/signalr/serviceNetworkAcl.js +55 -0
- package/signalr/serviceNetworkAcl.js.map +1 -1
- package/stack/hciCluster.d.ts +0 -36
- package/stack/hciCluster.js +0 -36
- package/stack/hciCluster.js.map +1 -1
- package/stack/hciLogicalNetwork.d.ts +33 -0
- package/stack/hciLogicalNetwork.js +33 -0
- package/stack/hciLogicalNetwork.js.map +1 -1
- package/stack/hciMarketplaceGalleryImage.d.ts +0 -48
- package/stack/hciMarketplaceGalleryImage.js +0 -48
- package/stack/hciMarketplaceGalleryImage.js.map +1 -1
- package/stack/hciNetworkInterface.d.ts +48 -0
- package/stack/hciNetworkInterface.js +48 -0
- package/stack/hciNetworkInterface.js.map +1 -1
- package/streamanalytics/outputCosmosdb.d.ts +51 -0
- package/streamanalytics/outputCosmosdb.js +51 -0
- package/streamanalytics/outputCosmosdb.js.map +1 -1
- package/streamanalytics/outputServiceBusQueue.d.ts +38 -0
- package/streamanalytics/outputServiceBusQueue.js +38 -0
- package/streamanalytics/outputServiceBusQueue.js.map +1 -1
- package/streamanalytics/outputServicebusTopic.d.ts +42 -0
- package/streamanalytics/outputServicebusTopic.js +42 -0
- package/streamanalytics/outputServicebusTopic.js.map +1 -1
- package/synapse/linkedService.d.ts +1 -1
- package/synapse/linkedService.js +1 -1
- package/synapse/sqlPoolSecurityAlertPolicy.d.ts +66 -0
- package/synapse/sqlPoolSecurityAlertPolicy.js +66 -0
- package/synapse/sqlPoolSecurityAlertPolicy.js.map +1 -1
- package/synapse/sqlPoolVulnerabilityAssessment.d.ts +82 -0
- package/synapse/sqlPoolVulnerabilityAssessment.js +82 -0
- package/synapse/sqlPoolVulnerabilityAssessment.js.map +1 -1
- package/synapse/workspaceSecurityAlertPolicy.d.ts +60 -0
- package/synapse/workspaceSecurityAlertPolicy.js +60 -0
- package/synapse/workspaceSecurityAlertPolicy.js.map +1 -1
- package/synapse/workspaceVulnerabilityAssessment.d.ts +76 -0
- package/synapse/workspaceVulnerabilityAssessment.js +76 -0
- package/synapse/workspaceVulnerabilityAssessment.js.map +1 -1
- package/trafficmanager/profile.d.ts +2 -2
- package/trafficmanager/profile.js +2 -2
- package/webpubsub/networkAcl.d.ts +58 -0
- package/webpubsub/networkAcl.js +58 -0
- package/webpubsub/networkAcl.js.map +1 -1
- package/webpubsub/socketio.d.ts +25 -0
- package/webpubsub/socketio.js +25 -0
- package/webpubsub/socketio.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionRule.js","sourceRoot":"","sources":["../../eventhub/subscriptionRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"subscriptionRule.js","sourceRoot":"","sources":["../../eventhub/subscriptionRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mIAAmI,CAAC,CAAA;QACpJ,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAqCD,oHAAoH;IACpH,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mIAAmI,CAAC,CAAA;QACpJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,E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AO,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAhGL,4CAiGC;AAlFG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
|
package/hpc/cacheBlobTarget.d.ts
CHANGED
|
@@ -6,77 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* > **Note:** By request of the service team the provider no longer automatically registering the `Microsoft.StorageCache` Resource Provider for this resource. To register it you can run `az provider register --namespace 'Microsoft.StorageCache'`.
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as azure from "@pulumi/azure";
|
|
14
|
-
* import * as azuread from "@pulumi/azuread";
|
|
15
|
-
*
|
|
16
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
17
|
-
* name: "example-resources",
|
|
18
|
-
* location: "West Europe",
|
|
19
|
-
* });
|
|
20
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
21
|
-
* name: "examplevn",
|
|
22
|
-
* addressSpaces: ["10.0.0.0/16"],
|
|
23
|
-
* location: exampleResourceGroup.location,
|
|
24
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
25
|
-
* });
|
|
26
|
-
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
27
|
-
* name: "examplesubnet",
|
|
28
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
29
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
30
|
-
* addressPrefixes: ["10.0.1.0/24"],
|
|
31
|
-
* });
|
|
32
|
-
* const exampleCache = new azure.hpc.Cache("example", {
|
|
33
|
-
* name: "examplehpccache",
|
|
34
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
35
|
-
* location: exampleResourceGroup.location,
|
|
36
|
-
* cacheSizeInGb: 3072,
|
|
37
|
-
* subnetId: exampleSubnet.id,
|
|
38
|
-
* skuName: "Standard_2G",
|
|
39
|
-
* });
|
|
40
|
-
* const exampleAccount = new azure.storage.Account("example", {
|
|
41
|
-
* name: "examplestorgaccount",
|
|
42
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
43
|
-
* location: exampleResourceGroup.location,
|
|
44
|
-
* accountTier: "Standard",
|
|
45
|
-
* accountReplicationType: "LRS",
|
|
46
|
-
* });
|
|
47
|
-
* const exampleContainer = new azure.storage.Container("example", {
|
|
48
|
-
* name: "examplestoragecontainer",
|
|
49
|
-
* storageAccountName: exampleAccount.name,
|
|
50
|
-
* });
|
|
51
|
-
* const example = azuread.getServicePrincipal({
|
|
52
|
-
* displayName: "HPC Cache Resource Provider",
|
|
53
|
-
* });
|
|
54
|
-
* const exampleStorageAccountContrib = new azure.authorization.Assignment("example_storage_account_contrib", {
|
|
55
|
-
* scope: exampleAccount.id,
|
|
56
|
-
* roleDefinitionName: "Storage Account Contributor",
|
|
57
|
-
* principalId: example.then(example => example.objectId),
|
|
58
|
-
* });
|
|
59
|
-
* const exampleStorageBlobDataContrib = new azure.authorization.Assignment("example_storage_blob_data_contrib", {
|
|
60
|
-
* scope: exampleAccount.id,
|
|
61
|
-
* roleDefinitionName: "Storage Blob Data Contributor",
|
|
62
|
-
* principalId: example.then(example => example.objectId),
|
|
63
|
-
* });
|
|
64
|
-
* const exampleCacheBlobTarget = new azure.hpc.CacheBlobTarget("example", {
|
|
65
|
-
* name: "examplehpccblobtarget",
|
|
66
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
67
|
-
* cacheName: exampleCache.name,
|
|
68
|
-
* storageContainerId: exampleContainer.id,
|
|
69
|
-
* namespacePath: "/blob_storage",
|
|
70
|
-
* });
|
|
71
|
-
* ```
|
|
72
|
-
*
|
|
73
|
-
* ## API Providers
|
|
74
|
-
*
|
|
75
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
76
|
-
* This resource uses the following Azure API Providers:
|
|
77
|
-
*
|
|
78
|
-
* * `Microsoft.StorageCache` - 2023-05-01
|
|
79
|
-
*
|
|
80
9
|
* ## Import
|
|
81
10
|
*
|
|
82
11
|
* Blob Targets within an HPC Cache can be imported using the `resource id`, e.g.
|
package/hpc/cacheBlobTarget.js
CHANGED
|
@@ -12,77 +12,6 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* > **Note:** By request of the service team the provider no longer automatically registering the `Microsoft.StorageCache` Resource Provider for this resource. To register it you can run `az provider register --namespace 'Microsoft.StorageCache'`.
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as azure from "@pulumi/azure";
|
|
20
|
-
* import * as azuread from "@pulumi/azuread";
|
|
21
|
-
*
|
|
22
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
23
|
-
* name: "example-resources",
|
|
24
|
-
* location: "West Europe",
|
|
25
|
-
* });
|
|
26
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
27
|
-
* name: "examplevn",
|
|
28
|
-
* addressSpaces: ["10.0.0.0/16"],
|
|
29
|
-
* location: exampleResourceGroup.location,
|
|
30
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
31
|
-
* });
|
|
32
|
-
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
33
|
-
* name: "examplesubnet",
|
|
34
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
35
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
36
|
-
* addressPrefixes: ["10.0.1.0/24"],
|
|
37
|
-
* });
|
|
38
|
-
* const exampleCache = new azure.hpc.Cache("example", {
|
|
39
|
-
* name: "examplehpccache",
|
|
40
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
41
|
-
* location: exampleResourceGroup.location,
|
|
42
|
-
* cacheSizeInGb: 3072,
|
|
43
|
-
* subnetId: exampleSubnet.id,
|
|
44
|
-
* skuName: "Standard_2G",
|
|
45
|
-
* });
|
|
46
|
-
* const exampleAccount = new azure.storage.Account("example", {
|
|
47
|
-
* name: "examplestorgaccount",
|
|
48
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
49
|
-
* location: exampleResourceGroup.location,
|
|
50
|
-
* accountTier: "Standard",
|
|
51
|
-
* accountReplicationType: "LRS",
|
|
52
|
-
* });
|
|
53
|
-
* const exampleContainer = new azure.storage.Container("example", {
|
|
54
|
-
* name: "examplestoragecontainer",
|
|
55
|
-
* storageAccountName: exampleAccount.name,
|
|
56
|
-
* });
|
|
57
|
-
* const example = azuread.getServicePrincipal({
|
|
58
|
-
* displayName: "HPC Cache Resource Provider",
|
|
59
|
-
* });
|
|
60
|
-
* const exampleStorageAccountContrib = new azure.authorization.Assignment("example_storage_account_contrib", {
|
|
61
|
-
* scope: exampleAccount.id,
|
|
62
|
-
* roleDefinitionName: "Storage Account Contributor",
|
|
63
|
-
* principalId: example.then(example => example.objectId),
|
|
64
|
-
* });
|
|
65
|
-
* const exampleStorageBlobDataContrib = new azure.authorization.Assignment("example_storage_blob_data_contrib", {
|
|
66
|
-
* scope: exampleAccount.id,
|
|
67
|
-
* roleDefinitionName: "Storage Blob Data Contributor",
|
|
68
|
-
* principalId: example.then(example => example.objectId),
|
|
69
|
-
* });
|
|
70
|
-
* const exampleCacheBlobTarget = new azure.hpc.CacheBlobTarget("example", {
|
|
71
|
-
* name: "examplehpccblobtarget",
|
|
72
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
73
|
-
* cacheName: exampleCache.name,
|
|
74
|
-
* storageContainerId: exampleContainer.id,
|
|
75
|
-
* namespacePath: "/blob_storage",
|
|
76
|
-
* });
|
|
77
|
-
* ```
|
|
78
|
-
*
|
|
79
|
-
* ## API Providers
|
|
80
|
-
*
|
|
81
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
82
|
-
* This resource uses the following Azure API Providers:
|
|
83
|
-
*
|
|
84
|
-
* * `Microsoft.StorageCache` - 2023-05-01
|
|
85
|
-
*
|
|
86
15
|
* ## Import
|
|
87
16
|
*
|
|
88
17
|
* Blob Targets within an HPC Cache can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cacheBlobTarget.js","sourceRoot":"","sources":["../../hpc/cacheBlobTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cacheBlobTarget.js","sourceRoot":"","sources":["../../hpc/cacheBlobTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAqCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,I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G,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAjGL,0CAkGC;AApFG,gBAAgB;AACO,4BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -6,6 +6,64 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
14
|
+
* name: "example-resources",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleIoTHub = new azure.iot.IoTHub("example", {
|
|
18
|
+
* name: "exampleIothub",
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* location: example.location,
|
|
21
|
+
* sku: {
|
|
22
|
+
* name: "B1",
|
|
23
|
+
* capacity: 1,
|
|
24
|
+
* },
|
|
25
|
+
* tags: {
|
|
26
|
+
* purpose: "example",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
30
|
+
* name: "cosmosdb-account",
|
|
31
|
+
* location: example.location,
|
|
32
|
+
* resourceGroupName: example.name,
|
|
33
|
+
* offerType: "Standard",
|
|
34
|
+
* kind: "GlobalDocumentDB",
|
|
35
|
+
* consistencyPolicy: {
|
|
36
|
+
* consistencyLevel: "Strong",
|
|
37
|
+
* },
|
|
38
|
+
* geoLocations: [{
|
|
39
|
+
* location: example.location,
|
|
40
|
+
* failoverPriority: 0,
|
|
41
|
+
* }],
|
|
42
|
+
* });
|
|
43
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
44
|
+
* name: "cosmos-sql-db",
|
|
45
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
46
|
+
* accountName: exampleAccount.name,
|
|
47
|
+
* });
|
|
48
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
49
|
+
* name: "example-container",
|
|
50
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
51
|
+
* accountName: exampleAccount.name,
|
|
52
|
+
* databaseName: exampleSqlDatabase.name,
|
|
53
|
+
* partitionKeyPath: "/definition/id",
|
|
54
|
+
* });
|
|
55
|
+
* const exampleEndpointCosmosdbAccount = new azure.iot.EndpointCosmosdbAccount("example", {
|
|
56
|
+
* name: "example",
|
|
57
|
+
* resourceGroupName: example.name,
|
|
58
|
+
* iothubId: exampleIoTHub.id,
|
|
59
|
+
* containerName: exampleSqlContainer.name,
|
|
60
|
+
* databaseName: exampleSqlDatabase.name,
|
|
61
|
+
* endpointUri: exampleAccount.endpoint,
|
|
62
|
+
* primaryKey: exampleAccount.primaryKey,
|
|
63
|
+
* secondaryKey: exampleAccount.secondaryKey,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
9
67
|
* ## Import
|
|
10
68
|
*
|
|
11
69
|
* IoTHub Cosmos DB Account Endpoint can be imported using the `resource id`, e.g.
|
|
@@ -12,6 +12,64 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
*
|
|
19
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
20
|
+
* name: "example-resources",
|
|
21
|
+
* location: "West Europe",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleIoTHub = new azure.iot.IoTHub("example", {
|
|
24
|
+
* name: "exampleIothub",
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* location: example.location,
|
|
27
|
+
* sku: {
|
|
28
|
+
* name: "B1",
|
|
29
|
+
* capacity: 1,
|
|
30
|
+
* },
|
|
31
|
+
* tags: {
|
|
32
|
+
* purpose: "example",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
36
|
+
* name: "cosmosdb-account",
|
|
37
|
+
* location: example.location,
|
|
38
|
+
* resourceGroupName: example.name,
|
|
39
|
+
* offerType: "Standard",
|
|
40
|
+
* kind: "GlobalDocumentDB",
|
|
41
|
+
* consistencyPolicy: {
|
|
42
|
+
* consistencyLevel: "Strong",
|
|
43
|
+
* },
|
|
44
|
+
* geoLocations: [{
|
|
45
|
+
* location: example.location,
|
|
46
|
+
* failoverPriority: 0,
|
|
47
|
+
* }],
|
|
48
|
+
* });
|
|
49
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
50
|
+
* name: "cosmos-sql-db",
|
|
51
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
52
|
+
* accountName: exampleAccount.name,
|
|
53
|
+
* });
|
|
54
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
55
|
+
* name: "example-container",
|
|
56
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
57
|
+
* accountName: exampleAccount.name,
|
|
58
|
+
* databaseName: exampleSqlDatabase.name,
|
|
59
|
+
* partitionKeyPath: "/definition/id",
|
|
60
|
+
* });
|
|
61
|
+
* const exampleEndpointCosmosdbAccount = new azure.iot.EndpointCosmosdbAccount("example", {
|
|
62
|
+
* name: "example",
|
|
63
|
+
* resourceGroupName: example.name,
|
|
64
|
+
* iothubId: exampleIoTHub.id,
|
|
65
|
+
* containerName: exampleSqlContainer.name,
|
|
66
|
+
* databaseName: exampleSqlDatabase.name,
|
|
67
|
+
* endpointUri: exampleAccount.endpoint,
|
|
68
|
+
* primaryKey: exampleAccount.primaryKey,
|
|
69
|
+
* secondaryKey: exampleAccount.secondaryKey,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
15
73
|
* ## Import
|
|
16
74
|
*
|
|
17
75
|
* IoTHub Cosmos DB Account Endpoint can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpointCosmosdbAccount.js","sourceRoot":"","sources":["../../iot/endpointCosmosdbAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"endpointCosmosdbAccount.js","sourceRoot":"","sources":["../../iot/endpointCosmosdbAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,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AE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnG,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAtJL,0DAuJC;AAzIG,gBAAgB;AACO,oCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -6,6 +6,52 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
14
|
+
* name: "example-resources",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
18
|
+
* name: "exampleNamespace",
|
|
19
|
+
* location: example.location,
|
|
20
|
+
* resourceGroupName: example.name,
|
|
21
|
+
* sku: "Standard",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleQueue = new azure.servicebus.Queue("example", {
|
|
24
|
+
* name: "exampleQueue",
|
|
25
|
+
* namespaceId: exampleNamespace.id,
|
|
26
|
+
* enablePartitioning: true,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleQueueAuthorizationRule = new azure.servicebus.QueueAuthorizationRule("example", {
|
|
29
|
+
* name: "exampleRule",
|
|
30
|
+
* queueId: exampleQueue.id,
|
|
31
|
+
* listen: false,
|
|
32
|
+
* send: true,
|
|
33
|
+
* manage: false,
|
|
34
|
+
* });
|
|
35
|
+
* const exampleIoTHub = new azure.iot.IoTHub("example", {
|
|
36
|
+
* name: "exampleIothub",
|
|
37
|
+
* resourceGroupName: example.name,
|
|
38
|
+
* location: example.location,
|
|
39
|
+
* sku: {
|
|
40
|
+
* name: "B1",
|
|
41
|
+
* capacity: 1,
|
|
42
|
+
* },
|
|
43
|
+
* tags: {
|
|
44
|
+
* purpose: "example",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* const exampleEndpointServicebusQueue = new azure.iot.EndpointServicebusQueue("example", {
|
|
48
|
+
* resourceGroupName: example.name,
|
|
49
|
+
* iothubId: exampleIoTHub.id,
|
|
50
|
+
* name: "example",
|
|
51
|
+
* connectionString: exampleQueueAuthorizationRule.primaryConnectionString,
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
9
55
|
* ## Import
|
|
10
56
|
*
|
|
11
57
|
* IoTHub ServiceBus Queue Endpoint can be imported using the `resource id`, e.g.
|
|
@@ -12,6 +12,52 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
*
|
|
19
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
20
|
+
* name: "example-resources",
|
|
21
|
+
* location: "West Europe",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleNamespace = new azure.servicebus.Namespace("example", {
|
|
24
|
+
* name: "exampleNamespace",
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* resourceGroupName: example.name,
|
|
27
|
+
* sku: "Standard",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleQueue = new azure.servicebus.Queue("example", {
|
|
30
|
+
* name: "exampleQueue",
|
|
31
|
+
* namespaceId: exampleNamespace.id,
|
|
32
|
+
* enablePartitioning: true,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleQueueAuthorizationRule = new azure.servicebus.QueueAuthorizationRule("example", {
|
|
35
|
+
* name: "exampleRule",
|
|
36
|
+
* queueId: exampleQueue.id,
|
|
37
|
+
* listen: false,
|
|
38
|
+
* send: true,
|
|
39
|
+
* manage: false,
|
|
40
|
+
* });
|
|
41
|
+
* const exampleIoTHub = new azure.iot.IoTHub("example", {
|
|
42
|
+
* name: "exampleIothub",
|
|
43
|
+
* resourceGroupName: example.name,
|
|
44
|
+
* location: example.location,
|
|
45
|
+
* sku: {
|
|
46
|
+
* name: "B1",
|
|
47
|
+
* capacity: 1,
|
|
48
|
+
* },
|
|
49
|
+
* tags: {
|
|
50
|
+
* purpose: "example",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* const exampleEndpointServicebusQueue = new azure.iot.EndpointServicebusQueue("example", {
|
|
54
|
+
* resourceGroupName: example.name,
|
|
55
|
+
* iothubId: exampleIoTHub.id,
|
|
56
|
+
* name: "example",
|
|
57
|
+
* connectionString: exampleQueueAuthorizationRule.primaryConnectionString,
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
15
61
|
* ## Import
|
|
16
62
|
*
|
|
17
63
|
* IoTHub ServiceBus Queue Endpoint can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpointServicebusQueue.js","sourceRoot":"","sources":["../../iot/endpointServicebusQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"endpointServicebusQueue.js","sourceRoot":"","sources":["../../iot/endpointServicebusQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;YACjE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG,K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E,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjHL,0DAkHC;AApGG,gBAAgB;AACO,oCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -6,48 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Azure permits a maximum of 1024 Access Policies per Key Vault - [more information can be found in this document](https://docs.microsoft.com/azure/key-vault/key-vault-secure-your-key-vault#data-plane-access-control).
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as azure from "@pulumi/azure";
|
|
14
|
-
* import * as azuread from "@pulumi/azuread";
|
|
15
|
-
*
|
|
16
|
-
* const current = azure.core.getClientConfig({});
|
|
17
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
18
|
-
* name: "example-resources",
|
|
19
|
-
* location: "West Europe",
|
|
20
|
-
* });
|
|
21
|
-
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
22
|
-
* name: "examplekeyvault",
|
|
23
|
-
* location: exampleResourceGroup.location,
|
|
24
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
25
|
-
* tenantId: current.then(current => current.tenantId),
|
|
26
|
-
* skuName: "premium",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleAccessPolicy = new azure.keyvault.AccessPolicy("example", {
|
|
29
|
-
* keyVaultId: exampleKeyVault.id,
|
|
30
|
-
* tenantId: current.then(current => current.tenantId),
|
|
31
|
-
* objectId: current.then(current => current.objectId),
|
|
32
|
-
* keyPermissions: ["Get"],
|
|
33
|
-
* secretPermissions: ["Get"],
|
|
34
|
-
* });
|
|
35
|
-
* const example = azuread.getServicePrincipal({
|
|
36
|
-
* displayName: "example-app",
|
|
37
|
-
* });
|
|
38
|
-
* const example_principal = new azure.keyvault.AccessPolicy("example-principal", {
|
|
39
|
-
* keyVaultId: exampleKeyVault.id,
|
|
40
|
-
* tenantId: current.then(current => current.tenantId),
|
|
41
|
-
* objectId: example.then(example => example.objectId),
|
|
42
|
-
* keyPermissions: [
|
|
43
|
-
* "Get",
|
|
44
|
-
* "List",
|
|
45
|
-
* "Encrypt",
|
|
46
|
-
* "Decrypt",
|
|
47
|
-
* ],
|
|
48
|
-
* });
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
9
|
* ## Import
|
|
52
10
|
*
|
|
53
11
|
* Key Vault Access Policies can be imported using the Resource ID of the Key Vault, plus some additional metadata.
|
package/keyvault/accessPolicy.js
CHANGED
|
@@ -12,48 +12,6 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Azure permits a maximum of 1024 Access Policies per Key Vault - [more information can be found in this document](https://docs.microsoft.com/azure/key-vault/key-vault-secure-your-key-vault#data-plane-access-control).
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as azure from "@pulumi/azure";
|
|
20
|
-
* import * as azuread from "@pulumi/azuread";
|
|
21
|
-
*
|
|
22
|
-
* const current = azure.core.getClientConfig({});
|
|
23
|
-
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
24
|
-
* name: "example-resources",
|
|
25
|
-
* location: "West Europe",
|
|
26
|
-
* });
|
|
27
|
-
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
28
|
-
* name: "examplekeyvault",
|
|
29
|
-
* location: exampleResourceGroup.location,
|
|
30
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
31
|
-
* tenantId: current.then(current => current.tenantId),
|
|
32
|
-
* skuName: "premium",
|
|
33
|
-
* });
|
|
34
|
-
* const exampleAccessPolicy = new azure.keyvault.AccessPolicy("example", {
|
|
35
|
-
* keyVaultId: exampleKeyVault.id,
|
|
36
|
-
* tenantId: current.then(current => current.tenantId),
|
|
37
|
-
* objectId: current.then(current => current.objectId),
|
|
38
|
-
* keyPermissions: ["Get"],
|
|
39
|
-
* secretPermissions: ["Get"],
|
|
40
|
-
* });
|
|
41
|
-
* const example = azuread.getServicePrincipal({
|
|
42
|
-
* displayName: "example-app",
|
|
43
|
-
* });
|
|
44
|
-
* const example_principal = new azure.keyvault.AccessPolicy("example-principal", {
|
|
45
|
-
* keyVaultId: exampleKeyVault.id,
|
|
46
|
-
* tenantId: current.then(current => current.tenantId),
|
|
47
|
-
* objectId: example.then(example => example.objectId),
|
|
48
|
-
* keyPermissions: [
|
|
49
|
-
* "Get",
|
|
50
|
-
* "List",
|
|
51
|
-
* "Encrypt",
|
|
52
|
-
* "Decrypt",
|
|
53
|
-
* ],
|
|
54
|
-
* });
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
15
|
* ## Import
|
|
58
16
|
*
|
|
59
17
|
* Key Vault Access Policies can be imported using the Resource ID of the Key Vault, plus some additional metadata.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessPolicy.js","sourceRoot":"","sources":["../../keyvault/accessPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0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,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAxGL,oCAyGC;AA3FG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -2,6 +2,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to retrieve a list of certificate names from an existing Key Vault.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azure from "@pulumi/azure";
|
|
11
|
+
* import * as std from "@pulumi/std";
|
|
12
|
+
*
|
|
13
|
+
* const example = azure.keyvault.getCertificates({
|
|
14
|
+
* keyVaultId: existing.id,
|
|
15
|
+
* });
|
|
16
|
+
* const exampleGetCertificate = example.then(example => std.toset({
|
|
17
|
+
* input: example.names,
|
|
18
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: azure.keyvault.getCertificate({
|
|
19
|
+
* name: __key,
|
|
20
|
+
* keyVaultId: existing.id,
|
|
21
|
+
* }) })));
|
|
22
|
+
* ```
|
|
5
23
|
*/
|
|
6
24
|
export declare function getCertificates(args: GetCertificatesArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificatesResult>;
|
|
7
25
|
/**
|
|
@@ -43,6 +61,24 @@ export interface GetCertificatesResult {
|
|
|
43
61
|
}
|
|
44
62
|
/**
|
|
45
63
|
* Use this data source to retrieve a list of certificate names from an existing Key Vault.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as azure from "@pulumi/azure";
|
|
70
|
+
* import * as std from "@pulumi/std";
|
|
71
|
+
*
|
|
72
|
+
* const example = azure.keyvault.getCertificates({
|
|
73
|
+
* keyVaultId: existing.id,
|
|
74
|
+
* });
|
|
75
|
+
* const exampleGetCertificate = example.then(example => std.toset({
|
|
76
|
+
* input: example.names,
|
|
77
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: azure.keyvault.getCertificate({
|
|
78
|
+
* name: __key,
|
|
79
|
+
* keyVaultId: existing.id,
|
|
80
|
+
* }) })));
|
|
81
|
+
* ```
|
|
46
82
|
*/
|
|
47
83
|
export declare function getCertificatesOutput(args: GetCertificatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificatesResult>;
|
|
48
84
|
/**
|
|
@@ -7,6 +7,24 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve a list of certificate names from an existing Key Vault.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const example = azure.keyvault.getCertificates({
|
|
19
|
+
* keyVaultId: existing.id,
|
|
20
|
+
* });
|
|
21
|
+
* const exampleGetCertificate = example.then(example => std.toset({
|
|
22
|
+
* input: example.names,
|
|
23
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: azure.keyvault.getCertificate({
|
|
24
|
+
* name: __key,
|
|
25
|
+
* keyVaultId: existing.id,
|
|
26
|
+
* }) })));
|
|
27
|
+
* ```
|
|
10
28
|
*/
|
|
11
29
|
function getCertificates(args, opts) {
|
|
12
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +36,24 @@ function getCertificates(args, opts) {
|
|
|
18
36
|
exports.getCertificates = getCertificates;
|
|
19
37
|
/**
|
|
20
38
|
* Use this data source to retrieve a list of certificate names from an existing Key Vault.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as azure from "@pulumi/azure";
|
|
45
|
+
* import * as std from "@pulumi/std";
|
|
46
|
+
*
|
|
47
|
+
* const example = azure.keyvault.getCertificates({
|
|
48
|
+
* keyVaultId: existing.id,
|
|
49
|
+
* });
|
|
50
|
+
* const exampleGetCertificate = example.then(example => std.toset({
|
|
51
|
+
* input: example.names,
|
|
52
|
+
* })).then(invoke => .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: azure.keyvault.getCertificate({
|
|
53
|
+
* name: __key,
|
|
54
|
+
* keyVaultId: existing.id,
|
|
55
|
+
* }) })));
|
|
56
|
+
* ```
|
|
21
57
|
*/
|
|
22
58
|
function getCertificatesOutput(args, opts) {
|
|
23
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|