@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
|
@@ -4,105 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudCertificate` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
|
|
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: "example-resources",
|
|
16
|
-
* location: "West Europe",
|
|
17
|
-
* });
|
|
18
|
-
* const current = azure.core.getClientConfig({});
|
|
19
|
-
* const example = azuread.getServicePrincipal({
|
|
20
|
-
* displayName: "Azure Spring Cloud Resource Provider",
|
|
21
|
-
* });
|
|
22
|
-
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
23
|
-
* name: "keyvaultcertexample",
|
|
24
|
-
* location: exampleResourceGroup.location,
|
|
25
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
26
|
-
* tenantId: current.then(current => current.tenantId),
|
|
27
|
-
* skuName: "standard",
|
|
28
|
-
* accessPolicies: [
|
|
29
|
-
* {
|
|
30
|
-
* tenantId: current.then(current => current.tenantId),
|
|
31
|
-
* objectId: current.then(current => current.objectId),
|
|
32
|
-
* secretPermissions: ["Set"],
|
|
33
|
-
* certificatePermissions: [
|
|
34
|
-
* "Create",
|
|
35
|
-
* "Delete",
|
|
36
|
-
* "Get",
|
|
37
|
-
* "Update",
|
|
38
|
-
* ],
|
|
39
|
-
* },
|
|
40
|
-
* {
|
|
41
|
-
* tenantId: current.then(current => current.tenantId),
|
|
42
|
-
* objectId: example.then(example => example.objectId),
|
|
43
|
-
* secretPermissions: [
|
|
44
|
-
* "Get",
|
|
45
|
-
* "List",
|
|
46
|
-
* ],
|
|
47
|
-
* certificatePermissions: [
|
|
48
|
-
* "Get",
|
|
49
|
-
* "List",
|
|
50
|
-
* ],
|
|
51
|
-
* },
|
|
52
|
-
* ],
|
|
53
|
-
* });
|
|
54
|
-
* const exampleCertificate = new azure.keyvault.Certificate("example", {
|
|
55
|
-
* name: "cert-example",
|
|
56
|
-
* keyVaultId: exampleKeyVault.id,
|
|
57
|
-
* certificatePolicy: {
|
|
58
|
-
* issuerParameters: {
|
|
59
|
-
* name: "Self",
|
|
60
|
-
* },
|
|
61
|
-
* keyProperties: {
|
|
62
|
-
* exportable: true,
|
|
63
|
-
* keySize: 2048,
|
|
64
|
-
* keyType: "RSA",
|
|
65
|
-
* reuseKey: true,
|
|
66
|
-
* },
|
|
67
|
-
* lifetimeActions: [{
|
|
68
|
-
* action: {
|
|
69
|
-
* actionType: "AutoRenew",
|
|
70
|
-
* },
|
|
71
|
-
* trigger: {
|
|
72
|
-
* daysBeforeExpiry: 30,
|
|
73
|
-
* },
|
|
74
|
-
* }],
|
|
75
|
-
* secretProperties: {
|
|
76
|
-
* contentType: "application/x-pkcs12",
|
|
77
|
-
* },
|
|
78
|
-
* x509CertificateProperties: {
|
|
79
|
-
* keyUsages: [
|
|
80
|
-
* "cRLSign",
|
|
81
|
-
* "dataEncipherment",
|
|
82
|
-
* "digitalSignature",
|
|
83
|
-
* "keyAgreement",
|
|
84
|
-
* "keyCertSign",
|
|
85
|
-
* "keyEncipherment",
|
|
86
|
-
* ],
|
|
87
|
-
* subject: "CN=contoso.com",
|
|
88
|
-
* validityInMonths: 12,
|
|
89
|
-
* },
|
|
90
|
-
* },
|
|
91
|
-
* });
|
|
92
|
-
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
|
|
93
|
-
* name: "example-springcloud",
|
|
94
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
95
|
-
* location: exampleResourceGroup.location,
|
|
96
|
-
* });
|
|
97
|
-
* const exampleSpringCloudCertificate = new azure.appplatform.SpringCloudCertificate("example", {
|
|
98
|
-
* name: "example-scc",
|
|
99
|
-
* resourceGroupName: exampleSpringCloudService.resourceGroupName,
|
|
100
|
-
* serviceName: exampleSpringCloudService.name,
|
|
101
|
-
* keyVaultCertificateId: exampleCertificate.id,
|
|
102
|
-
* excludePrivateKey: true,
|
|
103
|
-
* });
|
|
104
|
-
* ```
|
|
105
|
-
*
|
|
106
7
|
* ## Import
|
|
107
8
|
*
|
|
108
9
|
* Spring Cloud Certificate can be imported using the `resource id`, e.g.
|
|
@@ -10,105 +10,6 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudCertificate` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
|
|
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: "example-resources",
|
|
22
|
-
* location: "West Europe",
|
|
23
|
-
* });
|
|
24
|
-
* const current = azure.core.getClientConfig({});
|
|
25
|
-
* const example = azuread.getServicePrincipal({
|
|
26
|
-
* displayName: "Azure Spring Cloud Resource Provider",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
29
|
-
* name: "keyvaultcertexample",
|
|
30
|
-
* location: exampleResourceGroup.location,
|
|
31
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
32
|
-
* tenantId: current.then(current => current.tenantId),
|
|
33
|
-
* skuName: "standard",
|
|
34
|
-
* accessPolicies: [
|
|
35
|
-
* {
|
|
36
|
-
* tenantId: current.then(current => current.tenantId),
|
|
37
|
-
* objectId: current.then(current => current.objectId),
|
|
38
|
-
* secretPermissions: ["Set"],
|
|
39
|
-
* certificatePermissions: [
|
|
40
|
-
* "Create",
|
|
41
|
-
* "Delete",
|
|
42
|
-
* "Get",
|
|
43
|
-
* "Update",
|
|
44
|
-
* ],
|
|
45
|
-
* },
|
|
46
|
-
* {
|
|
47
|
-
* tenantId: current.then(current => current.tenantId),
|
|
48
|
-
* objectId: example.then(example => example.objectId),
|
|
49
|
-
* secretPermissions: [
|
|
50
|
-
* "Get",
|
|
51
|
-
* "List",
|
|
52
|
-
* ],
|
|
53
|
-
* certificatePermissions: [
|
|
54
|
-
* "Get",
|
|
55
|
-
* "List",
|
|
56
|
-
* ],
|
|
57
|
-
* },
|
|
58
|
-
* ],
|
|
59
|
-
* });
|
|
60
|
-
* const exampleCertificate = new azure.keyvault.Certificate("example", {
|
|
61
|
-
* name: "cert-example",
|
|
62
|
-
* keyVaultId: exampleKeyVault.id,
|
|
63
|
-
* certificatePolicy: {
|
|
64
|
-
* issuerParameters: {
|
|
65
|
-
* name: "Self",
|
|
66
|
-
* },
|
|
67
|
-
* keyProperties: {
|
|
68
|
-
* exportable: true,
|
|
69
|
-
* keySize: 2048,
|
|
70
|
-
* keyType: "RSA",
|
|
71
|
-
* reuseKey: true,
|
|
72
|
-
* },
|
|
73
|
-
* lifetimeActions: [{
|
|
74
|
-
* action: {
|
|
75
|
-
* actionType: "AutoRenew",
|
|
76
|
-
* },
|
|
77
|
-
* trigger: {
|
|
78
|
-
* daysBeforeExpiry: 30,
|
|
79
|
-
* },
|
|
80
|
-
* }],
|
|
81
|
-
* secretProperties: {
|
|
82
|
-
* contentType: "application/x-pkcs12",
|
|
83
|
-
* },
|
|
84
|
-
* x509CertificateProperties: {
|
|
85
|
-
* keyUsages: [
|
|
86
|
-
* "cRLSign",
|
|
87
|
-
* "dataEncipherment",
|
|
88
|
-
* "digitalSignature",
|
|
89
|
-
* "keyAgreement",
|
|
90
|
-
* "keyCertSign",
|
|
91
|
-
* "keyEncipherment",
|
|
92
|
-
* ],
|
|
93
|
-
* subject: "CN=contoso.com",
|
|
94
|
-
* validityInMonths: 12,
|
|
95
|
-
* },
|
|
96
|
-
* },
|
|
97
|
-
* });
|
|
98
|
-
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
|
|
99
|
-
* name: "example-springcloud",
|
|
100
|
-
* resourceGroupName: exampleResourceGroup.name,
|
|
101
|
-
* location: exampleResourceGroup.location,
|
|
102
|
-
* });
|
|
103
|
-
* const exampleSpringCloudCertificate = new azure.appplatform.SpringCloudCertificate("example", {
|
|
104
|
-
* name: "example-scc",
|
|
105
|
-
* resourceGroupName: exampleSpringCloudService.resourceGroupName,
|
|
106
|
-
* serviceName: exampleSpringCloudService.name,
|
|
107
|
-
* keyVaultCertificateId: exampleCertificate.id,
|
|
108
|
-
* excludePrivateKey: true,
|
|
109
|
-
* });
|
|
110
|
-
* ```
|
|
111
|
-
*
|
|
112
13
|
* ## Import
|
|
113
14
|
*
|
|
114
15
|
* Spring Cloud Certificate can be imported using the `resource id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"springCloudCertificate.js","sourceRoot":"","sources":["../../appplatform/springCloudCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"springCloudCertificate.js","sourceRoot":"","sources":["../../appplatform/springCloudCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC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MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA/FL,wDAgGC;AAlFG,gBAAgB;AACO,mCAAY,GAAG,iEAAiE,CAAC"}
|
|
@@ -8,6 +8,70 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as azure from "@pulumi/azure";
|
|
14
|
+
*
|
|
15
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
16
|
+
* name: "example-resources",
|
|
17
|
+
* location: "West Europe",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
20
|
+
* name: "example-cosmosdb-account",
|
|
21
|
+
* location: example.location,
|
|
22
|
+
* resourceGroupName: example.name,
|
|
23
|
+
* offerType: "Standard",
|
|
24
|
+
* kind: "GlobalDocumentDB",
|
|
25
|
+
* consistencyPolicy: {
|
|
26
|
+
* consistencyLevel: "BoundedStaleness",
|
|
27
|
+
* maxIntervalInSeconds: 10,
|
|
28
|
+
* maxStalenessPrefix: 200,
|
|
29
|
+
* },
|
|
30
|
+
* geoLocations: [{
|
|
31
|
+
* location: example.location,
|
|
32
|
+
* failoverPriority: 0,
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
36
|
+
* name: "cosmos-sql-db",
|
|
37
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
38
|
+
* accountName: exampleAccount.name,
|
|
39
|
+
* throughput: 400,
|
|
40
|
+
* });
|
|
41
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
42
|
+
* name: "example-container",
|
|
43
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
44
|
+
* accountName: exampleAccount.name,
|
|
45
|
+
* databaseName: exampleSqlDatabase.name,
|
|
46
|
+
* partitionKeyPath: "/definition",
|
|
47
|
+
* });
|
|
48
|
+
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
|
|
49
|
+
* name: "examplespringcloud",
|
|
50
|
+
* resourceGroupName: example.name,
|
|
51
|
+
* location: example.location,
|
|
52
|
+
* });
|
|
53
|
+
* const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
|
|
54
|
+
* name: "examplespringcloudapp",
|
|
55
|
+
* resourceGroupName: example.name,
|
|
56
|
+
* serviceName: exampleSpringCloudService.name,
|
|
57
|
+
* identity: {
|
|
58
|
+
* type: "SystemAssigned",
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* const exampleSpringCloudJavaDeployment = new azure.appplatform.SpringCloudJavaDeployment("example", {
|
|
62
|
+
* name: "exampledeployment",
|
|
63
|
+
* springCloudAppId: exampleSpringCloudApp.id,
|
|
64
|
+
* });
|
|
65
|
+
* const exampleSpringCloudConnection = new azure.appplatform.SpringCloudConnection("example", {
|
|
66
|
+
* name: "example-serviceconnector",
|
|
67
|
+
* springCloudId: exampleSpringCloudJavaDeployment.id,
|
|
68
|
+
* targetResourceId: exampleSqlDatabase.id,
|
|
69
|
+
* authentication: {
|
|
70
|
+
* type: "systemAssignedIdentity",
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
11
75
|
* ## API Providers
|
|
12
76
|
*
|
|
13
77
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -12,6 +12,70 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azure from "@pulumi/azure";
|
|
18
|
+
*
|
|
19
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
20
|
+
* name: "example-resources",
|
|
21
|
+
* location: "West Europe",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
24
|
+
* name: "example-cosmosdb-account",
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* resourceGroupName: example.name,
|
|
27
|
+
* offerType: "Standard",
|
|
28
|
+
* kind: "GlobalDocumentDB",
|
|
29
|
+
* consistencyPolicy: {
|
|
30
|
+
* consistencyLevel: "BoundedStaleness",
|
|
31
|
+
* maxIntervalInSeconds: 10,
|
|
32
|
+
* maxStalenessPrefix: 200,
|
|
33
|
+
* },
|
|
34
|
+
* geoLocations: [{
|
|
35
|
+
* location: example.location,
|
|
36
|
+
* failoverPriority: 0,
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
40
|
+
* name: "cosmos-sql-db",
|
|
41
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
42
|
+
* accountName: exampleAccount.name,
|
|
43
|
+
* throughput: 400,
|
|
44
|
+
* });
|
|
45
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
46
|
+
* name: "example-container",
|
|
47
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
48
|
+
* accountName: exampleAccount.name,
|
|
49
|
+
* databaseName: exampleSqlDatabase.name,
|
|
50
|
+
* partitionKeyPath: "/definition",
|
|
51
|
+
* });
|
|
52
|
+
* const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
|
|
53
|
+
* name: "examplespringcloud",
|
|
54
|
+
* resourceGroupName: example.name,
|
|
55
|
+
* location: example.location,
|
|
56
|
+
* });
|
|
57
|
+
* const exampleSpringCloudApp = new azure.appplatform.SpringCloudApp("example", {
|
|
58
|
+
* name: "examplespringcloudapp",
|
|
59
|
+
* resourceGroupName: example.name,
|
|
60
|
+
* serviceName: exampleSpringCloudService.name,
|
|
61
|
+
* identity: {
|
|
62
|
+
* type: "SystemAssigned",
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* const exampleSpringCloudJavaDeployment = new azure.appplatform.SpringCloudJavaDeployment("example", {
|
|
66
|
+
* name: "exampledeployment",
|
|
67
|
+
* springCloudAppId: exampleSpringCloudApp.id,
|
|
68
|
+
* });
|
|
69
|
+
* const exampleSpringCloudConnection = new azure.appplatform.SpringCloudConnection("example", {
|
|
70
|
+
* name: "example-serviceconnector",
|
|
71
|
+
* springCloudId: exampleSpringCloudJavaDeployment.id,
|
|
72
|
+
* targetResourceId: exampleSqlDatabase.id,
|
|
73
|
+
* authentication: {
|
|
74
|
+
* type: "systemAssignedIdentity",
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
15
79
|
* ## API Providers
|
|
16
80
|
*
|
|
17
81
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"springCloudConnection.js","sourceRoot":"","sources":["../../appplatform/springCloudConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"springCloudConnection.js","sourceRoot":"","sources":["../../appplatform/springCloudConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA8BD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAA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AAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAzFL,sDA0FC;AA5EG,gBAAgB;AACO,kCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* import * as azure from "@pulumi/azure";
|
|
14
14
|
* import * as random from "@pulumi/random";
|
|
15
15
|
*
|
|
16
|
-
* const server = new random.
|
|
16
|
+
* const server = new random.index.Id("server", {});
|
|
17
17
|
* const example = new azure.core.ResourceGroup("example", {});
|
|
18
18
|
* const examplePlan = new azure.appservice.Plan("example", {});
|
|
19
19
|
* const exampleAppService = new azure.appservice.AppService("example", {});
|
package/appservice/activeSlot.js
CHANGED
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* import * as azure from "@pulumi/azure";
|
|
20
20
|
* import * as random from "@pulumi/random";
|
|
21
21
|
*
|
|
22
|
-
* const server = new random.
|
|
22
|
+
* const server = new random.index.Id("server", {});
|
|
23
23
|
* const example = new azure.core.ResourceGroup("example", {});
|
|
24
24
|
* const examplePlan = new azure.appservice.Plan("example", {});
|
|
25
25
|
* const exampleAppService = new azure.appservice.AppService("example", {});
|
|
@@ -6,6 +6,75 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
14
|
+
* name: "example-resources",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
18
|
+
* name: "example-cosmosdb-account",
|
|
19
|
+
* location: example.location,
|
|
20
|
+
* resourceGroupName: example.name,
|
|
21
|
+
* offerType: "Standard",
|
|
22
|
+
* kind: "GlobalDocumentDB",
|
|
23
|
+
* consistencyPolicy: {
|
|
24
|
+
* consistencyLevel: "BoundedStaleness",
|
|
25
|
+
* maxIntervalInSeconds: 10,
|
|
26
|
+
* maxStalenessPrefix: 200,
|
|
27
|
+
* },
|
|
28
|
+
* geoLocations: [{
|
|
29
|
+
* location: example.location,
|
|
30
|
+
* failoverPriority: 0,
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
34
|
+
* name: "cosmos-sql-db",
|
|
35
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
36
|
+
* accountName: exampleAccount.name,
|
|
37
|
+
* throughput: 400,
|
|
38
|
+
* });
|
|
39
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
40
|
+
* name: "example-container",
|
|
41
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
42
|
+
* accountName: exampleAccount.name,
|
|
43
|
+
* databaseName: exampleSqlDatabase.name,
|
|
44
|
+
* partitionKeyPath: "/definition",
|
|
45
|
+
* });
|
|
46
|
+
* const exampleAccount2 = new azure.storage.Account("example", {
|
|
47
|
+
* name: "examplestorageaccount",
|
|
48
|
+
* resourceGroupName: example.name,
|
|
49
|
+
* location: example.location,
|
|
50
|
+
* accountTier: "Standard",
|
|
51
|
+
* accountReplicationType: "LRS",
|
|
52
|
+
* });
|
|
53
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
54
|
+
* location: example.location,
|
|
55
|
+
* name: "example-serviceplan",
|
|
56
|
+
* resourceGroupName: example.name,
|
|
57
|
+
* skuName: "P1v2",
|
|
58
|
+
* osType: "Linux",
|
|
59
|
+
* });
|
|
60
|
+
* const test = new azure.appservice.FunctionApp("test", {
|
|
61
|
+
* name: "example-function-app",
|
|
62
|
+
* location: testAzurermResourceGroup.location,
|
|
63
|
+
* resourceGroupName: testAzurermResourceGroup.name,
|
|
64
|
+
* appServicePlanId: testAzurermAppServicePlan.id,
|
|
65
|
+
* storageAccountName: testAzurermStorageAccount.name,
|
|
66
|
+
* storageAccountAccessKey: testAzurermStorageAccount.primaryAccessKey,
|
|
67
|
+
* });
|
|
68
|
+
* const exampleAppConnection = new azure.appservice.AppConnection("example", {
|
|
69
|
+
* name: "example-serviceconnector",
|
|
70
|
+
* functionAppId: exampleAzurermFunctionApp.id,
|
|
71
|
+
* targetResourceId: testAzurermCosmosdbAccount.id,
|
|
72
|
+
* authentication: {
|
|
73
|
+
* type: "systemAssignedIdentity",
|
|
74
|
+
* },
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
9
78
|
* ## API Providers
|
|
10
79
|
*
|
|
11
80
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -10,6 +10,75 @@ 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 exampleAccount2 = new azure.storage.Account("example", {
|
|
51
|
+
* name: "examplestorageaccount",
|
|
52
|
+
* resourceGroupName: example.name,
|
|
53
|
+
* location: example.location,
|
|
54
|
+
* accountTier: "Standard",
|
|
55
|
+
* accountReplicationType: "LRS",
|
|
56
|
+
* });
|
|
57
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
58
|
+
* location: example.location,
|
|
59
|
+
* name: "example-serviceplan",
|
|
60
|
+
* resourceGroupName: example.name,
|
|
61
|
+
* skuName: "P1v2",
|
|
62
|
+
* osType: "Linux",
|
|
63
|
+
* });
|
|
64
|
+
* const test = new azure.appservice.FunctionApp("test", {
|
|
65
|
+
* name: "example-function-app",
|
|
66
|
+
* location: testAzurermResourceGroup.location,
|
|
67
|
+
* resourceGroupName: testAzurermResourceGroup.name,
|
|
68
|
+
* appServicePlanId: testAzurermAppServicePlan.id,
|
|
69
|
+
* storageAccountName: testAzurermStorageAccount.name,
|
|
70
|
+
* storageAccountAccessKey: testAzurermStorageAccount.primaryAccessKey,
|
|
71
|
+
* });
|
|
72
|
+
* const exampleAppConnection = new azure.appservice.AppConnection("example", {
|
|
73
|
+
* name: "example-serviceconnector",
|
|
74
|
+
* functionAppId: exampleAzurermFunctionApp.id,
|
|
75
|
+
* targetResourceId: testAzurermCosmosdbAccount.id,
|
|
76
|
+
* authentication: {
|
|
77
|
+
* type: "systemAssignedIdentity",
|
|
78
|
+
* },
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
13
82
|
* ## API Providers
|
|
14
83
|
*
|
|
15
84
|
* <!-- This section is generated, changes will be overwritten -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appConnection.js","sourceRoot":"","sources":["../../appservice/appConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"appConnection.js","sourceRoot":"","sources":["../../appservice/appConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc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C,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA3FL,sCA4FC;AA9EG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -6,6 +6,67 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
14
|
+
* name: "example-resources",
|
|
15
|
+
* location: "West Europe",
|
|
16
|
+
* });
|
|
17
|
+
* const exampleAccount = new azure.cosmosdb.Account("example", {
|
|
18
|
+
* name: "example-cosmosdb-account",
|
|
19
|
+
* location: example.location,
|
|
20
|
+
* resourceGroupName: example.name,
|
|
21
|
+
* offerType: "Standard",
|
|
22
|
+
* kind: "GlobalDocumentDB",
|
|
23
|
+
* consistencyPolicy: {
|
|
24
|
+
* consistencyLevel: "BoundedStaleness",
|
|
25
|
+
* maxIntervalInSeconds: 10,
|
|
26
|
+
* maxStalenessPrefix: 200,
|
|
27
|
+
* },
|
|
28
|
+
* geoLocations: [{
|
|
29
|
+
* location: example.location,
|
|
30
|
+
* failoverPriority: 0,
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* const exampleSqlDatabase = new azure.cosmosdb.SqlDatabase("example", {
|
|
34
|
+
* name: "cosmos-sql-db",
|
|
35
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
36
|
+
* accountName: exampleAccount.name,
|
|
37
|
+
* throughput: 400,
|
|
38
|
+
* });
|
|
39
|
+
* const exampleSqlContainer = new azure.cosmosdb.SqlContainer("example", {
|
|
40
|
+
* name: "example-container",
|
|
41
|
+
* resourceGroupName: exampleAccount.resourceGroupName,
|
|
42
|
+
* accountName: exampleAccount.name,
|
|
43
|
+
* databaseName: exampleSqlDatabase.name,
|
|
44
|
+
* partitionKeyPath: "/definition",
|
|
45
|
+
* });
|
|
46
|
+
* const exampleServicePlan = new azure.appservice.ServicePlan("example", {
|
|
47
|
+
* location: example.location,
|
|
48
|
+
* name: "example-serviceplan",
|
|
49
|
+
* resourceGroupName: example.name,
|
|
50
|
+
* skuName: "P1v2",
|
|
51
|
+
* osType: "Linux",
|
|
52
|
+
* });
|
|
53
|
+
* const exampleLinuxWebApp = new azure.appservice.LinuxWebApp("example", {
|
|
54
|
+
* location: example.location,
|
|
55
|
+
* name: "example-linuxwebapp",
|
|
56
|
+
* resourceGroupName: example.name,
|
|
57
|
+
* servicePlanId: exampleServicePlan.id,
|
|
58
|
+
* siteConfig: {},
|
|
59
|
+
* });
|
|
60
|
+
* const exampleConnection = new azure.appservice.Connection("example", {
|
|
61
|
+
* name: "example-serviceconnector",
|
|
62
|
+
* appServiceId: exampleLinuxWebApp.id,
|
|
63
|
+
* targetResourceId: exampleSqlDatabase.id,
|
|
64
|
+
* authentication: {
|
|
65
|
+
* type: "systemAssignedIdentity",
|
|
66
|
+
* },
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
9
70
|
* ## API Providers
|
|
10
71
|
*
|
|
11
72
|
* <!-- This section is generated, changes will be overwritten -->
|