@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
|
@@ -7,6 +7,22 @@ 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 Tenant Template Deployment.
|
|
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.core.getTenantTemplateDeployment({
|
|
19
|
+
* name: "existing",
|
|
20
|
+
* });
|
|
21
|
+
* export const id = example.then(example => example.id);
|
|
22
|
+
* export const exampleOutput = example.then(example => std.jsondecode({
|
|
23
|
+
* input: example.outputContent,
|
|
24
|
+
* })).then(invoke => invoke.result?.exampleOutput?.value);
|
|
25
|
+
* ```
|
|
10
26
|
*/
|
|
11
27
|
function getTenantTemplateDeployment(args, opts) {
|
|
12
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,6 +33,22 @@ function getTenantTemplateDeployment(args, opts) {
|
|
|
17
33
|
exports.getTenantTemplateDeployment = getTenantTemplateDeployment;
|
|
18
34
|
/**
|
|
19
35
|
* Use this data source to access information about an existing Tenant Template Deployment.
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as azure from "@pulumi/azure";
|
|
42
|
+
* import * as std from "@pulumi/std";
|
|
43
|
+
*
|
|
44
|
+
* const example = azure.core.getTenantTemplateDeployment({
|
|
45
|
+
* name: "existing",
|
|
46
|
+
* });
|
|
47
|
+
* export const id = example.then(example => example.id);
|
|
48
|
+
* export const exampleOutput = example.then(example => std.jsondecode({
|
|
49
|
+
* input: example.outputContent,
|
|
50
|
+
* })).then(invoke => invoke.result?.exampleOutput?.value);
|
|
51
|
+
* ```
|
|
20
52
|
*/
|
|
21
53
|
function getTenantTemplateDeploymentOutput(args, opts) {
|
|
22
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTenantTemplateDeployment.js","sourceRoot":"","sources":["../../core/getTenantTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getTenantTemplateDeployment.js","sourceRoot":"","sources":["../../core/getTenantTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC;AA0BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAAiC;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8EAKC"}
|
|
@@ -29,7 +29,7 @@ import * as outputs from "../types/output";
|
|
|
29
29
|
* cleanupPreference: "OnSuccess",
|
|
30
30
|
* forceUpdateTag: "1",
|
|
31
31
|
* timeout: "PT30M",
|
|
32
|
-
* scriptContent: " echo
|
|
32
|
+
* scriptContent: " echo \\\"{\\\\\\\"name\\\\\\\":{\\\\\\\"displayName\\\\\\\":\\\\\\\"$1 $2\\\\\\\"}}\\\" > $AZ_SCRIPTS_OUTPUT_PATH\n",
|
|
33
33
|
* identity: {
|
|
34
34
|
* type: "UserAssigned",
|
|
35
35
|
* identityIds: [exampleUserAssignedIdentity.id],
|
|
@@ -33,7 +33,7 @@ const utilities = require("../utilities");
|
|
|
33
33
|
* cleanupPreference: "OnSuccess",
|
|
34
34
|
* forceUpdateTag: "1",
|
|
35
35
|
* timeout: "PT30M",
|
|
36
|
-
* scriptContent: " echo
|
|
36
|
+
* scriptContent: " echo \\\"{\\\\\\\"name\\\\\\\":{\\\\\\\"displayName\\\\\\\":\\\\\\\"$1 $2\\\\\\\"}}\\\" > $AZ_SCRIPTS_OUTPUT_PATH\n",
|
|
37
37
|
* identity: {
|
|
38
38
|
* type: "UserAssigned",
|
|
39
39
|
* identityIds: [exampleUserAssignedIdentity.id],
|
|
@@ -37,11 +37,11 @@ import * as outputs from "../types/output";
|
|
|
37
37
|
* resourceGroupId: example.id,
|
|
38
38
|
* policyDefinitionId: exampleDefinition.id,
|
|
39
39
|
* parameters: ` {
|
|
40
|
-
* "tagName": {
|
|
41
|
-
* "value": "Business Unit"
|
|
40
|
+
* \\"tagName\\": {
|
|
41
|
+
* \\"value\\": \\"Business Unit\\"
|
|
42
42
|
* },
|
|
43
|
-
* "tagValue": {
|
|
44
|
-
* "value": "BU"
|
|
43
|
+
* \\"tagValue\\": {
|
|
44
|
+
* \\"value\\": \\"BU\\"
|
|
45
45
|
* }
|
|
46
46
|
* }
|
|
47
47
|
* `,
|
|
@@ -41,11 +41,11 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* resourceGroupId: example.id,
|
|
42
42
|
* policyDefinitionId: exampleDefinition.id,
|
|
43
43
|
* parameters: ` {
|
|
44
|
-
* "tagName": {
|
|
45
|
-
* "value": "Business Unit"
|
|
44
|
+
* \\"tagName\\": {
|
|
45
|
+
* \\"value\\": \\"Business Unit\\"
|
|
46
46
|
* },
|
|
47
|
-
* "tagValue": {
|
|
48
|
-
* "value": "BU"
|
|
47
|
+
* \\"tagValue\\": {
|
|
48
|
+
* \\"value\\": \\"BU\\"
|
|
49
49
|
* }
|
|
50
50
|
* }
|
|
51
51
|
* `,
|
|
@@ -30,12 +30,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
* }
|
|
31
31
|
* `,
|
|
32
32
|
* parameters: ` {
|
|
33
|
-
* "allowedLocations": {
|
|
34
|
-
* "type": "Array",
|
|
35
|
-
* "metadata": {
|
|
36
|
-
* "description": "The list of allowed locations for resources
|
|
37
|
-
* "displayName": "Allowed locations",
|
|
38
|
-
* "strongType": "location"
|
|
33
|
+
* \\"allowedLocations\\": {
|
|
34
|
+
* \\"type\\": \\"Array\\",
|
|
35
|
+
* \\"metadata\\": {
|
|
36
|
+
* \\"description\\": \\"The list of allowed locations for resources.\\",
|
|
37
|
+
* \\"displayName\\": \\"Allowed locations\\",
|
|
38
|
+
* \\"strongType\\": \\"location\\"
|
|
39
39
|
* }
|
|
40
40
|
* }
|
|
41
41
|
* }
|
|
@@ -36,12 +36,12 @@ const utilities = require("../utilities");
|
|
|
36
36
|
* }
|
|
37
37
|
* `,
|
|
38
38
|
* parameters: ` {
|
|
39
|
-
* "allowedLocations": {
|
|
40
|
-
* "type": "Array",
|
|
41
|
-
* "metadata": {
|
|
42
|
-
* "description": "The list of allowed locations for resources
|
|
43
|
-
* "displayName": "Allowed locations",
|
|
44
|
-
* "strongType": "location"
|
|
39
|
+
* \\"allowedLocations\\": {
|
|
40
|
+
* \\"type\\": \\"Array\\",
|
|
41
|
+
* \\"metadata\\": {
|
|
42
|
+
* \\"description\\": \\"The list of allowed locations for resources.\\",
|
|
43
|
+
* \\"displayName\\": \\"Allowed locations\\",
|
|
44
|
+
* \\"strongType\\": \\"location\\"
|
|
45
45
|
* }
|
|
46
46
|
* }
|
|
47
47
|
* }
|
|
@@ -4,6 +4,81 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > **Note:** This resource will automatically attempt to delete resources deployed by the ARM Template when it is deleted. This behavior can be disabled in the provider `features` block by setting the `deleteNestedItemsDuringDeletion` field to `false` within the `templateDeployment` block.
|
|
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 std from "@pulumi/std";
|
|
13
|
+
*
|
|
14
|
+
* const vnetName = "example-vnet";
|
|
15
|
+
* const example = new azure.core.ResourceGroupTemplateDeployment("example", {
|
|
16
|
+
* name: "example-deploy",
|
|
17
|
+
* resourceGroupName: "example-group",
|
|
18
|
+
* deploymentMode: "Incremental",
|
|
19
|
+
* parametersContent: JSON.stringify({
|
|
20
|
+
* vnetName: {
|
|
21
|
+
* value: vnetName,
|
|
22
|
+
* },
|
|
23
|
+
* }),
|
|
24
|
+
* templateContent: `{
|
|
25
|
+
* \\"schema\\": \\"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\\",
|
|
26
|
+
* \\"contentVersion\\": \\"1.0.0.0\\",
|
|
27
|
+
* \\"parameters\\": {
|
|
28
|
+
* \\"vnetName\\": {
|
|
29
|
+
* \\"type\\": \\"string\\",
|
|
30
|
+
* \\"metadata\\": {
|
|
31
|
+
* \\"description\\": \\"Name of the VNET\\"
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
* },
|
|
35
|
+
* \\"variables\\": {},
|
|
36
|
+
* \\"resources\\": [
|
|
37
|
+
* {
|
|
38
|
+
* \\"type\\": \\"Microsoft.Network/virtualNetworks\\",
|
|
39
|
+
* \\"apiVersion\\": \\"2020-05-01\\",
|
|
40
|
+
* \\"name\\": \\"[parameters('vnetName')]\\",
|
|
41
|
+
* \\"location\\": \\"[resourceGroup().location]\\",
|
|
42
|
+
* \\"properties\\": {
|
|
43
|
+
* \\"addressSpace\\": {
|
|
44
|
+
* \\"addressPrefixes\\": [
|
|
45
|
+
* \\"10.0.0.0/16\\"
|
|
46
|
+
* ]
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
* ],
|
|
51
|
+
* \\"outputs\\": {
|
|
52
|
+
* \\"exampleOutput\\": {
|
|
53
|
+
* \\"type\\": \\"string\\",
|
|
54
|
+
* \\"value\\": \\"someoutput\\"
|
|
55
|
+
* }
|
|
56
|
+
* }
|
|
57
|
+
* }
|
|
58
|
+
* `,
|
|
59
|
+
* });
|
|
60
|
+
* export const armExampleOutput = std.jsondecodeOutput({
|
|
61
|
+
* input: example.outputContent,
|
|
62
|
+
* }).apply(invoke => invoke.result?.exampleOutput?.value);
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as azure from "@pulumi/azure";
|
|
68
|
+
*
|
|
69
|
+
* const example = azure.core.getTemplateSpecVersion({
|
|
70
|
+
* name: "myTemplateForResourceGroup",
|
|
71
|
+
* resourceGroupName: "myResourceGroup",
|
|
72
|
+
* version: "v3.4.0",
|
|
73
|
+
* });
|
|
74
|
+
* const exampleResourceGroupTemplateDeployment = new azure.core.ResourceGroupTemplateDeployment("example", {
|
|
75
|
+
* name: "example-deploy",
|
|
76
|
+
* resourceGroupName: "example-group",
|
|
77
|
+
* deploymentMode: "Incremental",
|
|
78
|
+
* templateSpecVersionId: example.then(example => example.id),
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
7
82
|
* ## Import
|
|
8
83
|
*
|
|
9
84
|
* Resource Group Template Deployments can be imported using the `resource id`, e.g.
|
|
@@ -10,6 +10,81 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > **Note:** This resource will automatically attempt to delete resources deployed by the ARM Template when it is deleted. This behavior can be disabled in the provider `features` block by setting the `deleteNestedItemsDuringDeletion` field to `false` within the `templateDeployment` block.
|
|
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 std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const vnetName = "example-vnet";
|
|
21
|
+
* const example = new azure.core.ResourceGroupTemplateDeployment("example", {
|
|
22
|
+
* name: "example-deploy",
|
|
23
|
+
* resourceGroupName: "example-group",
|
|
24
|
+
* deploymentMode: "Incremental",
|
|
25
|
+
* parametersContent: JSON.stringify({
|
|
26
|
+
* vnetName: {
|
|
27
|
+
* value: vnetName,
|
|
28
|
+
* },
|
|
29
|
+
* }),
|
|
30
|
+
* templateContent: `{
|
|
31
|
+
* \\"schema\\": \\"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\\",
|
|
32
|
+
* \\"contentVersion\\": \\"1.0.0.0\\",
|
|
33
|
+
* \\"parameters\\": {
|
|
34
|
+
* \\"vnetName\\": {
|
|
35
|
+
* \\"type\\": \\"string\\",
|
|
36
|
+
* \\"metadata\\": {
|
|
37
|
+
* \\"description\\": \\"Name of the VNET\\"
|
|
38
|
+
* }
|
|
39
|
+
* }
|
|
40
|
+
* },
|
|
41
|
+
* \\"variables\\": {},
|
|
42
|
+
* \\"resources\\": [
|
|
43
|
+
* {
|
|
44
|
+
* \\"type\\": \\"Microsoft.Network/virtualNetworks\\",
|
|
45
|
+
* \\"apiVersion\\": \\"2020-05-01\\",
|
|
46
|
+
* \\"name\\": \\"[parameters('vnetName')]\\",
|
|
47
|
+
* \\"location\\": \\"[resourceGroup().location]\\",
|
|
48
|
+
* \\"properties\\": {
|
|
49
|
+
* \\"addressSpace\\": {
|
|
50
|
+
* \\"addressPrefixes\\": [
|
|
51
|
+
* \\"10.0.0.0/16\\"
|
|
52
|
+
* ]
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
* }
|
|
56
|
+
* ],
|
|
57
|
+
* \\"outputs\\": {
|
|
58
|
+
* \\"exampleOutput\\": {
|
|
59
|
+
* \\"type\\": \\"string\\",
|
|
60
|
+
* \\"value\\": \\"someoutput\\"
|
|
61
|
+
* }
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* `,
|
|
65
|
+
* });
|
|
66
|
+
* export const armExampleOutput = std.jsondecodeOutput({
|
|
67
|
+
* input: example.outputContent,
|
|
68
|
+
* }).apply(invoke => invoke.result?.exampleOutput?.value);
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as azure from "@pulumi/azure";
|
|
74
|
+
*
|
|
75
|
+
* const example = azure.core.getTemplateSpecVersion({
|
|
76
|
+
* name: "myTemplateForResourceGroup",
|
|
77
|
+
* resourceGroupName: "myResourceGroup",
|
|
78
|
+
* version: "v3.4.0",
|
|
79
|
+
* });
|
|
80
|
+
* const exampleResourceGroupTemplateDeployment = new azure.core.ResourceGroupTemplateDeployment("example", {
|
|
81
|
+
* name: "example-deploy",
|
|
82
|
+
* resourceGroupName: "example-group",
|
|
83
|
+
* deploymentMode: "Incremental",
|
|
84
|
+
* templateSpecVersionId: example.then(example => example.id),
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
13
88
|
* ## Import
|
|
14
89
|
*
|
|
15
90
|
* Resource Group Template Deployments can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceGroupTemplateDeployment.js","sourceRoot":"","sources":["../../core/resourceGroupTemplateDeployment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AA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ACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,kDAAkD,EAAE,CAAC,EAAE,CAAC;QAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAjHL,0EAkHC;AApGG,gBAAgB;AACO,4CAAY,GAAG,4EAA4E,CAAC"}
|
|
@@ -12,17 +12,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* name: "example-deployment",
|
|
13
13
|
* location: "West Europe",
|
|
14
14
|
* templateContent: ` {
|
|
15
|
-
* "schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json
|
|
16
|
-
* "contentVersion": "1.0.0.0",
|
|
17
|
-
* "parameters": {},
|
|
18
|
-
* "variables": {},
|
|
19
|
-
* "resources": [
|
|
15
|
+
* \\"schema\\": \\"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\\",
|
|
16
|
+
* \\"contentVersion\\": \\"1.0.0.0\\",
|
|
17
|
+
* \\"parameters\\": {},
|
|
18
|
+
* \\"variables\\": {},
|
|
19
|
+
* \\"resources\\": [
|
|
20
20
|
* {
|
|
21
|
-
* "type": "Microsoft.Resources/resourceGroups",
|
|
22
|
-
* "apiVersion": "2018-05-01",
|
|
23
|
-
* "location": "West Europe",
|
|
24
|
-
* "name": "some-resource-group",
|
|
25
|
-
* "properties": {}
|
|
21
|
+
* \\"type\\": \\"Microsoft.Resources/resourceGroups\\",
|
|
22
|
+
* \\"apiVersion\\": \\"2018-05-01\\",
|
|
23
|
+
* \\"location\\": \\"West Europe\\",
|
|
24
|
+
* \\"name\\": \\"some-resource-group\\",
|
|
25
|
+
* \\"properties\\": {}
|
|
26
26
|
* }
|
|
27
27
|
* ]
|
|
28
28
|
* }
|
|
@@ -18,17 +18,17 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* name: "example-deployment",
|
|
19
19
|
* location: "West Europe",
|
|
20
20
|
* templateContent: ` {
|
|
21
|
-
* "schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json
|
|
22
|
-
* "contentVersion": "1.0.0.0",
|
|
23
|
-
* "parameters": {},
|
|
24
|
-
* "variables": {},
|
|
25
|
-
* "resources": [
|
|
21
|
+
* \\"schema\\": \\"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\\",
|
|
22
|
+
* \\"contentVersion\\": \\"1.0.0.0\\",
|
|
23
|
+
* \\"parameters\\": {},
|
|
24
|
+
* \\"variables\\": {},
|
|
25
|
+
* \\"resources\\": [
|
|
26
26
|
* {
|
|
27
|
-
* "type": "Microsoft.Resources/resourceGroups",
|
|
28
|
-
* "apiVersion": "2018-05-01",
|
|
29
|
-
* "location": "West Europe",
|
|
30
|
-
* "name": "some-resource-group",
|
|
31
|
-
* "properties": {}
|
|
27
|
+
* \\"type\\": \\"Microsoft.Resources/resourceGroups\\",
|
|
28
|
+
* \\"apiVersion\\": \\"2018-05-01\\",
|
|
29
|
+
* \\"location\\": \\"West Europe\\",
|
|
30
|
+
* \\"name\\": \\"some-resource-group\\",
|
|
31
|
+
* \\"properties\\": {}
|
|
32
32
|
* }
|
|
33
33
|
* ]
|
|
34
34
|
* }
|
package/cosmosdb/account.d.ts
CHANGED
|
@@ -15,12 +15,12 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
* name: "sample-rg",
|
|
16
16
|
* location: "westus",
|
|
17
17
|
* });
|
|
18
|
-
* const ri = new random.
|
|
18
|
+
* const ri = new random.index.Integer("ri", {
|
|
19
19
|
* min: 10000,
|
|
20
20
|
* max: 99999,
|
|
21
21
|
* });
|
|
22
22
|
* const db = new azure.cosmosdb.Account("db", {
|
|
23
|
-
* name:
|
|
23
|
+
* name: `tfex-cosmos-db-${ri.result}`,
|
|
24
24
|
* location: example.location,
|
|
25
25
|
* resourceGroupName: example.name,
|
|
26
26
|
* offerType: "Standard",
|
package/cosmosdb/account.js
CHANGED
|
@@ -19,12 +19,12 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* name: "sample-rg",
|
|
20
20
|
* location: "westus",
|
|
21
21
|
* });
|
|
22
|
-
* const ri = new random.
|
|
22
|
+
* const ri = new random.index.Integer("ri", {
|
|
23
23
|
* min: 10000,
|
|
24
24
|
* max: 99999,
|
|
25
25
|
* });
|
|
26
26
|
* const db = new azure.cosmosdb.Account("db", {
|
|
27
|
-
* name:
|
|
27
|
+
* name: `tfex-cosmos-db-${ri.result}`,
|
|
28
28
|
* location: example.location,
|
|
29
29
|
* resourceGroupName: example.name,
|
|
30
30
|
* offerType: "Standard",
|
|
@@ -6,55 +6,6 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* > **Note:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant:
|
|
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: "accexample-rg",
|
|
18
|
-
* location: "West Europe",
|
|
19
|
-
* });
|
|
20
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
21
|
-
* name: "example-vnet",
|
|
22
|
-
* location: exampleResourceGroup.location,
|
|
23
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
24
|
-
* addressSpaces: ["10.0.0.0/16"],
|
|
25
|
-
* });
|
|
26
|
-
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
27
|
-
* name: "example-subnet",
|
|
28
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
29
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
30
|
-
* addressPrefixes: ["10.0.1.0/24"],
|
|
31
|
-
* });
|
|
32
|
-
* const example = azuread.getServicePrincipal({
|
|
33
|
-
* displayName: "Azure Cosmos DB",
|
|
34
|
-
* });
|
|
35
|
-
* const exampleAssignment = new azure.authorization.Assignment("example", {
|
|
36
|
-
* scope: exampleVirtualNetwork.id,
|
|
37
|
-
* roleDefinitionName: "Network Contributor",
|
|
38
|
-
* principalId: example.then(example => example.objectId),
|
|
39
|
-
* });
|
|
40
|
-
* const exampleCassandraCluster = new azure.cosmosdb.CassandraCluster("example", {
|
|
41
|
-
* name: "example-cluster",
|
|
42
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
43
|
-
* location: exampleResourceGroup.location,
|
|
44
|
-
* delegatedManagementSubnetId: exampleSubnet.id,
|
|
45
|
-
* defaultAdminPassword: "Password1234",
|
|
46
|
-
* }, {
|
|
47
|
-
* dependsOn: [exampleAssignment],
|
|
48
|
-
* });
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* ## API Providers
|
|
52
|
-
*
|
|
53
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
54
|
-
* This resource uses the following Azure API Providers:
|
|
55
|
-
*
|
|
56
|
-
* * `Microsoft.DocumentDB` - 2023-04-15
|
|
57
|
-
*
|
|
58
9
|
* ## Import
|
|
59
10
|
*
|
|
60
11
|
* Cassandra Clusters can be imported using the `resource id`, e.g.
|
|
@@ -10,55 +10,6 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > **Note:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant:
|
|
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("example", {
|
|
21
|
-
* name: "accexample-rg",
|
|
22
|
-
* location: "West Europe",
|
|
23
|
-
* });
|
|
24
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
25
|
-
* name: "example-vnet",
|
|
26
|
-
* location: exampleResourceGroup.location,
|
|
27
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
28
|
-
* addressSpaces: ["10.0.0.0/16"],
|
|
29
|
-
* });
|
|
30
|
-
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
31
|
-
* name: "example-subnet",
|
|
32
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
33
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
34
|
-
* addressPrefixes: ["10.0.1.0/24"],
|
|
35
|
-
* });
|
|
36
|
-
* const example = azuread.getServicePrincipal({
|
|
37
|
-
* displayName: "Azure Cosmos DB",
|
|
38
|
-
* });
|
|
39
|
-
* const exampleAssignment = new azure.authorization.Assignment("example", {
|
|
40
|
-
* scope: exampleVirtualNetwork.id,
|
|
41
|
-
* roleDefinitionName: "Network Contributor",
|
|
42
|
-
* principalId: example.then(example => example.objectId),
|
|
43
|
-
* });
|
|
44
|
-
* const exampleCassandraCluster = new azure.cosmosdb.CassandraCluster("example", {
|
|
45
|
-
* name: "example-cluster",
|
|
46
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
47
|
-
* location: exampleResourceGroup.location,
|
|
48
|
-
* delegatedManagementSubnetId: exampleSubnet.id,
|
|
49
|
-
* defaultAdminPassword: "Password1234",
|
|
50
|
-
* }, {
|
|
51
|
-
* dependsOn: [exampleAssignment],
|
|
52
|
-
* });
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* ## API Providers
|
|
56
|
-
*
|
|
57
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
58
|
-
* This resource uses the following Azure API Providers:
|
|
59
|
-
*
|
|
60
|
-
* * `Microsoft.DocumentDB` - 2023-04-15
|
|
61
|
-
*
|
|
62
13
|
* ## Import
|
|
63
14
|
*
|
|
64
15
|
* Cassandra Clusters can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cassandraCluster.js","sourceRoot":"","sources":["../../cosmosdb/cassandraCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cassandraCluster.js","sourceRoot":"","sources":["../../cosmosdb/cassandraCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,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,YAA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,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAhJL,4CAiJC;AAnIG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -4,65 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > **Note:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant:
|
|
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("example", {
|
|
15
|
-
* name: "accexample-rg",
|
|
16
|
-
* location: "West Europe",
|
|
17
|
-
* });
|
|
18
|
-
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
19
|
-
* name: "example-vnet",
|
|
20
|
-
* location: exampleResourceGroup.location,
|
|
21
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
22
|
-
* addressSpaces: ["10.0.0.0/16"],
|
|
23
|
-
* });
|
|
24
|
-
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
25
|
-
* name: "example-subnet",
|
|
26
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
27
|
-
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
28
|
-
* addressPrefixes: ["10.0.1.0/24"],
|
|
29
|
-
* });
|
|
30
|
-
* const example = azuread.getServicePrincipal({
|
|
31
|
-
* displayName: "Azure Cosmos DB",
|
|
32
|
-
* });
|
|
33
|
-
* const exampleAssignment = new azure.authorization.Assignment("example", {
|
|
34
|
-
* scope: exampleVirtualNetwork.id,
|
|
35
|
-
* roleDefinitionName: "Network Contributor",
|
|
36
|
-
* principalId: example.then(example => example.objectId),
|
|
37
|
-
* });
|
|
38
|
-
* const exampleCassandraCluster = new azure.cosmosdb.CassandraCluster("example", {
|
|
39
|
-
* name: "example-cluster",
|
|
40
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
41
|
-
* location: exampleResourceGroup.location,
|
|
42
|
-
* delegatedManagementSubnetId: exampleSubnet.id,
|
|
43
|
-
* defaultAdminPassword: "Password1234",
|
|
44
|
-
* }, {
|
|
45
|
-
* dependsOn: [exampleAssignment],
|
|
46
|
-
* });
|
|
47
|
-
* const exampleCassandraDatacenter = new azure.cosmosdb.CassandraDatacenter("example", {
|
|
48
|
-
* name: "example-datacenter",
|
|
49
|
-
* location: exampleCassandraCluster.location,
|
|
50
|
-
* cassandraClusterId: exampleCassandraCluster.id,
|
|
51
|
-
* delegatedManagementSubnetId: exampleSubnet.id,
|
|
52
|
-
* nodeCount: 3,
|
|
53
|
-
* diskCount: 4,
|
|
54
|
-
* skuName: "Standard_DS14_v2",
|
|
55
|
-
* availabilityZonesEnabled: false,
|
|
56
|
-
* });
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* ## API Providers
|
|
60
|
-
*
|
|
61
|
-
* <!-- This section is generated, changes will be overwritten -->
|
|
62
|
-
* This resource uses the following Azure API Providers:
|
|
63
|
-
*
|
|
64
|
-
* * `Microsoft.DocumentDB` - 2023-04-15
|
|
65
|
-
*
|
|
66
7
|
* ## Import
|
|
67
8
|
*
|
|
68
9
|
* Cassandra Datacenters can be imported using the `resource id`, e.g.
|