@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
package/appservice/connection.js
CHANGED
|
@@ -10,6 +10,67 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
22
|
+
* name: "example-cosmosdb-account",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* offerType: "Standard",
|
|
26
|
+
* kind: "GlobalDocumentDB",
|
|
27
|
+
* consistencyPolicy: {
|
|
28
|
+
* consistencyLevel: "BoundedStaleness",
|
|
29
|
+
* maxIntervalInSeconds: 10,
|
|
30
|
+
* maxStalenessPrefix: 200,
|
|
31
|
+
* },
|
|
32
|
+
* geoLocations: [{
|
|
33
|
+
* location: example.location,
|
|
34
|
+
* failoverPriority: 0,
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
38
|
+
* name: "cosmos-sql-db",
|
|
39
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
40
|
+
* accountName: exampleAccount.name,
|
|
41
|
+
* throughput: 400,
|
|
42
|
+
* });
|
|
43
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
44
|
+
* name: "example-container",
|
|
45
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
46
|
+
* accountName: exampleAccount.name,
|
|
47
|
+
* databaseName: exampleSqlDatabase.name,
|
|
48
|
+
* partitionKeyPath: "/definition",
|
|
49
|
+
* });
|
|
50
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
51
|
+
* location: example.location,
|
|
52
|
+
* name: "example-serviceplan",
|
|
53
|
+
* resourceGroupName: example.name,
|
|
54
|
+
* skuName: "P1v2",
|
|
55
|
+
* osType: "Linux",
|
|
56
|
+
* });
|
|
57
|
+
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("example", {
|
|
58
|
+
* location: example.location,
|
|
59
|
+
* name: "example-linuxwebapp",
|
|
60
|
+
* resourceGroupName: example.name,
|
|
61
|
+
* servicePlanId: exampleServicePlan.id,
|
|
62
|
+
* siteConfig: {},
|
|
63
|
+
* });
|
|
64
|
+
* const exampleConnection = new azure.appservice.Connection("example", {
|
|
65
|
+
* name: "example-serviceconnector",
|
|
66
|
+
* appServiceId: exampleLinuxWebApp.id,
|
|
67
|
+
* targetResourceId: exampleSqlDatabase.id,
|
|
68
|
+
* authentication: {
|
|
69
|
+
* type: "systemAssignedIdentity",
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
13
74
|
* ## API Providers
|
|
14
75
|
*
|
|
15
76
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../appservice/connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../appservice/connection.ts"],"names":[],"mappings":"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"}
|
|
@@ -9,9 +9,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as azure from "@pulumi/azure";
|
|
10
10
|
* import * as random from "@pulumi/random";
|
|
11
11
|
*
|
|
12
|
-
* const server = new random.
|
|
12
|
+
* const server = new random.index.Id("server", {
|
|
13
13
|
* keepers: {
|
|
14
|
-
*
|
|
14
|
+
* aziId: 1,
|
|
15
15
|
* },
|
|
16
16
|
* byteLength: 8,
|
|
17
17
|
* });
|
|
@@ -15,9 +15,9 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as azure from "@pulumi/azure";
|
|
16
16
|
* import * as random from "@pulumi/random";
|
|
17
17
|
*
|
|
18
|
-
* const server = new random.
|
|
18
|
+
* const server = new random.index.Id("server", {
|
|
19
19
|
* keepers: {
|
|
20
|
-
*
|
|
20
|
+
* aziId: 1,
|
|
21
21
|
* },
|
|
22
22
|
* byteLength: 8,
|
|
23
23
|
* });
|
package/appservice/slot.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
* import * as azure from "@pulumi/azure";
|
|
18
18
|
* import * as random from "@pulumi/random";
|
|
19
19
|
*
|
|
20
|
-
* const server = new random.
|
|
20
|
+
* const server = new random.index.Id("server", {
|
|
21
21
|
* keepers: {
|
|
22
|
-
*
|
|
22
|
+
* aziId: 1,
|
|
23
23
|
* },
|
|
24
24
|
* byteLength: 8,
|
|
25
25
|
* });
|
|
@@ -80,9 +80,9 @@ import * as outputs from "../types/output";
|
|
|
80
80
|
* import * as azure from "@pulumi/azure";
|
|
81
81
|
* import * as random from "@pulumi/random";
|
|
82
82
|
*
|
|
83
|
-
* const server = new random.
|
|
83
|
+
* const server = new random.index.Id("server", {
|
|
84
84
|
* keepers: {
|
|
85
|
-
*
|
|
85
|
+
* aziId: 1,
|
|
86
86
|
* },
|
|
87
87
|
* byteLength: 8,
|
|
88
88
|
* });
|
package/appservice/slot.js
CHANGED
|
@@ -21,9 +21,9 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* import * as azure from "@pulumi/azure";
|
|
22
22
|
* import * as random from "@pulumi/random";
|
|
23
23
|
*
|
|
24
|
-
* const server = new random.
|
|
24
|
+
* const server = new random.index.Id("server", {
|
|
25
25
|
* keepers: {
|
|
26
|
-
*
|
|
26
|
+
* aziId: 1,
|
|
27
27
|
* },
|
|
28
28
|
* byteLength: 8,
|
|
29
29
|
* });
|
|
@@ -84,9 +84,9 @@ const utilities = require("../utilities");
|
|
|
84
84
|
* import * as azure from "@pulumi/azure";
|
|
85
85
|
* import * as random from "@pulumi/random";
|
|
86
86
|
*
|
|
87
|
-
* const server = new random.
|
|
87
|
+
* const server = new random.index.Id("server", {
|
|
88
88
|
* keepers: {
|
|
89
|
-
*
|
|
89
|
+
* aziId: 1,
|
|
90
90
|
* },
|
|
91
91
|
* byteLength: 8,
|
|
92
92
|
* });
|
|
@@ -38,6 +38,38 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
38
|
*
|
|
39
39
|
* ### Linux Web App
|
|
40
40
|
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as azure from "@pulumi/azure";
|
|
44
|
+
*
|
|
45
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
46
|
+
* name: "example-resources",
|
|
47
|
+
* location: "West Europe",
|
|
48
|
+
* });
|
|
49
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
50
|
+
* name: "example-plan",
|
|
51
|
+
* resourceGroupName: example.name,
|
|
52
|
+
* location: example.location,
|
|
53
|
+
* osType: "Linux",
|
|
54
|
+
* skuName: "P1v2",
|
|
55
|
+
* });
|
|
56
|
+
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("example", {
|
|
57
|
+
* name: "example-linux-web-app",
|
|
58
|
+
* resourceGroupName: example.name,
|
|
59
|
+
* location: exampleServicePlan.location,
|
|
60
|
+
* servicePlanId: exampleServicePlan.id,
|
|
61
|
+
* siteConfig: {},
|
|
62
|
+
* });
|
|
63
|
+
* const exampleLinuxWebAppSlot = new azure.appservice.LinuxWebAppSlot("example", {
|
|
64
|
+
* name: "example-linux-web-app-slot",
|
|
65
|
+
* appServiceName: exampleLinuxWebApp.name,
|
|
66
|
+
* location: exampleServicePlan.location,
|
|
67
|
+
* servicePlanId: exampleServicePlan.id,
|
|
68
|
+
* siteConfig: {},
|
|
69
|
+
* });
|
|
70
|
+
* const exampleWebAppActiveSlot = new azure.appservice.WebAppActiveSlot("example", {slotId: exampleLinuxWebAppSlot.id});
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
41
73
|
* ## API Providers
|
|
42
74
|
*
|
|
43
75
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -44,6 +44,38 @@ const utilities = require("../utilities");
|
|
|
44
44
|
*
|
|
45
45
|
* ### Linux Web App
|
|
46
46
|
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as azure from "@pulumi/azure";
|
|
50
|
+
*
|
|
51
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
52
|
+
* name: "example-resources",
|
|
53
|
+
* location: "West Europe",
|
|
54
|
+
* });
|
|
55
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
56
|
+
* name: "example-plan",
|
|
57
|
+
* resourceGroupName: example.name,
|
|
58
|
+
* location: example.location,
|
|
59
|
+
* osType: "Linux",
|
|
60
|
+
* skuName: "P1v2",
|
|
61
|
+
* });
|
|
62
|
+
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("example", {
|
|
63
|
+
* name: "example-linux-web-app",
|
|
64
|
+
* resourceGroupName: example.name,
|
|
65
|
+
* location: exampleServicePlan.location,
|
|
66
|
+
* servicePlanId: exampleServicePlan.id,
|
|
67
|
+
* siteConfig: {},
|
|
68
|
+
* });
|
|
69
|
+
* const exampleLinuxWebAppSlot = new azure.appservice.LinuxWebAppSlot("example", {
|
|
70
|
+
* name: "example-linux-web-app-slot",
|
|
71
|
+
* appServiceName: exampleLinuxWebApp.name,
|
|
72
|
+
* location: exampleServicePlan.location,
|
|
73
|
+
* servicePlanId: exampleServicePlan.id,
|
|
74
|
+
* siteConfig: {},
|
|
75
|
+
* });
|
|
76
|
+
* const exampleWebAppActiveSlot = new azure.appservice.WebAppActiveSlot("example", {slotId: exampleLinuxWebAppSlot.id});
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
47
79
|
* ## API Providers
|
|
48
80
|
*
|
|
49
81
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webAppActiveSlot.js","sourceRoot":"","sources":["../../appservice/webAppActiveSlot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"webAppActiveSlot.js","sourceRoot":"","sources":["../../appservice/webAppActiveSlot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;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,YAAY,CAAC;IACjE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;YACjE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,EAAE,sBAAsB,CAAC;YACzE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;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;;AApEL,4CAqEC;AAvDG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -31,24 +31,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
* automationAccountName: exampleAccount.name,
|
|
32
32
|
* contentEmbedded: `instance of MSFT_FileDirectoryConfiguration as MSFT_FileDirectoryConfiguration1ref
|
|
33
33
|
* {
|
|
34
|
-
* ResourceID = "[File]bla";
|
|
35
|
-
* Ensure = "Present";
|
|
36
|
-
* Contents = "bogus Content";
|
|
37
|
-
* DestinationPath = "c
|
|
38
|
-
* ModuleName = "PSDesiredStateConfiguration";
|
|
39
|
-
* SourceInfo = "::3::9::file";
|
|
40
|
-
* ModuleVersion = "1.0";
|
|
41
|
-
* ConfigurationName = "bla";
|
|
34
|
+
* ResourceID = \\"[File]bla\\";
|
|
35
|
+
* Ensure = \\"Present\\";
|
|
36
|
+
* Contents = \\"bogus Content\\";
|
|
37
|
+
* DestinationPath = \\"c:\\\\\\\\bogus.txt\\";
|
|
38
|
+
* ModuleName = \\"PSDesiredStateConfiguration\\";
|
|
39
|
+
* SourceInfo = \\"::3::9::file\\";
|
|
40
|
+
* ModuleVersion = \\"1.0\\";
|
|
41
|
+
* ConfigurationName = \\"bla\\";
|
|
42
42
|
* };
|
|
43
43
|
* instance of OMI_ConfigurationDocument
|
|
44
44
|
* {
|
|
45
|
-
* Version
|
|
46
|
-
* MinimumCompatibleVersion = "1.0.0";
|
|
47
|
-
* CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"};
|
|
48
|
-
* Author
|
|
49
|
-
* GenerationDate
|
|
50
|
-
* GenerationHost
|
|
51
|
-
* Name
|
|
45
|
+
* Version=\\"2.0.0\\";
|
|
46
|
+
* MinimumCompatibleVersion = \\"1.0.0\\";
|
|
47
|
+
* CompatibleVersionAdditionalProperties= {\\"Omi_BaseResource:ConfigurationName\\"};
|
|
48
|
+
* Author=\\"bogusAuthor\\";
|
|
49
|
+
* GenerationDate=\\"06/15/2018 14:06:24\\";
|
|
50
|
+
* GenerationHost=\\"bogusComputer\\";
|
|
51
|
+
* Name=\\"test\\";
|
|
52
52
|
* };
|
|
53
53
|
* `,
|
|
54
54
|
* }, {
|
|
@@ -37,24 +37,24 @@ const utilities = require("../utilities");
|
|
|
37
37
|
* automationAccountName: exampleAccount.name,
|
|
38
38
|
* contentEmbedded: `instance of MSFT_FileDirectoryConfiguration as MSFT_FileDirectoryConfiguration1ref
|
|
39
39
|
* {
|
|
40
|
-
* ResourceID = "[File]bla";
|
|
41
|
-
* Ensure = "Present";
|
|
42
|
-
* Contents = "bogus Content";
|
|
43
|
-
* DestinationPath = "c
|
|
44
|
-
* ModuleName = "PSDesiredStateConfiguration";
|
|
45
|
-
* SourceInfo = "::3::9::file";
|
|
46
|
-
* ModuleVersion = "1.0";
|
|
47
|
-
* ConfigurationName = "bla";
|
|
40
|
+
* ResourceID = \\"[File]bla\\";
|
|
41
|
+
* Ensure = \\"Present\\";
|
|
42
|
+
* Contents = \\"bogus Content\\";
|
|
43
|
+
* DestinationPath = \\"c:\\\\\\\\bogus.txt\\";
|
|
44
|
+
* ModuleName = \\"PSDesiredStateConfiguration\\";
|
|
45
|
+
* SourceInfo = \\"::3::9::file\\";
|
|
46
|
+
* ModuleVersion = \\"1.0\\";
|
|
47
|
+
* ConfigurationName = \\"bla\\";
|
|
48
48
|
* };
|
|
49
49
|
* instance of OMI_ConfigurationDocument
|
|
50
50
|
* {
|
|
51
|
-
* Version
|
|
52
|
-
* MinimumCompatibleVersion = "1.0.0";
|
|
53
|
-
* CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"};
|
|
54
|
-
* Author
|
|
55
|
-
* GenerationDate
|
|
56
|
-
* GenerationHost
|
|
57
|
-
* Name
|
|
51
|
+
* Version=\\"2.0.0\\";
|
|
52
|
+
* MinimumCompatibleVersion = \\"1.0.0\\";
|
|
53
|
+
* CompatibleVersionAdditionalProperties= {\\"Omi_BaseResource:ConfigurationName\\"};
|
|
54
|
+
* Author=\\"bogusAuthor\\";
|
|
55
|
+
* GenerationDate=\\"06/15/2018 14:06:24\\";
|
|
56
|
+
* GenerationHost=\\"bogusComputer\\";
|
|
57
|
+
* Name=\\"test\\";
|
|
58
58
|
* };
|
|
59
59
|
* `,
|
|
60
60
|
* }, {
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to access information about an existing Automation Object Variable.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* const example = azure.automation.getVariableObject({
|
|
13
|
+
* name: "tfex-example-var",
|
|
14
|
+
* resourceGroupName: "tfex-example-rg",
|
|
15
|
+
* automationAccountName: "tfex-example-account",
|
|
16
|
+
* });
|
|
17
|
+
* export const variable = example.then(example => std.jsondecode({
|
|
18
|
+
* input: example.value,
|
|
19
|
+
* })).then(invoke => invoke.result);
|
|
20
|
+
* ```
|
|
4
21
|
*/
|
|
5
22
|
export declare function getVariableObject(args: GetVariableObjectArgs, opts?: pulumi.InvokeOptions): Promise<GetVariableObjectResult>;
|
|
6
23
|
/**
|
|
@@ -46,6 +63,23 @@ export interface GetVariableObjectResult {
|
|
|
46
63
|
}
|
|
47
64
|
/**
|
|
48
65
|
* Use this data source to access information about an existing Automation Object Variable.
|
|
66
|
+
*
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as azure from "@pulumi/azure";
|
|
72
|
+
* import * as std from "@pulumi/std";
|
|
73
|
+
*
|
|
74
|
+
* const example = azure.automation.getVariableObject({
|
|
75
|
+
* name: "tfex-example-var",
|
|
76
|
+
* resourceGroupName: "tfex-example-rg",
|
|
77
|
+
* automationAccountName: "tfex-example-account",
|
|
78
|
+
* });
|
|
79
|
+
* export const variable = example.then(example => std.jsondecode({
|
|
80
|
+
* input: example.value,
|
|
81
|
+
* })).then(invoke => invoke.result);
|
|
82
|
+
* ```
|
|
49
83
|
*/
|
|
50
84
|
export declare function getVariableObjectOutput(args: GetVariableObjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVariableObjectResult>;
|
|
51
85
|
/**
|
|
@@ -7,6 +7,23 @@ 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 Automation Object Variable.
|
|
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.automation.getVariableObject({
|
|
19
|
+
* name: "tfex-example-var",
|
|
20
|
+
* resourceGroupName: "tfex-example-rg",
|
|
21
|
+
* automationAccountName: "tfex-example-account",
|
|
22
|
+
* });
|
|
23
|
+
* export const variable = example.then(example => std.jsondecode({
|
|
24
|
+
* input: example.value,
|
|
25
|
+
* })).then(invoke => invoke.result);
|
|
26
|
+
* ```
|
|
10
27
|
*/
|
|
11
28
|
function getVariableObject(args, opts) {
|
|
12
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -19,6 +36,23 @@ function getVariableObject(args, opts) {
|
|
|
19
36
|
exports.getVariableObject = getVariableObject;
|
|
20
37
|
/**
|
|
21
38
|
* Use this data source to access information about an existing Automation Object Variable.
|
|
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.automation.getVariableObject({
|
|
48
|
+
* name: "tfex-example-var",
|
|
49
|
+
* resourceGroupName: "tfex-example-rg",
|
|
50
|
+
* automationAccountName: "tfex-example-account",
|
|
51
|
+
* });
|
|
52
|
+
* export const variable = example.then(example => std.jsondecode({
|
|
53
|
+
* input: example.value,
|
|
54
|
+
* })).then(invoke => invoke.result);
|
|
55
|
+
* ```
|
|
22
56
|
*/
|
|
23
57
|
function getVariableObjectOutput(args, opts) {
|
|
24
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getVariableObject.js","sourceRoot":"","sources":["../../automation/getVariableObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getVariableObject.js","sourceRoot":"","sources":["../../automation/getVariableObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AA4CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC"}
|
|
@@ -59,14 +59,14 @@ import * as outputs from "../types/output";
|
|
|
59
59
|
* identityIds: [exampleUserAssignedIdentity.id],
|
|
60
60
|
* },
|
|
61
61
|
* resourceGroups: ` {
|
|
62
|
-
* "ResourceGroup": {
|
|
63
|
-
* "name": "exampleRG-bp"
|
|
62
|
+
* \\"ResourceGroup\\": {
|
|
63
|
+
* \\"name\\": \\"exampleRG-bp\\"
|
|
64
64
|
* }
|
|
65
65
|
* }
|
|
66
66
|
* `,
|
|
67
67
|
* parameterValues: ` {
|
|
68
|
-
* "allowedlocationsforresourcegroups_listOfAllowedLocations": {
|
|
69
|
-
* "value": ["westus", "westus2", "eastus", "centralus", "centraluseuap", "southcentralus", "northcentralus", "westcentralus", "eastus2", "eastus2euap", "brazilsouth", "brazilus", "northeurope", "westeurope", "eastasia", "southeastasia", "japanwest", "japaneast", "koreacentral", "koreasouth", "indiasouth", "indiawest", "indiacentral", "australiaeast", "australiasoutheast", "canadacentral", "canadaeast", "uknorth", "uksouth2", "uksouth", "ukwest", "francecentral", "francesouth", "australiacentral", "australiacentral2", "uaecentral", "uaenorth", "southafricanorth", "southafricawest", "switzerlandnorth", "switzerlandwest", "germanynorth", "germanywestcentral", "norwayeast", "norwaywest"]
|
|
68
|
+
* \\"allowedlocationsforresourcegroups_listOfAllowedLocations\\": {
|
|
69
|
+
* \\"value\\": [\\"westus\\", \\"westus2\\", \\"eastus\\", \\"centralus\\", \\"centraluseuap\\", \\"southcentralus\\", \\"northcentralus\\", \\"westcentralus\\", \\"eastus2\\", \\"eastus2euap\\", \\"brazilsouth\\", \\"brazilus\\", \\"northeurope\\", \\"westeurope\\", \\"eastasia\\", \\"southeastasia\\", \\"japanwest\\", \\"japaneast\\", \\"koreacentral\\", \\"koreasouth\\", \\"indiasouth\\", \\"indiawest\\", \\"indiacentral\\", \\"australiaeast\\", \\"australiasoutheast\\", \\"canadacentral\\", \\"canadaeast\\", \\"uknorth\\", \\"uksouth2\\", \\"uksouth\\", \\"ukwest\\", \\"francecentral\\", \\"francesouth\\", \\"australiacentral\\", \\"australiacentral2\\", \\"uaecentral\\", \\"uaenorth\\", \\"southafricanorth\\", \\"southafricawest\\", \\"switzerlandnorth\\", \\"switzerlandwest\\", \\"germanynorth\\", \\"germanywestcentral\\", \\"norwayeast\\", \\"norwaywest\\"]
|
|
70
70
|
* }
|
|
71
71
|
* }
|
|
72
72
|
* `,
|
package/blueprint/assignment.js
CHANGED
|
@@ -63,14 +63,14 @@ const utilities = require("../utilities");
|
|
|
63
63
|
* identityIds: [exampleUserAssignedIdentity.id],
|
|
64
64
|
* },
|
|
65
65
|
* resourceGroups: ` {
|
|
66
|
-
* "ResourceGroup": {
|
|
67
|
-
* "name": "exampleRG-bp"
|
|
66
|
+
* \\"ResourceGroup\\": {
|
|
67
|
+
* \\"name\\": \\"exampleRG-bp\\"
|
|
68
68
|
* }
|
|
69
69
|
* }
|
|
70
70
|
* `,
|
|
71
71
|
* parameterValues: ` {
|
|
72
|
-
* "allowedlocationsforresourcegroups_listOfAllowedLocations": {
|
|
73
|
-
* "value": ["westus", "westus2", "eastus", "centralus", "centraluseuap", "southcentralus", "northcentralus", "westcentralus", "eastus2", "eastus2euap", "brazilsouth", "brazilus", "northeurope", "westeurope", "eastasia", "southeastasia", "japanwest", "japaneast", "koreacentral", "koreasouth", "indiasouth", "indiawest", "indiacentral", "australiaeast", "australiasoutheast", "canadacentral", "canadaeast", "uknorth", "uksouth2", "uksouth", "ukwest", "francecentral", "francesouth", "australiacentral", "australiacentral2", "uaecentral", "uaenorth", "southafricanorth", "southafricawest", "switzerlandnorth", "switzerlandwest", "germanynorth", "germanywestcentral", "norwayeast", "norwaywest"]
|
|
72
|
+
* \\"allowedlocationsforresourcegroups_listOfAllowedLocations\\": {
|
|
73
|
+
* \\"value\\": [\\"westus\\", \\"westus2\\", \\"eastus\\", \\"centralus\\", \\"centraluseuap\\", \\"southcentralus\\", \\"northcentralus\\", \\"westcentralus\\", \\"eastus2\\", \\"eastus2euap\\", \\"brazilsouth\\", \\"brazilus\\", \\"northeurope\\", \\"westeurope\\", \\"eastasia\\", \\"southeastasia\\", \\"japanwest\\", \\"japaneast\\", \\"koreacentral\\", \\"koreasouth\\", \\"indiasouth\\", \\"indiawest\\", \\"indiacentral\\", \\"australiaeast\\", \\"australiasoutheast\\", \\"canadacentral\\", \\"canadaeast\\", \\"uknorth\\", \\"uksouth2\\", \\"uksouth\\", \\"ukwest\\", \\"francecentral\\", \\"francesouth\\", \\"australiacentral\\", \\"australiacentral2\\", \\"uaecentral\\", \\"uaenorth\\", \\"southafricanorth\\", \\"southafricawest\\", \\"switzerlandnorth\\", \\"switzerlandwest\\", \\"germanynorth\\", \\"germanywestcentral\\", \\"norwayeast\\", \\"norwaywest\\"]
|
|
74
74
|
* }
|
|
75
75
|
* }
|
|
76
76
|
* `,
|
|
@@ -57,7 +57,7 @@ import * as outputs from "../types/output";
|
|
|
57
57
|
* const exampleEndpointCustomDomain = new azure.cdn.EndpointCustomDomain("example", {
|
|
58
58
|
* name: "example-domain",
|
|
59
59
|
* cdnEndpointId: exampleEndpoint.id,
|
|
60
|
-
* hostName:
|
|
60
|
+
* hostName: Promise.all([exampleCNameRecord.name, example]).then(([name, example]) => `${name}.${example.name}`),
|
|
61
61
|
* });
|
|
62
62
|
* ```
|
|
63
63
|
*
|
|
@@ -61,7 +61,7 @@ const utilities = require("../utilities");
|
|
|
61
61
|
* const exampleEndpointCustomDomain = new azure.cdn.EndpointCustomDomain("example", {
|
|
62
62
|
* name: "example-domain",
|
|
63
63
|
* cdnEndpointId: exampleEndpoint.id,
|
|
64
|
-
* hostName:
|
|
64
|
+
* hostName: Promise.all([exampleCNameRecord.name, example]).then(([name, example]) => `${name}.${example.name}`),
|
|
65
65
|
* });
|
|
66
66
|
* ```
|
|
67
67
|
*
|
package/cdn/frontdoorSecret.d.ts
CHANGED
|
@@ -20,78 +20,6 @@ import * as outputs from "../types/output";
|
|
|
20
20
|
*
|
|
21
21
|
* -> **Note:** You only need to add the `Access Policy` for your personal AAD Object ID if you are planning to view the `secrets` via the Azure Portal.
|
|
22
22
|
*
|
|
23
|
-
* ## Example Usage
|
|
24
|
-
*
|
|
25
|
-
* ```typescript
|
|
26
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
-
* import * as azure from "@pulumi/azure";
|
|
28
|
-
* import * as azuread from "@pulumi/azuread";
|
|
29
|
-
* import * as std from "@pulumi/std";
|
|
30
|
-
*
|
|
31
|
-
* const current = azure.core.getClientConfig({});
|
|
32
|
-
* const frontdoor = azuread.getServicePrincipal({
|
|
33
|
-
* displayName: "Microsoft.AzurefrontDoor-Cdn",
|
|
34
|
-
* });
|
|
35
|
-
* const example = new azure.core.ResourceGroup("example", {
|
|
36
|
-
* name: "example-cdn-frontdoor",
|
|
37
|
-
* location: "West Europe",
|
|
38
|
-
* });
|
|
39
|
-
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
40
|
-
* name: "example-keyvault",
|
|
41
|
-
* location: example.location,
|
|
42
|
-
* resourceGroupName: example.name,
|
|
43
|
-
* tenantId: current.then(current => current.tenantId),
|
|
44
|
-
* skuName: "premium",
|
|
45
|
-
* softDeleteRetentionDays: 7,
|
|
46
|
-
* networkAcls: {
|
|
47
|
-
* defaultAction: "Deny",
|
|
48
|
-
* bypass: "AzureServices",
|
|
49
|
-
* ipRules: ["10.0.0.0/24"],
|
|
50
|
-
* },
|
|
51
|
-
* accessPolicies: [
|
|
52
|
-
* {
|
|
53
|
-
* tenantId: current.then(current => current.tenantId),
|
|
54
|
-
* objectId: frontdoor.then(frontdoor => frontdoor.objectId),
|
|
55
|
-
* secretPermissions: ["Get"],
|
|
56
|
-
* },
|
|
57
|
-
* {
|
|
58
|
-
* tenantId: current.then(current => current.tenantId),
|
|
59
|
-
* objectId: current.then(current => current.objectId),
|
|
60
|
-
* certificatePermissions: [
|
|
61
|
-
* "Get",
|
|
62
|
-
* "Import",
|
|
63
|
-
* "Delete",
|
|
64
|
-
* "Purge",
|
|
65
|
-
* ],
|
|
66
|
-
* secretPermissions: ["Get"],
|
|
67
|
-
* },
|
|
68
|
-
* ],
|
|
69
|
-
* });
|
|
70
|
-
* const exampleCertificate = new azure.keyvault.Certificate("example", {
|
|
71
|
-
* name: "example-cert",
|
|
72
|
-
* keyVaultId: exampleKeyVault.id,
|
|
73
|
-
* certificate: {
|
|
74
|
-
* contents: std.filebase64({
|
|
75
|
-
* input: "my-certificate.pfx",
|
|
76
|
-
* }).then(invoke => invoke.result),
|
|
77
|
-
* },
|
|
78
|
-
* });
|
|
79
|
-
* const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", {
|
|
80
|
-
* name: "example-cdn-profile",
|
|
81
|
-
* resourceGroupName: example.name,
|
|
82
|
-
* skuName: "Standard_AzureFrontDoor",
|
|
83
|
-
* });
|
|
84
|
-
* const exampleFrontdoorSecret = new azure.cdn.FrontdoorSecret("example", {
|
|
85
|
-
* name: "example-customer-managed-secret",
|
|
86
|
-
* cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
|
|
87
|
-
* secret: {
|
|
88
|
-
* customerCertificates: [{
|
|
89
|
-
* keyVaultCertificateId: exampleCertificate.id,
|
|
90
|
-
* }],
|
|
91
|
-
* },
|
|
92
|
-
* });
|
|
93
|
-
* ```
|
|
94
|
-
*
|
|
95
23
|
* ## Import
|
|
96
24
|
*
|
|
97
25
|
* Front Door Secrets can be imported using the `resource id`, e.g.
|