@pulumi/alicloud 3.44.0 → 3.44.2
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/adb/dbcluster.d.ts +3 -3
- package/adb/dbclusterLakeVersion.d.ts +71 -27
- package/adb/dbclusterLakeVersion.js +22 -22
- package/adb/dbclusterLakeVersion.js.map +1 -1
- package/adb/getResourceGroups.d.ts +4 -4
- package/adb/getResourceGroups.js +4 -4
- package/alb/acl.d.ts +1 -1
- package/alb/acl.js +1 -1
- package/alb/aclEntryAttachment.d.ts +2 -2
- package/alb/aclEntryAttachment.js +2 -2
- package/alb/ascript.d.ts +1 -1
- package/alb/ascript.js +1 -1
- package/alb/healthCheckTemplate.d.ts +1 -1
- package/alb/healthCheckTemplate.js +1 -1
- package/alb/listener.d.ts +1 -1
- package/alb/listener.js +1 -1
- package/alb/listenerAclAttachment.d.ts +1 -1
- package/alb/listenerAclAttachment.js +1 -1
- package/alb/listenerAdditionalCertificateAttachment.d.ts +1 -1
- package/alb/listenerAdditionalCertificateAttachment.js +1 -1
- package/alb/loadBalancer.d.ts +80 -42
- package/alb/loadBalancer.js +8 -5
- package/alb/loadBalancer.js.map +1 -1
- package/alb/loadBalancerCommonBandwidthPackageAttachment.d.ts +1 -1
- package/alb/loadBalancerCommonBandwidthPackageAttachment.js +1 -1
- package/alb/rule.d.ts +1 -1
- package/alb/rule.js +1 -1
- package/alb/securityPolicy.d.ts +1 -1
- package/alb/securityPolicy.js +1 -1
- package/alb/serverGroup.d.ts +1 -1
- package/alb/serverGroup.js +1 -1
- package/alikafka/consumerGroup.d.ts +1 -1
- package/alikafka/consumerGroup.js +1 -1
- package/alikafka/instanceAllowedIpAttachment.d.ts +1 -1
- package/alikafka/instanceAllowedIpAttachment.js +1 -1
- package/alikafka/saslAcl.d.ts +1 -1
- package/alikafka/saslAcl.js +1 -1
- package/alikafka/saslUser.d.ts +1 -1
- package/alikafka/saslUser.js +1 -1
- package/alikafka/topic.d.ts +1 -1
- package/alikafka/topic.js +1 -1
- package/apigateway/backend.d.ts +1 -1
- package/apigateway/backend.js +1 -1
- package/apigateway/plugin.d.ts +1 -1
- package/apigateway/plugin.js +1 -1
- package/arms/dispatchRule.d.ts +1 -1
- package/arms/dispatchRule.js +1 -1
- package/arms/integrationExporter.d.ts +1 -1
- package/arms/integrationExporter.js +1 -1
- package/arms/prometheus.d.ts +1 -1
- package/arms/prometheus.js +1 -1
- package/arms/remoteWrite.d.ts +1 -1
- package/arms/remoteWrite.js +1 -1
- package/bastionhost/user.d.ts +1 -1
- package/bastionhost/user.js +1 -1
- package/bss/getOpenApiProducts.d.ts +2 -2
- package/bss/getOpenApiProducts.js +2 -2
- package/cdn/fcTrigger.d.ts +4 -4
- package/cdn/fcTrigger.js +1 -1
- package/cen/childInstanceRouteEntryToAttachment.d.ts +1 -1
- package/cen/childInstanceRouteEntryToAttachment.js +1 -1
- package/cen/flowLog.d.ts +2 -2
- package/cen/flowLog.js +2 -2
- package/cen/getChildInstanceRouteEntryToAttachments.d.ts +2 -2
- package/cen/getChildInstanceRouteEntryToAttachments.js +2 -2
- package/cen/getTransitRouterMulticastDomainMembers.d.ts +8 -4
- package/cen/getTransitRouterMulticastDomainMembers.js +8 -4
- package/cen/getTransitRouterMulticastDomainMembers.js.map +1 -1
- package/cen/getTransitRouterMulticastDomainPeerMembers.d.ts +8 -4
- package/cen/getTransitRouterMulticastDomainPeerMembers.js +8 -4
- package/cen/getTransitRouterMulticastDomainPeerMembers.js.map +1 -1
- package/cen/getTransitRouterMulticastDomainSources.d.ts +10 -4
- package/cen/getTransitRouterMulticastDomainSources.js +4 -4
- package/cen/getTransitRouterMulticastDomainSources.js.map +1 -1
- package/cen/instance.d.ts +1 -1
- package/cen/instance.js +1 -1
- package/cen/instanceGrant.d.ts +1 -1
- package/cen/instanceGrant.js +1 -1
- package/cen/interRegionTrafficQosPolicy.d.ts +1 -1
- package/cen/interRegionTrafficQosPolicy.js +1 -1
- package/cen/interRegionTrafficQosQueue.d.ts +1 -1
- package/cen/interRegionTrafficQosQueue.js +1 -1
- package/cen/privateZone.d.ts +1 -1
- package/cen/privateZone.js +1 -1
- package/cen/routeMap.d.ts +1 -1
- package/cen/routeMap.js +1 -1
- package/cen/routeService.d.ts +1 -1
- package/cen/routeService.js +1 -1
- package/cen/trafficMarkingPolicy.d.ts +1 -1
- package/cen/trafficMarkingPolicy.js +1 -1
- package/cen/transitRouteTableAggregation.d.ts +1 -1
- package/cen/transitRouteTableAggregation.js +1 -1
- package/cen/transitRouter.d.ts +4 -4
- package/cen/transitRouter.js +1 -1
- package/cen/transitRouterMulticastDomain.d.ts +1 -1
- package/cen/transitRouterMulticastDomain.js +1 -1
- package/cen/transitRouterMulticastDomainAssociation.d.ts +1 -1
- package/cen/transitRouterMulticastDomainAssociation.js +1 -1
- package/cen/transitRouterMulticastDomainMember.d.ts +1 -1
- package/cen/transitRouterMulticastDomainMember.js +1 -1
- package/cen/transitRouterMulticastDomainPeerMember.d.ts +1 -1
- package/cen/transitRouterMulticastDomainPeerMember.js +1 -1
- package/cen/transitRouterMulticastDomainSource.d.ts +1 -1
- package/cen/transitRouterMulticastDomainSource.js +1 -1
- package/cen/transitRouterPeerAttachment.d.ts +1 -1
- package/cen/transitRouterPeerAttachment.js +1 -1
- package/cen/transitRouterRouteEntry.d.ts +1 -1
- package/cen/transitRouterRouteEntry.js +1 -1
- package/cen/transitRouterRouteTable.d.ts +1 -1
- package/cen/transitRouterRouteTable.js +1 -1
- package/cen/transitRouterRouteTableAssociation.d.ts +1 -1
- package/cen/transitRouterRouteTableAssociation.js +1 -1
- package/cen/transitRouterRouteTablePropagation.d.ts +1 -1
- package/cen/transitRouterRouteTablePropagation.js +1 -1
- package/cen/transitRouterVbrAttachment.d.ts +11 -20
- package/cen/transitRouterVbrAttachment.js +11 -20
- package/cen/transitRouterVbrAttachment.js.map +1 -1
- package/cen/transitRouterVpcAttachment.d.ts +1 -1
- package/cen/transitRouterVpcAttachment.js +1 -1
- package/cen/transitRouterVpnAttachment.d.ts +1 -1
- package/cen/transitRouterVpnAttachment.js +1 -1
- package/cen/vbrHealthCheck.d.ts +1 -1
- package/cen/vbrHealthCheck.js +1 -1
- package/cfg/delivery.d.ts +1 -1
- package/cfg/delivery.js +1 -1
- package/cloudfirewall/getAddressBooks.d.ts +45 -8
- package/cloudfirewall/getAddressBooks.js +34 -6
- package/cloudfirewall/getAddressBooks.js.map +1 -1
- package/cms/eventRule.d.ts +76 -4
- package/cms/eventRule.js +16 -4
- package/cms/eventRule.js.map +1 -1
- package/cs/getKubernetesAddons.d.ts +5 -38
- package/cs/getKubernetesAddons.js +4 -29
- package/cs/getKubernetesAddons.js.map +1 -1
- package/cs/managedKubernetes.d.ts +30 -3
- package/cs/managedKubernetes.js +27 -0
- package/cs/managedKubernetes.js.map +1 -1
- package/dbs/backupPlan.d.ts +2 -2
- package/dbs/backupPlan.js +2 -2
- package/dcdn/er.d.ts +1 -1
- package/dcdn/er.js +1 -1
- package/dcdn/getKvAccount.d.ts +4 -4
- package/dcdn/getKvAccount.js +4 -4
- package/dcdn/getWafRules.d.ts +4 -4
- package/dcdn/getWafRules.js +4 -4
- package/dcdn/kv.d.ts +1 -1
- package/dcdn/kv.js +1 -1
- package/dcdn/kvNamespace.d.ts +1 -1
- package/dcdn/kvNamespace.js +1 -1
- package/dcdn/wafDomain.d.ts +1 -1
- package/dcdn/wafDomain.js +1 -1
- package/dcdn/wafPolicy.d.ts +1 -1
- package/dcdn/wafPolicy.js +1 -1
- package/dcdn/wafPolicyDomainAttachment.d.ts +1 -1
- package/dcdn/wafPolicyDomainAttachment.js +1 -1
- package/dcdn/wafRule.d.ts +1 -1
- package/dcdn/wafRule.js +1 -1
- package/ddos/ddosCooInstance.d.ts +3 -3
- package/directmail/tag.d.ts +1 -1
- package/directmail/tag.js +1 -1
- package/dms/enterpriseLogicDatabase.d.ts +1 -1
- package/dms/enterpriseLogicDatabase.js +1 -1
- package/dms/enterpriseProxy.d.ts +1 -1
- package/dms/enterpriseProxy.js +1 -1
- package/dms/enterpriseProxyAccess.d.ts +1 -1
- package/dms/enterpriseProxyAccess.js +1 -1
- package/dms/getEnterpriseDatabases.d.ts +8 -4
- package/dms/getEnterpriseDatabases.js +8 -4
- package/dms/getEnterpriseDatabases.js.map +1 -1
- package/dms/getEnterpriseLogicDatabases.d.ts +4 -4
- package/dms/getEnterpriseLogicDatabases.js +4 -4
- package/dms/getEnterpriseProxyAccesses.d.ts +4 -4
- package/dms/getEnterpriseProxyAccesses.js +4 -4
- package/dns/alidnsRecord.d.ts +4 -4
- package/dns/alidnsRecord.js +1 -1
- package/dns/ddosCooInstance.d.ts +3 -3
- package/dns/getAlidnsRecords.d.ts +2 -2
- package/dns/getRecords.d.ts +6 -2
- package/dns/getRecords.js +4 -0
- package/dns/getRecords.js.map +1 -1
- package/dns/monitorConfig.d.ts +4 -4
- package/dns/monitorConfig.js +1 -1
- package/dns/record.d.ts +3 -3
- package/drds/index.d.ts +3 -0
- package/drds/index.js +6 -1
- package/drds/index.js.map +1 -1
- package/drds/polardbxInstance.d.ts +239 -0
- package/drds/polardbxInstance.js +146 -0
- package/drds/polardbxInstance.js.map +1 -0
- package/eais/instance.d.ts +1 -1
- package/eais/instance.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +3 -11
- package/ecs/autoProvisioningGroup.js +0 -8
- package/ecs/autoProvisioningGroup.js.map +1 -1
- package/ecs/disk.d.ts +1 -1
- package/ecs/ecsDisk.d.ts +4 -4
- package/ecs/ecsLaunchTemplate.d.ts +10 -10
- package/ecs/ecsLaunchTemplate.js +1 -1
- package/eds/adConnectorDirectory.d.ts +1 -1
- package/eds/adConnectorDirectory.js +1 -1
- package/eds/adConnectorOfficeSite.d.ts +1 -1
- package/eds/adConnectorOfficeSite.js +1 -1
- package/eds/bundle.d.ts +1 -1
- package/eds/bundle.js +1 -1
- package/eds/command.d.ts +1 -1
- package/eds/command.js +1 -1
- package/eds/customProperty.d.ts +1 -1
- package/eds/customProperty.js +1 -1
- package/eds/desktop.d.ts +1 -1
- package/eds/desktop.js +1 -1
- package/eds/ecdPolicyGroup.d.ts +1 -1
- package/eds/ecdPolicyGroup.js +1 -1
- package/eds/image.d.ts +1 -1
- package/eds/image.js +1 -1
- package/eds/networkPackage.d.ts +1 -1
- package/eds/networkPackage.js +1 -1
- package/eds/ramDirectory.d.ts +1 -1
- package/eds/ramDirectory.js +1 -1
- package/eds/simpleOfficeSite.d.ts +1 -1
- package/eds/simpleOfficeSite.js +1 -1
- package/eds/snapshot.d.ts +1 -1
- package/eds/snapshot.js +1 -1
- package/eds/user.d.ts +1 -1
- package/eds/user.js +1 -1
- package/ehpc/cluster.d.ts +1 -1
- package/ehpc/cluster.js +1 -1
- package/ess/alarm.d.ts +3 -3
- package/expressconnect/getRouterInterfaces.d.ts +2 -2
- package/expressconnect/getRouterInterfaces.js +2 -2
- package/fc/alias.d.ts +1 -1
- package/fc/alias.js +1 -1
- package/fc/customDomain.d.ts +1 -1
- package/fc/customDomain.js +1 -1
- package/fc/function.d.ts +1 -1
- package/fc/function.js +1 -1
- package/fc/functionAsyncInvokeConfig.d.ts +1 -1
- package/fc/functionAsyncInvokeConfig.js +1 -1
- package/fc/trigger.d.ts +1 -1
- package/fc/trigger.js +1 -1
- package/gpdb/instance.d.ts +4 -4
- package/gpdb/instance.js +1 -1
- package/hbase/instance.d.ts +3 -3
- package/hbr/hanaBackupClient.d.ts +1 -1
- package/hbr/hanaBackupClient.js +1 -1
- package/hbr/hanaBackupPlan.d.ts +1 -1
- package/hbr/hanaBackupPlan.js +1 -1
- package/hbr/hanaInstance.d.ts +1 -1
- package/hbr/hanaInstance.js +1 -1
- package/kms/ciphertext.d.ts +3 -3
- package/kms/getCiphertext.d.ts +6 -2
- package/kms/getCiphertext.js +4 -0
- package/kms/getCiphertext.js.map +1 -1
- package/kvstore/getInstances.d.ts +3 -3
- package/log/audit.d.ts +81 -95
- package/log/audit.js +81 -95
- package/log/audit.js.map +1 -1
- package/marketplace/getProducts.d.ts +2 -2
- package/mse/cluster.d.ts +3 -3
- package/mse/engineNamespace.d.ts +1 -1
- package/mse/engineNamespace.js +1 -1
- package/nas/accessGroup.d.ts +1 -1
- package/nas/accessGroup.js +1 -1
- package/nas/getService.d.ts +2 -2
- package/oos/defaultPatchBaseline.d.ts +1 -1
- package/oos/defaultPatchBaseline.js +1 -1
- package/package.json +1 -1
- package/polardb/cluster.d.ts +109 -67
- package/polardb/cluster.js +10 -0
- package/polardb/cluster.js.map +1 -1
- package/polardb/globalDatabaseNetwork.d.ts +1 -1
- package/polardb/globalDatabaseNetwork.js +1 -1
- package/polardb/parameterGroup.d.ts +1 -1
- package/polardb/parameterGroup.js +1 -1
- package/pvtz/zoneAttachment.d.ts +34 -13
- package/pvtz/zoneAttachment.js +31 -10
- package/pvtz/zoneAttachment.js.map +1 -1
- package/quotas/quotaAlarm.d.ts +1 -1
- package/quotas/quotaAlarm.js +1 -1
- package/quotas/templateQuota.d.ts +1 -1
- package/quotas/templateQuota.js +1 -1
- package/ram/getUsers.d.ts +92 -10
- package/ram/getUsers.js +92 -10
- package/ram/getUsers.js.map +1 -1
- package/rds/ddrInstance.d.ts +3 -3
- package/rds/instance.d.ts +9 -12
- package/rds/instance.js.map +1 -1
- package/rds/rdsCloneDbInstance.d.ts +16 -16
- package/rds/rdsCloneDbInstance.js +1 -1
- package/rds/rdsUpgradeDbInstance.d.ts +18 -18
- package/redis/tairInstance.d.ts +50 -8
- package/redis/tairInstance.js +6 -0
- package/redis/tairInstance.js.map +1 -1
- package/resourcemanager/controlPolicyAttachment.d.ts +1 -1
- package/resourcemanager/controlPolicyAttachment.js +1 -1
- package/scdn/domain.d.ts +2 -0
- package/scdn/domain.js +2 -0
- package/scdn/domain.js.map +1 -1
- package/scdn/domainConfig.d.ts +2 -0
- package/scdn/domainConfig.js +2 -0
- package/scdn/domainConfig.js.map +1 -1
- package/servicecatalog/getEndUserProducts.d.ts +4 -4
- package/servicecatalog/getEndUserProducts.js +4 -4
- package/servicecatalog/getLaunchOptions.d.ts +17 -5
- package/servicecatalog/getLaunchOptions.js +8 -4
- package/servicecatalog/getLaunchOptions.js.map +1 -1
- package/servicecatalog/getPortfolios.d.ts +2 -2
- package/servicecatalog/getPortfolios.js +2 -2
- package/servicecatalog/getProductAsEndUsers.d.ts +2 -2
- package/servicecatalog/getProductAsEndUsers.js +2 -2
- package/servicecatalog/getProductVersions.d.ts +2 -2
- package/servicecatalog/getProductVersions.js +2 -2
- package/servicecatalog/getProvisionedProducts.d.ts +35 -5
- package/servicecatalog/getProvisionedProducts.js +8 -4
- package/servicecatalog/getProvisionedProducts.js.map +1 -1
- package/servicecatalog/portfolio.d.ts +1 -1
- package/servicecatalog/portfolio.js +1 -1
- package/servicecatalog/provisionedProduct.d.ts +1 -1
- package/servicecatalog/provisionedProduct.js +1 -1
- package/servicemesh/serviceMesh.d.ts +101 -42
- package/servicemesh/serviceMesh.js +9 -1
- package/servicemesh/serviceMesh.js.map +1 -1
- package/slb/applicationLoadBalancer.d.ts +3 -3
- package/slb/loadBalancer.d.ts +82 -25
- package/slb/loadBalancer.js +10 -4
- package/slb/loadBalancer.js.map +1 -1
- package/sms/shortUrl.d.ts +1 -1
- package/sms/shortUrl.js +1 -1
- package/threatdetection/antiBruteForceRule.d.ts +3 -3
- package/threatdetection/antiBruteForceRule.js +3 -3
- package/threatdetection/backupPolicy.d.ts +7 -7
- package/threatdetection/backupPolicy.js +1 -1
- package/threatdetection/baselineStrategy.d.ts +2 -2
- package/threatdetection/baselineStrategy.js +2 -2
- package/threatdetection/getAntiBruteForceRules.d.ts +4 -4
- package/threatdetection/getAntiBruteForceRules.js +4 -4
- package/threatdetection/getAssets.d.ts +4 -4
- package/threatdetection/getAssets.js +4 -4
- package/threatdetection/getBaselineStrategies.d.ts +2 -2
- package/threatdetection/getBaselineStrategies.js +2 -2
- package/threatdetection/getHoneyPots.d.ts +16 -6
- package/threatdetection/getHoneyPots.js +10 -6
- package/threatdetection/getHoneyPots.js.map +1 -1
- package/threatdetection/getHoneypotImages.d.ts +2 -2
- package/threatdetection/getHoneypotImages.js +2 -2
- package/threatdetection/getHoneypotNodes.d.ts +2 -2
- package/threatdetection/getHoneypotNodes.js +2 -2
- package/threatdetection/getHoneypotProbes.d.ts +2 -2
- package/threatdetection/getHoneypotProbes.js +2 -2
- package/threatdetection/getLogShipper.d.ts +2 -2
- package/threatdetection/getLogShipper.js +2 -2
- package/threatdetection/getWebLockConfigs.d.ts +4 -4
- package/threatdetection/getWebLockConfigs.js +4 -4
- package/threatdetection/honeypotProbe.d.ts +1 -1
- package/threatdetection/honeypotProbe.js +1 -1
- package/threatdetection/vulWhitelist.d.ts +7 -7
- package/threatdetection/vulWhitelist.js +1 -1
- package/threatdetection/webLockConfig.d.ts +1 -1
- package/threatdetection/webLockConfig.js +1 -1
- package/types/input.d.ts +402 -259
- package/types/output.d.ts +457 -261
- package/vpc/getRouterInterfaces.d.ts +4 -4
- package/vpc/getRouterInterfaces.js +4 -4
- package/wafv3/domain.d.ts +1 -1
- package/wafv3/domain.js +1 -1
|
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Service Mesh Service Mesh resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Service Mesh Service Mesh and how to use it, see [What is Service Mesh](https://www.alibabacloud.com/help/en/
|
|
7
|
+
* For information about Service Mesh Service Mesh and how to use it, see [What is Service Mesh](https://www.alibabacloud.com/help/en/asm/developer-reference/api-servicemesh-2020-01-11-createservicemesh).
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** Available since v1.138.0.
|
|
10
10
|
*
|
|
@@ -33,50 +33,71 @@ export declare class ServiceMesh extends pulumi.CustomResource {
|
|
|
33
33
|
*/
|
|
34
34
|
static isInstance(obj: any): obj is ServiceMesh;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* List of clusters.
|
|
37
37
|
*/
|
|
38
|
-
readonly clusterIds: pulumi.Output<string[]>;
|
|
38
|
+
readonly clusterIds: pulumi.Output<string[] | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
* The service mesh instance specification.
|
|
41
|
-
* Valid values: `standard`,`enterprise`,`ultimate`. Default to `standard`.
|
|
40
|
+
* Cluster specification. The service mesh instance specification. Valid values: `standard`,`enterprise`,`ultimate`. Default to `standard`.
|
|
42
41
|
*/
|
|
43
42
|
readonly clusterSpec: pulumi.Output<string>;
|
|
44
43
|
/**
|
|
45
|
-
*
|
|
44
|
+
* Service grid creation time.
|
|
46
45
|
*/
|
|
47
|
-
readonly
|
|
46
|
+
readonly createTime: pulumi.Output<string>;
|
|
48
47
|
/**
|
|
49
|
-
*
|
|
48
|
+
* Whether to customize Prometheus. Value:
|
|
49
|
+
* -'true': custom Prometheus.
|
|
50
|
+
* -'false': Do not customize Prometheus. Default value: 'false '.
|
|
51
|
+
*/
|
|
52
|
+
readonly customizedPrometheus: pulumi.Output<boolean | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Grid instance version type. Valid values: `Default` and `Pro`. Default: the standard. Pro: the Pro version.
|
|
55
|
+
*/
|
|
56
|
+
readonly edition: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Data plane KubeAPI access capability. See `extraConfiguration` below.
|
|
50
59
|
*/
|
|
51
60
|
readonly extraConfiguration: pulumi.Output<outputs.servicemesh.ServiceMeshExtraConfiguration>;
|
|
52
61
|
/**
|
|
53
|
-
*
|
|
62
|
+
* Whether to forcibly delete the ASM instance. Value:
|
|
63
|
+
* -'true': force deletion of ASM instance
|
|
64
|
+
* -'false': no forced deletion of ASM instance. Default value: false.
|
|
54
65
|
*/
|
|
55
66
|
readonly force: pulumi.Output<boolean | undefined>;
|
|
56
67
|
/**
|
|
57
|
-
*
|
|
68
|
+
* Load balancing information. See `loadBalancer` below.
|
|
58
69
|
*/
|
|
59
|
-
readonly loadBalancer: pulumi.Output<outputs.servicemesh.ServiceMeshLoadBalancer>;
|
|
70
|
+
readonly loadBalancer: pulumi.Output<outputs.servicemesh.ServiceMeshLoadBalancer | undefined>;
|
|
60
71
|
/**
|
|
61
|
-
*
|
|
72
|
+
* Service grid configuration information. See `meshConfig` below.
|
|
62
73
|
*/
|
|
63
|
-
readonly meshConfig: pulumi.Output<outputs.servicemesh.ServiceMeshMeshConfig>;
|
|
74
|
+
readonly meshConfig: pulumi.Output<outputs.servicemesh.ServiceMeshMeshConfig | undefined>;
|
|
64
75
|
/**
|
|
65
|
-
*
|
|
76
|
+
* Service grid network configuration information. See `network` below.
|
|
66
77
|
*/
|
|
67
78
|
readonly network: pulumi.Output<outputs.servicemesh.ServiceMeshNetwork>;
|
|
68
79
|
/**
|
|
69
|
-
* The
|
|
80
|
+
* The Prometheus service address (in non-custom cases, use the ARMS address format).
|
|
81
|
+
*/
|
|
82
|
+
readonly prometheusUrl: pulumi.Output<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* ServiceMeshName.
|
|
70
85
|
*/
|
|
71
|
-
readonly serviceMeshName: pulumi.Output<string>;
|
|
86
|
+
readonly serviceMeshName: pulumi.Output<string | undefined>;
|
|
72
87
|
/**
|
|
73
|
-
* The status of the resource.
|
|
88
|
+
* The status of the resource.
|
|
74
89
|
*/
|
|
75
90
|
readonly status: pulumi.Output<string>;
|
|
76
91
|
/**
|
|
77
|
-
* The
|
|
92
|
+
* The tag of the resource.
|
|
78
93
|
*/
|
|
79
|
-
readonly
|
|
94
|
+
readonly tags: pulumi.Output<{
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
} | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istioOperatorVersion in `alicloud.servicemesh.getServiceMeshes`.
|
|
99
|
+
*/
|
|
100
|
+
readonly version: pulumi.Output<string | undefined>;
|
|
80
101
|
/**
|
|
81
102
|
* Create a ServiceMesh resource with the given unique name, arguments, and options.
|
|
82
103
|
*
|
|
@@ -91,48 +112,69 @@ export declare class ServiceMesh extends pulumi.CustomResource {
|
|
|
91
112
|
*/
|
|
92
113
|
export interface ServiceMeshState {
|
|
93
114
|
/**
|
|
94
|
-
*
|
|
115
|
+
* List of clusters.
|
|
95
116
|
*/
|
|
96
117
|
clusterIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
97
118
|
/**
|
|
98
|
-
* The service mesh instance specification.
|
|
99
|
-
* Valid values: `standard`,`enterprise`,`ultimate`. Default to `standard`.
|
|
119
|
+
* Cluster specification. The service mesh instance specification. Valid values: `standard`,`enterprise`,`ultimate`. Default to `standard`.
|
|
100
120
|
*/
|
|
101
121
|
clusterSpec?: pulumi.Input<string>;
|
|
102
122
|
/**
|
|
103
|
-
*
|
|
123
|
+
* Service grid creation time.
|
|
124
|
+
*/
|
|
125
|
+
createTime?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Whether to customize Prometheus. Value:
|
|
128
|
+
* -'true': custom Prometheus.
|
|
129
|
+
* -'false': Do not customize Prometheus. Default value: 'false '.
|
|
130
|
+
*/
|
|
131
|
+
customizedPrometheus?: pulumi.Input<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* Grid instance version type. Valid values: `Default` and `Pro`. Default: the standard. Pro: the Pro version.
|
|
104
134
|
*/
|
|
105
135
|
edition?: pulumi.Input<string>;
|
|
106
136
|
/**
|
|
107
|
-
*
|
|
137
|
+
* Data plane KubeAPI access capability. See `extraConfiguration` below.
|
|
108
138
|
*/
|
|
109
139
|
extraConfiguration?: pulumi.Input<inputs.servicemesh.ServiceMeshExtraConfiguration>;
|
|
110
140
|
/**
|
|
111
|
-
*
|
|
141
|
+
* Whether to forcibly delete the ASM instance. Value:
|
|
142
|
+
* -'true': force deletion of ASM instance
|
|
143
|
+
* -'false': no forced deletion of ASM instance. Default value: false.
|
|
112
144
|
*/
|
|
113
145
|
force?: pulumi.Input<boolean>;
|
|
114
146
|
/**
|
|
115
|
-
*
|
|
147
|
+
* Load balancing information. See `loadBalancer` below.
|
|
116
148
|
*/
|
|
117
149
|
loadBalancer?: pulumi.Input<inputs.servicemesh.ServiceMeshLoadBalancer>;
|
|
118
150
|
/**
|
|
119
|
-
*
|
|
151
|
+
* Service grid configuration information. See `meshConfig` below.
|
|
120
152
|
*/
|
|
121
153
|
meshConfig?: pulumi.Input<inputs.servicemesh.ServiceMeshMeshConfig>;
|
|
122
154
|
/**
|
|
123
|
-
*
|
|
155
|
+
* Service grid network configuration information. See `network` below.
|
|
124
156
|
*/
|
|
125
157
|
network?: pulumi.Input<inputs.servicemesh.ServiceMeshNetwork>;
|
|
126
158
|
/**
|
|
127
|
-
* The
|
|
159
|
+
* The Prometheus service address (in non-custom cases, use the ARMS address format).
|
|
160
|
+
*/
|
|
161
|
+
prometheusUrl?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* ServiceMeshName.
|
|
128
164
|
*/
|
|
129
165
|
serviceMeshName?: pulumi.Input<string>;
|
|
130
166
|
/**
|
|
131
|
-
* The status of the resource.
|
|
167
|
+
* The status of the resource.
|
|
132
168
|
*/
|
|
133
169
|
status?: pulumi.Input<string>;
|
|
134
170
|
/**
|
|
135
|
-
* The
|
|
171
|
+
* The tag of the resource.
|
|
172
|
+
*/
|
|
173
|
+
tags?: pulumi.Input<{
|
|
174
|
+
[key: string]: any;
|
|
175
|
+
}>;
|
|
176
|
+
/**
|
|
177
|
+
* Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istioOperatorVersion in `alicloud.servicemesh.getServiceMeshes`.
|
|
136
178
|
*/
|
|
137
179
|
version?: pulumi.Input<string>;
|
|
138
180
|
}
|
|
@@ -141,44 +183,61 @@ export interface ServiceMeshState {
|
|
|
141
183
|
*/
|
|
142
184
|
export interface ServiceMeshArgs {
|
|
143
185
|
/**
|
|
144
|
-
*
|
|
186
|
+
* List of clusters.
|
|
145
187
|
*/
|
|
146
188
|
clusterIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
189
|
/**
|
|
148
|
-
* The service mesh instance specification.
|
|
149
|
-
* Valid values: `standard`,`enterprise`,`ultimate`. Default to `standard`.
|
|
190
|
+
* Cluster specification. The service mesh instance specification. Valid values: `standard`,`enterprise`,`ultimate`. Default to `standard`.
|
|
150
191
|
*/
|
|
151
192
|
clusterSpec?: pulumi.Input<string>;
|
|
152
193
|
/**
|
|
153
|
-
*
|
|
194
|
+
* Whether to customize Prometheus. Value:
|
|
195
|
+
* -'true': custom Prometheus.
|
|
196
|
+
* -'false': Do not customize Prometheus. Default value: 'false '.
|
|
197
|
+
*/
|
|
198
|
+
customizedPrometheus?: pulumi.Input<boolean>;
|
|
199
|
+
/**
|
|
200
|
+
* Grid instance version type. Valid values: `Default` and `Pro`. Default: the standard. Pro: the Pro version.
|
|
154
201
|
*/
|
|
155
202
|
edition?: pulumi.Input<string>;
|
|
156
203
|
/**
|
|
157
|
-
*
|
|
204
|
+
* Data plane KubeAPI access capability. See `extraConfiguration` below.
|
|
158
205
|
*/
|
|
159
206
|
extraConfiguration?: pulumi.Input<inputs.servicemesh.ServiceMeshExtraConfiguration>;
|
|
160
207
|
/**
|
|
161
|
-
*
|
|
208
|
+
* Whether to forcibly delete the ASM instance. Value:
|
|
209
|
+
* -'true': force deletion of ASM instance
|
|
210
|
+
* -'false': no forced deletion of ASM instance. Default value: false.
|
|
162
211
|
*/
|
|
163
212
|
force?: pulumi.Input<boolean>;
|
|
164
213
|
/**
|
|
165
|
-
*
|
|
214
|
+
* Load balancing information. See `loadBalancer` below.
|
|
166
215
|
*/
|
|
167
216
|
loadBalancer?: pulumi.Input<inputs.servicemesh.ServiceMeshLoadBalancer>;
|
|
168
217
|
/**
|
|
169
|
-
*
|
|
218
|
+
* Service grid configuration information. See `meshConfig` below.
|
|
170
219
|
*/
|
|
171
220
|
meshConfig?: pulumi.Input<inputs.servicemesh.ServiceMeshMeshConfig>;
|
|
172
221
|
/**
|
|
173
|
-
*
|
|
222
|
+
* Service grid network configuration information. See `network` below.
|
|
174
223
|
*/
|
|
175
224
|
network: pulumi.Input<inputs.servicemesh.ServiceMeshNetwork>;
|
|
176
225
|
/**
|
|
177
|
-
* The
|
|
226
|
+
* The Prometheus service address (in non-custom cases, use the ARMS address format).
|
|
227
|
+
*/
|
|
228
|
+
prometheusUrl?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* ServiceMeshName.
|
|
178
231
|
*/
|
|
179
232
|
serviceMeshName?: pulumi.Input<string>;
|
|
180
233
|
/**
|
|
181
|
-
* The
|
|
234
|
+
* The tag of the resource.
|
|
235
|
+
*/
|
|
236
|
+
tags?: pulumi.Input<{
|
|
237
|
+
[key: string]: any;
|
|
238
|
+
}>;
|
|
239
|
+
/**
|
|
240
|
+
* Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istioOperatorVersion in `alicloud.servicemesh.getServiceMeshes`.
|
|
182
241
|
*/
|
|
183
242
|
version?: pulumi.Input<string>;
|
|
184
243
|
}
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Service Mesh Service Mesh resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Service Mesh Service Mesh and how to use it, see [What is Service Mesh](https://www.alibabacloud.com/help/en/
|
|
11
|
+
* For information about Service Mesh Service Mesh and how to use it, see [What is Service Mesh](https://www.alibabacloud.com/help/en/asm/developer-reference/api-servicemesh-2020-01-11-createservicemesh).
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.138.0.
|
|
14
14
|
*
|
|
@@ -50,14 +50,18 @@ class ServiceMesh extends pulumi.CustomResource {
|
|
|
50
50
|
const state = argsOrState;
|
|
51
51
|
resourceInputs["clusterIds"] = state ? state.clusterIds : undefined;
|
|
52
52
|
resourceInputs["clusterSpec"] = state ? state.clusterSpec : undefined;
|
|
53
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
54
|
+
resourceInputs["customizedPrometheus"] = state ? state.customizedPrometheus : undefined;
|
|
53
55
|
resourceInputs["edition"] = state ? state.edition : undefined;
|
|
54
56
|
resourceInputs["extraConfiguration"] = state ? state.extraConfiguration : undefined;
|
|
55
57
|
resourceInputs["force"] = state ? state.force : undefined;
|
|
56
58
|
resourceInputs["loadBalancer"] = state ? state.loadBalancer : undefined;
|
|
57
59
|
resourceInputs["meshConfig"] = state ? state.meshConfig : undefined;
|
|
58
60
|
resourceInputs["network"] = state ? state.network : undefined;
|
|
61
|
+
resourceInputs["prometheusUrl"] = state ? state.prometheusUrl : undefined;
|
|
59
62
|
resourceInputs["serviceMeshName"] = state ? state.serviceMeshName : undefined;
|
|
60
63
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
64
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
61
65
|
resourceInputs["version"] = state ? state.version : undefined;
|
|
62
66
|
}
|
|
63
67
|
else {
|
|
@@ -67,14 +71,18 @@ class ServiceMesh extends pulumi.CustomResource {
|
|
|
67
71
|
}
|
|
68
72
|
resourceInputs["clusterIds"] = args ? args.clusterIds : undefined;
|
|
69
73
|
resourceInputs["clusterSpec"] = args ? args.clusterSpec : undefined;
|
|
74
|
+
resourceInputs["customizedPrometheus"] = args ? args.customizedPrometheus : undefined;
|
|
70
75
|
resourceInputs["edition"] = args ? args.edition : undefined;
|
|
71
76
|
resourceInputs["extraConfiguration"] = args ? args.extraConfiguration : undefined;
|
|
72
77
|
resourceInputs["force"] = args ? args.force : undefined;
|
|
73
78
|
resourceInputs["loadBalancer"] = args ? args.loadBalancer : undefined;
|
|
74
79
|
resourceInputs["meshConfig"] = args ? args.meshConfig : undefined;
|
|
75
80
|
resourceInputs["network"] = args ? args.network : undefined;
|
|
81
|
+
resourceInputs["prometheusUrl"] = args ? args.prometheusUrl : undefined;
|
|
76
82
|
resourceInputs["serviceMeshName"] = args ? args.serviceMeshName : undefined;
|
|
83
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
77
84
|
resourceInputs["version"] = args ? args.version : undefined;
|
|
85
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
78
86
|
resourceInputs["status"] = undefined /*out*/;
|
|
79
87
|
}
|
|
80
88
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceMesh.js","sourceRoot":"","sources":["../../servicemesh/serviceMesh.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;
|
|
1
|
+
{"version":3,"file":"serviceMesh.js","sourceRoot":"","sources":["../../servicemesh/serviceMesh.ts"],"names":[],"mappings":"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"}
|
|
@@ -57,7 +57,7 @@ export declare class ApplicationLoadBalancer extends pulumi.CustomResource {
|
|
|
57
57
|
readonly loadBalancerName: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
59
|
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance.
|
|
60
|
-
* Launching "
|
|
60
|
+
* Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`,
|
|
61
61
|
* `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`.
|
|
62
62
|
*/
|
|
63
63
|
readonly loadBalancerSpec: pulumi.Output<string>;
|
|
@@ -161,7 +161,7 @@ export interface ApplicationLoadBalancerState {
|
|
|
161
161
|
loadBalancerName?: pulumi.Input<string>;
|
|
162
162
|
/**
|
|
163
163
|
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance.
|
|
164
|
-
* Launching "
|
|
164
|
+
* Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`,
|
|
165
165
|
* `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`.
|
|
166
166
|
*/
|
|
167
167
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
@@ -257,7 +257,7 @@ export interface ApplicationLoadBalancerArgs {
|
|
|
257
257
|
loadBalancerName?: pulumi.Input<string>;
|
|
258
258
|
/**
|
|
259
259
|
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance.
|
|
260
|
-
* Launching "
|
|
260
|
+
* Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`,
|
|
261
261
|
* `slb.s3.small`, `slb.s3.medium`, `slb.s3.large` and `slb.s4.large`. It will be ignored when `instanceChargeType = "PayByCLCU"`.
|
|
262
262
|
*/
|
|
263
263
|
loadBalancerSpec?: pulumi.Input<string>;
|
package/slb/loadBalancer.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > **NOTE:** Deprecated since v1.123.1.
|
|
4
|
+
*
|
|
3
5
|
* > **DEPRECATED:** This resource has been renamed to alicloud.slb.ApplicationLoadBalancer from version 1.123.1.
|
|
4
6
|
*
|
|
5
7
|
* Provides an Application Load Balancer resource.
|
|
@@ -7,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
9
|
* > **NOTE:** At present, to avoid some unnecessary regulation confusion, SLB can not support alicloud international account to create "paybybandwidth" instance.
|
|
8
10
|
*
|
|
9
11
|
* > **NOTE:** The supported specifications vary by region. Currently not all regions support guaranteed-performance instances.
|
|
10
|
-
* For more details about guaranteed-performance instance, see [Guaranteed-performance instances](https://www.alibabacloud.com/help/
|
|
12
|
+
* For more details about guaranteed-performance instance, see [Guaranteed-performance instances](https://www.alibabacloud.com/help/en/slb/classic-load-balancer/developer-reference/api-createloadbalancer-2#t4182.html).
|
|
11
13
|
*
|
|
12
14
|
* ## Example Usage
|
|
13
15
|
*
|
|
@@ -16,11 +18,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
18
|
* import * as alicloud from "@pulumi/alicloud";
|
|
17
19
|
*
|
|
18
20
|
* const config = new pulumi.Config();
|
|
19
|
-
* const name = config.get("name") || "
|
|
21
|
+
* const name = config.get("name") || "terraformslbconfig";
|
|
20
22
|
* const defaultZones = alicloud.getZones({
|
|
21
23
|
* availableResourceCreation: "VSwitch",
|
|
22
24
|
* });
|
|
23
|
-
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
25
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
26
|
+
* vpcName: name,
|
|
27
|
+
* cidrBlock: "172.16.0.0/12",
|
|
28
|
+
* });
|
|
24
29
|
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
25
30
|
* vpcId: defaultNetwork.id,
|
|
26
31
|
* cidrBlock: "172.16.0.0/21",
|
|
@@ -28,7 +33,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
33
|
* vswitchName: name,
|
|
29
34
|
* });
|
|
30
35
|
* const defaultLoadBalancer = new alicloud.slb.LoadBalancer("defaultLoadBalancer", {
|
|
31
|
-
*
|
|
36
|
+
* loadBalancerName: name,
|
|
37
|
+
* loadBalancerSpec: "slb.s2.small",
|
|
32
38
|
* vswitchId: defaultSwitch.id,
|
|
33
39
|
* tags: {
|
|
34
40
|
* tag_a: 1,
|
|
@@ -105,17 +111,31 @@ export declare class LoadBalancer extends pulumi.CustomResource {
|
|
|
105
111
|
*/
|
|
106
112
|
readonly internetChargeType: pulumi.Output<string | undefined>;
|
|
107
113
|
readonly loadBalancerName: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`.
|
|
116
|
+
*/
|
|
108
117
|
readonly loadBalancerSpec: pulumi.Output<string>;
|
|
109
118
|
/**
|
|
110
119
|
* The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.
|
|
111
120
|
*/
|
|
112
121
|
readonly masterZoneId: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`.
|
|
124
|
+
*/
|
|
113
125
|
readonly modificationProtectionReason: pulumi.Output<string | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`.
|
|
128
|
+
*/
|
|
114
129
|
readonly modificationProtectionStatus: pulumi.Output<string>;
|
|
115
130
|
/**
|
|
131
|
+
* Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead.
|
|
132
|
+
*
|
|
116
133
|
* @deprecated Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead
|
|
117
134
|
*/
|
|
118
135
|
readonly name: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
|
|
138
|
+
*/
|
|
119
139
|
readonly paymentType: pulumi.Output<string>;
|
|
120
140
|
/**
|
|
121
141
|
* The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36].
|
|
@@ -124,12 +144,6 @@ export declare class LoadBalancer extends pulumi.CustomResource {
|
|
|
124
144
|
readonly period: pulumi.Output<number | undefined>;
|
|
125
145
|
/**
|
|
126
146
|
* The Id of resource group which the SLB belongs.
|
|
127
|
-
*
|
|
128
|
-
* > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
|
|
129
|
-
*
|
|
130
|
-
* > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
|
|
131
|
-
*
|
|
132
|
-
* > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
|
|
133
147
|
*/
|
|
134
148
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
135
149
|
/**
|
|
@@ -138,12 +152,21 @@ export declare class LoadBalancer extends pulumi.CustomResource {
|
|
|
138
152
|
readonly slaveZoneId: pulumi.Output<string>;
|
|
139
153
|
/**
|
|
140
154
|
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance.
|
|
141
|
-
* Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/
|
|
155
|
+
* Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium",
|
|
142
156
|
* "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large".
|
|
143
157
|
*
|
|
144
158
|
* @deprecated Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead
|
|
145
159
|
*/
|
|
146
160
|
readonly specification: pulumi.Output<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`.
|
|
163
|
+
*
|
|
164
|
+
* > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
|
|
165
|
+
*
|
|
166
|
+
* > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
|
|
167
|
+
*
|
|
168
|
+
* > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
|
|
169
|
+
*/
|
|
147
170
|
readonly status: pulumi.Output<string>;
|
|
148
171
|
/**
|
|
149
172
|
* A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance.
|
|
@@ -203,17 +226,31 @@ export interface LoadBalancerState {
|
|
|
203
226
|
*/
|
|
204
227
|
internetChargeType?: pulumi.Input<string>;
|
|
205
228
|
loadBalancerName?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`.
|
|
231
|
+
*/
|
|
206
232
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
207
233
|
/**
|
|
208
234
|
* The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.
|
|
209
235
|
*/
|
|
210
236
|
masterZoneId?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`.
|
|
239
|
+
*/
|
|
211
240
|
modificationProtectionReason?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`.
|
|
243
|
+
*/
|
|
212
244
|
modificationProtectionStatus?: pulumi.Input<string>;
|
|
213
245
|
/**
|
|
246
|
+
* Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead.
|
|
247
|
+
*
|
|
214
248
|
* @deprecated Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead
|
|
215
249
|
*/
|
|
216
250
|
name?: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
|
|
253
|
+
*/
|
|
217
254
|
paymentType?: pulumi.Input<string>;
|
|
218
255
|
/**
|
|
219
256
|
* The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36].
|
|
@@ -222,12 +259,6 @@ export interface LoadBalancerState {
|
|
|
222
259
|
period?: pulumi.Input<number>;
|
|
223
260
|
/**
|
|
224
261
|
* The Id of resource group which the SLB belongs.
|
|
225
|
-
*
|
|
226
|
-
* > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
|
|
227
|
-
*
|
|
228
|
-
* > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
|
|
229
|
-
*
|
|
230
|
-
* > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
|
|
231
262
|
*/
|
|
232
263
|
resourceGroupId?: pulumi.Input<string>;
|
|
233
264
|
/**
|
|
@@ -236,12 +267,21 @@ export interface LoadBalancerState {
|
|
|
236
267
|
slaveZoneId?: pulumi.Input<string>;
|
|
237
268
|
/**
|
|
238
269
|
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance.
|
|
239
|
-
* Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/
|
|
270
|
+
* Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium",
|
|
240
271
|
* "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large".
|
|
241
272
|
*
|
|
242
273
|
* @deprecated Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead
|
|
243
274
|
*/
|
|
244
275
|
specification?: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`.
|
|
278
|
+
*
|
|
279
|
+
* > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
|
|
280
|
+
*
|
|
281
|
+
* > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
|
|
282
|
+
*
|
|
283
|
+
* > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
|
|
284
|
+
*/
|
|
245
285
|
status?: pulumi.Input<string>;
|
|
246
286
|
/**
|
|
247
287
|
* A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance.
|
|
@@ -292,17 +332,31 @@ export interface LoadBalancerArgs {
|
|
|
292
332
|
*/
|
|
293
333
|
internetChargeType?: pulumi.Input<string>;
|
|
294
334
|
loadBalancerName?: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`.
|
|
337
|
+
*/
|
|
295
338
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
296
339
|
/**
|
|
297
340
|
* The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.
|
|
298
341
|
*/
|
|
299
342
|
masterZoneId?: pulumi.Input<string>;
|
|
343
|
+
/**
|
|
344
|
+
* The reason of modification protection. It's effective when `modificationProtectionStatus` is `ConsoleProtection`.
|
|
345
|
+
*/
|
|
300
346
|
modificationProtectionReason?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* The status of modification protection. Valid values: `ConsoleProtection` and `NonProtection`. Default value: `NonProtection`.
|
|
349
|
+
*/
|
|
301
350
|
modificationProtectionStatus?: pulumi.Input<string>;
|
|
302
351
|
/**
|
|
352
|
+
* Field `name` has been deprecated from provider version 1.123.1 New field `loadBalancerName` instead.
|
|
353
|
+
*
|
|
303
354
|
* @deprecated Field 'name' has been deprecated from provider version 1.123.1. New field 'load_balancer_name' instead
|
|
304
355
|
*/
|
|
305
356
|
name?: pulumi.Input<string>;
|
|
357
|
+
/**
|
|
358
|
+
* The billing method of the load balancer. Valid values are `PayAsYouGo` and `Subscription`. Default to `PayAsYouGo`.
|
|
359
|
+
*/
|
|
306
360
|
paymentType?: pulumi.Input<string>;
|
|
307
361
|
/**
|
|
308
362
|
* The duration that you will buy the resource, in month. It is valid when `instanceChargeType` is `PrePaid`. Valid values: [1-9, 12, 24, 36].
|
|
@@ -311,12 +365,6 @@ export interface LoadBalancerArgs {
|
|
|
311
365
|
period?: pulumi.Input<number>;
|
|
312
366
|
/**
|
|
313
367
|
* The Id of resource group which the SLB belongs.
|
|
314
|
-
*
|
|
315
|
-
* > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
|
|
316
|
-
*
|
|
317
|
-
* > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
|
|
318
|
-
*
|
|
319
|
-
* > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
|
|
320
368
|
*/
|
|
321
369
|
resourceGroupId?: pulumi.Input<string>;
|
|
322
370
|
/**
|
|
@@ -325,12 +373,21 @@ export interface LoadBalancerArgs {
|
|
|
325
373
|
slaveZoneId?: pulumi.Input<string>;
|
|
326
374
|
/**
|
|
327
375
|
* The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance.
|
|
328
|
-
* Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/
|
|
376
|
+
* Launching "[Performance-guaranteed](https://www.alibabacloud.com/help/en/slb/product-overview/announcements-and-updates)" instance, it is must be specified and it valid values are: "slb.s1.small", "slb.s2.small", "slb.s2.medium",
|
|
329
377
|
* "slb.s3.small", "slb.s3.medium", "slb.s3.large" and "slb.s4.large".
|
|
330
378
|
*
|
|
331
379
|
* @deprecated Field 'specification' has been deprecated from provider version 1.123.1. New field 'load_balancer_spec' instead
|
|
332
380
|
*/
|
|
333
381
|
specification?: pulumi.Input<string>;
|
|
382
|
+
/**
|
|
383
|
+
* The status of slb load balancer. Valid values: `active` and `inactice`. The system default value is `active`.
|
|
384
|
+
*
|
|
385
|
+
* > **NOTE:** A "Shared-Performance" instance can be changed to "Performance-guaranteed", but the change is irreversible.
|
|
386
|
+
*
|
|
387
|
+
* > **NOTE:** To change a "Shared-Performance" instance to a "Performance-guaranteed" instance, the SLB will have a short probability of business interruption (10 seconds-30 seconds). Advise to change it during the business downturn, or migrate business to other SLB Instances by using GSLB before changing.
|
|
388
|
+
*
|
|
389
|
+
* > **NOTE:** Currently, the alibaba cloud international account does not support creating a PrePaid SLB instance.
|
|
390
|
+
*/
|
|
334
391
|
status?: pulumi.Input<string>;
|
|
335
392
|
/**
|
|
336
393
|
* A mapping of tags to assign to the resource. The `tags` can have a maximum of 10 tag for every load balancer instance.
|
package/slb/loadBalancer.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.LoadBalancer = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **NOTE:** Deprecated since v1.123.1.
|
|
10
|
+
*
|
|
9
11
|
* > **DEPRECATED:** This resource has been renamed to alicloud.slb.ApplicationLoadBalancer from version 1.123.1.
|
|
10
12
|
*
|
|
11
13
|
* Provides an Application Load Balancer resource.
|
|
@@ -13,7 +15,7 @@ const utilities = require("../utilities");
|
|
|
13
15
|
* > **NOTE:** At present, to avoid some unnecessary regulation confusion, SLB can not support alicloud international account to create "paybybandwidth" instance.
|
|
14
16
|
*
|
|
15
17
|
* > **NOTE:** The supported specifications vary by region. Currently not all regions support guaranteed-performance instances.
|
|
16
|
-
* For more details about guaranteed-performance instance, see [Guaranteed-performance instances](https://www.alibabacloud.com/help/
|
|
18
|
+
* For more details about guaranteed-performance instance, see [Guaranteed-performance instances](https://www.alibabacloud.com/help/en/slb/classic-load-balancer/developer-reference/api-createloadbalancer-2#t4182.html).
|
|
17
19
|
*
|
|
18
20
|
* ## Example Usage
|
|
19
21
|
*
|
|
@@ -22,11 +24,14 @@ const utilities = require("../utilities");
|
|
|
22
24
|
* import * as alicloud from "@pulumi/alicloud";
|
|
23
25
|
*
|
|
24
26
|
* const config = new pulumi.Config();
|
|
25
|
-
* const name = config.get("name") || "
|
|
27
|
+
* const name = config.get("name") || "terraformslbconfig";
|
|
26
28
|
* const defaultZones = alicloud.getZones({
|
|
27
29
|
* availableResourceCreation: "VSwitch",
|
|
28
30
|
* });
|
|
29
|
-
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
31
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
32
|
+
* vpcName: name,
|
|
33
|
+
* cidrBlock: "172.16.0.0/12",
|
|
34
|
+
* });
|
|
30
35
|
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
31
36
|
* vpcId: defaultNetwork.id,
|
|
32
37
|
* cidrBlock: "172.16.0.0/21",
|
|
@@ -34,7 +39,8 @@ const utilities = require("../utilities");
|
|
|
34
39
|
* vswitchName: name,
|
|
35
40
|
* });
|
|
36
41
|
* const defaultLoadBalancer = new alicloud.slb.LoadBalancer("defaultLoadBalancer", {
|
|
37
|
-
*
|
|
42
|
+
* loadBalancerName: name,
|
|
43
|
+
* loadBalancerSpec: "slb.s2.small",
|
|
38
44
|
* vswitchId: defaultSwitch.id,
|
|
39
45
|
* tags: {
|
|
40
46
|
* tag_a: 1,
|